Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User mohammad_kaied's Avatar
    Join Date
    Jun 2010
    Location
    Palestine/Ramallah
    Posts
    76
    I want to play media files (.mp3, .3gp,..) impeded in jar file via OS media player
    like real player on Symbian
    Please help me if there are any code snippet.

  2. #2
    Registered User ektasrv's Avatar
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941
    Try using platformRequest() passing the URI of any .mp3 or .3gp file on the device, if it works - move the media from JAR to device file system in some temp folder and pass its URI to the platformRequest.

    platformRequest("nativeapp:application-exe=MediaPlayer.exe;content=E:\Feelings.MP3;application-args=-ExampleArgument");

    Refer to: http://library.forum.nokia.com/topic...C-C024F2956836
    Thanks,
    Ekta

  3. #3
    Registered User mohammad_kaied's Avatar
    Join Date
    Jun 2010
    Location
    Palestine/Ramallah
    Posts
    76
    Quote Originally Posted by ektasrv View Post
    Try using platformRequest() passing the URI of any .mp3 or .3gp file on the device, if it works - move the media from JAR to device file system in some temp folder and pass its URI to the platformRequest.

    platformRequest("nativeapp:application-exe=MediaPlayer.exe;content=E:\Feelings.MP3;application-args=-ExampleArgument");

    Refer to: http://library.forum.nokia.com/topic...C-C024F2956836
    Thanks for replay
    i plaied the file using system media player
    but permission raised for each playing time it is confuse me
    is there any way to disable this event???
    please if you know dont hesitate to tell me

  4. #4
    Registered User ektasrv's Avatar
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941
    Try signing the app with 3rd party certificate like Verisign and educate your end user to set the permission for the app - for accessing file system as "Ask only once" or "All ways allowed" if available for this app.
    Thanks,
    Ekta

Similar Threads

  1. Media Player which can play keypad tones fast!
    By manish.agarw in forum Symbian C++
    Replies: 5
    Last Post: 2010-06-09, 09:04
  2. Play Media File in J2me
    By prajapati.ajay in forum Mobile Java General
    Replies: 3
    Last Post: 2009-10-09, 19:51
  3. e51 media player hangs on microSD media scaning
    By antonioriva in forum Audio
    Replies: 0
    Last Post: 2009-08-09, 20:50
  4. Replies: 1
    Last Post: 2008-10-15, 16:08
  5. Replies: 0
    Last Post: 2005-06-08, 10:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved