Hi
As platformRequest() is an non-static in the class MIDlet, but it seems I can't "new" the class MIDlet to call the platformRequest().
So how can I call the platformRequest() from other class?
Thankyou very much!
Hi
As platformRequest() is an non-static in the class MIDlet, but it seems I can't "new" the class MIDlet to call the platformRequest().
So how can I call the platformRequest() from other class?
Thankyou very much!
Pass a reference to your original MIDlet object:
shmooveCode:class SomeClass { MIDlet m; //... // constructor SomeClass(MIDlet m, ...) { this.m = m; // ... } void someMethod() { // ... m.platformRequest(url); // ... } }