Solved

midlet audio problem with speaker and ear-phone

Posted on 2008-10-10
3
294 Views
Last Modified: 2013-11-24
My midlet works normally on most phone - by some of the devices such LG Shine, MotoQ and others are directing sound through the ear-phone not the device's main speaker.

I know of no such setting in the Midlet API to control this?
Has anyone encountered this behavior? if so what was the solution? Are their device specific settings I can place in the jad?

thanks
0
Comment
Question by:jeffmc033
3 Comments
 
LVL 1

Accepted Solution

by:
waleed hassan earned 500 total points
ID: 22719707
hello jeffmc033
make sure that your jad file contains
MIDlet-Permissions: javax.microedition.media.control.RecordControl , javax.microedition.media.control.VideoControl.getSnapshot

check out this :
 http://developers.sun.com/mobility/apis/articles/mmapioptions/
 http://today.java.net/pub/a/today/2005/09/27/j2me4.html

and try to use
    * String[] getSupportedContentTypes(String protocol)
    * String[] getSupportedProtocols(String contentType)
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now