Skip to main content

PhoneME Feature or PhoneME advanced.. Which one to choose ?

1 reply [Last post]
Anonymous

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi Hinkmond,
> The following is the Java code of the sample j2me application that I am using to test my phoneme Feature Mr4 build.
>
> import javax.microedition.midlet.*;
> import javax.microedition.lcdui.*;
>
> public class LineDemo extends MIDlet{
> private Display display;
>
> public void startApp(){
> display = Display.getDisplay(this);
> display.setCurrent (new DrawingCanvas());
> }
>
> public void pauseApp(){}
> public void destroyApp (boolean forced){}
> }
>
> class DrawingCanvas extends Canvas{
> public void paint (Graphics g){
> g.setColor (255, 0, 0);
> g.fillRect (0, 0, getWidth(), getHeight());
> g.setColor (0, 0, 255);
> g.fillRect (20, 30, 200, 80);
> g.setColor (190, 100, 255);
> g.setFont(Font.getFont(Font.FACE_PROPORTIONAL,Font.STYLE_BOLD,Font.SIZE_LARGE));
> g.drawChar('L', 25, 144,Graphics.LEFT | Graphics.BASELINE);
> g.drawString("Profound Statement",50,100,Graphics.LEFT|Graphics.BASELINE);
> g.drawRect(120,75,90,100);
> }
> }
>
> The following are the snapshots at various stages.
> 1. This is the background of my device where each icon represents a shortcut to an application
> www.abhimanyusingh.com/geoamida_pics/backgournd.jpg
>
> 2.Screen after I do instalmidlet of my sample application.
> www.abhimanyusingh.com/geoamida_pics/Screen_after_installmidlet.jpg
>
> 3.Screen after I do runmidlet
> www.abhimanyusingh.com/geoamida_pics/09072010017.jpg
> (Note: The portion colored in blue and red is the output of my app.)
>
> 4.Screen after giving some input via touch signal.The screen gets corrupted and the icon on which the touch signal is sent launches the app it corresponds to.
> www.abhimanyusingh.com/geoamida_pics/screen_corrupted.jpg
>
>

Hi Aditya,

Switching you over to the feature@phoneme.dev.java.net forum since your
question is related to the phoneME Feature MR4 build.

For stages #1 and #2 above, are you using your own AMS you wrote, or the
AMS from the device. Where is the AMS code from?

Thanks,
Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: feature-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: feature-help@phoneme.dev.java.net