How to put simple audio into TranslateTask.java

30 replies [Last post]
carterson2
User offline. Last seen 2 years 22 weeks ago. Offline
Joined: 08/31/2009

Hi,

I want to get audio working in the 2nd thread, not the GUI-thread...

This audio works fine in Translate.java but NOT when I put it in TranslateTask.java

MediaPlayer up= MediaPlayer.create(this, R.raw.toofast);
up.seekTo(0);
up.start();

Any way to get it happy in the second thread somehow?
It doesn't crash, it just hangs..
Thanks
jp

1xuntong
User offline. Last seen 5 weeks 6 days ago. Offline
Joined: 12/25/2011
miu miu

prada bags discount

Make the eyes of tentacles, birds, plants must be leaves, branches of the image is clear, these figures are remar

humtum
User offline. Last seen 15 weeks 1 day ago. Offline
Joined: 10/23/2011
HelloAndroid.com is

HelloAndroid.com is publishing Android related information since 2007 February. We were there as Android was born, we are here as it has grown up and we will be there as it shows its full potential. Today HelloAndroid.com is one of the leading Android Development portal featuring many applications, analysis and tutorials.
jogos de carros

thietkeweb
User offline. Last seen 17 weeks 3 hours ago. Offline
Joined: 06/09/2011
well, I also recently

well, I also recently encountered this problem. Fortunately, there are many ways for solving the above, I will learn it. Thank you for sharing.

Provider : Vietnam Visa - Vietnam Flights - Vietnam Airlines

HerdonR
User offline. Last seen 17 weeks 2 days ago. Offline
Joined: 10/09/2011
thanks for such a great info

thanks for such a great info and I really appreciate it. looking forward for your next post.
economic calendar

HerdonR
User offline. Last seen 17 weeks 2 days ago. Offline
Joined: 10/09/2011
Great post man and I really

Great post man and I really appreciate it. Looking forward for your next post. Thanks anyway!

economic calendar

HerdonR
User offline. Last seen 17 weeks 2 days ago. Offline
Joined: 10/09/2011
I am not really familiar with

I am not really familiar with java but this post is very useful.
wsop

alexanderjames137
User offline. Last seen 30 weeks 3 days ago. Offline
Joined: 07/06/2011
@Carterson - Thanks for the

@Carterson - Thanks for the tip, dude. You've been a great help. Fap Turbo

flyingfish30
User offline. Last seen 31 weeks 4 days ago. Offline
Joined: 06/20/2011
java

I am new into Java and I am very fortunate that I chanced upon this site. I am also thankful for this valuable piece of information. Keep posting quality articles like this.
cellulean

HerdonR
User offline. Last seen 17 weeks 2 days ago. Offline
Joined: 10/09/2011
I am not really know about

I am not really know about the java program but this information is helping us to recognize about the java language.
Alpari

karen1leee
User offline. Last seen 20 weeks 6 days ago. Offline
Joined: 05/25/2011
Android Mobiles come from the

Android Mobiles come from the house of Google that adds up to the options that you have to choose from in the market.

best android apps

best iphone apps

lvxk
User offline. Last seen 47 weeks 6 days ago. Offline
Joined: 03/09/2011
Microsoft Office Outlook 2010

Microsoft Office Outlook 2010 Practice Test:77-884
MTA Networking Fundamentals:98-366

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
Use an ergonomic chair and

Use an ergonomic chair and feel better comfort in your back and shoulder. Facebook Access

lee harvey
User offline. Last seen 25 weeks 2 days ago. Offline
Joined: 11/08/2010
When customers offer their

When customers offer their bankcard at the point of sale, over the Internet, on the phone, or through the mail, that information becomes exposed and vulnerable, however briefly. Cardholders want assurance that their account information is safe.

CISP

lee harvey
User offline. Last seen 25 weeks 2 days ago. Offline
Joined: 11/08/2010
A printer error can be a

A printer error can be a funny thing, because with these kinds of errors you can not be sure what is the cause of the error. There are sites on the internet where you can find driver updates that will help you use the printer better.

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
Excellent read, I just passed

Excellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that: Printer Ink

stelaharth
User offline. Last seen 29 weeks 3 days ago. Offline
Joined: 02/20/2011
does any one know?

I am also looking for the same resolve any one know about it?

uk dating | dating sites

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
I just passed this onto a

I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile Dog Supplies

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
Excellent read, I just passed

Excellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that: Printer Ink

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
Companies these days are

Companies these days are using ergonomic furniture to ensure that there are no injuries from work related hazards. Use an ergonomic chair and feel better comfort in your back and shoulder. Dog Breeders

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
We can give them a good

We can give them a good education that they can use in their life to get a better chance in this life. Im sure with a good education all of us will see the changing that all that kids can have. london hostels

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
There is an articlethat gives

There is an articlethat gives great insight to foundational elements when it comes to being able to successfully make money on the internet. euromillions results

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
Companies these days are

Companies these days are using ergonomic furniture to ensure that there are no injuries from work related hazards. Use an ergonomic chair and feel better comfort in your back and shoulder. Mattress Pad

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
The media has lots of time to

The media has lots of time to make feminists look ridiculous—because of course the most important quality in a social-justice movement is whether its members have a sense of humor and a closetful of great outfits Fable 3 pc

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
We can give them a good

We can give them a good education that they can use in their life to get a better chance in this life. Im sure with a good education all of us will see the changing that all that kids can have. dog supplies

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
There is an article at

There is an article at makemoneywithsixplus.com that gives great insight to foundational elements when it comes to being able to successfully make money on the internet. Puppies for Sale

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
At the end of the day, there

At the end of the day, there are certain facts that are verifiable and have as their source neutral, independent third parties. These facts include independent watchdog Charity Dog Breeders

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
There is an article at

There is an article at makemoneywithsixplus.com that gives great insight to foundational elements when it comes to being able to successfully make money on the internet. Printer Ink

jibkiller
User offline. Last seen 24 weeks 6 days ago. Offline
Joined: 12/08/2010
Best-of-Programm jedoch

Best-of-Programm jedoch probiert Josef Hader etwas, was viele Kollegen machen, er aber normalerweise nicht: Nummern spielen und dazwischen Lieder singen. payday loans

trony
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 12/09/2010
How does it

How does it work?

-----------------------
free coloring pages

pandorauk
User offline. Last seen 1 year 8 weeks ago. Offline
Joined: 12/07/2010
it is sometimes world of hard

it is sometimes world of hard to Pandora in a world of adults Pandora Bracelets