×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2007
    Posts
    1

    How to read .shp files packaged in jar

    I am developing a transportation project with some maps in .shp format, I put the maps in res folder and maps are packaged in jar. But when I read the .shp files, there are some IOexception. What most make me confused is when I do the same option to the .png files, everything is ok. Is there any difference between "/image.png" and "/map.shp"?

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

    Re: How to read .shp files packaged in jar

    More information is needed.
    Have you checked that the .shp file is really in the JAR in the proper directory?
    At what point do you get the Exception? While opening? While reading? While closing? What do you mean by "are some IOexception"?
    How are you reading the file (small piece of code)?

    Hartti

Similar Threads

  1. Replies: 4
    Last Post: 2010-01-25, 09:29
  2. Replies: 8
    Last Post: 2009-04-16, 08:42
  3. Cannot read Jad, Jar files on my phone? "Nokia 6300"
    By Antigo11 in forum Mobile Java General
    Replies: 4
    Last Post: 2009-04-08, 16:00
  4. Install Jar through packaged with Sis??
    By rakeshyadav in forum Symbian
    Replies: 7
    Last Post: 2008-11-11, 14:33
  5. How make jar files with standart jar.exe programm?
    By asteroid77 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-12-06, 11:34

Posting Permissions

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