No application to launch in Eclipse Mobility Simulator - eclipse

I am running Eclipse Pulsar with Java ME SDK 3.0. When I try running my application, a screen appears with select one to launch, but it contains no options. Both the active Java ME configuration is set to use the ClamshellCldcPhone1 and I am using the Project Device in the run configuration. The executable is set to a Midlet. Any suggestions on what I may need to do to get this working?

I had to open the Application Descriptor file, go to the MIDlets tab and add a new midlet with my midlet class.

Related

"Installation or uninstallation is not working temporarily" error when trying to launch Tizen watch application from Tizen SDK

When trying to launch the native watch application from Tizen IDE, I see the strange message "Certain application categories, such as "Watch Application", cannot be launched by "Run As".
Indeed, I try to use Run As from the project local menu to launch my app. But how else I am supposed to launch my application on the emulator?
The emulator device (watch) is up and running, visible on desktop as a separate widget. It is selected. The signing configuration is set up.
On the console output I see the message processing result : FATAL_ERROR [61].
I also tried to launch through the created launch configuration but this results the same error message.
The IDE logs show the following stack trace:
[2015.09.06 12:16:48][ERROR] ConnectionExplorer.java(658) - Fail to get platform log
[2015.09.06 12:18:59][ERROR] RdsDeployer.java(269) - Cannot partially upload or reinstall
org.eclipse.core.runtime.CoreException: [RDS] Cannot install application
at org.tizen.common.rds.RdsDeployer.newCoreException(RdsDeployer.java:699)
at org.tizen.common.rds.RdsDeployer.postInstall(RdsDeployer.java:634)
at org.tizen.common.rds.RdsDeployer.partialZipInstall(RdsDeployer.java:566)
at org.tizen.common.rds.RdsDeployer.deploy(RdsDeployer.java:267)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.deployApplication(TizenLaunchDelegate2.java:783)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.launchApplicationForRun(TizenLaunchDelegate2.java:504)
at org.tizen.nativecommon.launch.TizenLaunchDelegate2.launch(TizenLaunchDelegate2.java:216)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.tizen.common.sdb.command.message.CommandErrorException:
Error code: FATAL_ERROR
Error message:
Command: /usr/bin/pkgcmd -q -r -t tpk -n com.au.heywatch
Management: Installation or uninstallation is not working temporarily.
P.S. I add "eclipse" tag because Tizen SDK is very clearly Eclipse based IDE. Using Tizen IDE 2.3.1.
Watch face applications(Web/native) are never installed as widgets. You cannot see them in app menu.
Reason:
Within your tizen-manifest.xml file in your project, you'll find below line there
<watch-application appid="org.tizen.watchsample" exec="watchsample" ambient-support="true">
which makes your app as watch application and these apps are known as watch faces because they will be used in setting as the main watch in gear.
And on emulator, you cannot change the watch face on the home screen. Hence, you won't be able to test your watch application that way.
Had the same issue. My problem was certificate setup.
i followed there instructions: http://127.0.0.1:50224/help/topic/org.tizen.addon.certificate/html/dev_env/setting_author_certificate.htm
(link is from help and should work in browser when Tizen IDE is up, alternately you can go to Tizen IDE -> Help -> Help Content and search Certificate.
More specific: Distributor certificate i had was wrong (use the pass received by Samsung by email)
After fixing certificate, don't forget to right click your device in Connection Explorer and click Permit to install applications.

How can i deploy my worklight project to my blackberry device..?

I have packaged my application successfully using ripple with chrome.
What process i have to follow to deploy my app to my blackberry device for testing purpose?
There are several ways.
You can try using the BlackBerry Desktop Manager software which should allow you application syncing.
You can use the JavaLoader commandline tool, provided by BlackBerry.
Personally, I use JavaLoader.
It is a simple one-liner in CMD: javaloader load path-to-cod-file
The one-liner above assumes you have added JavaLoader (an .exe in the bin folder of the BlackBerry WebWorks SDK for BlackBerry OS 6/7) to your PATH, so that it will be available for useage like in the example)
Please keep an mind that after you generate the .cod file using Ripple, what you basically have is an actual BlackBerry (WebWorks) project, the way to deploy it would be the same as any other BlackBerry application, whether it was created by Worklight or any other software.

