Skip to main content

Is it possible to run MEFramwork's main_agent.jar on target device?

2 replies [Last post]
murali_reddy219
Offline
Joined: 2007-10-25

Hi vladimir,

How are you?

I tested TCK for CDC platform using CDC Toolkit on Desktop.

I am planning to test my TCK for CDC on target device which supports CDC Configuration.
Here my doubt is, is it possible to run main_agent.jar on target or is it only for desktop testing?.

Can you please suggest a way to test TCK for CDC platform on target device?

Eagerly waiting for your reply

Thanks & Regards
Muralidhar

Reply viewing options

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

Hi Muralidhar,

On 7/10/2008 2:52 PM, meframework@mobileandembedded.org wrote:
> I tested TCK for CDC platform using CDC Toolkit on Desktop.

Ah, nice!

> I am planning to test my TCK for CDC on target device which supports CDC Configuration.
> Here my doubt is, [b]is it possible to run main_agent.jar on target or is it only for desktop testing?.[/b]

Sure, it is possible. All those agent JAR files can be executed on any
compatible platform.

> Can you please suggest a way to test TCK for CDC platform on target device?

If your device supports just invoking the VM via command line using
usual VM command line switches, then there is no difference between
desktop and device runs.

But if your device is quite different (for example, it doesn't provide
command line or uses different command line switches), then you need to
check the documentation for that platform on how to launch the Java
applications there.

Thanks,
--Vladimir
[vladimir_sizikov.vcf]
---------------------------------------------------------------------
To unsubscribe, e-mail: meframework-unsubscribe@cqme.dev.java.net
For additional commands, e-mail: meframework-help@cqme.dev.java.net

murali_reddy219
Offline
Joined: 2007-10-25

Hi vladimir,

Thanks for your immediate reply.

>Sure, it is possible. All those agent JAR files can be executed on any
>compatible platform.

I am facing a biggest problem while running CDC tests using CDC Toolkit.
I am displaying Images in four of my total tests using Frame class of PBP profile.If I run each test individually using CDC Toolkit, it is displaying images. But when i run all the 4 tessts at a time, i am getting an error stating that :[b]unsupportedException-cannot create more than one windows per GraphicsDevice [/b]..., even after disposing that frame object,i am getting the same exception. In all the four tests,i am using Frame to display the Image. How to avoid that problem?

My intention is to plug the Frame mechanism on server side,so that we can use that same Frame in every test.How it will be? I am planning to add this to main_agent.jar. Or Is there any other way of displaying Images in CDC?

Thanks & Regards
Muralidhar