Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
3rd party is running battery test on my android app.
They say that "Exceeds idle mode current when there is no services running with no data connectivity" for the test
test : Idle screen power after quiting the application
Current consumed (mA) :108.93
Battery Life time (hrs) : 11.11
Can anyone help me what I am doing wrong?
I was doing lot of database inserts into sqlite. But it was one time thing at the time of first run.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I have a problem in my Android app. I have a service for geolocalization and I need to save the position on my DB.
When the app is running in the foreground I can to save the position, but when the app is running in the background the information isn't saved.
I used Firebase with Android.
Thanks.
With Android 10 for accessing location in background you need special permisson, or you can do it with a foreground service.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have dynamically created a qml page.
I used a JS file to create it.
Then I have tried to destroy the created object.
But I have observed that the amount of memory always increases instead of decreasing after the destroy call.
First of all, Qt doesn't guarantee that Item will be removed instantly. You should expect real deletion later.
How did you observe it? Did you look at virtual memory or physical memory? Do you understand this? And can you provide example?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have application which have timers and if the timers are stopped the application will wont work I need to keep the application on all time even when the app is turn off (I know doesn't makes sense) and also to save the files if the phone is switched down.
I need to keep the application on all time even when the app is turn off
You can you Service. Its for the same purpose.
Save the files if the phone is switched down
You can receive an intent ACTION_SHUTDOWN in the broadcast receiver, when phone is about to switch off. Then you can do whatever you want to do there. See Is there any way to receive a notification when the user powers off the device? for details.
Hope this helps.
I suggest that you investigate Services.
A service can run in the background continuously.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there somekind of log (like an OS event log or something) that could maybe give me an idea as to why an application crashes on start?
The specifics (irrlevant to the question itself):
I have recently purchased a copy of Final Fantasy Dimensions for my Android phone (Motorla XT615 with Android 2.3.7) and everytime I click on it I get a flicker (black-screen) and then it goes back to the home screen.
Does anyone have any suggestions or am I way off base with this one?
Thanks,
There are apps a user can download from Google Play that can grab log files to be sent to a developer. For example: Log Collector and CatLog.
Note: With Jelly Bean and later, root access is required for an app to access the logs of another app, so the log-grabbing apps listed above may not be useful for the average Android user.
If you have Android development tools available, see How to get Android crash logs?
You could read the log using apps such as CatLog or Log Collector, but it probably isn't going to help you find the FC issue, unless you actually had the code for it right in front of you, which you wouldn't have unless you were a dev of the game. But, anyways, good luck!
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
We've been testing the idea of running a tablet (or anything) as a display for long periods of time, and things are MOSTLY ok, but every couple days it seems like the tablet just crashes. No power issues, I assume no memory issues. When I look at it, its obviously powered up, but the screen in blank, and clicking power to wake it up does nothing. Must long-press the power button to get a hard reboot (no confirm dialog).
Totally confused by what's happening. Not SURPRISED so much. I actually would've been a little surprised if this was all trouble free.
However, wondering where I should look for info. Even if we can't get this to work out, I'd like to send some sort of error report. I looked in /data/dontpanic, but it was empty. Any other places for system crash logs?
Never figured out root cause. Seems like a strange hardware issue. Is there a way to remove questions?