Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. json parser images shown in lstview

json parser images shown in lstview

Scheduled Pinned Locked Moved Android
json
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 10889616
    wrote on last edited by
    #1

    my json --------------- { "default_bundels": [ "P0001", "P0002", "P0003", "P0004", "P0005", "P0006" ], "product_bundles": { "P0001": [ { "name": "Animals", "cost": 0, "images_counts": 6, "category": "Animals" } ], "P0002": [ { "name": "Buildings", "cost": 0, "images_counts": 6, "category": "Buildings" } ], "P0003": [ { "name": "Cars", "cost": 0, "images_counts": 6, "category": "Cars" } ], "P0004": [ { "name": "Sports", "cost": 0, "images_counts": 6, "category": "Sports" } ], "P0005": [ { "name": "Fruits", "cost": 0, "images_counts": 6, "category": "Fruits" } ], "P0006": [ { "name": "Personalities", "cost": 0, "images_counts": 6, "category": "Personalities" } ], "P0007": [ { "name": "AnimationMovies", "cost": 0.99, "images_counts": 18, "category": "AnimationMovies" } ], "P0008": [ { "name": "ArtPaintings", "cost": 0.99, "images_counts": 10, "category": "ArtPaintings" } ], "P0009": [ { "name": "Cartoons", "cost": 0.99, "images_counts": 8, "category": "Cartoons" } ], "P0010": [ { "name": "Celebrities", "cost": 0.99, "images_counts": 10, "category": "Celebrities" } ], "P0011": [ { "name": "ExploreIndia", "cost": 0.99, "images_counts": 10, "category": "ExploreIndia" } ], "P0012": [ { "name": "Flowers", "cost": 0.99, "images_counts": 8, "category": "Flowers" } ], "P0013": [ { "name": "FoodAndDrink", "cost": 0.99, "images_counts": 11, "category": "FoodAndDrink" } ], "P0014": [ { "name": "Historical", "cost": 0.99, "images_counts": 8, "category": "Historical" } ], "P0015": [ { "name": "KidsAndBabies", "cost": 0, "images_counts": 9, "category": "KidsAndBabies" } ], "P0016": [ { "name": "Nature", "cost": 0, "images_counts": 10, "category": "Nature" } ] } } i triedlike this please helpme -------------------------------- private static final String TAG_CAT ="default_bundels"; private static final String TAG_NAME ="name"; private static final String TAG_COST ="cost"; private static final String TAG_IMAGES_COUNT ="images_counts"; private static final String TAG_CATEGORY ="category"; // contacts JSONArray JSONArray contacts = null; // Hashmap for ListView ArrayList> imagesList; public ListActivity lv; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setConten

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups