How to make auto start application in blackberry

↘锁芯ラ 提交于 2020-01-28 02:26:31

问题


I don't know how make my application as auto start application.That is my expectation is,After simulator loads it should not open normal main screen which consist of contacts icon,message icons. it should directly run my application.


回答1:


Try project->properties->BlackBerry Project Properties->Application tab->Auto-run on startup

See BlackBerryForums.com - Running a Java App on Startup




回答2:


Here's another link related to the subject matter:

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800660/How_To_-_Create_an_auto-start_MIDlet.html?nodeid=1408081&vernum=0

However, it sounds like you might be expecting the simulator to work like other manufacturer simulators where the application you are working on automatically boots when the simulator starts. This doesn't happen with the BlackBerry simulator, but your app should be located in the Download folder.




回答3:


To add to Max Gontar's answer, make sure that this same name is stored in the property:

  • BlackBerry Project Properties -> Build tab -> Output file name

And then the Debug Configuration needs to be updated with this same Output file name. By default, the debug configuration inserts the name of the project, which is not always the same as this output name.

That's the part that got me caught out (project name was copied from a different project).

So it is possible.




回答4:


Through XML descriptor of any blackberry application one can set checked on auto-run on start up and select start up tier for your application.



来源:https://stackoverflow.com/questions/1078654/how-to-make-auto-start-application-in-blackberry

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!