how to display the Indian festival in my app.

  • Replies:4
  • OpenNot stickiedUnanswered
  • Forum posts: 3

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.

  • Forum posts: 207

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.

  • Forum posts: 3

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
Thu 14/04/2016
Dr.Babasheb jayanthi..
Tue 19/04/2016
Shri Mahavir Jayanthi..
sir help me ...please...

  • Forum posts: 207

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.

  • Forum posts: 28

May 2, 2016 9:23:50 AM via Website

you can use database with festivals name and can display on front view of the app