jGuru
Register Email     Password Forgot your
password?
HOME FAQS FORUMS DOWNLOADS ARTICLES PEERSCOPE LEARN

  Search   jGuru Search Help

View:
J2ME FAQ Home Page

FAQ Manager is guru Bill Day PREMIUM.

The Java 2 Platform, Micro Edition (J2ME) FAQ addresses the vast space of networked consumer and embedded devices, from smart cards, pagers, and mobile phones, to set-top boxes and automobile navigation systems. This FAQ also addresses technologies used to connect J2ME-enabled devices to consumer and enterprise services, including standard wireless data formats (WML, Compact HTML, and XHTML) and protocols (most importantly, HTTP/HTTPS and the WAP protocol stack).

What's New

Where do Samsung mobile developers get tools for Java ME development?
J2ME:Tools
John Zukowski PREMIUM, Jun 4, 2006
The home for the Samsung Developers Club is http://developer.samsungmobile.com/. From there you can get documentation, SDKs, and related tools.
Where does one get development tools for BenQ-Siemens phones?
J2ME:Tools
John Zukowski PREMIUM, Jun 4, 2006
The BenQmobile developer portal at https://market.benqmobile.com/portal/main.aspx?LangID=0&pid=1 offres forums and tools to support their J2ME development...
What developer support options does Nokia offer for J2ME development?
J2ME:Tools
John Zukowski PREMIUM, Jun 4, 2006
One would start with the Nokia Developer's Suite for J2ME, available from http://www.forum.nokia.com/main/0,6566,st_p_50,00.html. From there, you can also...

Where do I get the tools to develop for the GSPDA Japser S20 JavaOne phone from SavaJe?
J2ME:Tools
John Zukowski PREMIUM, Jun 4, 2006
Their developer program support is found at http://www.savaje.com/developers.html. They offer a Wiki (http://java.savaje.com/wiki/) and Forum (http://...
Where do I find support for J2ME development for the Motorola platform?
J2ME:Tools:SDKs
John Zukowski PREMIUM, Jun 4, 2006
Motorola offers Motodev, the Motorola developer network, available at http://developer.motorola.com/. There are different SDKs available for their different...
Where do I get the Sony Ericsson SDK for the Jav ME Platform?
J2ME:Tools:SDKs
John Zukowski PREMIUM, Jun 4, 2006
Their developer home is http://developer.sonyericsson.com/. Their Java support is found at http://developer.sonyericsson.com/site/global/docstools/jav...
Is it possible to adjust the tempo when playing back a MIDI file using the Mobile Media API?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
That would be with the TempoControl. Get it from the Player and call the setTempo() method, passing in a value for the number of milli-beats per minut...
Using the Mobile Media API, how can I loop the playback of my song?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
Use the setLoopCount() method of Player to playback media with looping. A value of -1 means forever. A value of 1 is the default. 0 is invalid.
Using the Mobile Media API, how do you know when a song/video is done playing?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
You need to attach a PlayerListener to the Player.
Using the Mobile Media API, how do you find out information like song title?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
You have to get the MetaDataControl object for the associated player. There are four predefined keys that you can ask for: TITLE_KEY, DATE_KEY, COPYRIGHT_KEY,...
How do you discover the set of mime types supported by your platform for the Mobile Media API?
Java:API:Media, J2ME
John Zukowski PREMIUM, Apr 1, 2006
The Manager class offers a getSupportedContentTypes() method for just such a purpose. Pass in a value of null to get the whole set returned.
Using the Mobile Media API, how do you take a picture?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
Use the locator string of "capture://video" to create the Player, then get the VideoControl for the viewfinder, and finally VideoControl.getSnapshot(String...
Using the Mobile Media API, how do you control the volume of what is played?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
You need to get the VolumeControl object from the Player and change the volume through that: vc = (VolumeControl) player.getControl("VolumeControl"); if(vc...
Using the Mobile Media API, how do you generate a tone?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
The Manager has a static playTone() method to generate tones. You can also create a Manager.TONE_DEVICE_LOCATOR player object with Player player = Man...
Using the Mobile Media API, how do you play a video?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
This is similar to playing an audio file but requires you to get the control to display the video on. You need to see the results, not just hear them....
Using the Mobile Media API, how do you play a media file stored in an RMS record store?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
RecordStore rs = RecordStore.open("name"); byte record[] = rs.getRecord(id); ByteArrayInputStream bais = new ByteArrayInputStream(record); Player...
Using the Mobile Media API, how do you play a sound file that comes in the JAR?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
You need to know the mime type of the audio file and pass it as a stream to the Player object. InputStream is = getClass().getResourceAsStream("/ex...
How do I play a MIDI file using the Mobile Media API (MMAPI)?
Java:API:Media, J2ME, J2ME:Mobile Media API
John Zukowski PREMIUM, Apr 1, 2006
Player player = Manager.createPlayer("http://example.com/example.midi"); player.start();
How does an Xlet tell the application manager it wants to end?
J2ME:Specs:Configurations:CDC, J2ME:Specs:Profiles:Personal
John Zukowski PREMIUM, Dec 5, 2005
Call the notifyDestroyed() method of the XletContext.
What is the purpose of the unconditional parameter passed into the destroyXlet() method of an Xlet?
J2ME:Specs:Configurations:CDC, J2ME:Specs:Profiles:Personal
John Zukowski PREMIUM, Dec 5, 2005
If the unconditional parameter is false, the Xlet can tell the Xlet application manager that it doesn't want to be killed by throwing an XletStateChan...
« previous beginning next »


Ask A Question



Related Links

J2ME Forum

J2ME Homepage

J2ME Archive

CLDC and KVM Homepage

MIDP Homepage

PersonalJava Homepage

Java Card Homepage

EmbeddedJava Homepage

Real-time Specification for Java

Wish List
Features
About jGuru
Contact Us

 




JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES