Solved

midlet audio problem with speaker and ear-phone

Posted on 2008-10-10
3
305 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
throw exception 21 58
sql import cannot be resolved jsp 3 49
going to wrong jsp page 2 33
Why doesn't this text field show up on my Applet frame? 2 20
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

828 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