java-me

Sending by HttpConnection file more than 1kb from J2ME app

When I send a file of size 624 B aprox. it is sent ok by HttpConnection. But when I send bigger file like > 624 B on the call target (PHP script) I don't get any POST parameters at all. I use class HttpMultipartRequest: http://wiki.forum.nokia.com/index.php/HTTP_Post_multipart_file_upload_in_Java_ME like this: Hashtable params = new H...

Start a Maven J2Me project in Eclipse and run it

I have a problem setting up my maven j2me project that I created in Eclipse. I have the WTK 2.5.2 & SDK 3.0 installed and associated with Eclipse. I created a project using j2me-simple archetype. Copied the files from my previous J2Me project which was working! but as I see, all the files that I know are missing. the Application descri...

get phone name and model

Hi how can get phone name , model , firmware versioan in application ? thanks ...

Any good book(s) on app development using J2ME

I have been learning the basics of J2ME and can develop applications with a minimal UI. However I get stuck when I try to make apps with complicated UI. It's the flow of data between the different forms which has me stumped. Is there any tutorial or book which has examples of "design patterns" of UI development for J2ME ? ...

use volume key in app

Hi how can i use volume keys and camera key in app ? i use -36 and - 37 constant value but it`s not work !!! i use this to get key name str = getKeyName(keyCode); but when i press volume keys or camera key it`s return null can any body help me thanks ...

How to sign J2ME Midlet for Vodafone? (To suppress network access permission prompts)

Hello, I'm looking for some instructions/pointers on how to sign our J2ME midlet for use on the Vodafone UK network so the user is no longer continually prompted to allow access to the network whenever it attempts an HTTP/UDP network transaction. The application currently installs and runs OK but the user is repeatedly prompted to allow...

Extracting Audio array from a wav file in j2me

I am doing a speech recognition application using the mobile and I need a J2ME code to extract the audio array from a .wav file it's very urgent. thanks in advance. ...

Push Registry not working on nokia N86 after rebooting the phone; works on N97 and Expressmusic

Hi Everyone, I have written a simple midlet that invokes itself after a socket connection from a server program. I am using Push Registry to do this. It works fine on all the test phones I have immediately after installing. but if I reboot the phone, the push registry stops working on N86 whereas it is working on the other test phones ...

how to know which class / package/ methods used by given jar file?

I have a jar file. I want to know which external classes and methods is used by classes inside jar file. Can anyone suggest me any tool? For example import java.util.Vector; class MyJarClass{ public static void main(String args[]){ Vector v = new Vector(); AnotherClass another = new AnotherClass(); v.addEle...

Parse XML file in J2ME which is inside phone memory

Hello All... I am working on Samsung Java application development using Samsung Java SDK 1.2. Now in my application I need to create some xml file and store it inside the local phone memory. Now, that file will be updated frequently when user requesting some data from server. And at that time I required to parse that locally stored f...

How to implement J2ME applications using SQLite as backend db in Mobile handsets?

How to implement J2ME applications using SQLite as backend db in Mobile handsets ...

How to handle chunked encoding request properly?

I have two websites: one with Lighttpd with PHP and second with Apache and neither of this handle chunked transfer encoding properly. I send this request from my mobile, J2ME and there is no possibility to change this transfer type to any other. So my only way to go is to handle chunked transfer enconcoded requests in other way. Any so...

j2me and j2ee communication

i want to make application send a message via J2me application to the server(Tomcat J2ee) and the sever will back message to my J2me application. Request response model between J2me and J2ee(Tomcat server)..... ...

j2me :question about Landmark class

i am trying to invoke blackberry map and label a location by address. i tried the sample code as following public class invokeMaps { public invokeMaps () { Landmark[] landMarks = new Landmark[3]; AddressInfo addressInfo = new AddressInfo(); addressInfo.setField(AddressInfo.STREET, "455 Phillip St"); ...

Is any database available in mobiles , I need a database for making a mobile dictionary app.

what to use for database , while developing J2ME apps ? I mean should I use simply txt files or some database like sql is available in mobile phones ? ...

How to create a Startup Application in JavaME

Hi. How to create a Startup Application in JavaME.the Program will starts while the boot up of the Mobile ...

Why does this code run slowly on some devices?

Hi please look this code , when i run it on nokia N97 its run very slow but i test it on samsung corby its run true , i think if i use game canvas problem be sloved . what should i do to solve this problem . public class MIDPCanvas extends GameCanvas implements Runnable { Graphics g; Image img; int x = getWidth() / 2; Thread t = new Th...

Changing the way your mobile displays incoming calls - Where to begin?

Here's a situation: I own a nokia mobile device. Quite often, I receive calls from unknown local/national numbers. Now, I would like to take those calls that are from unknown national numbers coz they could be important and I would not like to take calls from local numbers. I would like to write an application which displays " calling" ...

servlet communicate with J2me Project?

i am working with Eclipse to develop a application in J2ME.In This application i am using a servlet called HitServlet and a J2me Class HitMIDlet. I want to run this project using Eclipse.But i do not what is the directory structure and how i make directory structure. I am alredy configure J2ME plugin and Tomcat in my eclipse. But i do n...

J2me with Eclipse?

I have two classes one is J2me class HitMIDlet and a servlet HitServlet i want to send request to servlet using J2me class.How i will mange these these two classes using Eclipse .? ...