Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: External XML to embedded

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default External XML to embedded

    Hi all.

    I am modifying some code that I purchased, and I am definitely just getting my feet wet with android.

    This app requires an external xml file to parse the screens. Is there a way i can point the url to an xml file stored within the app?


  2. #2
    Junior Member
    Join Date
    Apr 2014
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default External XML to embedded

    Hi all.

    I am modifying some code that I purchased, and I am definitely just getting my feet wet with android.

    This app requires an external xml file to parse the screens. Is there a way i can point the url to an xml file stored within the app?

  3. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: External XML to embedded

    There are a couple of folders in the res folder in Android where you can store files that the program can read. I forget the names and how to access them right now. Look at what is in the res folder and how their contents are accessed.

    The assets folder can hold files to be read by the program.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. xml file in JAR archive vs xml in classes folder
    By n0hc in forum What's Wrong With My Code?
    Replies: 1
    Last Post: December 2nd, 2013, 09:44 PM
  2. convert excel to xml and read the input from xml file
    By rahulruns in forum Object Oriented Programming
    Replies: 5
    Last Post: April 3rd, 2012, 11:13 AM
  3. Reading XML File using DOMParser and have problem with accessing xml
    By optiMystic23 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: January 21st, 2012, 02:22 PM
  4. [SOLVED] Java DB embedded
    By potatostar in forum JDBC & Databases
    Replies: 5
    Last Post: July 20th, 2011, 11:17 AM
  5. Help with JavaDB embedded
    By jstn455 in forum JDBC & Databases
    Replies: 2
    Last Post: March 17th, 2011, 03:27 PM