Difference between revisions of "CoursAndroid2"
From Fixme.ch
(→Content) |
(→Content) |
||
| Line 8: | Line 8: | ||
== Content == | == Content == | ||
* Recap of [[CoursAndroid1|course 1]] | * Recap of [[CoursAndroid1|course 1]] | ||
| − | * Create a simple application | + | * Create a simple application: |
** ASyncTask (easy threading) | ** ASyncTask (easy threading) | ||
| − | ** | + | *** Create a task with the basic implementation |
| + | *** Perform a task in the doInBackground() method | ||
| + | **** Get data from an URL using the URLConnection class | ||
| + | *** Update a view from the task onPostExecute() method | ||
| + | *** Publish progress to the UI using the onProgressUpdate() and publishProgress() methods | ||
** Broadcast Receiver (easy sharing) | ** Broadcast Receiver (easy sharing) | ||
*** Declare the receiver (in the AndroidManifest.xml) | *** Declare the receiver (in the AndroidManifest.xml) | ||
| − | *** | + | *** Implement onReceive (Context context, Intent intent) |
| + | *** Implement a share button | ||
| + | ** ContentProvider (easy data) | ||
== Project leader == | == Project leader == | ||
Revision as of 21:00, 13 March 2013
Description
- Second session of Android development class, focused on beginners.
- Date: 14.03.2013 at 19h (http://framadate.org/1a4nofz8kmpr6rz8)
- Event: FIXME
Content
- Recap of course 1
- Create a simple application:
- ASyncTask (easy threading)
- Create a task with the basic implementation
- Perform a task in the doInBackground() method
- Get data from an URL using the URLConnection class
- Update a view from the task onPostExecute() method
- Publish progress to the UI using the onProgressUpdate() and publishProgress() methods
- Broadcast Receiver (easy sharing)
- Declare the receiver (in the AndroidManifest.xml)
- Implement onReceive (Context context, Intent intent)
- Implement a share button
- ContentProvider (easy data)
- ASyncTask (easy threading)