how do I do a simple sleep() in Android?  e.g. in Perl:

sleep 5;

to sleep for 5 seconds.  I have a program that continues scanning wifi
until it finds a certain router then plays a tune once found.  All
works fine, but it scans in 1.6 EXTREMELY fast, where as on 2.0 it
scans about once per second.
I also made a stop button that does:

mainWifi.setWifiEnabled(false);

but this causes a force close. ??  actually every application I have
made so far except hello world just gives me a force close.  I have
checked my permissions in the manifest etc.??  I have a soundboard app
that cannot play more than 7 sounds before it force closes? why??

Is it my phones hardware?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to