Pierre Forget • about 14 years ago
Blackberry sample
Hi,
To start with the basics and see what the sample code is doing, I first installed the Mintchip in my Blackberry Torch 9800 and I can see that the SDcard is there from the Windows Explorer when the Blackberry is connected. Then I Installed the API with the BAT file and then the Sample code with the BAT file. No error. The Blackberry restarted as expected and I can now see the Mintchip Icon. When I click on the icon, there is an hourclock for 1-2 seconds, then nothing more. It seems to freeze the Blackberry and even the back button (the revert arrow) doesn't respond. Only way to get out is to click on the Start-Stop button. It doesn't stop or restart, but I get back the control of the Blackberry.
I uninstalled with both BAT files and then reinstalled with the Blackberry Desktop software. Installed first with MintChipBlackberryApi.alx. The Blackberry restarted (after apply) and then I installed the sample with MintChipSample.alx and applied the changes. Still exactly the same problem.
Quite difficult to develop an application when the sample doesn't work and no error message. This was done with the original files. From a copy, I installed the software in Eclipse Blackberry plugin, and when building, it gives me only the warning errors that the code is not signed, which is quite normal.
Am I missing something or do we need also to debug the sample application?
Comments are closed.

5 comments
Pierre Forget • about 14 years ago
Hi,
Thank you for your reply.
I just did that on the real Blackberry torch 9800 and no luck. Still exactly the same problem.
I just tried on the Torch 9800 simulator.
Loaded in the order:
MintChipBlackberryApi.cod
MintChipCommon.cod
MintChipSample.cod
I see the icon and when I click, it gives me:
JVM error 104
Uncaught:RuntimeException
and when I click on Comtinue, I get:
Error starting MintChipSample:
Module 'GTSDUpi' not found
Pierre Forget • about 14 years ago
Hi,
yes, the microSD chip is installed and recognized by the phone. If I connect the phone, I can see that there is a 2G space on it. (Before I had a 4G SD card, which I removed to be replaced by the MintChip SD card).
Once connected through Blackbery Desktop, I can see (in Windows Explorer) the folder and it contains a file: SMART_IO.CRD
Pierre Forget • about 14 years ago
Hi,
Here is what I get in the logs of the Blackberry Torch 9800 when I execute the Mintchip sample:
guid:0x9C3CD62E3320B498 time: Fri Apr 20 12:22:20 2012 severity:1 type:3 app:Java Exception data:
UnsupportedLocaleException
No detail message
net_rim_cldc-2(4C94D16C)
Formatter
0x5E3A
net_rim_cldc-2(4C94D16C)
Formatter
0x5DEF
MintChipSample(4F610035)
MintChipUtility
formatCurrency
0x1EF8
MintChipSample(4F610035)
MintChipUtility
getFormattedBalance
0x1B79
MintChipSample(4F610035)
BannerField
refreshBalanceDisplay
0x297
MintChipSample(4F610035)
MintChipMainScreen
0x18A8
MintChipSample(4F610035)
MintChipMainScreen
0x1971
MintChipSample(4F610035)
MintChipApp
0x1214
net_rim_cldc-9(4C94D16C)
Application
dispatchInvokeLater
0x1B76
net_rim_cldc-9(4C94D16C)
Application
0x2AB4
net_rim_cldc-9(4C94D16C)
Application
processNextMessage
0x1BEA
net_rim_cldc-9(4C94D16C)
Application
enterEventDispatcher
0x1B01
MintChipSample(4F610035)
MintChipApp
main
0x14B1
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:22 2012 severity:0 type:2 app:UI data:UIE: Focus - target lost, prev=null, input=null, app=ca.mint.mintchip.blackberry.sample.MintChipApp@3faec5f8
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:22 2012 severity:0 type:2 app:UI data:UIE: Foreground app ca.mint.mintchip.blackberry.sample.MintChipApp@3faec5f8 lost focus because it has no screens.
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:22 2012 severity:0 type:2 app:UI data:UIE: no face detected
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:23 2012 severity:0 type:2 app:UI data:UIE: Focus - target lost, prev=null, input=null, app=ca.mint.mintchip.blackberry.sample.MintChipApp@3faec5f8
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:23 2012 severity:0 type:2 app:UI data:UIE: Foreground app ca.mint.mintchip.blackberry.sample.MintChipApp@3faec5f8 lost focus because it has no screens.
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:23 2012 severity:0 type:2 app:UI data:UIE: no face detected
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:24 2012 severity:0 type:2 app:UI data:UIE: Focus - target lost, prev=null, input=null, app=ca.mint.mintchip.blackberry.sample.MintChipApp@3faec5f8
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:24 2012 severity:0 type:2 app:UI data:UIE: Foreground app ca.mint.mintchip.blackberry.sample.MintChipApp@3faec5f8 lost focus because it has no screens.
guid:0xBEF92E11214401C3 time: Fri Apr 20 12:22:24 2012 severity:0 type:2 app:UI data:UIE: no face detected
guid:0x97C9F5F641D25E5F time: Fri Apr 20 12:22:33 2012 severity:0 type:2 app:System data:JL: connect
guid:0x97C9F5F641D25E5F time: Fri Apr 20 12:22:37 2012 severity:0 type:2 app:System data:JVM:INFOp=23238eee,a='6.0.0.246',o='6.4.0.105',h=5001807
Pierre Forget • about 14 years ago
Please note also that I uninstalled the sample from the Blackberry, dezipped the Mintchip sample code in another folder on my computer, just to make sure, and uploaded the Mintchip sample and API from the Blackberry destop using this new folder.
I checked the logs (from previous post) after this procedure.
Thanks
Jesse Badwal • about 14 years ago
Not being able to run the sample code in a simulator is a huge PITA. Just Sayin