You Are Here:

Community: Developer Discussion Boards

#1 Old 如何显示BUFFER中的图象数据到屏幕上? - 2003-05-12, 13:21

Join Date: May 2003
Posts: 63
fengwangjiang
Offline
Regular Contributor
now i am developing a project:
i receive the picture data(for example a map ) from the PC server, i receive the data through socket, but how can i display it on the screen ?(use bitmap class or else?) i have no way how to deal with it ! please help me !
very very thanks!
请告诉我详细的方法和类,好吗?非常感谢!
Reply With Quote

#2 Old 2003-05-13, 03:26

Join Date: Mar 2003
Posts: 3,175
Location: Beijing
Send a message via MSN to liuxg
liuxg's Avatar
liuxg
Offline
Forum Nokia Expert
Hi,

You can follow the following steps to do the job:

1) Use the received data to construct a descriptor object (TDesC8).

2) Use CMdaImageDescToBitmapUtility class to do the conversion from TDesC8 to a bitmap. You may refer to the "bitmapman" sample code in SDK for help.

3) Use the following link to find the corresponding information to display the bitmap to a screen although it is exactly the same.

» Symbian OS v6.1 Edition for C++ » API Guide » Graphics » Using Bitmaps » How to create and draw to an off-screen bitmap

Hope this helps!

Liuxg
Forum Nokia
Reply With Quote

#3 Old 谢谢! - 2003-05-13, 14:45

Join Date: May 2003
Posts: 63
fengwangjiang
Offline
Regular Contributor
非常感谢你,这个问题困绕我好久了,非常感谢!!!
你的工作对整个SYMBIAN 的中国开发者非常重要,再次感谢!
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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 On
[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