Android calendar timetable - android

I want to develop a student's timetable for an android application. For this I need to have a calendar to know the day and to check whether the day is a weekday(since saturday and sunday doesnt need a timetable).Can I get the calendar on the phone to do this or do I have to come up with one of my own?
Any help is much appreciated.Thanks.

You can use http://developer.android.com/reference/java/util/Calendar.html. http://developer.android.com/reference/android/text/format/DateUtils.html and http://developer.android.com/reference/android/util/TimeUtils.html are also worth looking into in general.

You can use http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Calendar.html
The java Calender API provide everything that you describe above.

Related

How can I display monthly Calendar view in Android as required?

My academic project require displaying the current month's calendar with few details like number of visits a user has made on particular day. No other functionality is required like reminder, note, etc. I just need to display the following format. I searched many calendar APIs but unable to find one which serves the purpose. Your help would be highly appreciated.
You can create your own calendar with use of a View pager and GridView . As i can see you need to select multiple days in particular month, you need a a customized one .
Checkout these links with, you'll get an idea about it:
1.Caldroid
2.calendarview
These are some awesome work by the coders you can use this in your project and take the idea of building a calender on your own.Thx.

How to create a calendar of single week as scooll calendar

I would create in my application a weekly calendar, one week, like the school to understand. I would then add the events in the week. To do this I searched the old questions and libraries but could not find what I was looking for. Have you any idea how I can do this?
what I want to create should look like this
thank you
You can use this library for horizontal week view, and on click on each date you can show that days tasks.

Specific date in advance

Is there any easy way or a function to get what will be the date two weeks in advance? For example what will be the date after two weeks from now. I have checked Date() function and it doesn't look to have this functionality. The only way I can think of now is to hard code it, but I was hoping someone knows a better approach.
I can't comment so I'll post this as an answer.
This question has already an answer here: How to add 7 days to current date while not going over available days of a month?
You need to use the Calendar class.
Check Joda Time Lib.
i found something may help you using this lib check this
Use this code :
Calendar cal = Calendar.getInstance();
cal.add(Calendar.DATE, +14);
Log.d("Date two weeks in advance is ",""+cal.getTime());

How to do Planner/ business Calendar in android

I am planning to do calendar which contain dynamic event below date. But i am not getting good sample regarding it.
What is exact name call as per image below in android or share some idea. I got many apk and image related to it.
but no exact idea behind it, does android support it. I plan is to show calendar in Month, week, day wise.
After searching lot in google I am writing this.
Does it supports all version from 2.3 to 4. i have seen some blog business calendar supports on above verison 4.
Thanks a lot for kind and great ideas.

Clock and calendar application

i want to make Clock Calendar application but I'm confusing, i see a lot of packs in android: Time, Date, Calendar, Gregorian, Time SQL... Time is deprecated on my target api 16. This package is newer then Gregorian and I`m confused, what pack to use? Tank you.
This is going to be a great exercise for you. I would start with the Calendar class. All the functionality that you will need is there and every device supports it.

Categories

Resources