[android-porting] Passing surface to native

2010-03-18 Thread Sanra
Hi, I'm trying to pass the surface which is created by Java Application to my native JNI library. When I use the GetIntField() fundtion to get the surface object (GetISurface) function in the JNI, the object passed by app is becoimg null. Anyone faced this issue? Appreciate any help on this. Tha

[android-porting] Development and debugging tools

2010-04-29 Thread Sanra
I'm trying to figure out a way to do the following in android, appreciate any help on this. 1. How to generate a Full Java stack trace (basically thread stack) in Android. In J2SE, we use something like this - send a signal to the JVM; the JVM generates a stack trace for you; or we can also use d

[android-porting] Building app outside android source tree

2010-05-21 Thread Sanra
I'd like to have a separate android project outside the android source tree for my application but would like to be included as part of the android platform build. The idea is to replace the built-in contacts app with my custom contacts application which is outside the android src tree. When I try

[android-porting] Creating a Test projects using ANT for an existing android project

2010-06-01 Thread Sanra
Hi, I created a new android test project with the android tool android create test-project -m -n -p I followed the instructions from this site to generate the ant files for the existing eclipse test project. http://developer.android.com/guide/developing/testing/testing_otheride.html But whe