Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

midlet audio problem with speaker and ear-phone

Posted on 2008-10-10
3
Medium Priority
?
331 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 2000 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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 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…
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…
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…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

718 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