Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User mohammad_kaied's Avatar
    Join Date
    Jun 2010
    Location
    Palestine/Ramallah
    Posts
    76
    I want to play my video files and audio files which are impeded in jar file
    i seek about this in this forum somebodies says use plateformRequest(URL)
    but i don't know how to get installed real player url to invoke it

    Pleas help me how to do this???

  2. #2
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    Launching a native application from a MIDlet

    Note: Only manufacturer and operator domain MIDlets can start native applications.

    In Symbian (JRT 2.1 onwards), native applications are launched with the platformRequest(nativeapp method. It identifies the application by its UID (application-uid) or the name of the executable (application-exe). In addition, you can specify a file or other content for the application to run. For example, you can specify the file name of the .jpg image to be viewed when starting ImageViewer application.

    The actual command line arguments are entered with the application-args parameter. These depend on the application being launched. For example, Calendar recognizes the Today argument value, which returns the current day. The following example shows how to start a native application with command line arguments:

    platformRequest("nativeapp:application-exe=MediaPlayer.exe;content=E:\Feelings.MP3;application-args=-ExampleArgument");
    After the native application has been started, it can acquire the command line arguments in the following manner:


    In Series 40, native applications are launched with platformRequest(localapp method. The following opens the Photos folder in Gallery.

    platformRequest("localapp://gallery/show?folder=C:/predefgallery/predefphotos");
    thanks,
    ~Amitabh
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

  3. #3
    Registered User mohammad_kaied's Avatar
    Join Date
    Jun 2010
    Location
    Palestine/Ramallah
    Posts
    76
    Quote Originally Posted by im2amit View Post
    Launching a native application from a MIDlet

    Note: Only manufacturer and operator domain MIDlets can start native applications.

    In Symbian (JRT 2.1 onwards), native applications are launched with the platformRequest(nativeapp method. It identifies the application by its UID (application-uid) or the name of the executable (application-exe). In addition, you can specify a file or other content for the application to run. For example, you can specify the file name of the .jpg image to be viewed when starting ImageViewer application.

    The actual command line arguments are entered with the application-args parameter. These depend on the application being launched. For example, Calendar recognizes the Today argument value, which returns the current day. The following example shows how to start a native application with command line arguments:

    platformRequest("nativeapp:application-exe=MediaPlayer.exe;content=E:\Feelings.MP3;application-args=-ExampleArgument");
    After the native application has been started, it can acquire the command line arguments in the following manner:


    In Series 40, native applications are launched with platformRequest(localapp method. The following opens the Photos folder in Gallery.

    platformRequest("localapp://gallery/show?folder=C:/predefgallery/predefphotos");
    Thank You Very Much,
    Mohammad

Similar Threads

  1. How to invoke Real Player in my App?
    By jameskittu in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2010-05-29, 15:13
  2. Creating play list for mobile real player
    By Ranjan_Kumar in forum Streaming and Video
    Replies: 2
    Last Post: 2010-02-08, 09:11
  3. Replies: 0
    Last Post: 2009-10-28, 18:03
  4. How to Invoke Real Player with JAR Resource
    By epilot in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2009-05-04, 18:00
  5. Play video in nokia 6680 by real player
    By rock2007 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2007-04-23, 19:36

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