[android-porting] Detecting attached LCD resolution

2012-07-19 Thread Denny Harijanto
Hi all, I am trying to make a script that corrects the display density (ro.sf.lcd_density) according to the kind of display that is attached my android development board. So if the attached LCD native res is 1920x1080 I want the display density to be of certain value, and if the LCD res is 1300x10

[android-porting] multi-display prototype

2012-07-19 Thread zoli_k
Hi list, I'm glad to show you a video of our multidisplay Android ICS prototype running on Pandaboard: http://www.youtube.com/watch?v=3G8Gttulck8 While there is a large change in the framework itself, we preserved the Android API and a proper activity stack on every display. The system runs o

Re: [android-porting] Re: launching apps from native code

2012-07-19 Thread Oyin Oluwatimi
Hey Someone directed to this group. After fiddling with AOSP through the command line for weeks, I recently downloaded eclipse with sdk and ndk installed. My professor wants me to add security extensions to the android platform via the NDK, but I have no idea where to start. Here is what he ex

Re: [android-porting] Re: launching apps from native code

2012-07-19 Thread HV
Ok, I called it reverse since I am now able to detect a Java class from native code without having to do a System.load(nativelib.so) from the Java code. Let me try to explain my usage: 1. I have nativelib.so that is loaded & running from where I need to launch a 3rd party app. Right now, I'm do

Re: [android-porting] Re: launching apps from native code

2012-07-19 Thread Dianne Hackborn
On Thu, Jul 19, 2012 at 9:49 AM, HV wrote: > The native code is in a library that is already loaded & running. So, I > need something like "reverse" JNI (calling a Java method from C++). That is not "reverse" JNI, that is a basic part of JNI. > I was able to create a .jar file (which has the

Re: [android-porting] Re: launching apps from native code

2012-07-19 Thread HV
The native code is in a library that is already loaded & running. So, I need something like "reverse" JNI (calling a Java method from C++). I was able to create a .jar file (which has the Intent call to launch 3rd party apps), putting it in the CLASSPATH in init.rc & FindClass/GetMethodID do su