BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-11-2007, 11:35 PM   #1 (permalink)
Thumbs Must Hurt
 
cyberpine's Avatar
 
Join Date: May 2006
Model: 8700g
Carrier: T-mobile
Posts: 65
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default j2me Sun WTK jsr172Demo - RIM Signiture Required

Please Login to Remove!

The Sun Wireless Toolkit (j2me) development ide/environment has cool webservice demo that works great on the nokia(?) emulator the toolkit comes with.

I installed the application j2me code on my blackberry, but when I go to run it says the application must be signed by RIM. I removed the current signature using the WTK, but that did not help on the BlackBerry.

I installed the solution from a JAR/JAD Over the Air from my website. I did not convert it to COD or using any RIM specific IDE or compile process.

Is there anything I can through the Sun WTK - I see there is a place to pick up keys and signatures.

I guess the issue is I need to use RMI signed $$$ APIs? How do I know which ones? and where can I get these?

Shame J2ME is not a pure and portable as the argument for why everything should be developed in Java and platform independent.



my imports:

// local
import example.serverscript.connector.Interface;
import example.serverscript.connector.Interface_Stub;

// standard
import java.io.ByteArrayInputStream;
import java.io.UnsupportedEncodingException;

// jax-rpc
import java.rmi.RemoteException;

import java.util.Hashtable;
import java.util.Stack;

import javax.microedition.lcdui.Alert;
import javax.microedition.lcdui.AlertType;
import javax.microedition.lcdui.Command;
import javax.microedition.lcdui.CommandListener;
import javax.microedition.lcdui.Display;
import javax.microedition.lcdui.Displayable;
import javax.microedition.lcdui.List;
import javax.microedition.lcdui.Screen;
import javax.microedition.lcdui.TextBox;
import javax.microedition.lcdui.TextField;

// micro edition
import javax.microedition.midlet.MIDlet;

import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;

// xml
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
Offline  
Old 05-13-2007, 10:17 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

This page describes how to get signature from RIM:
BlackBerry - BlackBerry | Wireless Handheld Devices, Software & Services from Research In Motion (RIM)

You can see list of protected APIs and technical description in "BlackBerry Application Developer Guide Volume 2". Also javadoc, bundled with BlackBerry, contains notes for classes & methods, which require signing.

Hope it helps!
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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