- Forum posts: 3
Apr 19, 2016, 5:10:13 AM via Website
Apr 19, 2016 5:10:13 AM via Website
HI.. I am new in Android and I am designing an app .I don't know the how to display the Indian festival in my app.
anybody can help me.
Apr 29, 2016, 7:00:09 AM via Website
Apr 29, 2016 7:00:09 AM via Website
there are two for this.
1: You can use listview and and add the festivals.
2: you can create the rest web service which will return the festivals as response.
May 2, 2016, 7:51:41 AM via Website
May 2, 2016 7:51:41 AM via Website
Sir I created the database in SQLite Browser there are Fields (Id, Date, festival1,festival2,star Time ,end Time)
I want to display the Date wise festival in my application..for ex
Shri Mahavir Jayanthi..
sir help me ...please...
May 2, 2016, 9:06:13 AM via Website
May 2, 2016 9:06:13 AM via Website
OK may be you can try this
1: Create a xml with list view.
2: Create a custon adapter if you want to display image or anything else.
3: Create a class which will fetch out your festival data from database i.e. cursor will return the data.
4: store all the data in arraylist or what suits you easy.
5: use this list in your custom adapter which you creates before.
Hope it will help if you will find any fight in implementation share with details.