Skip to main content

Welcome to the phoneME Advanced project forum!

14 replies [Last post]
hinkmond
Offline
Joined: 2003-12-01
Points: 0

Hi everyone,

I'm Hinkmond Wong and I'm the project owner of the phoneME Advanced project here at java.net. It's the open sourced version of Java ME CDC-based profiles such as Personal Basis, Personal, and Advanced Graphical User Interface (AGUI) profiles.

If you have any questions or comments, you've come to the right place. Post your thoughts to this forum about Java ME and next generation devices that run it such as smartphones, PDAs, TV set-top boxes, Blu-ray disc players, game consoles, and much much more. We are about to start a new era for Java ME next generation software with this phoneME Advanced project. Hope you join us!

Thanks,

Hinkmond

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
u2bpavankumar
Offline
Joined: 2011-09-21
Points: 0

I have been attempting to build personal profile for mini2440 (ARM920T). I was able to build basis profile. But i need to put some buttons, checkbox etc., on my GUI which is not allowed by basis profile. I think we can do all such kind of stuff with personal basis profile. Please help me in building the personal basis profile. I am working on ubuntu

pandhari.gorde
Offline
Joined: 2011-05-08
Points: 0

Hi,
Can anybody tell how to download
i treied by
https://svn.java.net/svn/phoneme~svn

svn co <a href="https://phoneme.dev.java.net/svn/phoneme/components/cldc/trunk" title="https://phoneme.dev.java.net/svn/phoneme/components/cldc/trunk">https://phoneme.dev.java.net/svn/phoneme/components/cldc/trunk</a> cldc
svn co <a href="https://phoneme.dev.java.net/svn/phoneme/components/pcsl/trunk" title="https://phoneme.dev.java.net/svn/phoneme/components/pcsl/trunk">https://phoneme.dev.java.net/svn/phoneme/components/pcsl/trunk</a> pcsl
svn co <a href="https://phoneme.dev.java.net/svn/phoneme/components/midp/trunk" title="https://phoneme.dev.java.net/svn/phoneme/components/midp/trunk">https://phoneme.dev.java.net/svn/phoneme/components/midp/trunk</a> midp
svn co <a href="https://phoneme.dev.java.net/svn/phoneme/components/jsr120/trunk" title="https://phoneme.dev.java.net/svn/phoneme/components/jsr120/trunk">https://phoneme.dev.java.net/svn/phoneme/components/jsr120/trunk</a> jsr120

but it did not worked i think data moved somewhere else even the docs at
<a href="../../../../../../external?url=http://java.sun.com/javame/reference/docs/cldc-hi/index.html" title="http://www.java.net/external?url=http://java.sun.com/javame/reference/docs/cldc-hi/index.html">http://www.java.net/external?url=http://java.sun.com/javame/reference/do...</a>
are also did not get ....please help
hinkmond
Offline
Joined: 2003-12-01
Points: 0

Hi Pandhari,
Try using the new URL to the SVN repo instead of what you have (old way):

svn co <a title="https://phoneme.dev.java.net/svn/phoneme/components/cldc/trunk" href="https://phoneme.dev.java.net/svn/phoneme/components/cldc/trunk">https://svn.java.net/svn/phoneme~svn/components/cldc/trunk</a> cldc
svn co <a title="https://phoneme.dev.java.net/svn/phoneme/components/pcsl/trunk" href="https://phoneme.dev.java.net/svn/phoneme/components/pcsl/trunk">https://svn.java.net/svn/phoneme~svn/components/pcsl/trunk</a> pcsl
svn co <a title="https://phoneme.dev.java.net/svn/phoneme/components/midp/trunk" href="https://phoneme.dev.java.net/svn/phoneme/components/midp/trunk">https://svn.java.net/svn/phoneme~svn/components/midp/trunk</a> midp
svn co <a title="https://phoneme.dev.java.net/svn/phoneme/components/jsr120/trunk" href="https://phoneme.dev.java.net/svn/phoneme/components/jsr120/trunk">https://svn.java.net/svn/phoneme~svn/components/jsr120/trunk</a> jsr120

There are articles that talk about the switch at:
http://weblogs.java.net/node/711401
http://weblogs.java.net/blog/communitymanager/archive/2011/01/18/migration-update


Ex. of how our project explains the new location of the phoneME project SVN repo:
http://java.net/projects/phoneme/sources

Thanks,
Hinkmond

fabio_bernardo
Offline
Joined: 2010-12-06
Points: 0

Hi, I'm trying to write a Xlet which use the phoneMe advanced and I have a little problem with the graphic, because I want to set the size of the container of the phoneme advanced to 1280x720 but every time I set the size, nothing change.

I'm using QT like graphic toolkit.

Could someone help me?

Thanks a lot

Hinkmond Wong Guest
Offline
Joined: 2010-11-03
Points: 0

On 12/6/2010 12:47 PM, forums@java.net wrote:
> Hi, I'm trying to write a Xlet which use the phoneMe advanced and I
> have a
> little problem with the graphic, because I want to set the size of the
> container of the phoneme advanced to 1280x720 but every time I set the
> size,
> nothing change.
>
>
>
> I'm using QT like graphic toolkit.
>
>
>
> Could someone help me?

Hi Fabio,

When you want to set an Xlet size, you must write code in the initXlet()
method of the Xlet to properly retrieve the Xlet container and
setSize(w,h) on that container, doing so inside the initXlet() method:

Ex.

