How i can migrate my app from 1.5 to 1.6 api fast and safe???

by saex » Fri, 03 Dec 2010 19:51:25 GMT

Sponsored Links
 Hi, i am making a gigantic app for android, and i start doing it some
moths ago for android 1.5, but now i know that some of the things i
need for my app only can be done if you are programming for 1.6 api.

there is a easy, fast and safe way to migrate my app from 1.5 to 1.6
without having to lose time?



Re: How i can migrate my app from 1.5 to 1.6 api fast and safe???

by Streets Of Boston » Fri, 03 Dec 2010 22:41:23 GMT

 If you don't need/want to support 1.5 phones, just set the project's
Android SDK version to 1.6 (api-level 4). Re-compile. That's it.


Sponsored Links

Re: How i can migrate my app from 1.5 to 1.6 api fast and safe???

by Leon Moreyn-Android Development » Fri, 03 Dec 2010 22:55:12 GMT

 that and if your building in eclipse make sure to change the lib to
1.6. Right click on project, properties, android, then select 1.6


Other Threads

1. Implement Camera Support for Android Emulator using Web Cam

Hi Karthik,

Thank you very much for ur comments.
Within the emulator didnt it talk to any hardware devices on the machine?

Is there anyone knows abt this pls help...
Can we talk to {*filter*} from the QEMU ARM environment, that is from the
android emulator and the changes need to be done?

On Sat, Apr 17, 2010 at 10:44 PM, karthik poduval <

Thanks & Regards,


2. Starting activity witouth window from widget

I recently (yesterday in fact :)) started creating widgets. So my
first widget I want to create is something like:
* A 2x2 widget
* Containing 2 buttons
    * Button 1: Register current time and location
    * Button 2: Open up an activity where configuration can be
modified, registered times and location can be viewed,...

Now the problem for me is button 1. As I only try to do some
registration data (so no further user input required after pressing
the button) I would like to just show a loading bar and after wards
Toast a message to screen, or a popup if anything goes wrong.
This is what I do now:
* In my widgetProvider
Intent intent = new Intent(context, LogDataActivity.class);
PendingIntent pintent = PendingIntent.getActivity(context, 0, intent,

RemoteViews views = new RemoteViews(context.getPackageName(),
views.setOnClickPendingIntent(, pintent);

* In my LogDataActivity class
    public void onCreate(Bundle savedInstanceState) {

                //Do some of my stuff

                Toast.makeText(LogDataActivity.this, "Success",


So what happens: I click the button, a plain black screen pops up
(Altough I did not specify a layout upon creating the activity), and
after my work is done the Toast shows up and the activity gets
Basically that is what I want to do except for the black screen to
show up. Is it possible not to show a screen upon creating the


3. CM-5.0.6 Stable!

4. Emulator disconnected

5. calling an existing app with an intent

6. moveTaskToBack returning false.

7. error @ odin v4.03.... check platform verification