Questions tagged [calendarview]

CalendarView is a calendar widget for displaying and selecting dates.

CalendarView is a widget for displaying and selecting dates.

Most often it refers to Android's CalendarView. The range of dates supported by it are configurable. The user can select a date by tapping on it, and it's possible to scroll and fling the calendar to a desired date.

375 questions
0
votes
1 answer

Android Calendarview set focused date ( Previous and Next month)

I'm using calendarview library and I have a "Previous" and "Next" buttons. Can you please help me move the focus to the "Previous" month and "Next" month? the codes below does not work for me.. // format date and display on screen final…
alex_0709
  • 119
  • 1
  • 1
  • 9
0
votes
1 answer

CalendarView in Android

I have implemented CalendarView in my project and I would like to get the DD/MM/YY format on clicking the date I tried the following: calendar =(CalendarView) findViewById(R.id.calendarforstart); calendar.setShowWeekNumber(false); …
TheDevMan
  • 5,914
  • 12
  • 74
  • 144
0
votes
1 answer

Calendarview set week background color by passing parameter

I want to set the color of the week background by passing specific date. public void initializeCalendar(int year, int month, int day) { calendar = (CalendarView) findViewById(R.id.calendar); // sets whether to show the week number. …
Eli Tamondong
  • 51
  • 1
  • 2
  • 7
0
votes
3 answers

Android CalendarView current month and year not displaying

I have added a calendar view in a dialog box. The dialog box appears on a button click. The problem I faced is that, when the dialog box appears, the calendar view does not display current month and year on top. But when I changed the month, the…
poly
  • 13
  • 1
  • 5
0
votes
1 answer

How to Display Dates in Calendar View from Database

I needed help with this. How do I display dates in Android CalendarView widget? I have MySQL database with dates, and I can query it with PHP and get JSON data from that. The problem I am having is how do I display these dates in CalendarView? And…
Kartik Prabhu
  • 411
  • 1
  • 4
  • 16
0
votes
1 answer

How to setMinDate() for ExtendedCalendarView

I am using ExtendedCalendarView. How do I use the function setMinDate() on ExtendedCalendarView?
user2731584
  • 926
  • 1
  • 7
  • 17
0
votes
2 answers

Getting FATAL EXCEPTION in extended calendar

I was initially using the calendar view and that was fine. i wanted to display my events in the calendar view so i tried extended calendar view library. When i imported the library project and integrated the code i am getting the following error. …
sarsarahman
  • 1,078
  • 5
  • 11
  • 26
0
votes
1 answer

CalendarView gets white in Alert dialog

I am trying to implement a CalendarView in an AlertDialog. It works fine except for how the calendar turns completely white which leads to the numbers being barely readable and there are no lines between them. Does anybody have a clue why this is…
Luca Thiede
  • 3,229
  • 4
  • 21
  • 32
0
votes
1 answer

Android CalendarView: How to open a new activity with each date click?

How do I open a new activity when each date is clicked? I know there is an onSelectedDateChange method, but I don't know how to get it to open a new activity. What I really want it to do is to open a different activity for each day, but I can settle…
Toheeb
  • 23
  • 1
  • 5
0
votes
1 answer

How to store dates of CalendarView with SharedPreferences?

I'm making an app to set details for events on a Calendarview. The app uses 3 activities; main, create event, and show event. Once a date is selected in calendarview, setEventClick is used to open Create activity using the date as a key if no data…
ChrisPBacon
  • 177
  • 2
  • 15
0
votes
0 answers

Using CalendarView with ListView to display events in a calendar

This has been haunting me for ever. I'm making an app that basically functions as an agenda for students. Its backed by a database that holds assignments. So one of the activities in my app has a CalendarView at the top, and a ListView at the…
insomnius1
  • 11
  • 1
  • 5
0
votes
1 answer

CalendarView with Buttons or ScrollViewHorizontal

I am trying to use the object CalendarView in my XML file and appears good, but I have one problem. I want to create Two buttons to go forward and move backwards month by month. Another option is that I could create a ScrollViewHorizontal to show…
0
votes
1 answer

CalendarView into android fragment

Is there anyway I can retrive the date from a CalendarView and use just the date information(not the visual part) in another Activity ?
jPratas
  • 225
  • 1
  • 6
  • 17
0
votes
1 answer

get date from CalendarView to other activity

I need to take the date information from a CalendarView into another activity so that i can store the information in a database properly. The activity I need to use the date on is this: package com.example.calendar; import…
jPratas
  • 225
  • 1
  • 6
  • 17
0
votes
1 answer

Import google calendar by CalendarView

I wanted to know if it is possible to import the google calendar display on the application by CalendarView. Is there an example? Thanks
user3313188
  • 21
  • 1
  • 8