How to get the highest API level supported by the device?

by Agus » Fri, 27 Nov 2009 03:16:30 GMT


Sponsored Links
 thanks






>



How to get the highest API level supported by the device?

by patrick » Sat, 28 Nov 2009 07:23:30 GMT


 be aware that android.os.Build.VERSION.SDK is deprecated and
android.os.Build.VERSION.SDK_INT only available in level 4.





> >


Sponsored Links


How to get the highest API level supported by the device?

by patrick » Sat, 28 Nov 2009 23:46:11 GMT


 Do you mean Build.VERSION.SDK wont be removed in futures releases?







> > > >



Other Threads

1. Closing the Application Window Programatically




The general consensus is "there's no reason to do this".

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 

2. How do I know that a View has been resized?

Hi all,

I am currently looking for a way to detect that a view has been
resized. It seems that there is some time between calling a resize
method and when it is actually resized

For example:

[code]
//I give  a certain width and height
button.setLayoutParams(new LinearLayout.LayoutParams(100,200));
//Now, I check the components width and height
Log.v(TAG, "Size = "+button.getWidth() + "," + button.getHeight());
[/code]

Unfortunately, the received width and height is still the old one. I
already tried to call button.invalidate(), but this doesn't solve the
problem either... .

Is there any workaround to receive a components height/width right
after it has been resized? In java awt/swing there is the
ComponentListener (http://download.oracle.com/javase/6/docs/api/java/
awt/event/ComponentListener.html) for resolving these problems. Is
there any alternative available in Android?

Cheers,
Jan


-- 

3. Change drawable onTap

4. LVL returns always LICENSED...

5. Setting maximum value to zoom

6. ToDo list pengganti Astrid

7. Lagi cari android wiigo yang satu setengah jutaan. beli di mana ya?