Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit 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 
Trekbuddy on Blackberry 8800 ?!?
Goto page 1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Devices
View previous topic :: View next topic  
Author Message
hegi



Joined: 19 Oct 2006
Posts: 22

PostPosted: Thu May 24, 2007 5:56 pm    Post subject: Trekbuddy on Blackberry 8800 ?!? Reply with quote

Hi Kruch,

any successes reported yet to get TB to run on a RIM Blackberry 8800?

Just tried all three Variants of TB ... But I don't get it to start. - Always get something "verification error 420 at offset 0fb6" ...

Any ideas?
Which variant is most likely to run on BB anyway?

Thanks

Hegi.
Back to top
View user's profile Send private message
tazzix



Joined: 20 May 2007
Posts: 7
Location: Islamabad - Pakistan

PostPosted: Fri May 25, 2007 3:53 am    Post subject: Reply with quote

BB requires special JAD files converted for this platform, moreover, in some cases I had to change obfuscation settings and even remove unused variables and functions before BB would stop giving this error.

In short its next to impossible to get success without having access to one device.
Back to top
View user's profile Send private message
hegi



Joined: 19 Oct 2006
Posts: 22

PostPosted: Sun Jun 10, 2007 10:49 am    Post subject: Reply with quote

Hi tazzix,

OK. Are all BB Devices more or less the same? I could ask my boss, If we could donate an older device. Possibly a 7230, 7290 or 7100. - However, only the latter two have Bluetooth and an internal GPS has none. I'd presume the 7100 would be the best to try with.

If that's of any worth and KrUcH has the time (or there are Volunteers), I'll do my best get one device for these purposes.

Sounds like a plan?

Hegi.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5665

PostPosted: Tue Jun 12, 2007 9:27 am    Post subject: Reply with quote

You got it.
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 5014

PostPosted: Fri Jun 22, 2007 8:22 am    Post subject: Reply with quote

You can download a Blackberry 8800 simulator from
http://na.blackberry.com/eng/developers/downloads/simulators.jsp

You can even simulate a GPS route.

I use the 8800 Vodafone version

The way I load the jar file into my BB is:
- On your PC: Launch Desktop Manager; Media Manager
- On the right panel, go to Device memory and create a new folder
- Copy the jar file to this folder
- In the Simulator: Go to the Media icon and press enter
- Press the Menu button (between the green answer button and trackball)
- Explore, Device Memory
- Open the folder you created and select the jar file, press enter and Download
- When the installation is finished you can chose Run. It should also be in the programs list.

I've just done this on the simulator, I get exactly the same error message as on my real BB: Error starting trekbuddy: Module 'trekbuddy' has verification error 420 at offset 1430


Thanks
Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5665

PostPosted: Fri Jun 22, 2007 6:23 pm    Post subject: Reply with quote

Thanks!

Some time I have already downloaded 8800 (O2 version) and tried to load trekbuddy.cod using "Load Java program", but it did nothing...

guest wrote:
The way I load the jar file into my BB is:
- On your PC: Launch Desktop Manager; Media Manager
- On the right panel, go to Device memory and create a new folder
- Copy the jar file to this folder


What is Desktop Manager and where do I get it? It does not seem to be included with the simulator...

EDIT: OK! I got Media Manager working. Now, how do I "Explore device memory" in the simulator? I can't see my jar under Media(?) anywhere...
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 5014

PostPosted: Mon Jun 25, 2007 9:08 am    Post subject: Reply with quote

Media icon opens a list: Music, Video, Ringtones, Pictures.
- Press the Menu button (between the green answer button and trackball)
-> this is the button with the BB logo. While in Media it should show a menu: Help, Explore, Switch Application and Close. You select Explore and press enter.
Now you get another list: Up, Media Card and Device Memory. Here you select Device Memory.

Hope this was clear.

I know there are other ways to convert the jar file to a cod and alx but it requires me to install the Sun JDE.

trispark

PS can you activate my account please?
Back to top
View user's profile Send private message Visit poster's website
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5665

PostPosted: Mon Jun 25, 2007 12:28 pm    Post subject: Reply with quote

