I can't see my application in the simulator, why?
I have JDE version 4.1.0 (because i have the 8700g model and this is the best jde to go with for this model)
I have the latest java SE sdk I built this code based on a tutorial on the "hacking blackberry extreme tech" book by Wiley PHP Code:
http://media.wiley.com/product_ancil...ngProjects.zip Basically I build it successfully with no errors, then I press "build all and run" and it simply does not show up in the simulator, how can I fix this problem? Here is a log: Duplicate class net.rim.device.apps.internal.resource.BluetoothRes ource. Found in C:\Documents and Settings\cjames\Local Settings\Temp\2\rapc_rc_32602.dir\.staging\net\rim \device\apps\internal\resource\BluetoothResource.j ava net_rim_bb_options_app-1. Ignored in C:\Documents and Settings\cjames\Local Settings\Temp\2\rapc_rc_43144.dir\.staging\net\rim \device\apps\internal\resource\BluetoothResource.j ava net_rim_bluetooth. Duplicate class net.rim.device.apps.internal.resource.crypto.Smart CardResource. Found in C:\tmp\2\rapc_rc_36956.dir\.staging\net\rim\device \apps\internal\resource\crypto\SmartCardResource.j ava net_rim_smartcard_datakey. Ignored in C:\tmp\2\rapc_rc_36116.dir\.staging\net\rim\device \apps\internal\resource\crypto\SmartCardResource.j ava net_rim_smartcard_gsacac. VM:-DA 0 VM:+CR VM:-CR=0 Starting tier 0 Starting net_rim_escreen_app Started net_rim_escreen_app(2) Starting net_rim_services_impl Started net_rim_services_impl(3) Starting net_rim_services_impl Started net_rim_services_impl(4) Starting net_rim_platform_resource__en Started net_rim_platform_resource__en(5) Starting net_rim_platform_resource Started net_rim_platform_resource(6) Starting net_rim_platform_resource__en_US Started net_rim_platform_resource__en_US(7) Starting net_rim_crypto_1 Started net_rim_crypto_1(8) Starting net_rim_cldc_io_rim_impl Started net_rim_cldc_io_rim_impl(9) Starting net_rim_io_contentstore Started net_rim_io_contentstore(10) Starting net_rim_event_log_viewer_app Started net_rim_event_log_viewer_app(11) Starting net_rim_os Started net_rim_os(12) DEFAULT POLICY PERMISSIONS: 35 bf d8 DEFAULT POLICY PERMISSIONS: 3f f3 d8 AC-G-IAE: 228 null AC-S-IAE: 228 null AC-G-IAE: 141 null AC-S-IAE: 141 null APP CONTROL DATABASE GENERATION TIME: 80 BBXp bailing due to simulator Exit net_rim_os(12) Exit net_rim_event_log_viewer_app(11) Exit net_rim_io_contentstore(10) Exit net_rim_cldc_io_rim_impl(9) Exit net_rim_crypto_1(8) Exit net_rim_platform_resource__en_US(7) Exit net_rim_platform_resource(6) Exit net_rim_platform_resource__en(5) Exit net_rim_escreen_app(2) Starting tier 1 Starting net_rim_theme_blackberry Started net_rim_theme_blackberry(13) Starting net_rim_font_european_sff Started net_rim_font_european_sff(14) Starting net_rim_bb_ribbon_skin_svg Started net_rim_bb_ribbon_skin_svg(15) Starting net_rim_pdap Started net_rim_pdap(16) Starting net_rim_bbapi_pim Started net_rim_bbapi_pim(17) Starting net_rim_MIDPRootCerts Started net_rim_MIDPRootCerts(18) Starting net_rim_se13nettable Started net_rim_se13nettable(19) Starting net_rim_bb_activation Started net_rim_bb_activation(20) Exit net_rim_se13nettable(19) Exit net_rim_MIDPRootCerts(18) Exit net_rim_bbapi_pim(17) Exit net_rim_pdap(16) Exit net_rim_bb_ribbon_skin_svg(15) Exit net_rim_font_european_sff(14) Exit net_rim_theme_blackberry(13) Starting tier 2 Starting net_rim_plazmic_mediaengine_bundle Started net_rim_plazmic_mediaengine_bundle(21) Starting net_rim_services_impl Started net_rim_services_impl(22) Starting net_rim_font_system Started net_rim_font_system(23) Starting net_rim_plazmic_mediaengine_pme12 Duplicate class net.rim.plazmic.internal.mediaengine.service.inter action.BehaviorTypes. Found in C:\ABS10\Components\JavaDevice\Apps\4.1.0\JavaAppl ications\net\rim\plazmic\internal\mediaengine\serv ice\interaction\BehaviorTypes.java net_rim_plazmic_mediaengine. Ignored in C:\ABS10\Components\JavaDevice\Apps\4.1.0-MR1\JavaApplications\net\rim\plazmic\internal\medi aengine\service\interaction\BehaviorTypes.java net_rim_plazmic_mediaengine_pme12-1. Duplicate class net.rim.plazmic.internal.mediaengine.service.inter action.DataTypes. Found in C:\ABS10\Components\JavaDevice\Apps\4.1.0\JavaAppl ications\net\rim\plazmic\internal\mediaengine\serv ice\interaction\DataTypes.java net_rim_plazmic_mediaengine. Ignored in C:\ABS10\Components\JavaDevice\Apps\4.1.0-MR1\JavaApplications\net\rim\plazmic\internal\medi aengine\service\interaction\DataTypes.java net_rim_plazmic_mediaengine_pme12-1. Duplicate class net.rim.plazmic.internal.mediaengine.ui.ImageForei gnObject. Found in C:\ABS10\Components\JavaDevice\Apps\4.1.0\JavaAppl ications\net\rim\plazmic\internal\mediaengine\ui\I mageForeignObject.java net_rim_plazmic_mediaengine_pme10. Ignored in C:\ABS10\Components\JavaDevice\Apps\4.1.0-MR1\JavaApplications\net\rim\plazmic\internal\medi aengine\ui\ImageForeignObject.java net_rim_plazmic_mediaengine_pme12-1. Duplicate class net.rim.plazmic.internal.mediaengine.ui.MEGraphics 2dContext. Found in C:\ABS10\Components\JavaDevice\Apps\4.1.0\JavaAppl ications\net\rim\plazmic\internal\mediaengine\ui\M EGraphics2dContext.java net_rim_plazmic_mediaengine_pme10. Ignored in C:\ABS10\Components\JavaDevice\Apps\4.1.0-MR1\JavaApplications\net\rim\plazmic\internal\medi aengine\ui\MEGraphics2dContext.java net_rim_plazmic_mediaengine_pme12-1. Duplicate class net.rim.plazmic.internal.mediaengine.service.inter action.TreeTraversal. Found in C:\ABS10\Components\JavaDevice\Apps\4.1.0\JavaAppl ications\net\rim\plazmic\internal\mediaengine\serv ice\interaction\TreeTraversal.java net_rim_plazmic_mediaengine. Ignored in C:\ABS10\Components\JavaDevice\Apps\4.1.0-MR1\JavaApplications\net\rim\plazmic\internal\medi aengine\service\interaction\TreeTraversal.java net_rim_plazmic_mediaengine_pme12-1. VM:LINK net_rim_plazmic_mediaengine_pme12 Class 'net.rim.plazmic.mediaengine.service.ModelInteract or' not found. Linker error: 'VerifyError' for net_rim_plazmic_mediaengine_pme12 Error starting net_rim_plazmic_mediaengine_pme12: Class 'net.rim.plazmic.mediaengine.service.ModelInteract or' not found. Starting net_rim_plazmic_mediaengine_pme02 Started net_rim_plazmic_mediaengine_pme02(25) Starting net_rim_bb_remindermanager Started net_rim_bb_remindermanager(26) Starting net_rim_bb_apps_framework Started net_rim_bb_apps_framework(27) Exit net_rim_bb_apps_framework(27) Exit net_rim_plazmic_mediaengine_pme02(25) Exit net_rim_font_system(23) Exit net_rim_services_impl(22) Exit net_rim_plazmic_mediaengine_bundle(21) Starting tier 3 Starting net_rim_bb_messagesearch_lib Started net_rim_bb_messagesearch_lib(28) Starting net_rim_bb_addressbook_vcard Started net_rim_bb_addressbook_vcard(29) Starting net_rim_bb_phone_model Started net_rim_bb_phone_model(30) Starting net_rim_bb_profiles_tunes Started net_rim_bb_profiles_tunes(31) Starting net_rim_bluetooth Started net_rim_bluetooth(32) Starting net_rim_cellbroadcast Started net_rim_cellbroadcast(33) Starting net_rim_bb_sms net.rim.bluetooth: NOBT Started net_rim_bb_sms(34) Starting net_rim_bb_ribbon_lib Started net_rim_bb_ribbon_lib(35) Starting net_rim_bb_profiles_app Started net_rim_bb_profiles_app(36) Starting net_rim_bb_options_app Started net_rim_bb_options_app(37) Starting net_rim_bb_models Started net_rim_bb_models(38) Starting net_rim_bb_messaging_app Started net_rim_bb_messaging_app(39) Starting net_rim_bb_messaging_app Started net_rim_bb_messaging_app(40) Starting net_rim_bb_task_app Started net_rim_bb_task_app(41) Starting net_rim_bb_phone_app Started net_rim_bb_phone_app(42) Starting net_rim_bb_memo_app Started net_rim_bb_memo_app(43) Starting net_rim_bb_browser_daemon Started net_rim_bb_browser_daemon(44) Starting net_rim_smartcard_datakey Started net_rim_smartcard_datakey(45) Starting net_rim_smartcard_gsacac Started net_rim_smartcard_gsacac(46) Starting net_rim_bb_explorer_picture Started net_rim_bb_explorer_picture(47) Starting net_rim_bb_addressbook_simapp Started net_rim_bb_addressbook_simapp(48) Starting net_rim_cldc_io_tcp Started net_rim_cldc_io_tcp(49) Starting net_rim_bb_mc_app Started net_rim_bb_mc_app(50) Starting net_rim_bb_itadmin Started net_rim_bb_itadmin(51) Starting net_rim_bb_ribbon_app Started net_rim_bb_ribbon_app(52) Starting net_rim_bb_email Started net_rim_bb_email(53) Starting net_rim_bb_calendar_lib Started net_rim_bb_calendar_lib(54) Starting net_rim_bb_calendar_app Started net_rim_bb_calendar_app(55) Starting net_rim_bb_alarm_app Started net_rim_bb_alarm_app(56) Starting net_rim_bb_addressbook_app Started net_rim_bb_addressbook_app(57) Validating keyword tree... Validating reverse lookup tree... Addressbook data valid (or queued for rebuild on device unlock) VM:+RP!w=0,s=2K VM:+GC(R) VM:-GCt=2,b=0,r=0,g=0 VM:-RP!s=1M VM:+CR VM:-CR=0 Exit net_rim_bb_addressbook_app(57) Exit net_rim_bb_alarm_app(56) Exit net_rim_bb_calendar_app(55) Exit net_rim_bb_calendar_lib(54) Exit net_rim_bb_email(53) Exit net_rim_bb_itadmin(51) Exit net_rim_bb_mc_app(50) Exit net_rim_cldc_io_tcp(49) Exit net_rim_bb_addressbook_simapp(48) Exit net_rim_bb_explorer_picture(47) Exit net_rim_smartcard_gsacac(46) Exit net_rim_smartcard_datakey(45) Exit net_rim_bb_memo_app(43) Exit net_rim_bb_task_app(41) Exit net_rim_bb_messaging_app(39) Exit net_rim_bb_models(38) Exit net_rim_bb_options_app(37) Exit net_rim_bb_profiles_app(36) Exit net_rim_bb_ribbon_lib(35) Exit net_rim_bb_sms(34) Exit net_rim_cellbroadcast(33) Exit net_rim_bluetooth(32) Exit net_rim_bb_profiles_tunes(31) Exit net_rim_bb_phone_model(30) Exit net_rim_bb_addressbook_vcard(29) Exit net_rim_bb_messagesearch_lib(28) Exit net_rim_bb_activation(20) Starting tier 4 Starting net_rim_bb_mms Started net_rim_bb_mms(58) Starting net_rim_bb_calendar_ota Started net_rim_bb_calendar_ota(59) Starting net_rim_bb_docviewimage Started net_rim_bb_docviewimage(60) Starting net_rim_bb_docview Started net_rim_bb_docview(61) Starting net_rim_bb_contentinjector Started net_rim_bb_contentinjector(62) Starting net_rim_bb_globalsearch_app Started net_rim_bb_globalsearch_app(63) Starting net_rim_bb_browser_push Started net_rim_bb_browser_push(64) Exit net_rim_bb_globalsearch_app(63) Exit net_rim_bb_contentinjector(62) Exit net_rim_bb_docview(61) Exit net_rim_bb_docviewimage(60) Exit net_rim_bb_calendar_ota(59) Exit net_rim_bb_mms(58) Starting tier 5 Starting net_rim_bb_browser_lib Started net_rim_bb_browser_lib(65) Exit net_rim_bb_browser_lib(65) Starting tier 6 Starting net_rim_bb_browser_lib_large Started net_rim_bb_browser_lib_large(66) Starting net_rim_bb_browser_plugin_docview Started net_rim_bb_browser_plugin_docview(67) Starting net_rim_bb_browser_javascript Started net_rim_bb_browser_javascript(68) Starting net_rim_device_apps_internal_browser_smil Started net_rim_device_apps_internal_browser_smil(69) Starting net_rim_bb_browser_lib_large_color Started net_rim_bb_browser_lib_large_color(70) Starting net_rim_bb_idlescreen_app Started net_rim_bb_idlescreen_app(71) Starting net_rim_bbapi_mailv2 Started net_rim_bbapi_mailv2(72) Exit net_rim_bbapi_mailv2(72) Exit net_rim_bb_idlescreen_app(71) Exit net_rim_bb_browser_lib_large_color(70) Exit net_rim_device_apps_internal_browser_smil(69) Exit net_rim_bb_browser_javascript(68) Exit net_rim_bb_browser_plugin_docview(67) Exit net_rim_bb_browser_lib_large(66) Starting tier 7 Starting net_rim_sdk_simulationSB Started net_rim_sdk_simulationSB(73) Starting net_rim_bb_quickcontact Setting up simulation SB entries... Started net_rim_bb_quickcontact(74) Starting net_rim_bb_passwordkeeper Started net_rim_bb_passwordkeeper(75) Starting net_rim_bb_browser_plugin_security Sim: (Mail) GRPS HRT Entry entry accepted! Started net_rim_bb_browser_plugin_security(76) Starting net_rim_crypto_keystore_browser_certificate Started net_rim_crypto_keystore_browser_certificate(77) Starting net_rim_smartcard_datakey_authenticator Started net_rim_smartcard_datakey_authenticator(78) Starting net_rim_bb_smartcard_init Started net_rim_bb_smartcard_init(79) Starting net_rim_smartcard_gsacac_authenticator Started net_rim_smartcard_gsacac_authenticator(80) Starting net_rim_plazmic_mediaengine_pme10 InsertInternetServiceBook: Adding SBEntry Started net_rim_plazmic_mediaengine_pme10(81) Starting net_rim_tcp_options Started net_rim_tcp_options(82) Service Book entry accepted! Starting net_rim_bb_password_wizard VM:LINK net_rim_bb_password_wizard Symbol 'PasswordDialog.<init>' not found. Linker error: 'VerifyError' for net_rim_bb_password_wizard VM:+RP!w=0,s=15.7K VM:+GC(F) VM:-GCt=2,b=0,r=0,g=1 VM:-RP!s=769.5K VM:+CR VM:TI2Rv=32 VM:-CR=0 Error starting net_rim_bb_password_wizard: Symbol 'PasswordDialog.<init>' not found. Starting net_rim_bb_messaging_app net_rim_bb_messaging_app already running Starting net_rim_bb_applicationdelivery Started net_rim_bb_applicationdelivery(84) Sim: (IPPP) GRPS HRT Entry entry accepted! Starting net_rim_bb_addressbook_groupaddress Started net_rim_bb_addressbook_groupaddress(85) Starting net_rim_er_disabler Started net_rim_er_disabler(86) Startup! BBXp: cur mode=0 InsertInternetServiceBook: Adding SBEntry Service Book entry accepted! InsertInternetServiceBook: Adding SBEntry Service Book entry accepted! Exit net_rim_er_disabler(86) Exit net_rim_bb_addressbook_groupaddress(85) Exit net_rim_bb_applicationdelivery(84) Exit net_rim_tcp_options(82) Exit net_rim_plazmic_mediaengine_pme10(81) Exit net_rim_smartcard_gsacac_authenticator(80) Exit net_rim_bb_smartcard_init(79) Exit net_rim_smartcard_datakey_authenticator(78) Exit net_rim_crypto_keystore_browser_certificate(77) Exit net_rim_bb_browser_plugin_security(76) Exit net_rim_bb_passwordkeeper(75) Exit net_rim_bb_quickcontact(74) MIDlet PushRegistry startup MIDlet PushRegistry startup finished VM:+GC(P) VM:+PPO VM:-PPOc=119,n=2186,s=9.9K,r=0 VM:PPOt=0 net_rim_app_manager RX=804.7K,RF=917.1K,FF=21.1M,HF=6200,OS=1.1M,ON=20 .5K,OR=0,FR=0,HR=0,IS=1.9K RA=2.1M,RS=985K,RN=13.6K TA=0,TS=0,TN=0 PA=214.2K,PS=214.2K,PN=2K R0=270K,1=29.6K,2=16K,3=31.2K,5=124,7=9.9K,8=3K,9= 1M,10=2.3K,11=8.9K,12=74.3K,13=3.2K,15=16K,16=722. 6K VM:-GCt=4,b=0,r=0,g=2,u=0,c=0 VM:+GC(F) VM:-GCt=2,b=0,r=0,g=1 VM:+RR net_rim_app_manager RX=804.7K,RF=917.1K,FF=21.1M,HF=6200,OS=1.1M,ON=20 .5K,OR=0,FR=0,HR=0,IS=1.9K RA=2.1M,RS=985K,RN=13.6K TA=0,TS=0,TN=0 PA=214.2K,PS=214.2K,PN=2K R0=270K,1=29.6K,2=16K,3=31.2K,5=124,7=9.9K,8=3K,9= 1M,10=2.3K,11=8.9K,12=74.3K,13=3.2K,15=16K,16=722. 6K VM:-RR net_rim_app_manager RX=804.7K,RF=1.2M,FF=20.8M,HF=6167,OS=1.1M,ON=20.5 K,OR=0,FR=0,HR=0,IS=1.9K RA=1.8M,RS=639.2K,RN=8.6K TA=346K,TS=345.7K,TN=5K PA=214.2K,PS=214.2K,PN=2K R0=270K,1=29.6K,2=16K,3=31.2K,5=124,7=9.9K,8=3K,9= 671.7K,10=2.3K,11=8.9K,12=74.3K,13=3.2K,15=16K,16= 722.6K VM:+CR VM:TI2Rv=31 VM:-CR=0 Foreground net_rim_bb_ribbon_app(52) EV_SIM_VALID DN+ *** SST not populated ** Radio values for ONS ** mcc: 666 mnc: 666 lac: 0 category: 5 networkService: 6 Network count: 1 SE13 index: 0 SE13 name: GPRS Test Network ons mode: 0 se13: GPRS Test Network roaming: false One of: GPRS Test Network *** saveRadioState(true) ** Radio values for ONS ** mcc: 666 mnc: 666 lac: 0 category: 5 networkService: 6 Network count: 1 SE13 index: 0 SE13 name: GPRS Test Network ons mode: 0 se13: GPRS Test Network roaming: false One of: GPRS Test Network Exit net_rim_sdk_simulationSB(73) VM:+GC(F) VM:-GCt=2,b=1,r=0,g=1 VM:+CR VM:TI2Rv=29 VM:-CR=0 Starting net_rim_bb_idlescreen_app Started net_rim_bb_idlescreen_app(87) VM:+GC(F) VM:-GCt=2,b=1,r=0,g=1 VM:+CR VM:TI2Rv=2 VM:TI2Rv=44 VM:TI2Rv=23 VM:TI2Rv=30 VM:TI2Rv=22 VM:TR2Iv=45 VM:TR2Iv=40 VM:TR2Iv=38 VM:TR2Iv=36 VM:-CR=0 Focus - target lost Exit net_rim_bb_idlescreen_app(87) Thanks for looking! I'm also using the default simulator in JDE 4.1.0 which is: 7290 |
bump, I think I gave a fairly well explained problem, nobody has a single clue?
|
Yes, it was a good description of the problem - simulator output was a little verbose though maybe... :)
I just did something similar on 4.2.1 and it worked ok. I have to ask though: You do know what to look for and where to look after the simulator launches, right? Part of diagnosing a problem is to not assume too much... If there's no movement in this thread in the next 12-18 hours I'll do an exact replication of your process for you and see how it goes. Have you tried running the simulator stand-alone and loading your cod file directly from it? |
Thanks for the reply, I know this seems so easy.... (That's what I thought..)
What I'm looking for is an icon that is labeled "HelloBlackBerry" which is located either in the main menu (as it is on default simulator) or under the Applications category. All the pictures from tutorials I've seen show this icon in the simulator. *It works when I load it from the simulator directly.. I'm going to try activating the project, I'll let you know how that works.. |
just a guess:
did you make your project active in JDE? Select project in tree view and check popup menu item "Activate Project" |
http://img137.imageshack.us/img137/1206/bbpicnh0.png
I tried right clicking the tree like you suggested, as you can see the activate button is not clickable. These are my steps in my attempt: 1. open JDE 2. create new empty workspace labed "HelloBlackBerry" 3. create new empty project labeled "HelloBlackBerry" Here is the screen with some options which I do not check: http://img177.imageshack.us/img177/4166/bbpic2af1.png 4. create new java file named "HelloBlackBerry" 5. Then I paste in the code. 6.I press save 7. I press build selected 8. I press build all and run I do all of these steps exactly after I install JDE 4.1.0 and the latest JAVA sdk with all the default settings on Windows XP Professional. What am I doing wrong that I don't get the same results as you do? I have also tried repeating those steps except checking the "make this project active always" option, it still doesn't work... |
I feel your pain with the JDE.
According to your graphic, you're right-clicking on the *workspace* not the *project*. Right-click on the project - the context commands should be active (see graphic) . Also click on "Always make project active" in the other dialog. Let's see how that goes. |
Quote:
|
All times are GMT -5. The time now is 08:46 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.