BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-09-2007, 04:28 PM   #1
Wrenfroe
New Member
 
Join Date: May 2005
Model: 7520
Carrier: nextel
Posts: 9
Default GPSDEMO in JDE 4.1

Please Login to Remove!

Hi!
Does anyone have a compiled and distributable (signed) version of GPSDEMO that comes with the JDE? I've got a backend server set up which works with MOLOGOGO's alt url mode and would really like to try the GPSDEMO on a live bberry. From what I can see from the emulator, it looks pretty cool. Forgive me if I'm posting in the wrong area.
Thanks!

BTW, running Sprint/Nextel 7520 with OS4.1, if it matters.

Last edited by Wrenfroe; 05-09-2007 at 04:30 PM..
Offline  
Old 05-10-2007, 07:13 AM   #2
knezek
Thumbs Must Hurt
 
Join Date: Mar 2007
Model: 8800
Carrier: The New ;) AT&T
Posts: 60
Default

Quote:
Originally Posted by Wrenfroe View Post
Hi!
Does anyone have a compiled and distributable (signed) version of GPSDEMO that comes with the JDE? I've got a backend server set up which works with MOLOGOGO's alt url mode and would really like to try the GPSDEMO on a live bberry. From what I can see from the emulator, it looks pretty cool. Forgive me if I'm posting in the wrong area.
Thanks!

BTW, running Sprint/Nextel 7520 with OS4.1, if it matters.
I don't think there is anything in there that needs to be sign. There are some hardcoded settings for the backend server though, so I don't think someone else compiling it for you would help....
Offline  
Old 05-10-2007, 08:45 AM   #3
Wrenfroe
New Member
 
Join Date: May 2005
Model: 7520
Carrier: nextel
Posts: 9
Default

Hey, thanks for replying. Maybe I'm doing something else wrong then, but when I compile I get the following:

Warning!: Reference to class: net.rim.device.api.system.PersistentObject requires signing with key: RIM Runtime API
Warning!: Reference to class: net.rim.device.api.system.PersistentStore requires signing with key: RIM Runtime API

It compiles fine and runs on the simulator, however on my bberry, I get:

Error starting gpsdemo: Module 'gpsdemo' attempts to access a secure API

This is what led me to believe it needs signing, any other pointers would be appreciated, I'm only in the first week with the bberry JDE.

Also, the only variable that I (think I) need to change is the server url, and it looks like that's available from the 'options' menu.

Thanks!
Offline  
Old 05-10-2007, 12:36 PM   #4
Wrenfroe
New Member
 
Join Date: May 2005
Model: 7520
Carrier: nextel
Posts: 9
Default

Disregard, I gutted the routines that requiring signatures and have seen what I needed to see.
Thanks.
Offline  
Old 05-10-2007, 01:04 PM   #5
knezek
Thumbs Must Hurt
 
Join Date: Mar 2007
Model: 8800
Carrier: The New ;) AT&T
Posts: 60
Default

Quote:
Originally Posted by Wrenfroe View Post
Hey, thanks for replying. Maybe I'm doing something else wrong then, but when I compile I get the following:

Warning!: Reference to class: net.rim.device.api.system.PersistentObject requires signing with key: RIM Runtime API
Warning!: Reference to class: net.rim.device.api.system.PersistentStore requires signing with key: RIM Runtime API

It compiles fine and runs on the simulator, however on my bberry, I get:

Error starting gpsdemo: Module 'gpsdemo' attempts to access a secure API

This is what led me to believe it needs signing, any other pointers would be appreciated, I'm only in the first week with the bberry JDE.

Also, the only variable that I (think I) need to change is the server url, and it looks like that's available from the 'options' menu.

Thanks!
Sorry Wrefroe,

I missed those api's. I tried signing the app, but either you can't sign the demo apps or something is afoul with my signature tool...
Offline  
Old 05-12-2007, 01:28 PM   #6
tclark
Knows Where the Search Button Is
 
