Hi all,
I have a problem with loading image with java 2ME. I have a image file "picture.png" in location drive "C:". After that I wrote my like this to show image from this location.
Ex: import javax.microedition.midlet.;
import javax.microedition.lcdui.;
import java.io.*;
public class ImageMidlet extends MIDlet implements CommandLis...
Hi,
I want to fast-forward and rewind recorded audio in a j2me and Blackberry application.
Is there any sample code available? How do I do it?
Please help.
Thanks in advance.
...
Hi all,
I m creating a inner class in a method. After that I am accessing some statements like,
public class Test extends MainScreen
{
HorizontalFieldManager hfm;
Bitmap bitmap[] = new Bitmap[100];
BitmapField[] bitmapField = new BitmapField[100];
int countBitmap = 0;
Test()
{
VerticalFieldManager vfm_Main = new Ver...
As a follow up to my question about j2me dynamic arrays,
I'm now trying to figure out a way to change the values of the Integers in my Vector.
Say I have a Vector v, and Array arr, and ints x, y and i;
In c++ I could do:
v[arr[x][y]] += i;
In j2me the best way I found so far to do the same is:
v.setElementAt(new Integer(((Integer)...
I am an M.Sc. Computer Science 2nd year student. I need to do a project for my college work. I have working experince with Java, databases, J2ME etc. I have satisfacotry knowledge of .NET but I have not done any projects with it. Please suggest a good topic with .NET or J2ME that will be of post-graduation level.
...
Hi all,
I am starting study java2me. But I have some source study about it like ebook, source sample code, and ... Could anybody give some link website or source ebook study about it. Thanks, Sopolin
...
How do we do programmatic reading of a barcode that is captured using a mobile phone camera? For example, how do that using iPhone or Android or Java ME? Do we need separate hardware to read bar code or can we do image manipulation?
...
I've inherited a bit of J2ME code where a single class has the following two methods in it:
public DataOutputStream getOutputStream(String filePath) throws IOException
{
return Connector.openDataOutputStream(filePath);
}
public DataOutputStream createOutputStream(String filePath) throws IOException
{
FileConnection fc = (FileC...
hi,
i have a midlet which has got a static variable. i need to keep the record of all the instances created in this variable. but it does not work like static variable. my code segments look like this. i am running this midlet on sun wireless toolkit 2.5.5. i can create many objects of same midlet from that toolkit but still my counter ...
Hi All,
I want to design one form that contains TextField and ListView in J2ME. But I don't know how to create this form. It is looked like Dictionary Form. Could anybody help me to do that?.
Thanks,
Ung Sopolin
...
I have a signed application for Nokia 2660.
This application makes HTTP connections and when the application is opened the device prompts a message asking for user permission.
The user can previously opening the application make a configuration so that this prompt never appear.
This works fine.
When a new version of the application i...
Reading among the list of possibilities of the Java ME platform, its possible for a J2ME app running on a mobile to initiate a TCP Socket or HTTP connection with a server.
On similar lines, Is it possible to form a TCP socket connection between two mobile phones?
...
I've installed the Google Maps Java 2 ME app on my Nokia N73 which supports the Location API (JSR 179), but does not have an in-built GPS sensor. The "My Location" features works correctly, and is able to pinpoint my position within the city.
When I tried to access the CellID, LAC and other related data, I got nulls. So how is Maps abl...
I have code that successfully displays html
import java.io.DataInputStream;
import java.io.IOException;
import javax.microedition.io.Connector;
import javax.microedition.io.HttpConnection;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Display;
import javax.micr...
Since J2ME apps have so many possible devices they can run on, there's lots to consider during each step of development.
Are there websites that help you with the design process?
Statistics of API and MIDP version availability on phones of all manufacturers?
Browsing of APIs and Classes available by category?
Articles and reviews of A...
Hi all,
I want to create the dictionary for mobile. But I have any idea about it. Could anybody guide to learn about these?
Thanks,
Sopolin
...
Hi,
I would like to write a litte data-entry app for mobile phones using JavaME (MIDP/CLDC). How do I best synchronize the data with a local application on my PC (resp. just transfer the data to the PC)? Is there any standard way to connect to the PC if the mobile is plugged in via an USB cable?
I know that I could just connect to some...
I have used the Java Wireless Toolkit Stub Generator to create a bunch of web service call stubs for a mobile app (BlackBerry J2ME app). The problem I'm having is that there doesn't appear to be any way to set a timeout on the calls. This causes the app to sit and wait for at least a minute waiting to timeout if the web service that is c...
I am making HTTP connections to server to get some data. It works on most devices, but
I'm getting this error on Sony Ericsson P1i.
I have found error description:
KErrHttpInvalidHeaderInRequest -7334
Request contained a response header or a entity header but no body
Body should exists, I mean, data is not zero-length, and other d...
So, I wrote a quick little app for the iphone that takes in an http URL, and plays the .mp4 video located at that URL (it does more than that, of course, but that's the meat of it). Naturally, I wanted to have it on more than just a single mobile platform, so I decided to target Blackberry next.
However, I'm running into a lot of proble...