Android Question how call system caledar

Roberto P.

Well-Known Member
Licensed User
Longtime User
you can call the tablet's calendar to view appointments connected? such as
thank you
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
thank you, but I can not find the function that displays the calendar !?
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
perhaps I have not explained well, I mean the calendar of Android, see image.
thank you
 
Upvote 0

fanfalveto

Active Member
Licensed User
Longtime User
i see this in other post and works fine
B4X:
Sub Button1_Click
    Try
Dim i As Intent
  i.Initialize("android.intent.action.VIEW", "content://com.android.calendar/time/" &DateTime.DateParse(mes.Text&"/"&dia.Text&"/"&ano.Text))
  i.AddCategory("android.intent.category.DEFAULT")'add cat launcher
'  i.PutExtra("id", phid)
StartActivity(i)'start the activity
Catch
Log("Error Caught: " & LastException)
End Try
End Sub
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
fantastic just what I was looking for.
thank you very much

where can I find a list of all the features of intent? For example: content: //com.android ??????
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…