android-application-class Questions
2
In the library module's manifest, I need to use an Application class. Is it possible to do this in Android?
Manifest:
<application
android:name="com.compnay.app.App"
android:allowBackup="tr...
Saidel asked 7/6, 2020 at 17:20
0
In my Android-O device, below two background services communicating each other though AIDL.
Native/c++ android service
Starts through init rc
Runs with system linux-user
Deployed in /system par...
Aylmar asked 25/3, 2019 at 10:10
13
Solved
An extended Application class can declare global variables. Are there other reasons?
Algebra asked 1/8, 2013 at 18:53
1
Solved
I'm pretty new to Espresso, but I am trying to test a relatively simple Activity. My android app has its own custom Application class. How can I tell Espresso to use a mocked (or custom) version of...
Jointless asked 7/8, 2018 at 20:33
1
I'm studying google's architecture components to implement ViewModel and LiveData to my app, and the official documentation says that:
Note: Since the ViewModel outlives specific activity and fr...
Marymarya asked 19/9, 2017 at 12:24
5
In Developer Console I see a lot of crashes with stacktrace like this
java.lang.RuntimeException:
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2984)
at android.app.Ac...
Greenlee asked 30/6, 2017 at 7:18
1
(This is not a duplicate of other similar questions, as this only happens on a small percentage of users, and can't be recreated by me)
In my latest production release, I suddenly see a huge peak ...
Biotic asked 1/8, 2017 at 7:17
2
Solved
I want to extend the Android application and I want to override onCreate method.
But for some reason it's been very terrible...Only if I remove [Application] am I able to run it but according to th...
Recitative asked 18/5, 2017 at 22:13
1
Solved
I have created ContentProvider which creates one Database on application launching.
Now In that application, I am doing process of deleting database when user logout from app.
After that when I c...
Soho asked 15/2, 2017 at 12:47
1
© 2022 - 2024 — McMap. All rights reserved.