[android-developers] Java Application and Native Library Integration
Hi All, I have developed bluetooth application where native library will be initiated by Java application (using JNI wrapper). JNI will call the entry function of the native library and then it will create Pthread to for scanning the device. Once Scanning is over, i will get the callback which i registered during the entry function of the native lib (called by app). But i havent received the callback, but if i run the same native library in the shell (executable from the shell terminal) it is working fine. Can any one help me, if there is any specific architecture needs to follow while developing Java application based on native lib? Thanks in Advance. Thanks & Regards, SCS --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] 2-way engine Test Framework execution - crash
Hi All, When we try to execute the 2 way engine testcases in the test framework, it is crashing while loading opencorecommon.so. Please let me know, is it possible to run the test cases in android 1.5 source code version? Thanks. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Emulator Listening Socket Fail
I am creating a server client application and testing it the following way: Server (Port 1234) on emulator adb forward tcp: tcp:1234 < network redirection localhost () to emulator (1234) > Client 127.0.0.1 (Port ) on localhost Here the application is running successfully. Now I am trying to connect to the same Server application on emulator from the same client application but from some other system. Server (Port 1234) on emulator adb forward tcp: tcp:1234 < network redirection localhost () to emulator (1234) > Client 10.225.123.123 (Port ) < where 10.225.123.123 is the ip of the host machine on which emulator is running > But this case it fails. Any help is appreciable. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Surface to Native
Hi, I try to pass the surface which is created by Java Application to my native lib. While transferring at JNI layer When i use the GetIntField fundtion to get the surface object (GetISurface) function, the object passed by app is becoimg null. Any suggestion is welcome. Thanks & Regards SCSSEK --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: Surface to Native
Hey, How is the existing applications passing surface to their native libs? Example Media Player or recorder Java Application to Opencore? On Sat, Jul 4, 2009 at 9:38 AM, Dianne Hackborn wrote: > Sorry, there is currently no API in the NDK for working with surfaces. > > > On Fri, Jul 3, 2009 at 12:08 PM, scs sek wrote: > >> Hi, >> >> I try to pass the surface which is created by Java Application to my >> native lib. >> While transferring at JNI layer >> >> When i use the GetIntField fundtion to get the surface object >> (GetISurface) function, the object passed by app is becoimg null. >> >> Any suggestion is welcome. >> >> Thanks & Regards >> SCSSEK >> >> >> >> > > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Package android.media.* does not exist for framework.jar
Hi, I am trying to include the package into framework.jar file. I think new Android case, android.media.audiofx is in framework2.jar. When it compiles framework local module, frameworks/base/media/java/android/media/AudioService.java:89: package android.media.audiofx does not exist Any suggestion? Thanks -- 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
[android-developers] glesv2debugger
Hi, Can you anyone tried to setup glesv2debugger in ICS? I have issues when try to build as Eclipse pulgin Regards, Chandra -- 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
[android-developers] ICS Camera vs JB Camera
I have noticed that JB Camera APK uses more CPU than ICS Camera. Do you guys see the difference? Is there any difference with respect to application? I see atleast 25% higher CPU usage in JB Camera Application. Any points would be appreciated. -- 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
[android-developers] Re: ICS Camera vs JB Camera
I have noticed that JB Camera APK uses more CPU than ICS Camera. Do you guys see the difference? Is there any difference with respect to application? I see atleast 25% higher CPU usage in JB Camera Application. Any points would be appreciated. > -- 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
[android-developers] Questions regarding Opencore and System.img file
Hi, I want to know whether it is possible to use the G1 phone to test the newly integrated phone into an system. I integrated wma (opencore as separate library and pushed to system). I was able to download the application (Java application to G1) but is it possible to push the opencore (cupcake branch) in the the G1 phone? or do i need to recompile the new opencore (after new codec integrated) and get the new system.img file? Thanks & Regards, Chandra --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] AIDL for native process
Hi, Is there any way i can use AIDL for native process communciate each other? Is it only specific to Java to Native based RPC? Regards scs -- 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
[android-developers] VP8 Codec Support GB Capabilities
Hi All, Does any one has the answer for VP8 GB support spec. like version, max bit rate support and max frame rate (ex. nexus one or nexus S based)? Regards SCS -- 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