java-me Questions

6

I'm developing a J2ME client that must upload a file to a Servlet using HTTP. The servlet part is covered using Apache Commons FileUpload protected void doPost(HttpServletRequest request, HttpSer...
Verse asked 2/8, 2011 at 18:55

3

Solved

I just downloaded the new LWUIT 1.5 and when I compiled my project then I saw in the output trace these lines: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:...
Retake asked 19/9, 2011 at 12:8

4

Solved

I have a jar file. I want to know which external classes and methods are used by classes inside JAR file. Can anyone suggest me any tool? For example - if below two classes are packaged into Myjar...
Stoichiometric asked 20/7, 2010 at 6:47

3

Solved

My server sends me time zones of the format "America/Los Angeles". On the client, I have a time that I need to display in that time zone. The answer will be "PST" or "PDT", depending on daylight sa...
Gossett asked 1/2, 2011 at 23:31

2

Solved

Java SE 8 embedded and Java ME 8 seem to have a similar goals. What is the difference between them regarding APIs, performance and license?
Mosasaur asked 19/9, 2014 at 17:21

8

Solved

Does anyone know how to convert a string from ISO-8859-1 to UTF-8 and back in Java? I'm getting a string from the web and saving it in the RMS (J2ME), but I want to preserve the special chars and ...
Suberin asked 16/3, 2009 at 21:9

11

Is there a way to extract the source code from an executable .jar file (Java ME)?
Unmarked asked 24/2, 2011 at 16:6

8

Solved

In J2ME, I've do this like that: getClass().getResourceAsStream("/raw_resources.dat"); But in android, I always get null on this, why?
Slavism asked 18/5, 2010 at 10:40

7

Solved

I try to uninstall Java ME SDK from Windows 7 x64, but it doesn't work for me. If I choose Uninstall I get a progress bar, then it goes away, but the Software is still there. On the first few tim...
Archil asked 10/1, 2011 at 12:27

6

Solved

I'm thinking about using semantic (web) technologies like RDF and OWL in an application on mobile devices. Currently I'm targeting android, but I'd also be interested in the possibilities on the iP...
Wield asked 29/1, 2009 at 14:27

4

Solved

I am wondering at the difference between declaring a variable as volatile and always accessing the variable in a synchronized(this) block in Java? According to this article http://www.javamex.com/...
Brio asked 19/8, 2010 at 7:34

8

I am writing this function for a J2ME application, so I don't have some of the more advanced / modern Java classes available to me. I am getting java.lang.ArrayIndexOutOfBoundsException on th...
Sonya asked 26/9, 2010 at 0:31

6

there is an error in all my javax header file "package javax. does not exist" here is an image.
Hesperus asked 12/9, 2011 at 6:45

6

Solved

What's the best way to convert an Object array to a Vector? JDE < 1.5 public Vector getListElements() { Vector myVector = this.elements; return myVector; } this.elements is an Object[] Th...
Kally asked 12/7, 2009 at 18:43

6

Solved

I'm new to Blackberry and I'm trying to get post a search term to a server in xml. But I keep getting this error Request Failed. Reason Java.lang.NegativeArraySizeException. I wanted to check if t...
Lev asked 26/6, 2012 at 13:2

6

I am developing an application in Java ME that I want to provide as a library. Is there no way to hide classes that I don't want everyone to use, but is essential still in order for the library to ...
Evanthe asked 10/7, 2011 at 18:10

14

Solved

Which one should I install when I want to start learning Java? I'm going to start with some basics, so I will write simple programs that create files, directories, edit XML files and so on, n...
Bradney asked 18/5, 2010 at 12:53

11

Solved

When I run my BlackBerry project in Eclipse, I get the following error: Error: Cannot run program "jar": CreateProcess error=2, The system cannot find the file specified How is this caused and...
Triplett asked 3/9, 2011 at 5:56

2

Solved

i'm using lwuit with j2me . how to get combo box selected item or index? i found the function for setSelectedIndex but not for getting the selected.
Indochina asked 25/7, 2011 at 10:18

3

I want to fetch the first date of the week in java using Calendar and Date with the inputs as :: 1. Week number of the month 2. Month 3. year Calendar cal = Calendar.getInstance(); int weekOfMon...
Turrell asked 12/4, 2012 at 8:9

7

Solved

If the start() method of a thread internally calls the run() method, then why don't we directly call the run() method in our code? What are the issues involved in doing so?
Wolpert asked 28/1, 2011 at 16:1

3

Solved

Whenever I use HttpConnection Class in Java ME, Android or in BlackBerry, I uses DataInputStream/DataOutputStream class for reading & writing datas over remote server. However there are other c...
Barker asked 19/1, 2012 at 4:59

14

Solved

Is there a way in Java/J2ME to convert a string, such as: {name:"MyNode", width:200, height:100} to an internal Object representation of the same, in one line of code? Because the current meth...
Dimorph asked 8/9, 2009 at 18:31

5

Solved

Is it possible to catch voice audio stream with java (JME or Android), custom encrypt it and then send it as regular stream via regular GSM call? And off course decrypt cipher on other phone. Is ap...
Movie asked 9/12, 2012 at 12:8

6

Solved

I'm developing for BlackBerry and I got stuck with this stupid problem: I need to convert string values "1" and "0" to true and false, respectively. Nevertheless, Blackberry JDK is based in Java 1...
Binding asked 25/3, 2011 at 5:10

© 2022 - 2024 — McMap. All rights reserved.