Hi , I tried building the sample plugin but was unable to build it.
I am new to Android and using Android 2.3 . There is sample Browser plugin in the source code I am trying to build it but unable to do so. To compile plugin [ In README.txt ] 1. run "make SampleBrowserPlugin" (compiles libsampleplugin.so and builds the apk) 2. the previous command produces an apk file so record its location. Using the above steps I am unable to build it. I thought to build the code in JNI folder first so as to get the plugin ".so" so that after getting the ".so" would build the project apk using the eclipse .Is my understanding correct? So I tried building the code in the JNI folder using NDK build.The code was not geting build it was giving "undefined reference to JNIRegisterNativeMethod in JNIHelp.h ". Can you please tell me how to build the Sample plugin and install it on Emulator. Thanks and Regards, Ankit On Dec 26 2010, 10:12 pm, maha rm <maha2...@gmail.com> wrote: > Hi, > > I have attached the sample browser plugin using NPAPI for Android Froyo. > Please try to compile Android.mk which is under the BrowserPlugin folder. > After compilation, the apk file would be generated at > > out/target/product/generic/data/app/SampleBrowserPlugin.apk > > Thanks, > Maha > > On Thu, Dec 23, 2010 at 2:21 PM, bill_tn <bilel...@gmail.com> wrote: > > > I tried the last 2 days to download the sources from development/ > > samples/BrowserPlugin, but in vain. > > is there any other link to download these sources apart from : > > >http://android.git.kernel.org/?p=platform/development.git;a=tree;f=sa... > > thanks a lot. > > > On 21 déc, 15:29, maha rm <maha2...@gmail.com> wrote: > > > Hi, > > > > NPAPI plugin is available right from Donut. I never used sdk to > > develop > > > the plugin. Download the source code and the sample plugin is available > > in > > > source code itself. In Android FROYO code, the sample plugin is there in > > > development/samples/BrowserPlugin. > > > > Thanks, > > > Maha > > > > On Tue, Dec 21, 2010 at 6:48 PM, bill dr <bilel...@gmail.com> wrote: > > > > hi, > > > > > I am trying to write an npapi plugin for android browser. > > > > i found that the android 2.2 sdk supply only the pluginstub interface > > for > > > > that purpose. > > > > has anyone any idea about the manner that we could implement that > > > > interface. is there any example to clarify that issue. > > > > > Please help me, all clues are welcome. > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" group. > > > > To post to this group, send email to > > android-developers@googlegroups.com > > > > To unsubscribe from this group, send email to > > > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com><android-developers%2Bunsubs > > cr...@googlegroups.com> > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to android-developers@googlegroups.com > > To unsubscribe from this group, send email to > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > > > BrowserPlugin.tar.gz > 59KViewDownload -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en