How to install .bar file in Blackberry 10 simulator

I have 1 .bar file which is generated from eclipse plug-in.
Now I want to test that .bar file in Blackberry 10 simulator.
How can I test that Application?
I have installed blackberry simulator 10 Dev Alpha successfully and configured IP Address also.
Please help me. Thanks in Advance.
After signing the bar file please paste the following line into the command line
*
blackberry-deploy -installApp 192.168.177.131 -password 1234 hello.bar
*
I was able to get the playbook simulator working using this tut:
http://blog.joelambert.co.uk/2012/02/07/getting-started-with-phonegap-on-blackberry-playbook/
When you say you're using the Eclipse plug in, do you mean the QNX Momentics IDE (which is The native BlackBerry 10 IDE but based on Eclipse)? If so, here are the steps I take.
If you have the simulator running, make sure development mode is on.
Click the Run Menu -> Run Configurations
Select "Simulator-Debug" for the run configuration (note the simulator needs to run the x86 compiled binary not ARM)
You mention that you have the IP address set up, so the simulator should appear as a target.
I also like to set the auto build option.
Apply these settings and close.
Now run and the IDE should build the code, and deploy it to your simulator.
If you have only the .bar you can use the vnBB10 tool to install the app in the device or simulator. http://forums.crackberry.com/blackberry-10-os-f269/how-get-bb10-hardware-id-sideload-app-bar-file-into-blackberry-10-a-780773/

Debug Blackberry App in Simulator using Eclipse Plugin

I have just started the Hello World App using Blackberry Eclipse Plugin.
I have tried one or two configuration for debug my HelloWorld Blackberry App, but unfortunately I could not..
Can anyone let me know that how can I debug any Blackberry App in simulator using Eclipse Plugin ?
Thanks in advance...
EDIT : When I am trying to do so using Debug Configuration option in Eclipse I am getting following error :
"Failed to connect to remote VM. Connection timed out.
org.eclipse.jdi.TimeoutException"
with following stacktrace :
org.eclipse.jdi.TimeoutException
at org.eclipse.jdi.internal.connect.SocketTransportService.attach(SocketTransportService.java:151)
at org.eclipse.jdi.internal.connect.SocketTransportImpl.attach(SocketTransportImpl.java:43)
at org.eclipse.jdi.internal.connect.SocketAttachingConnectorImpl.attach(SocketAttachingConnectorImpl.java:118)
at org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:139)
at net.rim.ejde.A.L.E.doConnect(RIMEIDE:1273)
at net.rim.ejde.A.L.E.debug(RIMEIDE:769)
at net.rim.ejde.A.L.K.launch(RIMEIDE:608)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
See page 30 of this manual
In Eclipse®, on the Run menu, click Debug Configurations or Run Configurations.
Expand the BlackBerry Simulator item.
Perform one of the following tasks:
To work with an existing launch configuration, under BlackBerry Simulator, click a launch configuration.
To work with a new launch configuration, right-click BlackBerry Simulator, and click New.
Click the Simulator tab.
Click the General tab.
Click run

Install a test app on BlackBerry

How do I install a test app developed using Eclipse on a BlackBerry?
If you using Eclipse for BB development, you must use Plugin for Eclipse and BB simulator. In this way you just build your application and run/debug it from IDE. IDE automatically run simulator and deploy your cod to simulator.
In other cases, there are 3 ways to run your *.cod application on BB device:
Using javaloader
Using DesktopManager
Directly from simulator (only for simulator!). File\Load Java Application\Choose your cod, and your application appears in Downloads directory.
Using OTA (Over-The-Air) installation(for web-installation).
Note, that if you use for, example, Crypto API or Persistent storage API, before install your application on real device, you must sign it with SignatureTool.