make application should support all versions and screens

by TreKing » Wed, 21 Jul 2010 04:04:48 GMT

Sponsored Links
 On Mon, Jul 19, 2010 at 9:12 AM, aswani kumar tholeti <

I understand English is probably not your first language, but your post is
not very clear at all.

Besides this: 

<> ;I'm not
sure what you are asking.

TreKing <> ; - Chicago
transit tracking app for Android-powered devices


make application should support all versions and screens

by Joseph Earl » Wed, 21 Jul 2010 04:31:31 GMT

 The target SDK version is not supported prior to API level 3 (Android
1.5). Also Android 1.5 only supports one screen size and resolution.

In order to best support Android 1.5 and above (including large
screens) you should compile one version with:

<uses-sdk android:minSdkVersion="3" />

for Android 1.5 and one version with

<uses-sdk android:minSdkVersion="4" targetSdkVersion="8" />

for Android 1.6 and above.
Just make sure you only use API level 3 and below code and you'll only
have to change the info in the manifest and project properties.

On Jul 19, 3:12pm, aswani kumar tholeti <>


Sponsored Links

Other Threads

1. Active Calendar app on Android Emulator?

Hi, all,

I am sorry to bring this into such a board audience but seems nobody
has posted similar problem or solution on the internet.

I am trying to use Calendar.apk in the emulator on a windows xp
system. The SDK version I am using is 1.1r1. However, the calendar app
will always go away with a message "Your events will appear shortly".
My guess is that the app is bound with Google account so I go to
"Setup"->"Data Synchronization". Once I click the "Data
Synchronization", I got a failure reading "The application Google Apps
(process has stopped unexpectedly. Please
try again". By check logcat output, I got the following(see the msg at
the end). Anybody can help me out how to install the App/Service or
configure the service or activate the signin service so that I can use
Calendar on emulator? Your help is highly appreciated.

I/ActivityManager(   52): Starting activity: Intent
{ action=android.intent.acti
on.MAIN comp={} }
W/GoogleLoginService(  181): Device has no accounts: sending Intent
{ action=and
I/GoogleLoginService.PasswordEncrypter(  181): no public key available
I/ActivityManager(   52): Stopping service:
I/ActivityManager(   52): Displayed activity
 883 ms
I/ActivityManager(   52): Starting activity: Intent { comp=
oogleapps/} (has
extras) }
I/ActivityManager(   52): Start proc for
activity pid=449 uid=10016 gids=
I/ActivityManager(   52): Starting activity: Intent { comp=
ard/} (has extras) }
D/AndroidRuntime(  449): Shutting down VM
W/dalvikvm(  449): threadid=3: thread exiting with uncaught exception
E/AndroidRuntime(  449): Uncaught handler: thread main exiting due to
uncaught e
E/AndroidRuntime(  449): java.lang.RuntimeException: Unable to start
activity Co
WizardActivity}: android.content.ActivityNotFoundException: Unable to
find expli
cit activity class {
Activity}; have you declared this activity in your
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at android.os.Handler.dispatchMessage
E/AndroidRuntime(  449):        at android.os.Looper.loop(
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at java.lang.reflect.Method.invoke
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at dalvik.system.NativeStart.main
(Native Method)

E/AndroidRuntime(  449): Caused by:
android.content.ActivityNotFoundException: U
nable to find explicit activity class {
wizard.AccountIntroActivity}; have you declared this activity in your
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        at
E/AndroidRuntime(  449):        ... 11 more
I/Process (   52): Sending signal. PID: 449 SIG: 3
I/dalvikvm(  449): threadid=7: reacting to signal 3
I/dalvikvm(  449): Wrote stack trace to '/data/anr/traces.txt'
V/DumpStateReceiver(   52): Running: /system/bin/dumpcrash
I/DumpStateReceiver(   52): Finished: 1831 bytes read; status 0
I/DumpStateReceiver(   52): Added state dump to 1 crashes
W/ActivityManager(   52): Launch timeout has expired, giving up wake
W/ActivityManager(   52): Activity idle timeout for HistoryRecord
{434ef860 {com.}}

D/dalvikvm(  181): GC freed 194 objects / 10064 bytes in 170ms
D/dalvikvm(  269): GC freed 3306 objects / 189336 bytes in 204ms


2. Unable to run develop Android with Eclipse

Hi all,
Please bear with me and help me out. I have followed all the steps
required to develop Android applications on my Windows..using Eclipse
3.4 (Ganymede).
- Installed Java SDK 5.0
- Downloaded Eclipse 3.4
- Downloaded Android SDK 1.1_r1
- Got the ADT plugin for Eclipse by Help>Software Update >
- Restarted Eclipse...
- Go to Windows > Preferences > I should see Android in the left panel
so I can set the paths.
For some reason I do not see this....I dont see Android in the left

I have tried everything....but cant figure it out. Initially, I
thought this could be because the Envoirment variables are not set
correctly. In these forums its suggested to set the Path variable to
point to Android-sdk-windows-1.1_r1/tools. When I do this and try to
start says "cannot find java virtual machine" so then I
have set the "path" variable as such
Path: "C:\Windows\System32\;C:\Documents and Settings\Administrator\My

Still I can't see Android in the Eclipse preferences...
please suggest what can be done to fix this...Thank you so much in


3. RemoteViews should support EditText

4. android over beagleboard intialization stucks

5. How to apply LOCAL_AAPT_FLAGS to eclipse project?

6. ALSA setprop values

7. TrackBall an event states: is there always a ACTION_DOWN before ACTION_MOVE