Thanks. Finally I can work on making Trekbuddy run in BB.
By the way is there a way to get output of System.out.print to screen/file?

You account has already been activated.
Back to top
View user's profile Send private message
trispark



Joined: 22 Jun 2007
Posts: 12

PostPosted: Mon Jun 25, 2007 2:50 pm    Post subject: Reply with quote

Finally an offline GPS program for my BB! Smile

Not sure what you mean with System.out.print but if you check the help, Index, Logging, simulator options there are some options you could play with? It looks like it's already on the highest level of logging by default.

Maybe this: in Help, Contents, BB device simulator controller, Using test scripts it says the results are written to a file?
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5665

PostPosted: Mon Jun 25, 2007 7:29 pm    Post subject: Reply with quote

I have a simple logging mechanism (for tracing how program runs; this logging is stripped in releases) that is prints everything - quite valuable to me Wink - to System.out. I can't see it in the simulator window...

I get some uncaught exceptions (ClassNotFoundException and FileIOException - WTF?!?) upon TrekBuddy start, then I can see defalt world map but no Load Map/Altas men option, so I have to assume the simulator does not support JSR-75/FileConnection. Sad

Anyway, Bluetooth and Internal location providers are available; tried Internal, worked ok... (attached snapshot from 8800 v4.2.1 simulator)

EDIT: Found magic cmdline param /app-param=JvmNoBreakOnThrowable to get rid of those exceptions that I catch with catch (Throwable t)



8800-O2.png
 Description:
 Filesize:  38.67 KB
 Viewed:  23611 Time(s)

8800-O2.png


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



Joined: 22 Jun 2007
Posts: 12

PostPosted: Tue Jun 26, 2007 8:53 am    Post subject: Reply with quote

Please let me know when I can test it on my BB or if you have any questions.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5665

PostPosted: Mon Jul 09, 2007 12:12 pm    Post subject: Reply with quote

I have 7100t (OS 4.1.x)) for testing. How do I deploy TrekBuddy to it? I tried

* converting jar->doc using rapc, then javaloader -u load trekbuddy.cod, seemed successful, yet - I see no TrekBuddy in the device

* wrote .alx by hand, but when in Desktop Manager->Application Loader I select trekbuddy.alx, I get "No additional applications designed for your handheld were found"

Another thing is that OS 4.1 seems to lack JSR-75 (file connection) and JSR-82 (bluetooth). Is there any chance to get v4.2 where these extensions are implemented?

Please advice, thanks Wink
Back to top
View user's profile Send private message
trispark



Joined: 22 Jun 2007
Posts: 12

PostPosted: Tue Jul 10, 2007 1:43 pm    Post subject: Reply with quote

No idea about the 7100 but check this out: http://apsquared.net/blog/2007/07/10/blackberry-gpslocation-api/
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5665

PostPosted: Wed Jul 11, 2007 12:41 am    Post subject: Reply with quote

Never mind, got it working...

- more info to come soon -



s4.png
 Description:
configuration
 Filesize:  4.31 KB
 Viewed:  23187 Time(s)

s4.png



s2.png
 Description:
map screen
 Filesize:  19.37 KB
 Viewed:  23187 Time(s)

s2.png



s3.png
 Description:
boot
 Filesize:  1.76 KB
 Viewed:  23187 Time(s)

s3.png


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



Joined: 27 Jul 2007
Posts: 13

PostPosted: Fri Jul 27, 2007 7:47 am    Post subject: Version 0.9.57 beta on BlackBerry 8800 Reply with quote

Hi,
I recently found your application, and was astonished by the rich featureset it provides.
Unfortunately i have a BlackBerry 8800, and somehow even the latest build that you have for it is not working correctly.

What I did is to take the JAR and JAD files, and convert them to ALX / COD files and install the app on the BB.

But when it started, in the Settings menu i cannot find the items for loading maps, or the menus for storing of tracks and so on.

Might that be due to some restrictions on the BB or ?

Regards, Vladimir
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Devices All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Page 1 of 5

 
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group