Questions tagged [android-background]
370 questions
-1
votes
1 answer
Is android-asynct-http library coupled with UI thread?
I want to use this awesome library for my server request in my application to do some work on map. My need is I want to make server request for every 2 minutes without block user interaction on the screen while server requesting process happening…

M.A.Murali
- 9,988
- 36
- 105
- 182
-1
votes
2 answers
How to upload data into sever and download data from sever via background service in android?
I am new on android platform. I want upload data(image) and download data(image) via background service and also if i want cancel upload or download then easily it is possible.
Please help me. How it is do.
I have no idea about this.
I want help by…

kablu
- 629
- 1
- 7
- 26
-2
votes
1 answer
How to avoid ANR From an app when it is not in the foreground?
I am trying to find a solution for Application Not Responding (ANR) error when my app is in background. I want any ANR not to occur when my app is not in foreground.
How this can be achieved?
Thanks in advance.

NS.
- 98
- 1
- 13
-2
votes
1 answer
Android how to set color of a view to that of another view programmatically at runtime?
In my app you can change the theme from Light to Dark and vice versa. What this is doing setting the theme to either Theme.AppCompat.Light.DarkActionBar or Theme.AppCompat and finishing and starting the activity for the layout to load again.
I want…

nicoqueijo
- 872
- 2
- 11
- 28
-2
votes
1 answer
how to create application that always run in the background?
I want to create an application that listen to sms and always run in the background.
The service must start when the user turn his android on - and always in action until the android device is down.
I know only how to create application with GUI (…

Yanshof
- 9,659
- 21
- 95
- 195
-2
votes
1 answer
How to take screenshot before my activity launch
I am creating an android app in which I want to take screenshot of my device when i click on myapp icon and when myapp launch set the screenshot as background of myactivity, I searched alot but cant find any solution anyone please tell me how i can…
-2
votes
1 answer
Can not set background for RelativeLayout?
In my layout file:

user3558808
- 1
- 1
-3
votes
1 answer
What are the different size of images needed for application background ? (except icon bar)
I want to add image as a background to application (- Action bar).
What are the 5 sizes of Image I will have to produce to give to developer.
Here is background Image that I need. enter image description here

user3271415
- 1
- 3
-4
votes
2 answers
Android json parsing in background without affecting activity performance
I have to parse Json data and save it into a Sqlite database, I want to do it in the background so that it will not affect the activity performance.
My data and UI are not connected.
After parsing and saving the data into the Sqlite process should…

Arun kumar
- 1,894
- 3
- 22
- 28
-5
votes
2 answers
Service Ended When I Kill App
I have Developed App for detect outgoing and Incoming Call. I wrote Service For Background Call detection. It worked well for API 23 but it works for more than that it wasn't. Assist me to clear this Bug Please
Manifest File

kirubha sankar
- 150
- 1
- 12