This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes help me play audio Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "help me play audio" Watch "help me play audio" New topic

help me play audio

Tung Xuan

Joined: Apr 16, 2012
Posts: 9
i can take the name of songs in folder root and add list but i can not play audio.
I get this error:
please teach me how to fix it. thank a lot
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10651

ItDoesntWorkIsUseless Please TellTheDetails

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Tung Xuan

Joined: Apr 16, 2012
Posts: 9
i'm sorry, i have fix my post
thanks for reminding me
now you can show me how to fix this error?
Darryl Burke

Joined: May 03, 2008
Posts: 4758

For future reference, it's better to post a reply rather than edit an earlier post, as that takes away the context of a response and makes the forum thread difficult to follow.

That's not an error, it's what it says: a warning. here are some learning resources that will help you to both understand and fix it.
Using Threads in J2ME Applications
Networking, User Experience, and Threads

luck, db
There are no new questions, but there may be new answers.
Walter Gabrielsen Iii
Ranch Hand

Joined: Apr 09, 2011
Posts: 158
Your audio format might not be supported. Java ME makes no guarantees beyond what's specified in section A.2.2 from Mobile Service Architecture Specification Version 1.1.0b – 18-August-2008 (available by download from JSR-000248 Mobile Service Architecture ).

Audio formats from A.2.2 Content Formats:
1. 8 kHz, 8-bit linear PCM audio in WAV
2. AMR-NB* (AMR-NB support is NOT REQUIRED for compliant development tools, device emulators, or a reference implementation running on a device emulator.)

Also see: ; and methods: .getSupportedContentTypes(), getSupportedProtocols(String content_type) of the Manager class. You can find out from Manager what additional audio formats your specific device supports.
rocket mass heater kickstarter
subject: help me play audio