Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

test: Reply
 
LinkBack Thread Tools
Old April 26th, 2009, 06:10 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Apr 2009
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default JNI examples for Android

Noting the lack of good docs for JNI on Android, I've written a document, describing in detail how to build and use a native library via JNI, with a complete working example project. You can find the document here: JNIExample.nw

I would appreciate any comments or suggestions, and hope that it will be useful to someone.

Advertisements
wooyd is offline  
Reply With Quote
The Following User Says Thank You to wooyd For This Useful Post:
askPrins (March 6th, 2010)
sponsored links
Old April 26th, 2009, 09:13 PM   #2 (permalink)
Senior Member
 
N3TWORK BURN3R's Avatar
 
Join Date: Sep 2008
Location: Long Beach, CA
Posts: 552
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 5 Times in 5 Posts
Send a message via AIM to N3TWORK BURN3R Send a message via MSN to N3TWORK BURN3R Send a message via Yahoo to N3TWORK BURN3R
Default

Quote:
Originally Posted by wooyd View Post
Noting the lack of good docs for JNI on Android, I've written a document, describing in detail how to build and use a native library via JNI, with a complete working example project. You can find the document here: JNIExample.nw

I would appreciate any comments or suggestions, and hope that it will be useful to someone.
Wow, very thorough. Thanks for this...although im just starting to learn Java. I might be able to use this one day. Welcome to AF btw.
__________________
!!Xbox 360 Group Join up!!
N3TWORK BURN3R is offline  
Reply With Quote
Old May 16th, 2009, 10:08 AM   #3 (permalink)
New Member
 
Join Date: May 2009
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Thank you! New doubt.

Thank you for you thorough tutorial!

I was wondering if you could explain (or give hints of where to look, I've already searched it on google and I've downloaded the android source code) how the native libraries work in the case of accessing a device.

I need to extend the libraries to make it able to provide radio tuning using v4l2, I already have the driver.

Thank you in advance!
capuccio is offline  
Last edited by capuccio; May 16th, 2009 at 10:19 AM.
Reply With Quote
Reply
Tags
jni, jni example, native library


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:23 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.