Join Date: Apr 2007
Model: 8800
PIN: N/A
Carrier: telus
Posts: 15
Default

Just for the archives
being a bit of a newbie to bb / midp I also had issues with gpsdemo
yah i gutted the ref to PersistentObject and that got around the signing issue but then after i did a ota install the app could not resolve the reference to com.rim.samples.device.resource.*;

I assumed that the bb 4.1 compiler was smart enuff to pkg all the refs up from the resource dir into a single cod file but I guess it does not work that way

I had to do an ota of resources/com_rim_demores.jad, com_rim_demores.cod

then the gpsdemo ran fine ...

Last edited by tclark; 05-13-2007 at 07:46 AM..
Offline  
Old 09-21-2007, 10:16 AM   #7
ljacob
New Member
 
Join Date: Sep 2007
Location: New York
Model: 8800
PIN: N/A
Carrier: AT&T
Posts: 2
Default GPSDemo

Hello, I am acatching up on this thread late. Does this GPSDemo application work on the 8800? I am looking to get a simple location log on an AT&T/Cingular 8800, ideally saved to a log on the flash card... -lj
Offline  
Old 04-26-2008, 10:31 AM   #8
iox
New Member
 
Join Date: Mar 2008
Model: 8300
PIN: N/A
Carrier: ATT
Posts: 3
Default

I'm a beginer in Java but Following the first post of Wrenfroe, I'm having same problem trying to save information in a BlackBerry 8200 and using JDE 4.3. I want to save some basic information and I getting

Warning!: Reference to class: net.rim.device.api.system.PersistentObject requires signing with key: RIM Runtime API

My code goes list this.

import net.rim.device.api.ui.*;
import net.rim.device.api.ui.component.*;
import net.rim.device.api.ui.container.*;
import net.rim.device.api.i18n.*;
import net.rim.device.api.util.*;
import net.rim.device.api.system.*;
import javax.microedition.io.*;
import java.io.*;
import java.util.Vector;
import javax.microedition.*;
import javax.microedition.location.*;

// "so you have something to save" <-- Coverted to Long
// 0x8983707cbcf0fdc3L
private static Vector _data;

private static net.rim.device.api.system.PersistentObject store;
static {
store = net.rim.device.api.system.PersistentStore.getPersi stentObject( 0x8983707cbcf0fdc3L );
/* _data = (Vector)store.getContents();
synchronized(store){
if (_data == null){
_data = new Vector();
store.setContents(_data);
store.commit();
}
}*/
}
Offline  
Old 04-28-2008, 09:26 AM   #9
goulamass
Talking BlackBerry Encyclopedia
 
Join Date: Jan 2008
Location: France
Model: 8310
PIN: N/A
Carrier: Vodafone
Posts: 217
Default

It just means that if you want to use your code on a real terminal you have to sign your code.

It's not an programming error
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Zareba ESP5M-Z 5-Mile Solar Low Impedance Electric Fence Charger - Black picture

Zareba ESP5M-Z 5-Mile Solar Low Impedance Electric Fence Charger - Black

$139.99



Fluke  845AR High Impedance Voltmeter-Null Detector picture

Fluke 845AR High Impedance Voltmeter-Null Detector

$500.00



GE MRI High Impedance ECG Leads E8819RC picture

GE MRI High Impedance ECG Leads E8819RC

$399.99



Digital Ohmmeter LCD Audio Impedance Test Meter Speaker Voice Resistor System picture

Digital Ohmmeter LCD Audio Impedance Test Meter Speaker Voice Resistor System

$83.60



BECO Universal Impedance Bridge Model 315A, Brown Electro Measurement Corp. 315A picture

BECO Universal Impedance Bridge Model 315A, Brown Electro Measurement Corp. 315A

$129.99



HP-Agilent-Keysight 41951-69001/ 41951-61001 Impedance Test Adapter for 41951A picture

HP-Agilent-Keysight 41951-69001/ 41951-61001 Impedance Test Adapter for 41951A

$350.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.