You Are Here:

Community: Developer Discussion Boards

#1 Old NokiaCloseableCanvas works on emulator but not the real phone? - 2004-02-10, 14:50

Join Date: Dec 2003
Posts: 20
jarizappa
Offline
Registered User
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
Reply With Quote

#2 Old 2004-02-10, 14:56

Join Date: Dec 2003
Posts: 20
jarizappa
Offline
Registered User
I think I have found the solution in another thread in is forum:
Problem about obfuscation...
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia