<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
Working with AsyncTasks on Android | |
from category Android | |
Introduction | |
Developing Android applications is a lot of fun because it offers a lot of possibilities to implement one's own ideas. Frequently i have to use AsyncTasks to do heavy work aside the ui thread. In the following i give a quick overview on AsyncTasks and provide some code snippets that might be useful for everyday development with Android regarding the use of AsyncTasks. | |
Lifecycle | |
An AsyncTask in Android is used to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers (more information). The structure follows call onPreExecute() for preparation, doInBackground() for doing the main task and return its result finally to the onPostExecute() method. Optional you can implement the onProgressUpdate() method e.g. to show a progressbar. | |
The following example can be used as template for an AsyncTask. | |
private class MyTask extends AsyncTask<Object, Void, Object> { |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
namespace EDI.Import | |
{ | |
public class CSVRecord | |
{ |
C# Regular Expressions Cheat Sheet | |
Cheat sheet for C# regular expressions metacharacters, operators, quantifiers etc | |
Character | |
Description | |
\ |
Make sure the individual PNG images have transparency | |
http://watermark.algid.net/en/create-transparent-png.php | |
Pack the images into a sprite png, and get the CSS | |
http://cly.jsser.com/sprites/ | |
Make buttons | |
http://dabuttonfactory.com/ | |
http://cooltext.com/ |