Retrieving and parsing iCal data over HTTP on Android -


I am making an application that asks the user for the user, to regain the user's daily schedule Utidad adds a static HTTP link to the information file in which one. (Calendar) extension.

I need to read data from data, format in new UI and represent some useful data on Android device.

Can my query use a static HTTP link behind the curtain? And when I use the same link on the desktop browser, it tells the user to save the file & mdash; How can I do this on mobile? Do I need to read the data and save it from somewhere or can I save the .ic file and read it?

Android devices generally can not control iCalendar-formatted files (.ics) & mdash; There is no way to open such a file and display information.

Depending on your questions and comments, you need to break it in some parts:

You must write some code (or use a library like that) in the calendar file to parse.

P>
  1. UI
    • String UserID = (Get the user ID entered in findById (R.id.user_id) (edit text) GetText.toString ( );
    • Generate a unique calendar url
      • Fixed final string CALENDAR_BASE = "http://example.com/cal/";
        Yusder id = URLNcoder.xcode (UserID, "UTF-8");
        string URL = CAL ANDARAASA + EscapUserID + "/ Events";
      • < Li> Display the calendar data for the user
        • Read the file from the disk that you saved directly from the web
        • Parse data with ICal4j and display some UI formats you like

If you are unsure or require some more specific information, then you can search for stack overflow or more about any personal portion. Wish Specific question can post :)


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -