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 <ensisinf...@gmail.com




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

Besides this:
 http://developer.android.com/guide/practices/screens_support.html 

< http://developer.android.com/guide/practices/screens_support.html> ;I'm not
sure what you are asking.

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/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 <ensisinf...@gmail.com>



--


Sponsored Links


Other Threads

1. taking image to display from folders

hello, i'm beginner in android. i wanna know how to allow user to
choose image and display that image on image control (i want to do
this on button click).
thank you

-- 

2. Fragments won't display in port orientation

I'm very confused on why my fragments refuse to draw in portrait mode and 
draw fine in landscape mode.

I'm build a screen with two fragments. in landscape they are side-by-side 
and in portrait they are supposed to stack one above the other.
however now matter what I seem to try, the portrait mode refuses to draw the 
fragments.

I can also not use any layout except LinearLayout  and even then if I add 
the LinearLayout android:orientation="vertical" the fragments refuse to 
draw.

I'd actually prefer to use the RelativeLayout in this case, but i does not 
display anything at all.
To illustrate what i'm doing:

This works...

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

android:orientation="horizontal" android:layout_width="match_parent"

android:layout_height="match_parent">


 <fragment android:name="sixgreen.pots.ReceiptFragment" android:id=
"@+id/saleReceiptFragment"

android:layout_weight="1" android:layout_width="0dp" android:layout_height=
"match_parent" />


 <fragment android:name="sixgreen.pots.SaleControlFragment" android:id=
"@+id/saleControlFragment"

android:layout_weight="1" android:layout_width="0dp" android:layout_height=
"match_parent" />


</LinearLayout>


... and this *does not* work...

<?xml version="1.0" encoding="utf-8"?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"

android:orientation="vertical" android:layout_width="match_parent"

android:layout_height="match_parent">


<fragment android:name="sixgreen.pots.ReceiptFragment" android:id=
"@+id/saleReceiptFragment"

android:layout_weight="1" android:layout_width="0dp" android:layout_height=
"match_parent" />


<fragment android:name="sixgreen.pots.SaleControlFragment" android:id=
"@+id/saleControlFragment"

android:layout_weight="1" android:layout_width="0dp" android:layout_height=
"match_parent" />


</LinearLayout>



(yes, they are in different resource dirs; layout-land and layout-port 
respectively.)

I've been hacking away at this for a while now, trying all sorts or 
permutations and layouts with no luck.


Does anyone have any suggestions on what i might try, or even how to debug 
this, that i may not have tried already? 

At 4:30 am, it's time to give up and get some sleep :)


- Brill Pappin



-- 

3. addon_google_apis_google_inc_11': File not found

4. Camera driver on Nexus One v2.3.3

5. Porting 2.3 Dalvik to 2.2

6. MessageBox style Preference

7. Harus sun java