Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

The target activity uses singleTop as launchMode. When it is launched from another application with the following code, it shows Fragment A, then user switches to fragment B. Then user switches to ...
Dev_Cob's user avatar
  • 71
1 vote
0 answers
90 views

In my project, I want to call a Baidu map API (a Chinese map API), I wrote MapApp.java for this program, initialized the SDK in this file, and also declared it as the entry point of the program in ...
Wei Zeng's user avatar
3 votes
0 answers
2k views

On my AndroidTV Emulator I have: val am = this.getSystemService(ACTIVITY_SERVICE) as ActivityManager am.runningAppProcesses?.forEach { Logger.debug("XXX", "Running ${it.uid} , ${it....
Mr.T's user avatar
  • 122
7 votes
1 answer
2k views

I am getting below exception in my firebase crashlytics console. Fatal Exception: java.lang.NullPointerException: Attempt to read from field 'int com.android.server.wm.Task.mTaskId' on a null object ...
Raj008's user avatar
  • 3,927
1 vote
1 answer
395 views

I would like to track how much time take my app to start, but I would like to track this specific info defined here: https://developer.android.com/topic/performance/vitals/launch-time In order to ...
Gilberto Ibarra's user avatar
2 votes
1 answer
4k views

I am developing a mobile application that runs in the background. It takes screenshots in the background on an interval, however after some time, ActivityManager would kill the process with the log, I/...
Andre Hadianto's user avatar
3 votes
3 answers
2k views

I have a launcher app which has a singleTask activity as the main entry point. When the user navigates away to another activity or to a 3rd party app and then hits the home button, then this activity ...
keybee's user avatar
  • 1,496
0 votes
0 answers
118 views

I have a React Native app running on Android and using some libraries that I have recently added. Now the app is constantly reopening itself after a couple of seconds whenever I close it without ...
nexus's user avatar
  • 180
12 votes
3 answers
23k views

Description I want to build todolist app.I want to store information using RoomDatabse. I build Database with room and get infomation than save to database. But when i click add button then i got ...
Rabbi hasan's user avatar
1 vote
2 answers
506 views

I'm trying to create an app ("ShowStack") to view the current App Back Stack (for development purposes). I know it can be done by using adb with the command "adb shell dumpsys activity activities". I ...
DontPanic's user avatar
  • 2,486
0 votes
0 answers
701 views

Android version: JellyBean (4.3) We recently hit the above mentioned error message Empty Process Limit hit thrown by the ActivityManager. A search on Google with this string didn't result in any ...
GeertVc's user avatar
  • 2,024
0 votes
0 answers
150 views

I want an application that is not in my phone to be checked for the name and to send the toast message accordingly. For example ; I have the Twitter app on my phone, but the ABC app is not on my phone....
matchs's user avatar
  • 31
0 votes
1 answer
418 views

I really want to find an adb command to start an app and emulate/fake some clicks in the app. When make an logcat and do with my android-remote what I want to emulate, I find many different lines ...
JustASec's user avatar
0 votes
1 answer
547 views

I'm searching where can I read this log. 03-29 02:47:31.249 774 795 I ActivityManager: Displayed com.android.email/.activity.setup.AccountSetupFinal: +120ms 03-29 02:47:34.014 774 1200 I ...
jinseong kim's user avatar
2 votes
1 answer
1k views

I'm trying to build a simple Telegram bot to start and stop an old Samsung device working as a security cam. All is good via ssh, so the commands involved have been already proved to be working. It's ...
dentex's user avatar
  • 3,263
6 votes
6 answers
27k views

I have an android application i need one function or any broadcast receiver that can check if the app is closed.. i don't need to call on destroy in every activity (there is about 20 activity into the ...
Amalo's user avatar
  • 772
1 vote
0 answers
368 views

I've tried to get all names of applications which the user opened in a session (session start with unlocking phone and ends with turning off the screen). As first I've tried to get the current app in ...
Dennis's user avatar
  • 77
1 vote
1 answer
7k views

I'm constantly trying new apps and my phone is getting cluttered with old apps, I no longer use. So, I thought I'd develop a simple app to help me out. There are similar apps, but none does exactly ...
Christian Rygg's user avatar