05-21-2012 02:24 PM
Hi everyone.
I will admit, I am a total noob to Blackberrys and Java.
I am a full time website developer. I work with HTML, CSS, JavaScript and PHP.
My brother asked me if I could write him a Blackberry App for his company.
I am using a HTML website which the App will load on request.
Everything is okay apart from one thing. When I simulate the App the webpage doesn't load. I get a warning in eclipse saying:
Warning!: method 'mypackage.MyApp.main(String[])' not invoked.
This is the functions the error refers to:
public static void main(String[] args)
{
// Create a new instance of the application and make the currently
// running thread the application's event dispatch thread.
MyApp theApp = new MyApp();
theApp.enterEventDispatcher();
}
and finally when I load the app it only loads this function:
public static void main(String[] args)
{
// Create a new instance of the application and make the currently
// running thread the application's event dispatch thread.
MyApp theApp = new MyApp();
theApp.enterEventDispatcher();
}
Help will be great
Thanks guys!
05-21-2012 05:33 PM
05-21-2012 05:48 PM
05-22-2012 08:07 AM
If you have a BlackBerry device, it's even better than Ripple.
Your requirement are completly in the scope of Webworks instead of Java
05-22-2012 12:25 PM