[android-porting] Re: Force installation for only one signing key

2010-11-19 Thread Ben Friedberg
es.returnCode = PackageManager.INSTALL_FAILED_INVALID_APK; +break main_flow; + } +} //End security code testing synchronized (mPackages) { //check if installing already existing package On Nov 11, 12:37 pm, Ben Friedberg wrote: > Has anyone ever hack

[android-porting] Force installation for only one signing key

2010-11-11 Thread Ben Friedberg
Has anyone ever hacked their installation to restrict applications to only be permitted for install/execution if they are signed with a specific key? We want our image to prevent the installation of anything other than our client's code. Would this sort of thing be a part of the PackageManagerSer

[android-porting] Alsa + audioflinger latency for audio when playing over AudioTrack + MODE_STREAM

2010-09-10 Thread Ben Friedberg
We are experiencing a great deal of latency on our device using the SipDroid SIP client. The same application is not NEARLY as laggy on a different device. There can be as much as 1 - 1.5 seconds from sending audio from a landline until it comes out of the earpiece. We have eliminated network la

[android-porting] on device-removed not firing?

2010-02-10 Thread Ben Friedberg
Hey, has anyone had 'on device-removed' work in their init.rc or init._.rc? I looked at the code in system/core/init/ devices.c and saw where (I think) device-added was implemented, but device-removed didn't look like it did anything. Is this functionality just stubbed out for now? Should I be a

[android-porting] Re: Audio Capture on Beagle Board

2009-11-16 Thread Ben Friedberg
Ananth, I think that you should be able to symlink alsa_arecord to the alsa_aplay binary for recording. What does your logcat output look like? Any audio errors? What's the sound chip on the Beagle? Do you have an /etc/asound.conf defined? For recording, one thing that I found (can't remember

[android-porting] Need to unload driver and restart wpa_supplicant on wakeup from suspend.

2009-08-28 Thread Ben Friedberg
since the WifiService.java turns on the whole shebang from the persisted state, I should be able to add some sort of call during the resume to just unload the driver and stop the supplicant so that everything starts in a reasonable state. (m