×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    11

    Need some explaination!!!

    hi....m trying to write a media player for mobile.... i found this piece of code from the net....

    items.put("Siren from jar", "file://siren.wav");
    itemsInfo.put("Siren from jar", "audio/x-wav");

    items.put("Promo Video from jar", "file://promo.mpg");
    itemsInfo.put("Promo Video from jar", "video/mpeg");

    my doubt is :

    1) what do you mean by file://? ( should we replace it by our drive name )

    2) Should we store the the file in "src" folder of our project.

    3) What is the maximum size of a jar file, if there is such a thing???

    Thnak You.

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Need some explaination!!!

    That piece of code is here
    http://today.java.net/pub/a/today/2005/09/27/j2me4.html

    The articles is very thorough in explanations, please read it completely

    3) There are maximum limits to JAR sizes. That depends on th ephone and also sometimes the network operators limit the OTA downloaded JAR sizes.

    For device specific JAR size limitations see the Forum Nokia device specs

    http://forum.nokia.com/devices

    Hartti

Similar Threads

  1. Program Explaination!
    By cybil001 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-02-16, 15:19
  2. Successful NT RAS & mRouterlite but....!
    By yashodhan in forum Symbian
    Replies: 15
    Last Post: 2003-10-03, 07:26

Posting Permissions

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