Questions tagged as 'asynctask'

1
answer

Android - AsyncTask and ProgressDialog

Hello, guys. I'm starting in the Mobile area recently and I'm having some issues with the user experience issue in my App. In my App, it gets a JSON from the server through a AsyncTask . Below is a well-honed class, but it basically doe...
asked by 01.06.2016 / 05:05
1
answer

Android - ListView with image via url, how to add one?

I've done a lot of research on adding an image to an android listview item, I'm doing everything via JSON and AsyncTask but I'm having trouble adding that image, someone has an example or a tutorial link that is simple to implement ?     
asked by 30.04.2015 / 13:43
1
answer

How to generate thumbnails of a bitmap using AsyncTask?

I have a FragmentActivity that has a listView, in each item there is a button to open a Dialog, in this Dialog another listView is executed with an adapter that has a TextView and an ImageView, the list comes from a directory of photos, wanted p...
asked by 30.04.2015 / 14:39
1
answer

AsyncTask and Adapter for conflicting ListView

I'm creating a chat app using socket and after developing the entire layout I decided to get into the connection part ... the problem is that when I get messages the app closes and it shows some errors ... I went through the debug and it tells m...
asked by 17.11.2018 / 13:43
0
answers

Execute an action in Callback within an AsyncTask

I have an application where I need to connect to two (or more) bluetooh devices. For this I thought of a service. But I believe I will not be able to instantiate the same service more than once. Another solution was to create an AsyncTask....
asked by 06.11.2018 / 19:12
0
answers

How to pass multiple webview in an AsyncTask

I need to pass several webview, to AsyncTask and they need to run in the same woe, but I'm not getting a return, I do not know how. My application has several AnyChart (Graphics) in the same layout and always returns error of Skip frame or says...
asked by 02.11.2018 / 22:28
0
answers

How to use AsyncTask with AnyChart

I'm trying to make a dashboard by using the AnyChart api to create the graphics, however this error is appearing    Skipped 59 frames! The application may be doing a lot of work on its main thread. I saw in the GOOGLE documentation...
asked by 01.11.2018 / 21:39
0
answers

How to add Circle on the map using an ASyncTask?

I have an ASyncTask that receives a GoogleMap object, my goal is to get it to take certain data from the server and create a circle at the point defined in onPost () but it does not add the circle and does not give any error. p> By using the v...
asked by 05.10.2018 / 10:39
1
answer

Recycler view with async task [duplicate]

I have my activity class public class Convenio_Conselho_Listar_TL extends AppCompatActivity { public List<Convenio_Conselho_Grid_BD> oConvenios; RecyclerView mRecyclerView; private LineAdapter mAdapter; public void setoConvenios(Lis...
asked by 07.05.2018 / 17:01
0
answers

Simpleadapter (JSON with sub items)

I'm new to Android development, and I'm trying to days to make my first app work but with no success. I am using AsyncTask to do the request and the SimpleAdapter, it up behind the data however my JSON has sub items. It's a JSON of comments wher...
asked by 26.04.2018 / 15:56