Re: [android-developers] JNI

2013-09-02 Thread janvi
Thank you santosh :) This is what I exactly wanted... Thank you once again On Monday, September 2, 2013 8:32:27 PM UTC+5:30, santhosh wrote: > > If you have built the .so separately, You just need to place the .so in in > the libs folder under the proper architecture name(something like armeabi

Re: [android-developers] JNI

2013-09-02 Thread santhosh
If you have built the .so separately, You just need to place the .so in in the libs folder under the proper architecture name(something like armeabi) in your application environment. Now application can load library with system call system.load(), with that JNI calls will be available in the ap

Re: [android-developers] JNI

2013-08-19 Thread janvi
Hi Still making it clear of what actually my doubt is I have android project(name cpp) with NDK built, and it has wrapper classes .so file also Now in order to use the native functions present in this wrapper classes do I have to copy the wrapper classes and lib folder in my android test pro

Re: [android-developers] JNI

2013-08-18 Thread janvi
Sorry to trouble you by asking the same question,but iam completely new to this My doubt is I have a seperate CPP project which has .so file in its lib folder. I have android project which is seperate project now Iam confused of how to use this CPP project in my android app On Sunday, August

Re: [android-developers] JNI

2013-08-18 Thread Piren
you were already answered - in the libs folder under the proper architecture name, where it was placed by the build process. Also, you should just follow the samples provided. On Sunday, August 18, 2013 8:28:53 AM UTC+3, janvi wrote: > > Hi > > Ya .so with ndk built is given to me which I have to

Re: [android-developers] JNI

2013-08-17 Thread janvi
Hi Ya .so with ndk built is given to me which I have to use . My doubt is how to use this built file in my android app. Plz help me out with this Thanks in advance On Sunday, August 18, 2013 12:26:50 AM UTC+5:30, RichardC wrote: > > Did you build your .so with ndk-build? If you did it should

Re: [android-developers] JNI

2013-08-17 Thread RichardC
Did you build your .so with ndk-build? If you did it should already be in the correct folder below libs. As Android support multiple native architectures each ABI is in a separate folder below libs, see the NDK docs for the folder names. On Saturday, August 17, 2013 3:21:38 PM UTC+1, janvi w

Re: [android-developers] JNI

2013-08-17 Thread janvi
Hi Thanks for your reply... I have read this post and got info I have one doubt in this like Do I have to paste the .so file in the lib folder of my android project to access native functions? Plz help me with this ... Thanks in advance... On Saturday, August 17, 2013 5:15:49 PM UTC+5:

Re: [android-developers] JNI

2013-08-17 Thread Michael Banzon
Please look at this documentation: http://developer.android.com/tools/sdk/ndk/index.html On Sat, Aug 17, 2013 at 12:19 PM, janvi wrote: > Hi All > > Iam new to JNI concepts > Need your help in the following topic > > I have an android app(seperate project) and functions which this app > perform

Re: [android-developers] jni

2011-09-26 Thread bhanuchandra mbs
You already have everything done regarding JNI communication. you have the library with sample code. Anyway, I will brief the process. --> compile the class in which u have the native functions -->Create a header file with the class which has function declaration which u need to call from native l

Re: [android-developers] Jni To Java BLock THe UI thread.

2011-08-19 Thread Vikas KM
Hi, Can u show a dialog box from callbox? I am getting callback but the dialog box is not appearing. used loopers and handlers still no luck. Let me know if you had implemented dialog box from the callback. -- Regards Vikas KM On Mon, Aug 9, 2010 at 8:23 PM, AlreadyAMember wrot

Re: [android-developers] JNI - dataflow from native to java

2011-07-14 Thread TreKing
On Thu, Jul 14, 2011 at 6:03 AM, surya wrote: > I would like to know how I can pass this data to Java using JNI This has nothing to do with Android. At best you would try the Android Porting or platform lists, but better yet, how about you try and Google "how to pass data to Java with JNI" ---

Re: [android-developers] JNI working

2011-01-11 Thread Kumar Bibek
Yes, It will work on all devices... Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 12, 2011 at 1:03 AM, Richard Sámela wrote: > Hi, > I would like to know something about JNI. How it works in android? > does it work on all devices? does it work on tablest with and

Re: [android-developers] jni armeabi code compatibility

2010-08-09 Thread Michael Tsai
在 2010-8-8 上午12:11,"radiodee1" 编写: Hi. I'm writing a jni library for a game. I have java code that I want to replace with functions from the library. Is it true that most of the devices out there are compatible with my code if I compile it for the default arm processor, or will I find that there a

Re: [android-developers] jni

2010-07-21 Thread Rajesh Pelluru
Hi, If your app uses native code then you need to include .so file in your apk file. Please check samples and docs of android ndk for more information. --Rajesh On Wed, Jul 21, 2010 at 12:53 PM, Vaishnavi wrote: > Hi, > I have a problen in running jni code on android device(intel atom > board).

Re: [android-developers] JNI Programming in Android Environment

2009-12-03 Thread Mark Murphy
> hi all Android developers, > > I need to implement JNI Programming in android environment. > SO if anybody knows about JNI programming in android.please let me > know > or if you found any useful links or information about this concept > please send me . You want the Android NDK: http://develo

[android-developers] Re: [android-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-27 Thread yichu
Hi Jerry, Could you share how to fix this jni_onload problem? I got the same error but don't know how to solve it. Thanks :) Yichu On Feb 24, 12:45 am, Jerry Yang <1999bige...@gmail.com> wrote: > Hi, all > I checked the logcat, I find it cannot find the jni_Onload, > Thanks for your information

[android-developers] Re: [android-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-24 Thread Jerry Yang
Hi, all I checked the logcat, I find it cannot find the jni_Onload, Thanks for your information, I find I forget the function jni_Onload method, it is a new requirement after jni)1.2 Now my hello world working. Thanks With best wishes Jerry On Mon, Feb 23, 2009 at 11:38 PM, Jerry Yang <1999bige...

[android-developers] Re: [android-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-23 Thread Jerry Yang
Hi, Marco and all Here is the log: D/AndroidRuntime( 1221): D/AndroidRuntime( 1221): >> AndroidRuntime START << D/AndroidRuntime( 1221): CheckJNI is OFF I/ActivityThread( 1223): Publishing provider com.android.vending.SuggestionsProv ider: com.android.vending.SuggestionsPr

[android-developers] Re: [android-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-23 Thread Mark Murphy
Jerry Yang wrote: > I am really new in android develop ment, so where should I check the > system log? You can: -- Run adb logcat http://developer.android.com/guide/developing/tools/adb.html#logcat -- Use DDMS http://developer.android.com/guide/developing/tools/ddms.html -- Use Eclipse --

[android-developers] Re: [android-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-23 Thread Jerry Yang
Hi, Marco I am really new in android develop ment, so where should I check the system log? Thanks with best wishes Jerry On Tue, Feb 24, 2009 at 1:36 AM, Marco Nelissen wrote: > > On Sun, Feb 22, 2009 at 10:23 PM, Jerry Yang <1999bige...@gmail.com> > wrote: > (...) > > 3. push the .apk to the ph

[android-developers] Re: [android-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-23 Thread Marco Nelissen
On Sun, Feb 22, 2009 at 10:23 PM, Jerry Yang <1999bige...@gmail.com> wrote: (...) > 3. push the .apk to the phone and run from eclips > always a run time error like:"the application hello.android has stopped > unexpectedly, pla try again" What does it say in the system log? --~--~-~--~-