Questions tagged [android-2.0-eclair]

For issues relating to developing with the android SDK, version 2.0 (Eclair).

35 questions
1
vote
1 answer

Android 2.0 How to get display name and number in a contact group

I get a list of contacts in a given group id by id: Cursor cur = ctx.managedQuery(ContactsContract.Data.CONTENT_URI, new String[] { GroupMembership.GROUP_ROW_ID, GroupMembership.CONTACT_ID }, GroupMembership.GROUP_ROW_ID…
Bao Le
  • 16,643
  • 9
  • 65
  • 68
1
vote
1 answer

How to register listening for Contact changes on android 2.0?

How to register a content observer to listen for changes in the contact database in android 2.0? What URI should I use? Thank you
lor
  • 11
  • 2
1
vote
1 answer

Trying to run BluetoothChat on android 2.1

I'm trying to run the example SDK package BluetoothChat on a 2.1 (eclair) phone, but it crashes with java.lang.NoSuchMethodError: android.bluetooth.BluetoothAdapter.listenUsingInsecureRfcommWithServiceRecord Is there an easy way to get this to work?…
user1817205
  • 81
  • 1
  • 3
1
vote
1 answer

Future versions of Android and test devices - possible problems

In the last couple of days, there were some speculations, circulating through the blogosphere, that the future versions of the Android OS, created from the branches Donut and Eclair, won't be compatible with the T-Mobile G1 and Android Dev Phone 1,…
Dimitar Dimitrov
  • 16,032
  • 5
  • 53
  • 55
0
votes
1 answer

AES128 Support for Android 2.1 Eclair

I'm using the following code for Encryption and it works good on Android 2.2 and above but force closes when I call encrypt/decrypt method in android 2.1. Can I make it support for android 2.1 or is there any other solution to make it work on…
0
votes
0 answers

Scrollbars disappear after a few seconds in android api version 8 and above

I have designed a layout to contain a listview inside a scrollview, and have set fillViewPort of scrollview to true. So, when listview's height is gerater than scrollview's visible height, scrollbars show-up and the listview can be scrolled up and…
Nitin Bansal
  • 2,986
  • 3
  • 23
  • 30
0
votes
2 answers

How do decide which flavor of Android to develop an app for?

My research shows that Android 2.2 & 2.3 have the loin share of the market. But when developing an app should I keep the API level of the app 2.1 or go with 2.2+? What factors are usually taken into consideration?
Ahmed Faisal
  • 4,397
  • 12
  • 45
  • 74
0
votes
3 answers

Can an (pre 3.0) Android program connect to a bluetooth A2DP device?

Can a program that is written using the gingerbread/froyo/eclair (e.g. 2.1, 2.2, 2.3 -> NOT honeycomb) connect to a A2DP bluetooth sink device?? Or, do I need to have the user go to their settings to do so? Any help or advice would be highly…
0
votes
2 answers

Android compatibility

Here is the thing, I'm developing an application that uses a lot of the screen space, I need to show 3 list views in certain times for example. At first I was testing on my Android 3.1 tablet, but then I decided I wanted to have it playing on…
Filipe
  • 3,398
  • 5
  • 21
  • 35
0
votes
1 answer

Debugging a rebooted device

I have an application which shows some weird behaviour on one of my testing-devices (X10 Mini Pro, Android 2.1-update1). Basically it's a clock radio that uses shoutcast for radio. The problem: When the phone has been idle for a long time (night)…
REJH
  • 3,273
  • 5
  • 31
  • 56
0
votes
1 answer

Permission on IntentService with Eclair 2.1

I'm writing two app on Android that uses the permission mechanism to enforces restrictions on caller. They works perfectly on Froyo 2.2 or greater, but not on Eclair 2.1. The first app (the caller) have in the Manifest and…
mike
  • 1
  • 2
0
votes
1 answer

Tab layout issue in Froyo

I have created a tab based app, in one of the tab, there is also inner tab where some data is displayed in tabular format using adapter. It is perfectly ok in all devices with Android 2.1. But in all the devices with Android 2.2 devices, it is just…
dev_android
  • 8,698
  • 22
  • 91
  • 148
0
votes
1 answer

Android higher version issue

I have developed a tab-based application using API level 7. It is running fine with Android 2.1 device. But it is giving problem when I am trying to run it in 2.2 device. When I visit any tab first time, it is OK. But if the same tab is revisited,…
0
votes
3 answers

Making apps for android 2.1 in flash cs5 via air. Impossible?

Can anyone tell me if it is still posible to make applications for android 2.1 eclair in flash cs5 via air. I have spent a lot of time downloading, installing, configuring... all the nessesary software but when i try to install the apk on my android…
0
votes
1 answer

Activity has leaked window com.android and An error occurred while executing doInBackground()

When I run my script to login or register with php mysql, I got the error as given below. com.example.kalyan E/Surface: getSlotFromBufferLocked: unknown buffer: 0xb40553a0 E/WindowManager: android.view.WindowLeaked: Activity…
selvam
  • 1
  • 3