icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • bluetooth / serial / internal GPS, simulator
  • offline raster maps (common grids and projections)
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • ... and more
  • MIDP and Symbian phones
  • Blackberry
  • Android
  • Windows Mobile 5.x/6.x
  • Windows Phone coming
Visit our wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
[version 0.9.72] Blackberry 8100 Pearl secure API error

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
Montoro



Joined: 21 Jan 2008
Posts: 4

PostPosted: Mon Jan 21, 2008 12:39 am    Post subject: [version 0.9.72] Blackberry 8100 Pearl secure API error Reply with quote

Hi all,

I have a Blackberry Pearl 8100. My setup steps where:

1.- Downloaded the alx and cod files from the download link for 0.9.72
2.- Through BlackBerry Desktop Manager I installed the application (through the application manager on this software)
3.- Afterwards I went in my phone to Options, Adv Options, Applications, Trekbuddy. Hit BB key, permisions and set enabled to all permisions on this screen and also in the module subscreen

When I try to run the app I get the error:

Error starting trekbuddy_bb_v42: Module 'trekbuddy_bb_v42' attempts to access a secure API.

I have performed some forum search and I found other users reporting similar bugs on prior versions. Is this issue solved? Do I miss something?

Thanks in advance
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5088

PostPosted: Mon Jan 21, 2008 8:35 am    Post subject: Reply with quote

This is weird. I'm not using any Blackberry API, TrekBuddy is pure MIDP, hence - no restricted API access by intention, and it runs for me fine on 7190 and 8800 (no problem accessing integrated GPS or memory card here).

Maybe MIDP implementantion in latest BB firmwares have changed and now use restricted API underneath...

Code signing keys costs $100... hmmm.

EDIT: Maybe it is $20 only, but used to be $100 IIRC... Surprised ... that's what I'd not hesitate to pay.

EDIT2: Order submitted. Wink
Back to top
View user's profile Send private message
Montoro



Joined: 21 Jan 2008
Posts: 4

PostPosted: Mon Jan 21, 2008 10:22 pm    Post subject: Reply with quote

Code signing?

I don't understand exactly this, you have to pay in order to use Blackberry API? or in order to certify TB as a trusted BB app?

It sounds weird for a pure Java application Sad

EDIT: Thanks aniway for the response Smile
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5088

PostPosted: Mon Jan 21, 2008 11:29 pm    Post subject: Reply with quote

I'm no Blackberry expert, but as I understand it, some of the RIM APIs are restricted and application has to be signed in order to use them. Fortunately, TrekBuddy uses standard MIDP/CLDC/extra JSRs APIs.

My first thought was that RIM may have (unintentionally or not) changed those implementations and now some parts are implemented on top of some restricted RIM API... it was just a guess.

I'll research the problem more...
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5088

PostPosted: Tue Jan 22, 2008 12:32 am    Post subject: Reply with quote

So... I have loaded TB into BB Signing Tool and - it showed that signature is needed for some restricted API is (or may be?) accessed. WTF?!?

Here's 0.9.73 (release candidate) signed. Want to try it? Smile



trekbuddy_bb_v42.alx
 Description:

Download
 Filename:  trekbuddy_bb_v42.alx
 Filesize:  442 Bytes
 Downloaded:  48 Time(s)

Back to top
View user's profile Send private message
kwong26



Joined: 20 Dec 2007
Posts: 4

PostPosted: Tue Jan 22, 2008 3:33 am    Post subject: Reply with quote

That's really weird. I have the 8130 and running the 4.3 OS, which is probably newer than the 8100 OS unless Montoro loaded the latest 8100 OS4.3 beta. I haven't had any issues thus far with TB. Mind you I have 0.9.71 running, so not sure if this is something new since 0.9.72.
_________________
Blackberry Pearl 8130 / TrekBuddy 0.9.71
Back to top
View user's profile Send private message
umpani



Joined: 18 Dec 2007
Posts: 13

PostPosted: Wed Jan 23, 2008 5:52 pm    Post subject: Reply with quote

kruch wrote:
So... I have loaded TB into BB Signing Tool and - it showed that signature is needed for some restricted API is (or may be?) accessed. WTF?!?

Here's 0.9.73 (release candidate) signed. Want to try it? Smile


Thank you, this version works fine. The freezing Problem has been solved too. http://www.trekbuddy.net/forum/viewtopic.php?t=814&highlight=blackberry


Geetings Umpani
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5088

PostPosted: Wed Jan 23, 2008 6:26 pm    Post subject: Reply with quote

Good to hear it works.

You may experience NullPointerException if you attempt to scroll the map, but it will be fixed in final version Wink
Back to top
View user's profile Send private message
Montoro



Joined: 21 Jan 2008
Posts: 4

PostPosted: Mon Feb 04, 2008 2:25 am    Post subject: Reply with quote

Thank you kruch.

I was on vacation, It works fine now Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group