I am working on querying the address book via J2ME and returning a custom
Hashtable which I will call pimList. The keys in pimList {firstname, lastname} maps to an object (we'll call this object ContactInfo) holding (key, value) pairs e.g. work1 -> 44232454545, home1 -> 44876887787
Next I take firstName and add it into a tree.
The node...
How can i create a browser component in J2ME which can display web pages inside an application? Is there any API available for this ? or is this really possible ?
...
I am developing a J2ME application.
I want to split the following string at "<br>" & comma:
3,toothpaste,2<br>4,toothbrush,3
How can I do this?
...
I want to parse some data, and I have a BNF grammar to parse it with. Can anyone recommend any grammar compilers capable of generating code that can be used on a mobile device?
Since this is for JavaME, the generated code must be:
Hopefully pretty small
Low dependencies on exotic Java libraries
Not dependant on any runtime jar files.
...
I want some help that is related to J2ME.
I don’t know a lot about J2ME and now I am required to do a mobile application (it is a course project).
My application must be connected to the database, so I don’t know what should I do to do this project!
Some students said that I should to do a web server that connects to the database and ...
I need to get the data from a datefield calender and be able to display it in a string and later store it in a recordstore. I tried the toString() method but i had an error once run.
StartDate = new DateField("Start Date ", DateField.DATE);
StartDate.setDate(Calendar.getInstance().getTime());
I now have this code
...
I have this code and for some reason I can't get it to work?
Can anyone see the problem?
I need this data to be able to return all the records that contain the same name that is entered in the mNameSearchDelete textbox. however no records are returned which should be there.
thank you
protected void searchForNameToDelete() {
carry...
I have this code. And basically this returns the correct data without the town qualities. When I add the town qualities the method returns nothing, not even the orginal data that it has been and I dont know why. Can anyone see a problem?
protected void listRecords() {
mListForm.deleteAll(); // clear the form
try {
Recor...
I have a date propety set up like this
cal1.setTime(StartDate.getDate());
strStartDate = cal1.get(cal1.DAY_OF_MONTH) + "/" +
(cal1.get(cal1.MONTH) + 1) + "/" +
cal1.get(cal1.YEAR);
And I need to extract it when a search is performed.
I so far have this
int endOfName = rec...
I basically want to say
if the date is unchanged run this alert
my date field is set up like this
StartDate = new DateField("Start Date ", DateField.DATE);
cal1 = Calendar.getInstance();
cal1.set(Calendar.YEAR, 2009);
cal1.set(Calendar.MONTH, 3);
cal1.set...
How to get the IMEI of a Java ME device in a common way that is applicable to all devices
...
I want to be able to run an alert if the user does not change the date/calender field.
My data is set up like this
StartDate = new DateField("Start Date ", DateField.DATE);
cal1 = Calendar.getInstance();
cal1.set(Calendar.YEAR, 2009);
cal1.set(Calendar.MONTH, 0);
cal1.set(Calendar.DAY_OF_MONTH, 1);
StartDate.setDate(cal1.getTime());
...
Hi,
I have downloaded Opera mini from http://www.opera.com/mini/download/nokia/nokia_6600/
I downloaded both the jad and jar files,
opera-mini-4.2.13918-advanced-en.jad
opera-mini-4.2.13918-advanced-en.jar
and copied them to the bin directory of Sun java wireless toolkit,
[C:\j2me emulator\emulator\bin]
For running the file i'm using f...
So many server side and the mobile Java applications use the native Java language for Java. Can we use Jython instead to build the enterprise applications, e.g. websites, application servers etc.
Also what do you feel about Java ME applications in Jython.
P.S. Comments on question also welcome.
...
I have this code that I have shortened to the most important bits that I think affect the outcome but basically I have an error regarding the bytes. I'm not sure why because this code works in a different program as I have borrowed the code. This is meant to extract the data from the record store with the retrieve button then update it w...
We've tried using the parameters in the capture url as documented:
capture://video?height=480&width=360
No combination of width and height works. We always get an error -6 when creating the player.
capture://video works fine but the videos are ridiculously small.
Is it possible to record at a higher resolution on the N95?
...
how can i save data in mobile phone using j2me...?
i want code examples which describes how to store data in mobile phones using j2me.
furtur how to give access permision to read/write in mobile phones.
I am using netbeans 6.5 and motorola L6 phone.
Can any one tell me a code example giving how to store,give read/write permission ?
...
Is there a way to use WebDAV with J2ME (some libraries or manual coding)?
I've tried:
- javax.microedition.io.HttpConnection, but "SEARCH" method not supported there
- javax.microedition.io.SocketConnection with Http request - nothing returns in response
Maybe something wrong with my code or HTTP header:
String response = "";
Strin...
I'm trying to intercept the Ctrl/Chr key on a full QWERTY Nokia device (E71). It seems like the keyPress event isn't generated for this particular key.
Any ideas?
...
I am storing values and date values in a record store. I have my date field set up like this:
StartDate = new DateField("Start Date ", DateField.DATE);
cal1 = Calendar.getInstance();
cal1.set(Calendar.YEAR, 2009);
cal1.set(Calendar.MONTH, 0);
cal1.set(Calendar.DAY_OF_MONTH...