Install java app on mobile

577 byte By Degia at 2007-11-27 11:56:28
Hi,I am trying to test a Java application on my mobile Sharp 770sh. I developed a Java MIDP 2.0 application using Netbeans 5.5 mobility pack to just display a Hello World message.The application works fine on the Netbbeans mobile emulator, but how can i really install my application and actually ...

highlight imageitem

291 byte By alez_a at 2007-11-27 11:55:39
<p>Hi all,</p><p>I'm developing on nokia 6131. I append two imageitems on a form and i add itemcommands. When i select images i would highlight them because now is hard to distinguish which item i choose. There is a way to make more visible the selection of the imageitems?</p><p>Thanks</p>

RMS

704 byte By slck_ysra at 2007-11-27 11:54:24
hi im new in J2ME and i need a bit help in the topic of database for mobile phones.my problem is that i dont know how to create a database.i will do this:i have a screen with a textfield.the user must input a number into that field.and if he clicks ok the programm must store this number in the ...

Sony Ericsson w300i certificate support

575 byte By aeran1a at 2007-11-27 11:53:03
I am trying to install the app after signing from thwate generic certificate. The installation is success and works fine on all the devices i have used to far including the SonyEricsson devices.But it is not installing on w300i. Can someone tell me if w300i supports some specific certificates only ...

Menu Option in j2me

300 byte By javadev2a at 2007-11-27 11:52:43
<p>Hi all,</p><p>I want to write a code in which i want to select one by one images using menu options..or sub menu option. If somebody have the menu option code or any good tutorial to have this j2me menu stuff... Plz send it....I will appreciate this.</p><p>Thanks,</p><p>madhavan_ora@yahoo.com</p>...

Desactivating the "Is it Ok to use the Network" message

258 byte By jonhya at 2007-11-27 11:51:32
<p>Hi Sun Community:</p><p>I'm using the last version of the Sun Java Wirelless toolkit (2.5). I was wondering if there is a way to desactivate the message that appears everything the emulator need to connect with something in the internet.</p><p>thanks</p>

Blinking cursor in Canvas TextField

407 byte By Pravin_axe.Chockya at 2007-11-27 11:48:30
Hai folksI have used a Canvas class which contains the Textfields. This Canvas class contain another class which extends TimerTask to make the cursor blink. Now when i run the project , the textfields display only for few seconds and disappear .After that the cursor starts blinking . Can any one ...

mobile application

249 byte By frknmla at 2007-11-27 11:48:24
<p>I have a big problem.I wrote my code in java application.I want to use this application for mobile phones .Is there a way to convert or use my java application in mobile phones because mobile applications are very restricted.please help me!!!</p>

how to add scroll support for a canvas

185 byte By sagar123a at 2007-11-27 11:48:09
<p>Hi all,</p><p>I just to know how will i be able to add a scrolling support for my canvas.Any code snipplet or link will be very helpful.</p><p>Thanking you in advance</p><p>Sagar</p>

Animating Multiple Sprites

795 byte By icebreakera at 2007-11-27 11:47:52
Hi ,I have already created two small games and i have a basic knowledge of developing games. I was impressed by games like "Metal Bluster and Splinter Cell (Mobile versions)" . and i also want to create a large game like that.But i still could not figure out how to animate multiple sprites ...

any unique ID which MIDP can retrieve from mobile

228 byte By etaa at 2007-11-27 11:47:22
<p>hello</p><p>As I read in other threads.</p><p>there is no common way to retrieve information about phone number or imei.</p><p>is there any other unique ID about mobile or SIM which can be retrieved in all implementation.</p>

IllegalStateException

434 byte By Smita_Jadhava at 2007-11-27 11:47:01
Hello,When I am trying to send data from mobile to server data is successfully transfer to server but it gives an error message on mobile side that "Uncaught exception: IllegalStateException"This exception is occured on line,connection.openDataInputStream();I write this code in try catch block but ...

somethign like windows registry

201 byte By etaa at 2007-11-27 11:46:20
<p>hello</p><p>excuse me I am looking for some way to prevent my MIDP product of being theft.</p><p>is there any thing like windows registry that programs can store their private information there.</p>

Problem with new line

412 byte By raymondralibia at 2007-11-27 11:45:34
Hi,I'm trying to write a note for a contact.I have written following codecontact.addString(Contact.NOTE, contact.ATTR_NONE, "bla bla bla");it works, but when i writecontact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \n bla \n bla");it doesn't work. What's wrong with newlineCan anybody help ...

java me IRC channel

304 byte By pandora_fooa at 2007-11-27 11:43:26
Just wanted to let you guys know about the IRC channel #j2me on irc.freenode.net In case you ever have questions or want to talk (in real time. hehe) with other j2me developers, its always there and we've got people from around the world, so there's always people in ...

Profiler for J2ME

199 byte By Deep_Kada at 2007-11-27 11:41:43
<p>Hey Guys where can I find profiler for netbeans j2me applications. If there is no profiler for netbeans is there a way I could have a profiler for my j2me application.</p><p>Thanks,</p><p>Deep</p>

hide a Form Item

92 byte By Pepetruenoa at 2007-11-27 11:40:59
<p>Its possible to hide a Form Item?</p><p>example: choicegroup.visible=false or similar</p>

Splash screen problem when launching a Midlet

438 byte By lh129a at 2007-11-27 11:39:49
When the midlet was launched at first time in a mobile device, a splash screen need display to show the sun log ( usually a coffee cup ).But I can not find amy document or specification which describe the details for this rule, such as which kind of midlet need display this log,or how long this ...

how to handle multiple key press in numeric keys

981 byte By Pravin_axe.Chockya at 2007-11-27 11:33:17
I have used the code from eta . Code is somethg like tislastKeyPress = System.currentTimeMillis();....protected void keyPressed(int keyCode){boolean keyRepeated = false;if(System.currentTimeMillis() - lastKeyPress < 1000 &&lastKey == keyCode) {keyRepeated = true;lastKey = ...

standing against being decompiled

199 byte By etaa at 2007-11-27 11:30:23
<p>hello all.</p><p>I have one question.</p><p>what are the means help my program agaist being decompiled?</p><p>at this time I know just one thing: obfuscation.</p><p>are there any other means.?</p>

Sample Web Interaction code

336 byte By Realina at 2007-11-27 11:30:21
hi sun community, I just want to interact with my own website through j2me. Is it possible to do that ? if yes, then what are the steps to do that and what are the APIs which will be used, and the major question is how do i find the different APIs available.. Please help me asap !thanks in advance ...

Boucny castle jar files

331 byte By Pravin_axe.Chockya at 2007-11-27 11:30:00
Dear folksI hav planned to use bouncy castle but so i downloaded lcrypto-j2me-137.zip and lcrypto-j2me-137.tar.gz files. I copied these files to both the lib folders. But when compiling i get an error while importing . Pls any one tell me what mistake i have done and how to recitfy. I appreciate ...

How to find out supported JSRs?

115 byte By superwomana at 2007-11-27 11:28:19
<p>Hi all, here's a newbie question.</p><p>How can I programmatically find out the supported JSRs on a device?</p>

Can we communicate with PC through J2ME?

122 byte By student@sunDNa at 2007-11-27 11:24:11
<p>I have Nokia 6600. Can I send any text or msg from an application on my mobile to the application running on my pc?</p>

eta I need it from u

134 byte By Pravin_axe.Chockya at 2007-11-27 11:23:31
<p>Hai eta </p><p> I appreciate ur response .I shall b obliged if u send me some sample code to create our own textfield in canvas</p>

WML and J2ME

356 byte By Sunnie_200210324a at 2007-11-27 11:23:01
hi,I have a WML page and have a midlet. Using the file connection API, i will request for the WML to my server.My midlet will get the WML response.But, the output of the WML should be reflected on my MIDLET, without the mobile browser.Have anyone tried this. Please help me out. with ...

Using third party packages

579 byte By AlJohnJeffJoea at 2007-11-27 11:22:54
I'm using NetBeans with a Nokia S60 sdk installed to write an app for a phone.I need to use a third party math package in the app, but I am new to this, so I have no idea how to do it.I've downloaded and unzipped the files for the third party package, but where do I put them and how to I use them ...

need sample code for forms in canvas

220 byte By Pravin_axe.Chockya at 2007-11-27 11:22:46
<p>Haai folks</p><p> I m sure now that its impossible to create form components in to the canvas. SO pls send me the code for creating our own textfields. </p><p>Its very urgent folks since my head is under a hammer.</p>

what is the difference of jsr 226 and tinyline?

553 byte By hardcodera at 2007-11-27 11:20:03
i want to make an application that uses jsr 179 and jsr 226. the only phones i think that have both are n76 and n95.. i want some help in making a decision if its better to buy a phone with both jsr or just buy a phone that has jsr 179 and use tinyline. for this decision i am considering these ...

Connecting to database

6167 byte By valmura at 2007-11-27 11:19:57
Hi frieds!I need your help.I am trying to connect Midlet to mySQL and it works with Wireless Toolkit 2.5 . But when i am trying to do it trough my phone (Sony-Ericsson K700i - support MIDP-2.0 and CLDC-1.1) it isn't working. As if the servlet does not respond.I can not find the ...

what is an sms port really?!!!

328 byte By etaa at 2007-11-27 11:19:18
hello I have read the information for a real short message header parts.it has no port in its header.what is this port really?how it is contained in an standard message.is it an overhead on the message body.could you please tell me what is it and what's the purpose of it's ...

Making a textfield active

645 byte By AlJohnJeffJoea at 2007-11-27 11:18:34
I'm writing a MIDP 1.0 application for an older phone. I have a textfield for data entry and I would like a way in the code to force it to be "selected".Right now the user has to use the up and down buttons to choose the textfield and then press the select button and THEN they can start typing ...

Midlet upload to nokia phone

312 byte By javadev2a at 2007-11-27 11:16:36
Hi All,I have develped application. I have installed jar files of midlet in Nokia N75 mobil phone. It Ishows installed in it s application but It is not displaying midlet in the phone menu. Plz tell why it shows installed but not displaying midlet in menu..Plz reply its ...

Socket Connection and Sending Emails in J2ME Suggestions

1307 byte By jonhya at 2007-11-27 11:16:27
Hi Sun Community:I'm developing an application that acts as a mail client but just to send the emails. I'm using the Sun Java Wirelles Toolkit version 2.5 to write the application. What I'm doing is opening a socket connection and then sending to any smtp server a set of commands that he need in ...

Form disabling command

288 byte By ZeroOneZeroOneOnea at 2007-11-27 11:16:14
<p>Hello, how can a "command" that was appended to a Form be removed or at least disabled? </p><p>I can disable it "manually" with a boolean variable that is checked on the command listener function but I wanted to actually disable the button or remove it for some time.</p><p>Thanks.</p>

size of Image in List

134 byte By ceehiraa at 2007-11-27 11:14:20
<p>Hi,</p><p>what is the max size of an Image that can be displayed in a standard List component. is it different phone to phone ?</p>

Question about System Properties?

258 byte By freddiegolda at 2007-11-27 11:13:56
<p>Can anyone shed some light apon this, if i have my midlet running in the background </p><p>i.e. display set to null.... can j2me read the state of the phone system?</p><p>Can j2me read any 'system property' like active/idle/keylocked? </p><p>..../fg</p>

Widget ?

361 byte By _iOn_a at 2007-11-27 11:13:39
Hi, I'm new to J2ME development, and am currently testing the feasibility of a client's project.He wants to develop a Java widget, ie an application that would nest on the mobile terminal's desktop, using widespread J2ME APIs (this exludes swing/java2d for example).Ever heard of a non-fullscreen ...

Secure MIDlet Source Code

157 byte By PeppeMEa at 2007-11-27 11:12:50
<p>A good obfuscator is the only best way to protect against source code decompiling?</p><p>Are there other tecniques?</p><p>What is the best obfuscator?</p>

Display.setCurrent() reads null on calls to screen

2875 byte By quotea at 2007-11-27 11:09:54
Developing a UI form that requires the user to input text as a title for something that is added to the list on the form.Here's a pseudo version of the code:public class mainForm extends Form implements CommandListener {...public void mainForm(...) {...setCommandListener(this);...}...public void ...

Unsupported File Format - trying to run J2ME Application on phone

976 byte By bigOlogNa at 2007-11-27 11:07:17
Hello, I built the sample program in the netbeans mobility plugin. I have the .jar and .jad files, and can download them to my phone. The files end up accessible under "my stuff | other" in my Samsung SGH-A707- as opposed to under "my stuff | applications". Upon selecting the file, the phone says, ...

web services from midlet?

448 byte By max-paynea at 2007-11-27 11:05:19
hi, I am very new to web services on java (i 've only worked on .net).I ve installed netbeans 5.5, and I ve created a simple hello world web service (web application).Now, all I want is to make the simplest midlet that would call the only method of the service THE SIMPLEST WAY ...Up to now I ve ...

Wlan Connection without access to www

669 byte By thomasmartina at 2007-11-27 11:04:09
I plan to develop a solution for wlan enabled mobile phones that connect to a application server to get content through wlan hotspots in an area where no other mobile connection is present.Now what I'm not quite sure about is - how would I connect to the locally present application server through ...

video streaming

402 byte By bro_firdausa at 2007-11-27 11:02:40
hi guys. i need help with my graduation project which is abt video streaming. i cant seem to find exact solution to it. i need to stream video from a server to the mobile phone emulator. any one kind enough to help me.thanks.ive been trying to get in contact with pandora_foo. help me please.you can ...

how to use post method in j2me

479 byte By Pravin_axe.Chockya at 2007-11-27 11:02:35
I used post method and when im about to receive the response from the servelt i get the output likestr=<html><head><title>Apache Tomcat/4.1.24 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : ...

multithread and http

438 byte By j2me@coma at 2007-11-27 11:02:11
Hi,am facing a strange problem, i have done one simple application to upload a file on to server. I used one main thread set infinite to do the animation part and created an object of other class where i have written code for the http connection part in a thread. problem is the file is getting ...

sending bulk sms from pc

114 byte By athulyaa at 2007-11-27 10:58:51
<p>how do you send messages using your pc ............my intention is to send bulk sms through the net........</p>

import certificate

600 byte By Deep_Kada at 2007-11-27 10:57:12
I have a non standard certificate and I am trying to import the certificate into the midlet. What are the steps that are needed to be followed. I have netbeans 5.5 with mobile pack 5.0 and eclipse 3.2 with eclipseme. I am very new to https on J2ME.The exception I caught when i try to use https ...

What Special Characters are used in cldc midp

295 byte By rickiericha at 2007-11-27 10:56:51
<p>Could someone point me in the direction of a chart that has the midp charecter set. </p><p>\351 = whatever whatever.. ..</p><p>\402 = whatever whatever....</p><p>I am stuck and a pissed that they didnt include something in the documentation.</p><p>Message was edited by: </p><p>rickierich</p>

Vector of images

573 byte By jonney69a at 2007-11-27 10:55:32
Hi i have created a vector of images and i wish to display them using g.drawImage()the problem is that it expects an actual Image object, not a object from a vector. is their a way to convert my vector objects into image objects?Vector chips = new Vector(); ...