java-me

Problem with J2ME application

I have wrote a simple web service in .NET which return a string value. [WebMethod] public string DeveloperInfo() { return "Chamara is the appliaction developer"; } I need to consume it using a J2ME application.following is the code i have used if (displayable == ServiceForm) { if (command == exitCommand1) ...

J2ME LWUIT TabbedPane: How to add mutliple components in a tab?

How can multiple components ( for example a Label, a Textfield and a Button ) can be added in a single Tab? I tried creating a new Form with multiple components, then added that form into the TabbedPane as new Tab, but it threw an exception : java/lang/IllegalArgumentException: A form cannot be added to a container. Any help/ideas/hint...

Qt or j2me is better?

I am planning to do some development for Nokia Devices. Can someone tell me which to use between Qt framework and j2me? ...

Java ME consuming .NET Web Service the safe way

Hi Gurus I'm developing an application for Blackberry that consumes .NET Web Services that are hosted on our public web server. We are using JSON as our data interchange format. So far we have been testing the application and everything is working fine but there is one big thing to solve: the .NET web services are public. If you go to...

J2ME , For sending image vai SMS

hey, how can i convert the image from jpeg to binary at sender side & binary to jpeg at reciver side??? ...

is it possible to design a firewall software for Java enabled mobiles, using J2ME and Netbeans or Eclipse IDE...

Hello Everyone, i want to design a small firewall system for java enabled mobiles using Netbeans or Eclipse IDE, and mostly the programming language will be J2ME and XML(WML for wireless communication). as i am doing this as my final year project, i still dont know whether this can be achieved.... so please can anyone tell me the feasibi...

Is it possible to have a J2ME app get an SMS and send it to a computer?

That's basically my question, I have written the code for sending/receiving SMS but it's basically a "server/client" so I can't get the SMS that are sent directly to the phone number instead of through the j2me program. Is it even possible? ...

Screen brightness in J2ME.

Do you know of any means for changing the screen brightness in J2ME. That is using a vendor-specific API, like Samsung's, etc. Thanks! ...

JVM exception in simple program

Hi, I am writing a small demo program to display a message box in to run in blackberry. As soon as I click the OK button on the dialog, it throws me a JVM Error 104, uncaught:runtimeexception. Any help please? Here is the code : import net.rim.device.api.ui.FieldChangeListener; import net.rim.device.api.ui.UiApplication; import net.rim....

What is Java Verified?

According to their homepage, Java Verified "is the industry-recognised Java testing and signing programme." To me it sounds like another "gimme your money and we'll do some testing and the give you a nice Foo Compliant Approval Seal of Exellence". Is it something you'd expect to have for your Java ME app? Would it make a difference to ...

Mutually Exclusive Permissions in J2ME

What are the other mutually exclusive permissions for a MIDlet aside from "Net Access" and "Auto Invocation"? Are "Net Access" and "Messaging" not mutually exclusive? Edit: What about "Messaging" and "Auto Invocation"? ...

RTSP audio stream works fine on BlackBerry 9000 but there is no sound on BlackBerry 8320

i have this code in java, and i can hear the rtsp audio stream in blackberry 9000, but while i can see in server logs that rtsp stream is being transmitted and i can notice phone getting content i hear no sound on BlackBerry 8320. javax.microedition.media.Player ppp = javax.microedition.media.Manager.createPlayer("rtsp://rtspink;devices...

Establishing bluetooth connection between a J2ME application and a desktop application written with Python (preferably using pybluez)?

I am trying to establish a bluetooth connection between my J2ME application (using JSR-082 API) and my desktop application written with Python (using pybluez bluetooth API). However, I could not find a suitable bluetooth communication protocols to pair them. In pybluez, the way you connect to a server is as follows: addr, port = "01:23...

java.io.IOException: Error in HTTP operation

Hi All, I am from Bangalore-India. I have developed few J2ME applications that involves client/server interaction through HTTP connection. I am testing my application on both the leading operators of the country- Airtel and Vodafone. My Midlet works fine with S60rd edition and S40 2nd edition(6030) phone. but as soon as i switch to S40...

j2me touch gui looking like android

Hello i would like to remake a program i made for android in android it looks pretty nice and is very touch friendly now i need to make it for symbian what would be the best approach to achieve similar graphics and functionality i tried searching in j2me but the graphics look so very outdated :( here are some screens of the android i...

how to parse json response from google map api?

hi how to parse json response that we get from google map api and how can we show the particular location on map. suppose i have entered one location name(i.e NewYork) and for that i have received json response,how can i show it on the map. please provide help as i have never used google map api and json also. ...

Best way to organize a BlackBerry project in Eclipse (for non-touch and touch versions of the project)?

Hi guys, I have a small Java ME project (a game) that I'd like to port to BlackBerry, where I don't have any experience yet. I have identified 2 categories of devices that I would like to support, based on whether or not they support touch: 1. 320x240 and 480x360 (non-touch) 2. 360x480 (touch) For the non-touch devices, the changes wou...

how to load local html file in to j2me?

hi suppose i have one html file. Hello World how i can load this file to browser in j2me. anyhelp thankx ...

Handling Optional APIs in J2ME

What is the right way of working with optional APIs in Java Mobile? Does one need to make different versions of their app? Or is it enough to check APIs availability at runtime using System.getProperty()? Let's say I'd like my app to support JSR-256 (the Sensor API). Would importing classes from javax.microedition.sensor and register...

how to parse this json response?

hi i know how to parse response like {\"screenTitle\":\"National Geographic\"} token.optString("screenTitle"); up to this ok. but see this response { "status": "OK", "routes": [ { "summary": "Southern Exp", "legs": [ { "steps": [ { "travel_mode": "DRIVING", "start_location": { "lat": -34.925...