Questions tagged [android-1.5-cupcake]

Android 1.5 (Cupcake) is a significant platform release deployable to Android-powered handsets starting in May 2009

Android 1.5 (Cupcake) is a significant platform release deployable to Android-powered handsets starting in May 2009

See platform highlights. They include:

For more information, see the tag.

36 questions
3
votes
2 answers

Android Cupcake (API 3) emulator

For laboratory I need to run android 1.5 emulator. Yes.. Very old version. Does anyone have emulator image or idea how to stimulate it?
Serafins
  • 1,237
  • 1
  • 17
  • 36
3
votes
1 answer

Does anyone know whether the Android addProximityAlert on the LocationManager is battery intensive

I just basically want to add about 20 and sometimes 80 Proximity Alerts with no time expiration with a radius of around 500 meters. Just wondering whether by doing this will suck up the battery real quick? also would it make any difference by…
Chiwai Chan
  • 4,716
  • 4
  • 30
  • 33
2
votes
2 answers

Where can I get Android 1.5 (cupcake) source code?

I'm looking for the Android cupcake source code. The current official source distribution on android.googlesource.com only has tags going back as far as donut. And all the links I've found that mention cupcake (such as Where and how can I find and…
David Given
  • 13,277
  • 9
  • 76
  • 123
2
votes
1 answer

Using reflection in Android for backwards compatibility

I was reading over at the Android development website about using reflections. But I'm really not grasping how to use it. I need this Java file to run on a 1.5 (SDK3) device but just ignore the new code and it works fine on a 2.0 (SDK5) or later…
brybam
  • 5,009
  • 12
  • 51
  • 93
2
votes
2 answers

Android Application and Timers

Hello I have an android application which has a service running. After 20 mins from that service and other systems (such as GPS) starting I would like it to automaticly stop. I assume I need to use a Timer for that? Can someone show an example of…
Tom
  • 7,316
  • 9
  • 35
  • 35
1
vote
1 answer

Android Sqlite tow Rows as tow Columns, Pivots?

Came to know its called pivots, but couldn't get examples for sqlite without aggregation. Schema: Readonly Table foos(_id, foo) (10 max records) Readonly Table bars(_id, bar) (300 max records) Readonly Table items(_id, foo_id, bar_id, item1, item2)…
Samuel
  • 9,883
  • 5
  • 45
  • 57
1
vote
3 answers

setText, resets and locks when entering landscape

Hey all thanks for looking this through. I really can't understand why this happends, though it might have something to do with my background thread which is processing audioinput. All works fine until i tilt the phone, havn't yet put an landscape…
Anders Metnik
  • 6,096
  • 7
  • 40
  • 79
1
vote
1 answer

Android TextToSpeech is not working on android 1.5

I am developing Android TextToSpeech app. This application is not working in Android 1.5, but it works fine in Android 1.6. I am using google-api-translate.jar.
Narasimha
  • 3,802
  • 11
  • 55
  • 83
1
vote
2 answers

set flash mode camera.parameters android 1.5

I'm trying to use the camera in an Android app using the 1.5 API. I want the camera to flash for every picture. However, when I looked at the API for camera.parameters, the setFlashMode() method is only supported for 2.0 and higher. Yet my Cliq XT,…
Cartesian Theater
  • 1,920
  • 2
  • 29
  • 49
1
vote
1 answer

Cupcake(API3) friendly way to pause/stop sound loops in SoundPool? Any ideas?

Quick note: I'm using the SoundPool class http://developer.android.com/reference/android/media/SoundPool.html What I have here is a simple button that plays a looped sound while it's pressed. It works great. However, sounds.autoPause(); wasn't…
brybam
  • 5,009
  • 12
  • 51
  • 93
1
vote
1 answer

How to Ignore certain methods and code in a Class? Based on SDK

I was reading over http://android-developers.blogspot.com/2009/04/backward-compatibility-for-android.html But I'm really not grasping how to ignore certain lines of code. I have this Activity (posted below) and it's a simple webview. However, I want…
brybam
  • 5,009
  • 12
  • 51
  • 93
1
vote
3 answers

"IllegalArgumentException: bad base-64" while trying to use Base64 on Android 1.5

I get java.lang.IllegalArgumentException: bad base-64 while trying to use Base64 on Android 1.5 private static String encrypt(Context cont, String value) { try { return Base64.encodeToString(value.getBytes(), Base64.DEFAULT); }…
pvllnspk
  • 5,667
  • 12
  • 59
  • 97
0
votes
1 answer

Android API 3 : accessing components from a merged layout

I'm coding a chess board. For the layout, I include several "merged" layouts. I simply would like to access to the "merged" components from the Activity code, in order to change some of their properties (imageView background_color, imageView image…
loloof64
  • 5,252
  • 12
  • 41
  • 78
0
votes
1 answer

Android API 3 : A simple custom square component

I've tried to code a custom blue square Component so that width or height is the parent size whenever we tell to fill parent, in the parent layout (let's say res/layout/main.xml) width or height is 30 px (or is 30 dpi better ?) whenever we tell to…
loloof64
  • 5,252
  • 12
  • 41
  • 78
0
votes
1 answer

cakephp: cupcake forum login function bug

I'm trying to get cupcake forum plugin's login function to work. In the users_controller.php, since the $user variable in the login function was not populated, it was giving errors. So I modified the login function as below: public function login()…
vaanipala
  • 1,261
  • 7
  • 36
  • 63