[android-porting] Re: Background process limit

2012-06-22 Thread HV
Ok, I now have a partial fix for this. I made a small tweak in ~/packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java within onCreate() and now my default option is "No background processes". But, I realized that I have to go into the "Developer Options" page for this to kic

Re: [android-porting] native daemon -> binder -> library -> app

2012-06-22 Thread Jay Slater
Sure thing. Before I put down the code, I should mention that the native side runs as root and the other end (an Android/Java service) runs as android.uid.system-- we bundle both with our images. On the native side, the relevant part is this. I'm cheating with SAMPLE_REQUEST_CODE-- I didn't get

Re: [android-porting] native daemon -> binder -> library -> app

2012-06-22 Thread Dianne Hackborn
Well since neither are in the NDK, neither are "stable" interfaces. I don't know what "more stable" means in that context -- either one could change. On the other hand, both are used extensively by Android, so they aren't changed gratuitously since that would impact a lot of code. On the other o

Re: [android-porting] Interface for Bluez and kernel-drivers

2012-06-22 Thread Pavan Savoy
On Fri, Jun 22, 2012 at 2:35 AM, shiv wrote: > > Hi group, > > Can any one tell me that what is the interface to communicate between Bluez > and kernel-drivers in android source code. Where I will get this info in > source code(classes or functions to communicate betwn Bluez and > kernel-drivers)

Re: [android-porting] native daemon -> binder -> library -> app

2012-06-22 Thread Anders Aagaard
Hi Can you share any code on that project? I'm still in the start phase, and there are a few areas which I'm not too certain about. We need to allow other people access to this library, (aka building a sdk for this hardware). I'm having some permission issues going between our native daemon and bu

Re: [android-porting] native daemon -> binder -> library -> app

2012-06-22 Thread Anders Aagaard
Hi Zach Thanks! That looks very interesting! I'll definitely check that out. On Thu, Jun 21, 2012 at 11:09 PM, Zach Pfeffer wrote: > On 20 June 2012 08:32, neuron wrote: > > Hi > > > > I'm currently working on a project to port some hardware to android. We > need > > to run it as a native daemo

[android-porting] Hiding the GPS Icon in notification bar

2012-06-22 Thread Bhanushali Ashwin N
Hi Techies, I successfully build the android ICS source code and able to run on emulator. Now I did some changes in Existing Location API. The Change is I added one method in LocationManagerService.java which will help the application to fetch the location of user without enabling Use GPS sate

Re:[android-porting] Re: Could not stat dex cache directory '/data/dalvik-cache': No such file or directory

2012-06-22 Thread Hyukmin Kwon
Q On Jun 22, 2012 3:10 PM, "Holger Schurig" wrote: > Is there a best way to mount /data ? >> > > Sure. Mount it writable :-) > > /data needs to be writable. So in case of ARM android, it needs to one > some writable MTD partition. Or in case of Android-X86, it needs to be a > normal hard disk pa

[android-porting] Interface for Bluez and kernel-drivers

2012-06-22 Thread shiv
Hi group, Can any one tell me that what is the interface to communicate between Bluez and kernel-drivers in android source code. Where I will get this info in source code(classes or functions to communicate betwn Bluez and kernel-drivers) Thanks and regards shiv -- unsubscribe: android-por