Ashish Bhandurge

Greenhorn
+ Follow
since Apr 22, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ashish Bhandurge

Hi,

can you please give some more details..?
14 years ago
I dont think we can do this.
14 years ago
Hi,

On which device you are getting this issue ? Have you implemented sound in a seperate thread? If not try to implement sound in seperate thread , that might solve your problem.
14 years ago

Hi all,

I am learning JavaFx for mobile , can anybody tell me how should i proceed and which are the supported devices. Do JavaFx for mobile has same scripting language like desktop.???
14 years ago
http://java.sun.com/javame/reference/apis.jsp

this is the sun's official site , you can get lots of information from this site, let me know if it helps you.
14 years ago
Anyways you have to download Java Platform Micro Edition Software Development Kit 3.0, this is your basic thing,without this you cant do anything.About Sony Ericsson SDK 2.5 for Java ME platform , these are the api's provided by sonyerricson in j2me ,s o if you want to use them you can use, but JDK is must.
14 years ago
Hi,

The J2ME api are divided into the parts, that parts are called as profiles, and also their are different JSR , for different perpose different JSR's are there , for example for the 3D graphics JSR 184 should be use. so if you have any 3D application and though your phone contains JVM but JSR 184 is not in you phone then that app wont work in your phone.
14 years ago
Its very nice that your prblem has solved , i am always ready to help you.
14 years ago
hi,

you please try the following MessageForm class . And tell me if its working for you or not.I think this is your requirment.



import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.Form;
import javax.microedition.lcdui.TextField;


public class MssageForm extends Form implements CommandListener
{
TextField name,rollNumber,age;
private Command submit,cancel;


public MssageForm(String title)
{
super(title);

name=new TextField("Name::"," ",50,TextField.ANY);
age=new TextField("Age::"," ",50,TextField.ANY);
rollNumber=new TextField("RollNumber::"," ",50,TextField.ANY);
submit=new Command("Submit",Command.SCREEN,1);
cancel=new Command("Cancel",Command.BACK,1);

this.append(name);
this.append(age);
this.append(rollNumber);
this.addCommand(submit);
this.addCommand(cancel);
this.setCommandListener(this);


}

public void commandAction(Command c, Displayable d)
{

if(c == submit)
{
String studentName=null ,studentRollNumber=null,studentAge=null;


studentName=name.getString(); /// like this you can get the text entered into the TextField
studentRollNumber=rollNumber.getString(); ///and you can send it to the server
studentAge=age.getString();

Client.startSubmit ();
}
else if(c == cancel)
{
Client.initSession();
}
}

}





14 years ago

Hi,

try this , it will work.

private static final int FACE_PROPORTIONAL=64;
private static final int STYLE_ITALIC = 2;
private static final int STYLE_BOLD= 1;
private static final int SIZE_LARGE= 16;

graphics.setFont(Font.getFont(FACE_PROPORTIONAL, STYLE_ITALIC|STYLE_BOLD, SIZE_LARGE));
14 years ago
Hi,

You have to write your own logic for it, their are many string api , you can easily use them .
14 years ago
Hi,

EasyEclipse is the plugin for j2me, download it , it will be a zip file, while extracting it , just give the path of your alreay installed eclipse 3.5.1

done .............
14 years ago
Hi,

You can use J2ME Complete Refrence. Its a very good book to start with J2ME.
14 years ago
Hi Ankur, if you want to learn mobile computing , their is one course in CDAC , WiMC wireless and mobile computing. Its a very good course, i have done this course,its available in CDAC ACTS PUNE, Sunbeam PUNE, just you have to clear the entrance exam and it is not a big task.
14 years ago
Hi,

dont panic , everything will clear ,its not a big task to learn J2ME.Regarding your problem,where is getString() method ?You are calling that method from commandAction() but where is that method ?Which string do you want ? Please tell in brief what you want to do and whats your requirment, i will definetly solve your problem.
14 years ago