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
ServerWatch.com Article: Virtualization Enters the SMB World
ITChannelPlanet.com Article: Emerging E-Discovery Market Grows More Vital for VARs
StoreVault Whitepaper: Introduction to Networked Storage
Oracle eBook: Implementing Business Intelligence in Your Organization
Hoovers Sales Tip: Building Credibility with New Clients
SAP Whitepaper: A Corporate Guide to Better Decisions Through IT
Microsoft Article: Flexibility, Agility the Keys to Dynamic IT
Microsoft Article: Improving Infrastructure Management for Mid-Size Companies
IBM Whitepaper: CIO Insights--Ignite Innovation by Fusing Business and IT
IBM Whitepaper: Transforming Legacy Apps into SOA
Internet.com eBook: All About Botnets
Intel Article: 8 Simple Rules for Designing Threaded Applications
Symantec Whitepaper: E-Mail Discovery--Worst-Case Scenarios Versus Best Practices
Ipswitch Whitepaper: Secure File Transfer In the Era of Regulatory Compliance
Symantec Whitepaper: A Unified, Proactive Approach to Endpoint Security
APC eBook: Putting the Green in IT
Intel Whitepaper: Best Practices for Developing and Optimizing Threaded Applications
Symantec Whitepaper: Emerging Trends in Fighting Spam
Oracle eBook: Guide to Oracle 11g and Database Migration
Symantec Whitepaper: Best Practices for IM Archiving & Compliance
Intel Article: The Challenges of Developing Multithreaded Processing Pipelines
Avaya Whitepaper: SIP--Creating Next-Generation Telecom Applications
Avaya Article: Event Processing Demands Real-Time Response for Communications-Enabled Business Apps
MessageLabs Whitepaper: Spam Spikes--A Real Risk to Your Business
Symantec Article: Guarding the Corporate Gateway
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Epicor Webcast: Requirements to Consider When Looking at ITSM Tools
Intel Video: Three Must-Knows for Parallelism
Microsoft: NXT Web Seminar Series
Microsoft Partner Program Video: The Secrets to Partner Success
Rational Asset Manager: Succeed with Asset-based Development
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
NXPowerLite: Desktop Edition Software Trial
IBM Rational Systems Development Solution e-Kit
IBM SOA Development Survival Guide eKit
Evaluate IBM Rational Build Forge Online
IBM Enterprise Architect eKit for SOA
Evaluate Rational Application Developer Online
Iron Speed Designer Application Generator
Symantec IM Detection Utility
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM Overview Video: Next Generation Data Warehousing
IBM Tutorial: Intro to XML User Interface Language (XUL) Development
Microsoft How-to Article: Get Going with Silverlight and Windows Live
IBM Tutorial: The Ajax Transport Method
IBM Tutorial: Learning PHP
IBM Tutorial: Validating XML
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES