Solved

midlet audio problem with speaker and ear-phone

Posted on 2008-10-10
3
316 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

734 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