You Are Here:

Community: Developer Discussion Boards

#1 Old Unhappy Confusing Performance - 2008-03-15, 09:20

Join Date: Sep 2007
Posts: 28
nim_esh
Offline
Registered User
Hello guys i wrote an image processing program... its working just fine in both phone and the emulator... i am using netbeans 6.0 with wireless toolkit 2.5.2...
after that i was trying to make a new image using the method

Code:
imgFace = Image.createImage(imgFace, getStartX()+20, getStartY(), getX()-20, getY(), Sprite.TRANS_NONE);
the emulator performed as expected and gave the part of the source image as the new image...

but when i tried to run the same thing on a sony ericcson k750i its just giving a blank screen and nokia 6630 gave the error invalid height or width error...

whats confusing is the emulator shows the expected output but phones doesnt.. what may be the problem.. i checked the height and width and its perfectly normal value...
Reply With Quote

#2 Old Exclamation Re: Confusing Performance - 2008-03-25, 06:07

Join Date: Sep 2007
Posts: 874
honest_success's Avatar
honest_success
Offline
Forum Nokia Champion
Are you using png image or some else like jpg,bmp etc. ?


-Kartik Trivedi
Reply With Quote

#3 Old Re: Confusing Performance - 2008-03-25, 12:59

Join Date: Sep 2007
Posts: 28
nim_esh
Offline
Registered User
hmmm i am taking it from a png picture....
Reply With Quote

#4 Old Exclamation Re: Confusing Performance - 2008-03-25, 13:28

Join Date: Sep 2007
Posts: 874
honest_success's Avatar
honest_success
Offline
Forum Nokia Champion
Use the following code to get the size of device and then do according to it.


int height=this.getHeight();
int width=this.getWidth();

Happy Coding
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
Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow MSC write performance with N95 jsoberan Wired and Wireless interfaces 0 2008-03-08 01:22
S60 emulator performance and single IMG file chall3ng3r Tools and SDK Feedback 0 2008-02-19 00:22
Emulator performance (and performance in general). vitormcruz General Symbian C++ 4 2007-11-26 10:38
wide variation in emulator correctness and performance jgreif Tools and SDK Feedback 0 2006-12-23 02:04
Nokia 6600 symbian performance with bigger size mmc card mail2gops Symbian 2 2006-02-05 05:19

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 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