You Are Here:

Community: Developer Discussion Boards

#1 Old Nokia 5000 - 2009-04-23, 23:43

Join Date: Jul 2003
Posts: 15
b.nabet
Offline
Registered User
Hi,

I have just acquired a Nokia 5000 phone. I tried to launch a midlet that get snapshot from the video camera.

Work perfectly on Nokia N95 8GB,E65 some Sony Ericsson phone and of course the emulator also.

The error is MediaException Invalid Locator: capture://video.

*#0000# returns: Nokia 5000d-2 V 04.89 13-08-08 RM-362

Many thanks.
Reply With Quote

#2 Old Thumbs up Re: Nokia 5000 - 2009-04-24, 05:41

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Hi,
MediaException - Thrown if a Player cannot be created for the given locator.

Do following checks:

1. Please check the media settings in suite settings of ur application in app manager.
2. Please check the media u want to play is exist there or not(in filesystem or resources).


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#3 Old Re: Nokia 5000 - 2009-04-24, 07:12

Join Date: Jun 2008
Posts: 96
Send a message via AIM to sharvan1981
sharvan1981's Avatar
sharvan1981
Offline
Regular Contributor
Hi,

I think this is not problem of your code.Please check phone settings because its not supporting Media API.
Reply With Quote

#4 Old Thumbs up Re: Nokia 5000 - 2009-04-24, 07:47

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Quote:
Originally Posted by sharvan1981 View Post
Hi,

I think this is not problem of your code.Please check phone settings because its not supporting Media API.
Please check the device specification of nokia 5000.
just check out the link here...

Nokia 5000 well supports JSR 135.


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#5 Old Re: Nokia 5000 - 2009-04-24, 08:01

Join Date: Jun 2008
Posts: 96
Send a message via AIM to sharvan1981
sharvan1981's Avatar
sharvan1981
Offline
Regular Contributor
Quote:
Originally Posted by jitu_goldie View Post
Please check the device specification of nokia 5000.
just check out the link here...

Nokia 5000 well supports JSR 135.
jitu,

I know Nokia 5000 supported jsr 135, but I am saying about that particular handset(Nokia 5000) which use for testing, might be possible that handset having some setting problem.I think there are no issue in code because this code is working with others handset.
Reply With Quote

#6 Old Thumbs up Re: Nokia 5000 - 2009-04-24, 08:04

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Quote:
Originally Posted by sharvan1981 View Post
jitu,

I know Nokia 5000 supported jsr 135, but I am saying about that particular handset(Nokia 5000) which use for testing, might be possible that handset having some setting problem.I think there are no issue in code because this code is working with others handset.
I agree with u. Might be the problem of Media Setting in App manager or might be the problem of Media used for playing. I had already mentioned the same possibilities in my first reply to this thread.


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#7 Old Re: Nokia 5000 - 2009-04-24, 08:23

Join Date: Jun 2008
Posts: 96
Send a message via AIM to sharvan1981
sharvan1981's Avatar
sharvan1981
Offline
Regular Contributor
Quote:
Originally Posted by jitu_goldie View Post
I agree with u. Might be the problem of Media Setting in App manager or might be the problem of Media used for playing. I had already mentioned the same possibilities in my first reply to this thread.
Thanks Jitu,

Plz read the post carefully then give any comment.

take care
Reply With Quote

#8 Old Re: Nokia 5000 - 2009-04-24, 09:53

Join Date: Jul 2003
Posts: 15
b.nabet
Offline
Registered User
Hi Everyone,

Thanks you for participating. Here are more details:

1. The application takes only snapshot from the camera from a Canvas and then display it on a Form.
2. I have no "Suite" in App manager settings

I have tried the application on a 5500 Sport through RDA (which is JSR 135 MMAPI 1.1) in order to ensure that is not a signature/permission issue. However, I do not have another S40 platform to test.

Ben
Reply With Quote

#9 Old Thumbs up Re: Nokia 5000 - 2009-04-24, 11:44

Join Date: Sep 2008
Posts: 1,195
Location: DELHI
Send a message via Yahoo to jitu_goldie
jitu_goldie's Avatar
jitu_goldie
Offline
Forum Nokia Champion
Quote:
Originally Posted by b.nabet View Post
Hi Everyone,

Thanks you for participating. Here are more details:

1. The application takes only snapshot from the camera from a Canvas and then display it on a Form.
2. I have no "Suite" in App manager settings

I have tried the application on a 5500 Sport through RDA (which is JSR 135 MMAPI 1.1) in order to ensure that is not a signature/permission issue. However, I do not have another S40 platform to test.

Ben
Please check app manager -> installed applications ->select ur application -> click "Options" -> select "Suite Settings" ->check media settings..

If still issues come then,

Post ur code here..


thanks,
jitu_goldie..

KEEP TRYING..
Reply With Quote

#10 Old Re: Nokia 5000 - 2009-04-24, 12:05

Join Date: Jul 2003
Posts: 15
b.nabet
Offline
Registered User
Hi,

Thanks for your help.

In the S40 platform, such settings are available through: Menu --> Application. Select the application, then Options --> Application Access. In this last menu item, I can access:
1. Communication then Network Access, Messaging and Connectivity
2. Data Access then Read user data, Add and Edit data and Smart Card
3. Auto-start

No mention to Media settings.

Does it mean that there no way to play with Multimedia API ?

Ben
Reply With Quote

#11 Old Re: Nokia 5000 - 2009-04-24, 12:06

Join Date: Jun 2003
Posts: 4,325
Location: Cheshire, UK
grahamhughes's Avatar
grahamhughes
Offline
Forum Nokia Champion
The message "MediaException Invalid Locator: capture://video" suggests that the device does not support video capture.

Try this MIDlet to get a list of protocols and content-types supported by the device:

PHP Code:
import javax.microedition.midlet.*;
import javax.microedition.media.*;
import javax.microedition.lcdui.*;

public class 
ContentTypes extends MIDlet {
    private 
Form form;
    
    public 
void startApp() {
        if (
form == null) {
            
form = new Form("Content types");
            
String[] protocols Manager.getSupportedProtocols(null);
            for (
int i 0protocols.lengthi++) {
                
println(protocols[i]);
                
String[] types Manager.getSupportedContentTypes(protocols[i]);
                for (
int j 0types.lengthj++) {
                    
println("- " types[j]);
                }
            }
        }

        
Display.getDisplay(this).setCurrent(form);
    }

    private 
void println(String s) {
        
System.out.println(s);
        
form.append("\n");
    }

    public 
void pauseApp() {
    }

    public 
void destroyApp(boolean uncond) {
    }

Graham.
Reply With Quote

#12 Old Re: Nokia 5000 - 2009-04-24, 12:29

Join Date: Jul 2003
Posts: 15
b.nabet
Offline
Registered User
Hi Graham,

I installed your midlet. I only displayed the String[] protocols = Manager.getSupportedProtocols(null);

Finally, I get file, resource, device and http. No capture.

Conclusion: even if the MMAPI is installed, capture could not be possible.

Thank you Graham and thanks to all of you.

Ben
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
Infra-red capability Symbian_Challenge_0412 General Discussion 1 2005-08-16 19:24
Nokia Mobile VPN Client marcyl Symbian Networking & Messaging 1 2003-12-01 15:47

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