×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    17

    Carbide.j application path

    Hi, I'm new with Carbide.j and a want emulate my player on pc. What is the path for the files on the file system? I use NetBeans 5.5 and the last Carbide.j.

    The code:

    Code:
    String fileLocation = "file://a.amr";
    player = Manager.createPlayer(fileLocation);
    Where i must put the file "a.amr"?

    Thanks

  2. #2
    Registered User
    Join Date
    Jan 2007
    Posts
    17

    Re: Carbide.j application path

    Nobody can give me a answer?

    Thanks

  3. #3
    Regular Contributor
    Join Date
    Oct 2005
    Posts
    50

    Re: Carbide.j application path

    Hi zidia,

    After installing carbide.j, if you are using S60 emulator for testing, you can place the .amr file at "C:\Nokia\Devices\Nokia_Prototype_SDK_4_0\devices\
    Prototype_4_0_S60_MIDP_Emulator\bin\Storage\Default\C\Nokia\Sounds\"
    and the path to be given in code is "file://localhost/c:/Nokia/Sounds/a.amr"

    However, you cannot use the file connection path directly as argument for creating player as like "Manager.createPlayer(fileLocation);" An input stream has to be opened from the file connection and pass it for creating player [Manager.createPlayer(InputStream stream, String mediaType)].

    Best Regards,
    Gracy

Similar Threads

  1. Launching a view of a diffrent application
    By nsivach in forum Symbian
    Replies: 3
    Last Post: 2007-03-22, 09:51
  2. Bringing application to foreground
    By ash_bhatia in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-11-02, 13:39
  3. Replies: 0
    Last Post: 2005-05-28, 10:20
  4. Replies: 0
    Last Post: 2003-12-03, 10:18
  5. Replies: 0
    Last Post: 2003-02-03, 08:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×