| Reply | « Previous Thread | Next Thread » |
|
Hi. I'm developing an application and in the emulator it all works as I want to. But when I try the application on the phone (3510i) it uses the default CloseableCanvas (derived from Canvas).
Here's some code: try { Class.forName("com.nokia.mid.ui.FullCanvas"); Class clas = Class.forName("NokiaCloseableCanvas"); return (Canvas) clas.newInstance(); } catch (Exception e) { String closeLabel = "oh no!"; return new CloseableCanvas(closeLabel); } I'm almost certain that the problem is in the line: Class clas = Class.forName("NokiaCloseableCanvas"); Thanks, Jari |
|
I think I have found the solution in another thread in is forum:
Problem about obfuscation... |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|