What's best way to resume activity and play audio file after spawned thread completes download?

by Philip » Fri, 15 Jan 2010 07:10:48 GMT

Sponsored Links
 Why don't you simply use thread join wait and notify? Curious...

> solve this would be very much appreciated.

Other Threads

1. How to enable soft keyboard?


As title, is there anyone knows how to make the soft keyboard show up?
I am running Android-1.5 on x86 platform and any help is appreciated.

unsubscribe: android-porting+unsubscr...@googlegroups.com

2. Open gmail attachments (xml) with another App

My app uses the below intent filter to make itself an xml file reader
for the purpose of inserted data shared between users. This works fine
with xml files viewed in the browser but I can not make it work with
xml files sent as email attachments in the gmail app.

<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="text/xml" />

When I check the logcat output I can see that the gmail app starts
downloading the attachment when I press the "Preview" button, but as
soon as my activity is brought to the front the attachment download is
cancelled and there is no data to parse.

I see in the intent created from the gmail app there are a couple of
ID numbers for the attachment. Perhaps someone has used these ID
numbers to grab file attachments from the gmail servers?

Anyone interested in how I am handling XML files so far please feel
free to peruse the source of my project at

3. setLayoutParams on a TextView prevents TextView from being displayed

4. Google to assist overcome piracy

5. Numeric-Only Virtual Keypad

6. glCompressedTexImage2D formats

7. SensorManager Query