You Are Here:

Community: Developer Discussion Boards

#1 Old Which S40 support MMAPI image capture ? - 2006-12-20, 17:06

Join Date: Jun 2005
Posts: 12
infernono
Offline
Registered User
Hi all.

I've read MIDP_Mobile_Media_API_Support_In_Nokia_Devices_v1_0_en.pdf.
By the way, only a small subset of devices are studied in this document.
It seems that no S40 2nd edition support MMAPI image capture; well, ok.
What about S40 3rd edtion phone that are not in the document ? Could some of you do image capture with 5200 ? 6125 ? 6131 ? 6136 ? 6233 ?
If yes, did you use capture://image or capture://video ?

Thank you.
Reply With Quote

#2 Old Re: Which S40 support MMAPI image capture ? - 2006-12-21, 03:14

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
All the devices you list support image capture. Those devices are 3rd Edition Feature Pack 1 (or 2) devices and all of those support snapshots
capture://image

Hartti
Reply With Quote

#3 Old Re: Which S40 support MMAPI image capture ? - 2006-12-21, 19:42

Join Date: Jun 2005
Posts: 12
infernono
Offline
Registered User
Cool. Thanks ;-)
Reply With Quote

#4 Old Re: Which S40 support MMAPI image capture ? - 2007-05-08, 05:47

Join Date: May 2007
Posts: 36
Location: Luleå, Sweden
zhs_bravo's Avatar
zhs_bravo
Offline
Registered User
hartti,

I am trying to capture image on Nokia 6131 NFC. It supports JPEG Encoding. I am capturing image as:

byte[] raw = this.vc.getSnapshot("encoding=jpeg");

and I get MediaException and it says that requested format does not support.

where to use capture://image? while creating player?

what could be the problem?
Reply With Quote

#5 Old Re: Which S40 support MMAPI image capture ? - 2007-05-08, 09:40

Join Date: Apr 2003
Posts: 6,408
Location: USA, CA
hartti's Avatar
hartti
Offline
Nokia Expert
Yes, you need to create the player (which you intend to use for taking snapshots) with capture://image

Hartti
Reply With Quote

#6 Old Re: Which S40 support MMAPI image capture ? - 2007-05-09, 00:26

Join Date: May 2007
Posts: 36
Location: Luleå, Sweden
zhs_bravo's Avatar
zhs_bravo
Offline
Registered User
Thanks for your support!

that was the only problem!
Reply With Quote

#7 Old Re: Which S40 support MMAPI image capture ? - 2007-06-22, 18:08

Join Date: Apr 2007
Posts: 29
byronlilu's Avatar
byronlilu
Offline
Registered User
the answer is yes, you should use Manager.createPlayer("capture://image");
the parts left is the same as many example.

but I tested a app on 5200 5300, which capture an image.
my problem is that there are contents in the center, but on both sides
no any image , only black.

the following is part of my test:
canvas width:240
canvas height:248

video display width:240
video display height:248

video source width:128
video source height:96

image width:120
image height:160

how can i modify the size of the video source?
how to display full screen?

I tried setDisplayFullScreen(true); no effective.
I tried setDisplaySize(CAPTURE_WIDTH, CAPTURE_HEIGHT); No effictive.


any body help me?

best regards.

byron lee
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
Opening a JPEG Image ummarbhutta Mobile Java Media (Graphics & Sounds) 8 2007-02-15 07:34
Image capture in N90 jini_1 Mobile Java Media (Graphics & Sounds) 3 2006-11-20 23:54
Image capture midlet with Nokia 6020 Gnanasekarcm Mobile Java Media (Graphics & Sounds) 3 2006-07-17 20:30
Capturing the image from Nokia S40 3rd handsets. salopge Mobile Java Media (Graphics & Sounds) 22 2006-04-12 23:56
image capture on S40 3rd Handsets salopge Mobile Java General 0 2006-02-28 08:13

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