Questions tagged [android-2.1-eclair]

For issues relating to developing with the Android SDK, version 2.1.

Android is Google's software stack for mobile devices. Please use the Android-specific tags such as [android-intent], not [intent]. For non-developer questions, see https://android.stackexchange.com.

94 questions
0
votes
0 answers

How to populate TableLayout from left to right, top to bottom easily

I've got 10 items in a List, I want to iterate over that list and populate a table, starting on the top row, going left to right. I've had a look into this but I can't find an easy way. It seems that I would have to calculate how many child nodes…
Jimmy
  • 16,123
  • 39
  • 133
  • 213
0
votes
1 answer

Why does android 2.1-update1 hang on HttpClient.execute() and not android 2.2?

I am writing an android app that makes requests using the HttpClient interface from the Apache Commons project (supplied with both versions of android). The problem occurs in the following code listing: try { URI uri =…
Jonas Van der Aa
  • 1,441
  • 12
  • 27
0
votes
2 answers

JSONObject.toString() gives different result in 2.2 than in 2.1 (.Net Date format)

In Android 2.1 this JSONObject o = new JSONObject(); o.put("MyDate", "/Date(1289334937639)/"); Log.d(TAG, o.toString()); produces {"MyDate":"/Date(1289334937639)/"} but in 2.2 it produces {"MyDate":"\/Date(1289334937639)\/"} I am talking to a…
0
votes
1 answer

Android; App installs and runs OK, but when I exit I can't find its launcher icon in menu

I've created a simple application and put it onto my device. I use a file browser to locate the APK, it installs successful and I can run it OK (when clicking "run" after install completes) However, if I then exit the application, I'm unable to see…
Jimmy
  • 16,123
  • 39
  • 133
  • 213
0
votes
1 answer

as a user, can I surpress sms alerts in the notification bar on android 2.1 (alert - but not show the first line of text)?

as an end user, can I surpress sms alerts in the notification bar on android 2.1 (alert - but not show the first line of text)? Is there a phone setting? Or an app out there that allows this choice?
Jeff
  • 1
0
votes
1 answer

Android - Run application on SDK 2.1

Basically, i have purchased HTC Hero (Android sdk 1.5) , but i just got the notification of "System software update" and i agreed to update the sdk to 2.1-update1 . I was developing application for android sdk 1.5 successfully, but now i have…
Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
0
votes
2 answers

Out of memory error when reloading activity several times

I am developping an app that has a main activity showing the app title (two animated imageviews overlayed), two animated pictures, also overlayed, and three buttons. This activity also has a background image, which is the same that is used by the…
0
votes
2 answers

Android: Does 'Complie With' cause "There is a problem_parsing the package" error?

So I made an App on Android, I compiled it with Android 4.1(4.2 JB), when I uploaded it onto a friends mobile (Xperia X8 with 2.1), I got 'There is a problem parsing the package', so I went to Manifest file and changed the versions to…
0
votes
2 answers

setImageBitmap in BaseAdapter#getView doesn't update ImageView

I have an app that downloads a bunch of images in a background thread. As each icon gets downloaded, I add it to an ArrayList in my custom Adapter which subclasses BaseAdapter. Each row in the ListView that uses the BaseAdapter has an ImageView. In…
boo-urns
  • 10,136
  • 26
  • 71
  • 107
0
votes
1 answer

Adding a new contact to the address book through my Android app targeting Android 2.1+

When my app wants to add a new contact to the device's address book, I'd like a dialog to pop up that asks the user whether the app can add "Some Contact" to their address book, and I'd like that whole process to be facilitated by the OS. That is, I…
user438293456
  • 596
  • 3
  • 6
  • 19
0
votes
1 answer

Android app working on 2.3 but not on 4.0

Ok, I have been working on a Android application for a while. It's basicaly a RSS reciever. I use RSS to check the news, weather forecast, TV schedule and Horoscope. Everything was fine while I was testing it on Android 2.3.3, 2.3.6 and even on…
0
votes
1 answer

How Android View Hierarchies work

I have a WebView that I would like to expand to fullscreen. The user will interact with it, so it needs to maintain some sort of state when it expands. The ideal process is this: - Remove WebView from its parent - Put WebView at the top of the…
Jay Namon
  • 147
  • 1
  • 8
0
votes
1 answer

Problems with standard Search in Android 2.1. Running in another process?

My application use standard search mechanism (using searchable interface) and works well in all versions>2.1 In <3 I use Search Dialog and in >=3 I use SearchWidget and all works correctly. The problem is in 2.1 where I get…
lujop
  • 13,504
  • 9
  • 62
  • 95
0
votes
1 answer

SimpleCursorAdapter error: column does not exist - only happens in Android 2.1

I have an activity that extends ExpandableListActivity. I have no issues when I run the application on Android 2.2+. However, when I run it on an Android 2.1 emulator, this activity force closes (the other activities in the app have no issues). I am…
0
votes
1 answer

How onFling works in viewSwitcher

I have 2 layouts inside a viewSwitcher, I need to change when I swipe that. package slide.trys.one; import android.app.Activity; import android.os.Bundle; import android.view.GestureDetector; import…
praveen kumar
  • 828
  • 4
  • 14
  • 22