BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-19-2009, 12:00 PM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: 9530
PIN: N/A
Carrier: no
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default OTA special problems,,,Help me everyone

Please Login to Remove!

Hello everyone,
I am a developer of a new BlackBerry,
I know that to develop program for midlet or BlackBerry program,
and now I have a problem:
For the same app, when I developed it into a midlet program.
After packing. OTA download time will be prompted:
"This application does not contain the signatures may come from a credible source,
whether or not to download?",
But , when I developed it into a blackberry program,
after packing, OTA download, the prompt does not appear above.

Simple example:

-----------------------------------------------------------------------------------------------
//MIDletDemo.java

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeExcepti on;
public class MIDletDemo extends MIDlet
{
public MIDletDemo ()
{

}

protected void destroyApp(boolean arg0) throws MIDletStateChangeException
{

}

protected void pauseApp()
{

}

protected void startApp() throws MIDletStateChangeException
{

}

}

//MIDletDemo.jad

Manifest-Version: 1.0
RIM-COD-Module-Name: MIDletDemo
RIM-COD-Module-Dependencies: net_rim_cldc
MIDlet-Jar-Size: 1150
MIDlet-1: ,,MIDletDemo
RIM-COD-Creation-Time: 1240158083
MIDlet-Jar-URL: MIDletDemo.jar
RIM-COD-URL: MIDletDemo.cod
RIM-COD-SHA1: 7f af 37 c0 45 4a 10 f1 e8 86 be a5 96 b5 95 1f 9e 86 78 e7
RIM-COD-Size: 2056
MicroEdition-Configuration: CLDC-1.1
MIDlet-Version: 0.0
MIDlet-Name: MIDletDemo
MIDlet-Vendor: <unknown>
MicroEdition-Profile: MIDP-2.0
RIM-MIDlet-Flags-1: 0

-----------------------------------------------------------------------------------------------
//RIMDemo.java

import net.rim.device.api.ui.UiApplication;
import net.rim.device.api.ui.container.MainScreen;
public class RIMDemo extends UiApplication
{
public static void main(String[] args)
{
RIMDemo theApp = new RIMDemo();
theApp.enterEventDispatcher();
}
public RIMDemo()
{
pushScreen(new HelloWorldScreen());
}
}
final class HelloWorldScreen extends MainScreen
{
public HelloWorldScreen()
{
}
}

//RIMDemo.jad
Manifest-Version: 1.0
RIM-COD-Module-Name: RIMDemo
RIM-COD-Module-Dependencies: net_rim_cldc
MIDlet-Jar-Size: 2333
MIDlet-1: ,,
RIM-COD-Creation-Time: 1240158008
MIDlet-Jar-URL: RIMDemo.jar
RIM-COD-URL: RIMDemo.cod
RIM-COD-SHA1: 3d 48 65 31 8a 66 51 08 24 71 13 6f 7d 2e 7f 51 f4 9d 57 c6
RIM-COD-Size: 988
MicroEdition-Configuration: CLDC-1.1
MIDlet-Version: 0.0
MIDlet-Name: RIMDemo
MIDlet-Vendor: <unknown>
MicroEdition-Profile: MIDP-2.0
RIM-MIDlet-Flags-1: 0
-----------------------------------------------------------------------------------------------


then,Own through the BlackBerry browser to download,
the download link :
http://nihoo.immmooo.com/MIDletDemo.jad
Will be prompted.
Download link :
http://nihoo.immmooo.com/RIMDemo.jad
Will not prompt

Why?

who can help me?
Thank you very much!
Offline  
Old 04-20-2009, 08:29 PM   #2 (permalink)
New Member
 
Join Date: Apr 2009
Model: 9530
PIN: N/A
Carrier: no
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

i have solve
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.