Skip to main content

How use Qtopia manage the midlet suites?

5 replies [Last post]
tingjunzh
Offline
Joined: 2007-01-12
Points: 0

dear all!

I have build the phoneME Feature upon Qtopia, but when they run at the same time ,they share the qvfb.
Now i want use the Qtopia to manage the midlet suites, for example installMidlet or runMidlet.
How can i do that?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
strim
Offline
Joined: 2006-10-20
Points: 0

Hi Tingjunzh,

If I understand your question correctly, you want to start Qtopia manager (QWS server) and phoneME in the QVFb, and to operate with phoneME from Qtopia as it were usual Qtopia application. Am I right? Can you please explain why do you need it?

First of all, phoneME built in linux/qte configuration is not a Qtopia application, but only Qt application. Thus no proper Qtopia application settings are generated for phoneME.

The second, you can start phoneME from Qtopia manager as any other executable binary file. For the purpose you should start runMidlet with the same parameters as in "usertest" script. It will start Java AMS (Application Manager System) provided by phoneME. The Java AMS enables to operate with MIDlet suites (install, remove, launch, etc.).

tingjunzh
Offline
Joined: 2007-01-12
Points: 0

Hi strim

thank you very much!

I have some applications run on the Qtopia platform, now i want to run some Midlet suites on it too(for example some java games). But when i use runMidlet command to run Midlet suites, the tow platform are not Compatibility. They Competition the qvfb.

My mean is that how can i run some Midp applications in Qtopia platform without phoneME ?

strim
Offline
Joined: 2006-10-20
Points: 0

There is no way to start MIDP applications with no phoneME,
it is exactly phoneME who provides VM and needed run-time environment :).
I suspect you want to start MIDlets with no Java AMS provided by phoneME,
and working within existing Qtopia server.

To not use Java AMS for MIDlet start you can use syntax "runMidlet ",
where is ID of the MIDlet suite installed earlier.

Regarding the phoneME work in existing Qtopia server.
By default phoneME linux/qte is designed as standalone Qt application that starts own QWS server.
To use an existing QWS, please prohibit "-qws" argument transfered to QApplication instance in phoneME sources.
For the purpose please see ln 65-68 of phoneME_feature/midp/src/highlevelui/qte_application/reference/native/qteapp_export.cpp,

The flag ENABLE_QWS can be disabled at ln 53 of
phoneME_feature/midp/build/linux_qte_gcc/qte.gmk

tingjunzh
Offline
Joined: 2007-01-12
Points: 0

Dear strim

thank you very much!

I have do it, they work very well!

adityasen
Offline
Joined: 2010-06-02
Points: 0

Hello sir,
I have built phoneME feature for my arm device using qt-embedded 2.3.10 and when i run the midlet on my device, I am facing the same problem of frambuffer being competited. So whenever some input signal is sent via touch screen the signal goes to both qt and real frame buffer of device.So the contents of frame buffer of device are corrupted. Reading this thread I think my problem is much similar to what you faced. So please can you guide me in solving my problem.
Thanks in advance for the help.
With regards,
Aditya