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.

96 questions
1
vote
3 answers

Dynamically change android soft keyboard language setting?

I have some edit boxes in my app, some of them I will input English text, some of them I will input Spanish. I'm using the standard android soft keyboard, however as my device locale is set to English, when I type Spanish in one of my "Spanish" edit…
Jimmy
  • 15,225
  • 38
  • 120
  • 211
1
vote
0 answers

Use Android Studio to code for an old platform

I want to develop an app for an old tablet using API 7 Android Eclair 2.1, but I'm facing problems setting up all the tools needed. I tried using Android Studio, but when creating a new app, the lowest API I can choose is 14, and when I change it…
Akabane
  • 11
  • 1
1
vote
1 answer

Android Back Button Overidding Help

I am making an app, a game, and I want the player to be able to use the back button for jumping(for single-touch devices). My target platform is 2.1(API level 7). I've tried both onKeyDown() and onBackPressed(), but they are only called when the…
1
vote
2 answers

AlertDialog in android 2.1

I create and show my dialog in next way: showDialog(1); // Logcat say me that mistake is here. protected Dialog onCreateDialog(int id) { switch (id) { case 1:{ Builder builder = new AlertDialog.Builder(this); …
Divers
  • 9,063
  • 7
  • 41
  • 87
1
vote
3 answers

Is there a recommended pixel size for android backgrounds?

At the moment, I just have a relative layout with a few buttons, and have set android:background="#FFFFFF" I would like to create a background image to use instead, however I'm unsure of what size image I should create. I understand that for menu…
Jimmy
  • 15,225
  • 38
  • 120
  • 211
1
vote
1 answer

How to improve WebView on Android Eclaire?

I have an old device (Nook Simple Touch). It based on Android 2.1. I am writing simple application for this device (only for personal usage). This application is a WebView linked to special WEB-site. Site was build using JQuery Mobile. I get a…
BArtWell
  • 4,118
  • 8
  • 58
  • 92
1
vote
1 answer

Android; caching geocoding data?

My app makes several calls to getFromLocationName from the android.location.Geocoder; class, this is currently handled in my activity which also displays some data depedant on the results of that call. This can be quite slow, for example before the…
Jimmy
  • 15,225
  • 38
  • 120
  • 211
1
vote
4 answers

How reliable is Android 2.2

Its been around 2 years since Android's first release and already there are 6 to 7 Android releases, unlike Windows mobile. And I found between 2.1 and 2.2 there are lots of changes. The way to call my local services, and other methods have been…
franklins
  • 3,622
  • 5
  • 38
  • 55
1
vote
1 answer

Android Gesture Directions

I'm working on an app that will (hopefully) be taking advantage of Android's gestures (as described here: http://developer.android.com/resources/articles/gestures.html) Before I dive in though, I'm trying to find out if gestures can take the…
Jay
  • 45
  • 1
  • 5
1
vote
3 answers

android splash screen/ loading screen

I have a splash screen/loading screen that has .setVisibility() to GONE right after the draw call of my large bitmap is completed. The problem is the splash screen takes a bit to popup which i believe is due to the main activity booting up and doing…
jfisk
  • 5,756
  • 19
  • 68
  • 109
1
vote
0 answers

What is the main reason for Android 2.x browser issues (e.g. CSS support)?

Android Browser on 2.x has some issues such as icon font support and partial support for CSS animations among other things. Is this more of a Webkit 533.1 issue (which is the Webkit version used by Android 2.x) or an operating system issue?
1
vote
0 answers

Wrapping long text in notification on API level 7

In my app I have a service that performs network-related activities and displays notifications if errors occur. The error text may be reasonably long - to provide enough details. In newer versions of API I can use BigTextStyle to display a long…
Aleks G
  • 52,841
  • 25
  • 149
  • 233
1
vote
2 answers

Swipe Gesture inside ListView - Android

I am a newbie for Android. I got a tutorial on how to implement the `listView here: I implemented it and it is working fine. I need to implement a ViewSwitcher for the same. Like when I swipe the song, I need to get some options like play, add to…
0
votes
2 answers

Newbie: set content view which consists of two parts

I am developing an Android 2.1 app. I have defined a LinearLayout class: public class MyTopBar extends LinearLayout { ... } Then, I have a layout xml file (content.xml): ... I have a RootActivity.java , I…
Leem.fin
  • 35,699
  • 70
  • 166
  • 297
0
votes
0 answers

Can you send a dummy SMS to your own android device?

My app has some features where it processes new messages in the SMS inbox. Testing this is OK on the emulator, as I can send in a dummy SMS. I'd like to create a button inside the app to "send self dummy message" so the user can preview the…
Jimmy
  • 15,225
  • 38
  • 120
  • 211