Log in or register to post comments

Android Plugins in Unity Apps

April 9, 2015 - 10:17pm #1
We need integration WEBView vufroa plugin: in accordance with the
 
 
Running the program is not running, error messages are:
 
AndroidJavaException: java.lang.NoSuchMethodError: no method with name='showMessage' .............
 
Will the next to do?
 
Ask 2 questions:
 
First question: according to the article:
 
4.Replace the name of the main activity with your fully qualified Activity name, for example, com.my.org.MyPluginActivity
 
Specifically how to change?
 
The second question: the times article appeared 2 package name, package com.Qualcomm.plugins and com.my.org.MyPluginActivity, respectively, in accordance with that?
 

Android Plugins in Unity Apps

April 20, 2015 - 6:48pm #4

The com.example.project.ActivityName is an example of path and Activity for Android. Check the Android introduction guide for more details:

http://developer.android.com/guide/topics/manifest/manifest-intro.html

 

Android Plugins in Unity Apps

April 19, 2015 - 8:31pm #3

How changes in AndroidManifest.xml?

Replace the name of the main activity with your fully qualified Activity name, for example,Did this correctly

 <activity android:name="com.org.myplugin.UnityPlayerNativeActivity"

            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
            <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" />
  </activity>

Android Plugins in Unity Apps

April 15, 2015 - 6:51pm #2

The package is whatever you chose when you created your project:

package com.qualcomm.plugins;  // this is just an example package

// yours might look like this:

package com.org.myplugin;  // org replaced with your company name

 

Log in or register to post comments