Solved

midlet audio problem with speaker and ear-phone

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
servlet filter example 37 83
tomcat administrtor 12 68
use lov values 2 72
How to execute a Python program and gather return output in Java 2 49
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

749 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