Android Question Webview - WebView_PageFinished

tdocs2

Well-Known Member
Licensed User
Longtime User
Greetings, all, and thank you for your help in advance.

How do I retrieve or capture the day clicked in Google Calendar from the URL?

I call the Google Calendar using this code (posted by me elsewhere in the forum:

B4X:
Sub CalendarShow (SelectedDate As Long)

    'Load Google Calendar - with SelectedDate
    Dim CalStr1 As String
    DateTime.DateFormat="yyyyMMdd"
    CalStr1="/render?date="&DateTime.Date(SelectedDate)
    Log("CalStr1 "&CalStr1)
    WebViewGCalendar.LoadUrl("http://www.google.com/calendar"&CalStr1)

End Sub

These are the URL's generated for each of these dates:

B4X:
For 2015-05-20 (today)
Page Fin Url https://www.google.com/calendar/render?date=20150520&pli=1#main_7

For 2015-05-27
Page Fin Url https://www.google.com/calendar/render?date=20150520&pli=1#main_7%7Cday-1+23227+23227+23227

For 2015-06-01
Page Fin Url https://www.google.com/calendar/render?date=20150520&pli=1#main_7%7Cday-1+23233+23233+23233

For 2015-04-27
Page Fin Url https://www.google.com/calendar/render?date=20150520&pli=1#main_7%7Cday-1+23195+23195+23195

I cannot reverse engineer the string following the Cday parameter in the URL.

I have searched the web for an answer to no avail.

Thank you.

Sandy
 

tdocs2

Well-Known Member
Licensed User
Longtime User
Thank you, Luca.

I had posted the problem here, in Stack Exchange and in two additional forums dealing with the Google Calendar - No or meaningless answers.

:):):)

Real sharp.

Sandy
 
Upvote 0
Top