Ok, I seem to be having a bit of a problem handling the camera and
rotating under one application..
In 1.6 I used to be able to : p.set("rotation",90);
now in
2.0 it is handled by p.setRotation(90);
I am guessing if I want a single application to be able to run on both
1.6 and 2.0, I really should split my app into two activities based on
the version number of the SDK of the hardware?
android.os.Build.VERSION.SDK == "5"
Is there a better way to handle this?
If I compile using 2.0 SDK w/ min at 3, max at 5.
It runs fine on 1.5, 1.6 and 2.0 for all screens but camera
on 1.5 and 1.6 it fails b/c of p.SetRotation not being valid
If I compile on 1.6 and set at 3/5 SDK level, it works fine on 1.5 and
1.6, but on the 2.0 emulator it crashes w/ force close on the camera
when it trys to set the camera parameter for p.set("rotation",90)
Any suggestions?
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en