Android Question Google Calendar URL - Resolved

tdocs2

Well-Known Member
Licensed User
Longtime User
Greetings, all.

For resolution, please see this thread.

Thank you in advance for your help.

To start the Google Calendar in Chrome:

B4X:
Try
Private Browser As Intent
Browser.Initialize(Browser.ACTION_VIEW, "http://www.google.com/calendar")
Browser.SetComponent("com.android.chrome/com.google.android.apps.chrome.Main")
StartActivity(Browser)

Catch
      ToastMessageShow("Error starting Chrome.  Have you downloaded Chrome from Google Play?", True)
      Log(LastException)
End Try

This code (with minor exceptions) is posted elsewhere in the forum.

How do I show the Calendar in Chrome for a specific date?

For example, the URL for 2015-05-03 is:

B4X:
https://www.google.com/calendar/render#main_7%7Cday-1+23203+23203+23203

What is the basis for 23203? It is not a sequential number, by the way. It is sequential within a month, but not the last day of one month to another. (Cday-1 indicates a Day View.)

Best wishes.

Sandy
 
Last edited:
Top