+ Post New Thread
Results 1 to 2 of 2
Coding Thread, Android App Inventor - manipulating strings in Coding and Web Development; I have an app that grabs forecast data from Yahoo. I've got to the point where I have a list ...
  1. #1

    Join Date
    Oct 2012
    Location
    wales
    Posts
    82
    Thank Post
    6
    Thanked 13 Times in 6 Posts
    Rep Power
    7

    Android App Inventor - manipulating strings

    I have an app that grabs forecast data from Yahoo. I've got to the point where I have a list of strings such as the following:

    Code:
    day="Mon" date="14 Jul 2014" low="15" high="19" text="Partly Cloudy" code="30"
    day="Tue" date="15 Jul 2014" low="14" high="21" text="Partly Cloudy" code="30"
    day="Wed" date="16 Jul 2014" low="13" high="21" text="Cloudy" code="26"
    day="Thu" date="17 Jul 2014" low="17" high="24" text="Partly Cloudy" code="30"
    day="Fri" date="18 Jul 2014" low="14" high="21" text="Showers" code="11"
    


    What I want to do is break each of those lines down into their own list so I can get the weather for a particular day. But for the life of me, my brain can't figure out a way to put the blocks together to get what I need. If I had some regex, I'd be done by now...


  2. #2

    Join Date
    Dec 2012
    Location
    Skipton, North Yorkshire
    Posts
    28
    Thank Post
    11
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Not sure what you mean by "break each of those lines down into their own list"? Should be simple to do if I knew what you meant, could you provide an example of the data structure that you want it to be afterwards?

SHARE:
+ Post New Thread

Similar Threads

  1. [Android] Good FREE android apps for primary school kids ???
    By mikkydoos in forum Netbooks, PDA and Phones
    Replies: 1
    Last Post: 27th June 2014, 02:13 PM
  2. [Android] Google Play Private Channel for Google Apps. Easily distribute internal Android apps
    By Arthur in forum Netbooks, PDA and Phones
    Replies: 5
    Last Post: 6th December 2012, 10:57 AM
  3. [Android] Android App
    By creese in forum Netbooks, PDA and Phones
    Replies: 0
    Last Post: 12th May 2011, 08:48 AM
  4. Android App Inventor
    By Dos_Box in forum Netbooks, PDA and Phones
    Replies: 4
    Last Post: 10th September 2010, 08:50 AM
  5. [Android] Android Apps
    By teejay in forum Netbooks, PDA and Phones
    Replies: 93
    Last Post: 7th September 2010, 11:24 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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