Posting Toast From Worker Thread to UI Thread

by Kumar Bibek » Wed, 11 Aug 2010 04:34:41 GMT


Sponsored Links
 Do you get an error? Check your logcat for some hints.

-Kumar Bibek
 http://techdroid.kbeanie.com 




--



Other Threads

1. enable / disable orientation changes at runtime...

is there a way to enable / disable orientation changes at runtime?

i know you can force a screen orientation in your manifest using
android:screenOrientation="portrait" or ="landscape"

but I would like a way to enable / disable it at runtime.

tia.

-- 

2. A Problem about developing with GPS module

I have wri{*filter*} a program to check the location from GPS module and I need to
get a signal once two minitues.

So, I use the function



of class LocationManager

The code of setting the LocationManager is below:

               mLocationManager = (LocationManager)

mLocationPrivider = LocationManager.GPS_PROVIDER;

mLocation = mLocationManager.getLastKnownLocation(mLocationPrivider);

mLocationManager.requestLocationUpdates(mLocationPrivider, 1000*120,

mLocationManager.addGpsStatusListener(statusListener);

updateGpsStatus(0, null);

updateWithNewLocation(mLocation);


but when I download my program to a GPhone, I find sometimes I will recive
the many data form GPS  in on minitues. sometimes I will not recive the data
in several minitues.

I have tried many way to solve it. But I finnally get a failiure.

Did anybody else devlelopped with the GPS module of GPhone ?

Please forgive my poor English.Wish your help!

thx ^.^

-- 

3. Is it worth writing a ContentProvider and using CursorAdapter for this case?

4. List Item (a view) order changes unexpextedly while (fast) scrolling in a ListView

5. Default browser

6. Getting Thread ID/Phone# of an Open SMS Message?

7. obtain recently used app list programatically?