i am implementing one graph related app.
In that when application start i am getting present month,present year from calende and display on the screen with graph. like April 2012 and graph
ok that is fine.
In my screen i have two buttons like preview,next.
when user clicks preview ,i want to change April 2012 to March 2012,Fib 2012 ……….
And when user clicks next button,i want to change April 2012 to May 2012…..
How i will do these type of comparigens.
If any one know please help me.
Thanks in advance
Use Calendar Instance to set time.. When user presses next increment month by one and set it to Calendar and get Date from it.. and The opposite for previous.. But using default
DatePickeris a lot better Option..