I downloaded kXML and included this in my Build Path (Eclipse). Now I'm running a simple Midlet and I get an error:
java.lang.NoClassDefFoundError: org/kxml2/io/KXmlParser
at clientlibrary.googlecalendar.TestParser.startApp(+8)
at javax.microedition.midlet.MIDletProxy.startApp(+7)
at com.sun.midp.midlet.Scheduler.schedule(+270)
at ...
i want to create sub menu for a BB application
when i click on menu item it shows
Option 1
Option 2
Option 3
When i click on option 3 it should display
1
2
3
as sub menu items..
using j2me + eclipse
...
C#
string keystr = "0123456789abcdef0123456789abcdef";
string plainText = "www.bouncycastle.org";
RijndaelManaged crypto = new RijndaelManaged();
crypto.KeySize = 128;
crypto.Mode = CipherMode.CBC;
crypto.Padding = PaddingMode.PKCS7;
crypto.Key = keystr.ToCharArray().Select(c=>(byte)c).ToAr...
Can I edit the stored values of a RecordStore manually? If so, which programs do i need, or JVM stores those data in a file without any encryption?
Any help or advice will be appreciated.
...
I have an application that makes many subsequent calls to a REST service for batching data to a database on the BlackBerry devices. I have tried several methods of using HttpConnection with various streams to see which might perform the best. So far to the same service other Platforms like Windows Mobile and iPhone can handle the downloa...
Please note that this is a question about MIDlets, i.e. Java ME (not "ordinary" Java SE).
I'm looking for the correct way to invoke content on a mobile phone using JSR 211, i.e. CHAPI - Content Handler API. I always get to the IOException in the code below. The mobile phone I'm running on supports JSR 211 (it's a Sony Ericsson C902).
d...
Hello,
I got the following problem: We registered different ProximityListeners in JavaME to a LocationProvider.
Everything works fine with the external events emulation, and the proximityEvent method is triggered correctly.
Problem: After "one usage", the method is not triggered anymore. The LocationProvider still works good, because th...
I am developing a j2me application and I was wondering if anyone knew how to send an sms message to an email address. I need to use sms since I am trying to send data through it using an unlimited text plan instead of an unlimited data plan.
I modified a code sample from http://freecode-freecode.blogspot.com/2008/06/how-to-send-sms-in...
Recently I have to develop on mobile phones using Java and I am planning to do the development on the following brands:
Nokia
Samsung
SonyEricsson
Motorola
LG
I've browsed the "developer site" of each company and looks like they all have provided their own SDKs for J2ME development.
I am really new to this field and I have a few q...
I am unable to open socket connection with J2ME application on HTC P3400i. I am able to use the same application Nokia phones. It is working good on Nokia phones. Can anybody help me?
...
When using an HttpConnection in a BlackBerry app, you often get HTTP cookies in the response headers. Unfortunately there are no built-in APIs to assist with the parsing of the cookie headers.
Has anyone found a third-party library to assist with the parsing of the cookie header(s) into a more useful data object? Creating some custom ...
Hi there,
I've noticed that a lot of my Google searches took me here so i thought perhaps i could borrow your apt minds :)
I'm working on a One Time Password generator for a mobile device (as well as website to log in to) as part of my third year degree dissertation.
Using the org.bouncycastle.crypto.digests.MD5Digest library i am ta...
I want to acces alarm. in my application i have successfully accessed calender and have set the appointment but how i can access alarm. please help me. following is my code
public class Alarm
{
private Event event;
public void myAlarm()
{
try
{
EventList eventList = (EventList)PIM.getInstance().
...
How could I measure the GPRS attach attempt success/failure in the device(could be by any application) but I want to capture these parameters in my application. Please let me know If I could do this?
...
Hello
I am facing problem on playing recorded audio on S5233A.
As its supporting audio capture and encoding supported audio/amr.
From my application its successfully recording voice. but on play its not giving error but nothing happens.
I tried recording using following strings,
capture://audio
capture://audio?encoding=amr
capture:...
so, again, due to blackberry's api limitation, i have 2 questions:
the response that i get back from my IOUtilities.streamToBytes(httpInput); call contains "<" characters. so what blackberry class/method can i use to replace my "<" with "<"? there is ONLY 1 replace() method in the String class and that method can only replace 1 c...
What is the size (in bytes) of the Hashtable object in J2ME? I mean what is the overhead for using a Hashtable?
...
I googled and I can't find it is possible, someones said that j2me don't support REST communication or there are problems with login.
Is it possible?
...
I am trying to send a text message to a phone and I get an error
Fail to send because of unknown reason. -java.io.IOException
import javax.microedition.io.Connector;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Form;
import javax.microedition.midlet.*;
import javax.wireless.messaging.MessageConnection;
impor...
How could I get the number of URL errors and number of URL hit in the BlackBerrybrowser in a particular time interval. I want to track those hits and errors in my applications.
...