i've read this article about this "How to show our own icon in BlackBerry Map?" and i want to put it on my project, and calling the Scr() class from the menu item :
MenuItem _openAction = new MenuItem("MyLocation",100000,10) {
public void run()
{
UiApplication.getUiApplication().pushScreen(new Scr());
}
};
but i get error ""jvm error 104 uncaught runtime exception" when i calling it from menu "MyLocation". i tried before but i calling the Scr() class from the main screen and its working well.
public invokeMaps()
{
pushScreen(new Scr());
}
since I'm new to this whole thing i can't figure it out where the problem is... any help would be really mean a lot to my project.. thanks before :)