java-me

opening a website when user clicks on a label field,blackberry

i am creating an application for blackberry i want to open a website when i focus on its name can anybody tell me how can i do that. thanks in advance!!!!!!!!!! ...

Need help regarding lwuit

Hi, I have project, already developed using canvas and lib used is LCDUI. It's for nokia keyboard supported devices. Now I want to incorporate same application for touch devices. I have used touch methods like pointerpressed, etc. For normal functionality that worked pretty well. But it creates problem in commands. My application is i...

how to use image for text field,j2me,blackberry

i am using an image for text field when i focus on it to write something the first letter of the text that i write gets half cut... how to avoid that my code is:: textbox = new EditField(EditField.NO_NEWLINE) { protected void layout(int width, int height) { super.layout(1000, 38); super.setExtent((D...

How to get my latitude and longitude programmatically, BlackBerry?

I am creating an application for [BlackBerry][1]. I want to get the user's latitude and longitude and then generate the maps according to it. How can I do that? my code is::: import java.util.Timer; import java.util.TimerTask; import javax.microedition.location.Criteria; import javax.microedition.location.Location; import javax.micr...

NanoXML for J2ME

Hi Guys, I have been trying to figure out how to encode and decode stuff in java for almost a day now. I have followed this example. The problem is when I try to get the XML I have just built in the form of a string, I simply get an empty string. How ever, when I use the 'count' property, it prints the correct amount of nodes I have ins...

Get only thumbnail from the viewfinder instead of whole photograph in javaME

Hi, I have an application in JavaME that can display the feed from viewfinder using the VideoControl Item videoItem = (Item)vidc.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null); and take a snapshot using the appropriate method. However, I don't wish to capture the whole photo, but just the thumbnail from the viewfinder instead....

How to recognize mobile number in a given text?

I want to extract valid(on the basis of format) mobile numbers from a text. e.g. I/O some text (987) 456 7890, (987)-456-7890 again some text O/P 9874567890 9874567890 problem is, there are many valid mobile formats in all over world like. text = "Denmark 11 11 11 11, 1111 1111 " // + "Germany 03333 123456, +49 (3333) 123456 ...

how to set focus on Bitmap Field,Blue color is not visible,blackberry

i am using a bitmap field that contains a small image. when focus comes on that image then blue color of the focus does not appears,how can i set the focus width and height my code:: contract_image_field = new BitmapField(contract_image,Field.FOCUSABLE) { public void getFocusRect(XYRect rect) { rect.width=0; ...

Connection between J2me and Sql Server 2008

I want to connect my mobile application(J2me) with SQL Server 2008. Please help me. I'm new in j2me. I need any articles or examples about this connection. ...

using latitude,longitude of person in an application to generate Blackberry maps

1) hi i have user's latitude n longitude available with me who is in new york,USA. 2) i have an address of a shop in new york ,USA now how can i generate a route map from my location to that shop's location How can i fetch shop's latitude,longitude... 3) i m working on Bold-9000 simulator kindly help!!!!!!! ...

Eclipse Pulsar, JavaME, and Hello World

I tried to post this over on the Eclipse Pulsar site, but it doesn't seem to want to give me access, so I thought I would try over here. All I'm trying to do create a basic "hello world" application to test on multiple mobile phones as a proof of concept. I downloaded Eclipse Pulsar and the Samsung SDK (though I have this problem with ...

Compressing text data (SMS messages) - Is it worth it?

Hello Everyone! So basically, I want to write an messaging system like Cellity SMS if anyone heard about it. Cellity is a free Java J2ME based application for MIDP compatible mobile devices such as Nokia, Sony Ericsson, Motorola & Blackberry that allows you to send free SMS text messages through GPRS to a single recipient or multiple r...

Portal client in J2ME

I need to create a J2ME client reads from a WAP site (the WAP site is powered by wall). So I want to something like a "frame" or "skeleton" that confines a wap site in a J2ME client. Is this possible? If yes, what is the easiest way to do it? ...

send SMS using GPRS in MIDlet

i want to send a SMS using GPRS in MIDlet... anyone can help me?? Thanks in advance... ...

Cannot capture TouchEvent.UP in Blackberry

I am working on a Scrollable Image field.I am handling TouchEvent.DOWN mTouchEvent.MOVE,TouchEvent.UP. Somehow control never goes to TouchEvent.UP section.How to capture the UP event. I have to findout the start and end points of the drag. My Code looks like this.. if (event == TouchEvent.DOWN && touchEvent.isValid()) { ...

Disposing a dialog in touch devices in lwuit

I am displaying a dialog when a user touches the screen and want the dialog to dispose when the user touches anywhere outside the dialog.i have set setDisposeWhenPointerOutOfBounds() to true though by default it is...n hav written the following code in pointerReleased() event but whenever the user touches the screen outside of dialog the...

The best way to impliment a SIP VOIP client for blackberry

How to implement a SIP/VOIP client for Blackberry smart phones? where to begin? should I start with mjsip? is there any sample code available specific for Blackberry? Thanks in advance, Afzal ...

is there any difference between JME and J2ME?

Hi, I want to write a code for 3d game and I don't know that I need JME or J2ME,please help me! thanks. ...

Suggestions for particular client-server system

Hi! I have a quite specific client-server design case and I want to ask for suggestions. The task is about enhancing an existing system with new functionality. The system is composed of a server with public IP, 10 - 1000 CLDC clients with dynamic IP, and a device that communicates with the server over the serial port (COM). Client(J2ME):...

j2me reading html differs between WTK and device

I have built a mobile application in J2ME and it reads data from a website. In WTK (wireless toolkit) everything works now, but when I test the samen app on my mobile (nokia) device, it behaves differently: It gives another type of html back: it doesn't show a <hr> tag, but a <hr/> tag. There is a possibility that the remote website ...