[android-developers] Re: PLEASE HELP!!! may i develop app for Android 1.6 using SDK 2.x?

2010-05-11 Thread HeHe
thanks, Mark.

i think i need to upgrade SDK asap, or i will become crazy!

emulator 1.6 is far more terrible than 1.5. beside the slow clock
issue, it tends to lose connection with adb, so i have been having to
either kill emulator or kill adb frequently to debug my app.

enough. i cannot stand it any more.

On May 11, 9:53 am, HeHe  wrote:
> the slowness of system clock with SDK 1.6 makes debugging of my app
> that heavily depends on correct clock timing impossible.
>
> hence, i would like to know if i can develop app for Android 1.5/1.6
> using more recently released SDK (eg. 2.0)? if yes, how?
>
> thanks in advancet for any advice!!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: PLEASE HELP!!! may i develop app for Android 1.6 using SDK 2.x?

2010-05-11 Thread HeHe
hi Nathan and Mark, thanks a lot to both of you!!

one more question: in Eclipse, how can i set project properties to
1.5? could you elaborate the menu options or point me to the
documentation page that indicates how-to.

thanks again!!

On May 11, 10:50 am, Nathan  wrote:
> On May 11, 10:32 am, Mark Wyszomierski  wrote:
>
>
>
> > the app will still work on 1.5+. Just make sure you don't use any SDK
> > methods that don't exist on earlier platforms without checking the
> > user's local sdk version.
>
> A further tip: as one of the ways to check you aren't using API that
> won't work on 1.5, set your project properties to 1.5 and see if there
> are compile errors. Do this once in a while, and at least once before
> every release.
>
> If any methods come up that do not compile on 1.5, and you still want
> to use them, you'll need to use reflection to make them compile for
> 1.5. It's messy but it works.
>
> Nathan
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: PLEASE HELP!!! may i develop app for Android 1.6 using SDK 2.x?

2010-05-11 Thread Nathan


On May 11, 10:32 am, Mark Wyszomierski  wrote:
>
> the app will still work on 1.5+. Just make sure you don't use any SDK
> methods that don't exist on earlier platforms without checking the
> user's local sdk version.
>

A further tip: as one of the ways to check you aren't using API that
won't work on 1.5, set your project properties to 1.5 and see if there
are compile errors. Do this once in a while, and at least once before
every release.

If any methods come up that do not compile on 1.5, and you still want
to use them, you'll need to use reflection to make them compile for
1.5. It's messy but it works.

Nathan

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: PLEASE HELP!!! may i develop app for Android 1.6 using SDK 2.x?

2010-05-11 Thread Mark Wyszomierski
If I understand your question correctly, then yes.

In your manifest, just set the following:

  

the app will still work on 1.5+. Just make sure you don't use any SDK
methods that don't exist on earlier platforms without checking the
user's local sdk version.

On May 11, 9:53 am, HeHe  wrote:
> the slowness of system clock with SDK 1.6 makes debugging of my app
> that heavily depends on correct clock timing impossible.
>
> hence, i would like to know if i can develop app for Android 1.5/1.6
> using more recently released SDK (eg. 2.0)? if yes, how?
>
> thanks in advancet for any advice!!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en