froyo

Froyo (Android 2.2) source code

Is the Froyo (Android 2.2) source code available? I've browsed the Android code repository using gitweb and haven't found an Android 2.2 tag or a froyo head. ...

App cannot start at all in Android 2.2 (Froyo)

My app has been running okay until the recent Froyo update. After installing the Android 2.2 SDK, I can compile my code without any errors. However, when I run it, it just force closes: Here's the log: 05-23 10:15:13.463: DEBUG/AndroidRuntime(423): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< 05-23 10:15:13.463: DEBUG/AndroidRun...

UiModeManager - NightMode (FroYo)

Hi there, I have been trying to turn off the buttons' light in my application using the UiModeManager's nightmode function. The default Desk Clock application (Nexus One) turns off the buttons' light when it is dimmed, and I want to do this as well. I've tried using the following code: UiModeManager mgr = (UiModeManager) getSyste...

Custom SSL handling stopped working on Android 2.2 FroYo

For my app, Transdroid, I am connecting to remote servers via HTTP and optionally securely via HTTPS. For these HTTPS connections with the HttpClient I am using a custom SSL socket factory implementation to make sure self-signed certificates are working. Basically, I accept everything and ignore every checking of any certificate. This h...

How do I revert from FRF50 back to ERE27?

I got all excited with the leaked froyo update.zip that hit the net a few days ago, and installed it on my phone. Since then I've had many issues, the big one being ADB not discovering my phone. I'd like to revert my phone back, but can't find a signed update.zip on the nets that will do it. Does anyone know how I can revert my N1 fro...

Nexus one camera preview sizes on android 2.2 ( froyo )

I updated my N1 to Froyo ( not the official OTA, though - I could not wait :-) ) I have noticed that the camera preview size of 1280x720 is no longer available, as it was on 2.1. The largest preview size is now 840x400. Any ideas on if this is final decision for the official froyo release - or is there any way to enable a larger-than-sc...

How can I tell reliably if my Android App is running on a device with JIT?

Is there a way to test, from within an android app, if the device it's running on is actually using the Froyo JIT? I ask because I know that 2.2 has a JIT, but we've already had a few test builds that seem to lack the JIT. So it's not a case where you can just test for the api version and be assured you've got the JIT. ...

vb classic coder to android how to transition?

Hi guys. I'm a VB/vba coder and would like to start android dev. Currently I'm learning Java from scratch and. Its quite tough. I've read about oop but never actually written any OO code. Java syntax is also quite foreign but I'm getting the hang of it. My question is, which is absolutely the best transition path for a vb old dog to writ...

GpsStatus.Listener and GPS_EVENT_FIRST_FIX event

Hi: When I register a GpsStatus.Listener i do not get the event GPS_EVENT_FIRST_FIX. I do get the GPS_EVENT_SATELLITE_STATUS event. Does anybody already noticed this behavior? ...

How does forceStopPackage work in Android 2.2 (Froyo)?

Thanks Google released 2.2 source code. In this code-InstalledAppDetails.java It shows how android 2.2 does the "force close" function. private void forceStopPackage(String pkgName) { ActivityManager am = (ActivityManager)getSystemService( Context.ACTIVITY_SERVICE); am.forceStopPackage(pkgName); checkForceStop...

Install Froyo on Desire

Tell me please what is the latest firmware? Who ever put it? Bugs are there? When will the official firmware? Can I put it on the root phone? Please share information ... ...

Updating Android 2.1-update1 to Froyo. I'm feeling lost

Carrier: N/A OS / build number: 2.1-update1 / ECLAIR.eng.root.20100307.043650 Hi there, I'm using a rooted N1 device for development uses only ( Thats why I have no carrier and such..) I have a build which I've compiled from the eclair source tree and flashed using fastboot. I'm trying to update to Froyo so I could pull some needed pr...

Android Searchable Dictionary Example fails on Froyo 2.2

Hi I have used Searchable Dictionary Example in my application, compiled as 1.6, and used on my Nexus One with 2.1 with no problem. After updating my cell phone to 2.2., it stopped working when starting to type in the search field. I cannot debug for some reason (so I cannot provide log errors). Any ideas? Ohad ...

Meaning of "Portable Hotspot"

Possible Duplicate: What does Portable Hotspot mean ? What does the term "Portable Hotspot" mean, in reference to Android Froyo 2.2? The description given on the website seems vague. How does it actually work? ...

Android 2.2 Screen Lock Security

Is there a way to find out if a user has the PIN lock or password lock screen security set? I know that you can check Settings.Secure.PATTERN_LOCK_ENABLED to read if the pattern is set. Even a value to read that shows if ANY security is set would be helpful. ...

Local service or remote service?

I have a background Service which must run permanently. The service just has to interact with my Activity. How to i check on activity resume if the service is still running? Is there a better possibility than a static variable in the service class? Is it of advantage to use a remote service in a separate process(to extend service life...

Android - Only Version 8 (2.2 froyo) - ssl handshake failure

The below code works with HTTP(API version 7 and 8) and HTTPS (API version 7). For HTTPS (API version 8) I get error "java.io.IOException: SSL handshake failure: Failure in SSL library, usually a protocol error" Any Idea why on version 8 alone ? The code... HttpURLConnection connection = null; BufferedReader b...

Search suggestions fail in 2.2

My application uses in-app search, dynamically builds search suggestions on each request, puts them in a MatrixCursor and returns the suggestions to be displayed. Info on search suggestions here: http://developer.android.com/guide/topics/search/adding-custom-suggestions.html This works perfectly fine in 2.1-update1, but when I loaded it...

find Faces Camera android

Hi Im working on and Augmented reality app for android 2.2 but i want in integrate a face recognition module... i try to use the findFaces method from FaceDetector class but it recive a bitmap... and i want to send a camera preview any idea? thnks ...

Stagefright media delay in 2.2 after setting data source?

My first post here. This website has been very useful for learning Android programming, thanks to everyone. I have a simple app that loads an MP3 stream and plays it. It works fine on 1.6 and 2.1 but on 2.2 it doesn't quite work right. It seems my service is having a problem starting, it's giving my an ANR and the dialog where I have to...