froyo

how to configure Android 2.2 phone as a Wi-Fi access point

How to configure Android 2.2 phone as a Wi-Fi access point?Any reference code? ...

Keyboard doesn't accept first character when changing inputs

Hi, I have a TextWatcher set on an EditText that changes the input type after a user types a number followed by a space. If the user types two numbers the input type switches and accepts the next character, but if the user types only one number and presses space the input type still changes but it won't accept the first character the ...

Can't see the other fields for adding contacts in android 2.2?

tried to make my own custom account and i do call the native android contacts for me to add a new contact, but it only shows Firstname and lastname fields and other names.. but no number and email etc. i did declare them in the code. thanks! ...

How to provide a "Voicemail handler" to android (2.2) phone?

Just installed Google voice, works great, but the long-press #1 on the dialer does not access google voice mail, rather it works as if a third-party is calling my number. So, looking into the dialer preferences, I find a setting for "Voicemail handler", which has only one option: "None (Dial voicemail number)". I would like to contribu...

Vibrate settings on Android 2.2

Hi, I'm making a vibrate toggling widget (in fact, its first version is already in the Market) but I'm having some problems with the vibrate settings of Android 2.2. Up to Android 2.1 I have no problem, when I want to disable vibrate I do am.setVibrateSetting(AudioManager.VIBRATE_TYPE_RINGER,AudioManager.VIBRATE_SETTING_OFF); am.setVi...

Multicast Support in Android 2.2?

Does the Android 2.2 media framework support IGMP/Multicast? If yes, can anyone guide how we can do that? ...

Why are some contacts censored from apps on android?

If you try the Contact Manager that comes with Android 2.2 Froyo it will give you access to all contacts in the sqlite database via Contact ContentProvider. But if you write an app that is not com.android.contacts you only get access to the restricted table because of this code here: http://www.google.com/codesearch/p?hl=en#cbQwy62oRI...

What are the current limitations of WebChromeClient starting with Froyo?

I recall reading about limitation of the WebChromeClient, in particular, permissions to access references in the HTML document if it is stored as an asset, but not if as an application file. Can someone provide a link to the doc? ...

Android 2.2 (Froyo) SQLite missing some IN clause functionality?

Recently I updated my Nexus One to Froyo (2.2) and I've noticed some significantly different behavior with SQLite. For example, I had been using a subquery (returning string data) as part of an IN clause, and the subquery portion no longer appears to function correctly. I've attached an example SQL query working with the contacts databa...

Vibrate settings in froyo

I read that in froyo if you change vibrate settings with setVibrateSettings() it doesn´t sync with SO vibrate settings. Then I found this workaround that people use with some of the functions in this link: http://android.git.kernel.org/?p=platform/packages/apps/Settings.git;a=blob;f=src/com/android/settings/SoundSettings.java;h=a735268b...

Android Listview Items not redrawn when they scroll off the screen in Froyo

I have a listview that when scrolled and the items go off of the screen they are not redrawn when I scroll back to them (the text and checkbox). In fact, items that are off the bottom of the screen in the listview never get drawn when scrolling to them. This only happens in Froyo. Any other version it works just fine. I have checked ...

Android Bundle Error: Unmarshalling unknown type code

I'm working with a fairly complex data edit activity in Android that makes use of the bundle object a lot when saving form data. In general this works pretty well and I haven't experienced any data loss. However I have a strange intermittent bug that I can't seem to find the direct cause of. It happens when I send an intent to the gall...

Setting ringtone on froyo

I have used solution on following topic successfully: http://stackoverflow.com/questions/1271777/how-to-set-ringtone-in-android-from-my-activity Lately I have noticed that this does not work on Froyo. It throws error on logcat: sqlite error code 19, constraint failed How could I fix this? ...

Camera crashes in Android 2.2

I have tested my application on the Android SDK on everything from 1.5 to 2.2 and the camera code in my activity works fine. Running it on a device with 2.1 is also working. But the same app does not work with 2.2 on HTC Desire and Nexus One and the app crashes. Any ideas why they might be happening? Am using import android.hardware.Cam...

Basic streaming audio works in 2.1 but not in 2.2

My simple audio streaming app works perfectly in 1.6 and 2.1 does not work in 2.2. I have no clue as to why. It works fine on the emulator, on actual 2.2 devices the audio stops unexpectedly after about 10 minutes or so. When I looked at logcat on my phone (HTC EVO) I see this: I/HTTPStream( 65): 1358 Bytes read, progress 34346/65536...

How does an Android app load a keyboard?

I need to bring up a few different keyboards: a 'standard' keyboard with Ctrl and Alt keys; maybe a cursor pad; and so on. I have found the Keyboard class, which would let me define a keyboard in an XML resource. I have found that the KeyboardView class has a setKeyboard method ... and, so far, I have not found any other class that take...

Does android have a built-in PDF viewer?

I heard something recently about it being included in Froyo and I was wondering if there was any truth to it. If there is, it would help me with an app idea greatly. ...