public void initXlet(XletContext ctx)
throws XletStateChangeException {
Container c;
try {
c = ctx.getContainer();
} catch (UnavailableContainerException e) {
throw new XletStateChangeException(e.getMessage());
}
TextField tx = new TextField(30);
String[] args = (String[]) ctx.getXletProperty(XletContext.ARGS);
String s = "";
for (int i = 0; i< args.length; i++) {
s = s + args[i] + " ";
}
tx.setText(s);
c.setSize(200, 200);
c.setVisible(true);
c.add(tx);
}

See this for more info:
http://www2.sys-con.com/itsg/virtualcd/java/archives/0807/wang/index.html

Hinkmond

fabio_bernardo
Offline
Joined: 2010-12-06
Points: 0

I tried your code but nothing change, the Context keeps with the same dimensions, and I can't use TextField.

Hinkmond Wong Guest
Offline
Joined: 2010-11-03
Points: 0

On 12/7/2010 5:30 AM, forums@java.net wrote:
> I tried your code but nothing change, the Context keeps with the same
> dimensions, and I can't use TextField.
>

What device are your running on? Xlets are restricted by the Frame that
is being created by the platform. On some devices, you will have no
control over the Frame you will get as your Xlet container, therefore
you will have no control over setting the size of that container. That
is probably what you are seeing. This is proper behavior even though it
is not what you expect.

Thanks,
Hinkmond

fabio_bernardo
Offline
Joined: 2010-12-06
Points: 0

I'm trying to write an application for Set Top Boxes and I'm using Eclipse to develop the app and phoneMe advanced in Linux Ubuntu 10.10. It is fundamental for me to set the Container to 1280x720 to use the standard hdtv resolution.
So, I think that I don't understand why I cannot modify the Container's size, I saw examples developed for STB with phoneMe, so I think that in my case the device is not the problem to set the Container's dimension.
Do you have any idea on how can I fix this little problem?

Thanks.
Fabio

Hinkmond Wong Guest
Offline
Joined: 2010-11-03
Points: 0

On 12/7/2010 6:32 PM, forums@java.net wrote:
> I'm trying to write an application for Set Top Boxes and I'm using
> Eclipse
> to develop the app and phoneMe advanced in Linux Ubuntu 10.10. It is
> fundamental for me to set the Container to 1280x720 to use the
> standard hdtv
> resolution.
>
> So, I think that I don't understand why I cannot modify the
> Container's size,
> I saw examples developed for STB with phoneMe, so I think that in my
> case the
> device is not the problem to set the Container's dimension.
>
> Do you have any idea on how can I fix this little problem?

Hi Fabio,

When a TV set-top box launches your Xlet, it will have an XletManager on
that set-top box that will determine the proper size for your Xlet, and
that XletManager will typically size it to 1280x720 if it running on a
TV that size and judges that it is appropriate for your Xlet to be that
size.

As an Xlet developer, you do not have the control over that. You only
have control over the content of your Xlet. Instead, the XletManager
inside the TV set-top box will control every container size.

So, there is nothing to fix, but instead you need to conform to wherever
you want your Xlet to run according to its XletManager.

If you are trying to run on Linux Ubuntu using Eclipse, then that is a
different scenario than a TV set-top box. For that scenario, the
Eclipse plug-in for Xlet development will control the container's size.
Look in the properties for the Xlet in the Eclipse properties settings
and you'll probably find a way to set the container size there.

Hinkmond

fabio_bernardo
Offline
Joined: 2010-12-06
Points: 0

Ok I understand but I'm not using a plugin I'm using the phoneMe compiling with the basics Xlet libraries.
I'm using Eclispe for compile my code only, the execution is doing out of the Eclipse and directly in the phoneMe that it's installed in a Linux Ubuntu 10.10 machine.
So How can I change the context size?

Thanks

Hinkmond Wong Guest
Offline
Joined: 2010-11-03
Points: 0

On 12/9/2010 10:44 AM, forums@java.net wrote:
> Ok I understand but I'm not using a plugin I'm using the phoneMe
> compiling
> with the basics Xlet libraries.
>
> I'm using Eclispe for compile my code only, the execution is doing out
> of the
> Eclipse and directly in the phoneMe that it's installed in a Linux Ubuntu
> 10.10 machine.
>
> So How can I change the context size?

If you are using your source code only and not relying on an Eclipse
plugin for creating your Xlet, then at some point in your code you must
be creating a java.awt.Frame (you cannot run unless you do this step).
So, just call Frame.setSize(height, width) at some point before you show
the Frame or create your child Xlet and it should set the size of the
Frame which is the container of the Xlet, which will also control the
size of the Xlet since the size of the Xlet is dependent on it's
Container's size (in your case, the size of the Frame you created in
your source code before you create the Xlet).

Hinkmond

tareshvyas
Offline
Joined: 2006-11-13
Points: 0

Hi Hinkmond,

I am Taresh and working on porting of PP and PBP profile for one of the commerial platform from Japan.

Will it be possible for you to tell me is there any profiler software available for operating system (OS21). This is to identify the resource usage.

regards
Taresh

hinkmond
Offline
Joined: 2003-12-01
Points: 0

Hi Taresh,

Sorry, I'm not familiar with OS21, so I don't know the answer to your question.

Possibly someone else on this forum alias knows the answer.

Can anyone help Taresh?

(If not, I can try forwarding your message to our j2me-cdc-interest alias to see if someone there knows).

Hinkmond

xyzzy
Offline
Joined: 2006-08-30
Points: 0

I did a quick web search and saw that Lauterbach has a TRACE32 system
for OS21 that "generates performance analysis data":

http://www.lauterbach.com/frames.html?rtosos21.html

Dean