Look up DecimalFormat You'll need to create the format on that object: String pattern = "0.##"; // or "0.00" depending if you want 1.5 to show a 1.5 or 1.50 DecimalFormat my_formatter = new DecimalFormat (pattern); String formatted_string = my_formatter.format (1.23456789) You could put the pattern directly into the constructor to only take 2
Informacja: 2010-03-07
Inne wiadomości z dnia 2010-03-07
Looks like SoundPool has adjustable playback freq. Now to find an example to use it.
Informacja: 2010-03-07
Dziękujemy za odwiedziny /przegladprasy
Android sdk 2.1 supports Bluetooth but we are unable to enable Bluetooth in emulator. while running "Bluetooth chat application" given in sample code . It throws following error : "The application Settings(process com.android.settintgs) has stopped unexpectedly." And even in SDK DOC its given that Bluetooth not supported by
Informacja: 2010-03-07
Dziękujemy za odwiedziny /przegladprasy
hey experts !! I havent used androidphones yet though i am in for learning development for few months. well issue is that i have been asked by a friend to upgrade his G1 OS from 1.0 to 1.6. so many of you guys have done it .. kindly help me out with few basic tips and steps on how to do it or share any relevant resources. This will be my first time
Informacja: 2010-03-07
Dziękujemy za odwiedziny /przegladprasy