Hi All,
I have been struggling with the same issue..
"Module with handle [XXX] and index [
0] has no application entry point"
I don't know the reason why it fixed the problem but I just tried and set
1 in HomeScreen.setRollover(bt,
1) method instead of HomeScreen.setRollover(bt,
0),
and it solved my problem...
Code:
public static void setRolloverIcon(){
//PNG Image MUST be added to project befor compile.
//on same folder
net.rim.device.api.system.Bitmap bt = net.rim.device.api.system.Bitmap.getBitmapResource("com/icon/currency28.png");
net.rim.blackberry.api.homescreen.HomeScreen.setRolloverIcon(bt, 1 );
}
public static void main(String[] args) {
try{
if (args!=null && args.length > 0 && args[0]!=null && args[0].equals("gui")){
IconApp app = new IconApp();
app.openBrowser();
}else{
try{
setRolloverIcon();
}catch(Exception ex){
System.out.println("Exception :"+ex);
}
System.exit(0);
}
}catch(Exception ex){
System.out.println("Exception : "+ex.getMessage());
}
}
Now I am able to make an alternate entry point as well as set the rollover icon. And the good part is, it didn't require to resent the device...
One note I would like to put forward...I have just tested this application on various simulators like 7100g, 7100i, 7100r, 7100t, 7100v,7100x, 7105t, 7130e, 7130e-v, 7250, 7290, 7520, 8700c, 8700r, 8703e, 8800, 8100 (Pearl) and 8300 (Curve).. So I suppose, this should also work on the device itself.. However I am waiting for my code signing keys to be delivered to me and soon will test on devices..
good luck.
Thanks