Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15787] Android: Provide access to Async Task API

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.2.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterAlan Leard
AssigneeUnknown
Created2013-11-21T23:55:57.000+0000
Updated2020-01-08T14:53:50.000+0000

Description

Issue

Simple async tasks currently must be done the UI thread when there is AsyncTasks available specifically for background async tasks on Android.

Solution

Provide access to the AsyncTask API via the Titanium SDK or a module.

Reference

http://developer.android.com/reference/android/os/AsyncTask.html

Comments

  1. Alan Leard 2014-02-28

    Large amounts of data are being downloaded (off main thread) and then parsed & processed (on main thread) which is causing unacceptable UI interruption.

JSON Source