Questions about creating or managing Activities in Android.
I'm trying to save and restore the state of an Activity using the methods onSaveInstanceState() and onRestoreInstanceState(). The problem is …
android android-activity statesWhen adding an activity to an existing Android project, I manually create a new class - is that the best / …
android eclipse ide android-activityWhen supporting different screen sizes (densities) in Android often the focus is on creating different layouts for every possible screen. …
android android-layout android-activity android-screen-supportI need to be able to use one object in multiple activities within my app, and it needs to be …
android object android-activityI have a fragment (F1) with a public method like this public void asd() { if (getActivity() == null) { Log.d("yes","…
android android-fragments android-activity null android-contextI'm trying to show a Toast Message when user click on a Button inside a Fragment. The problem is I …
android android-fragments android-activity toastI have 2 activities (A and B) in my android application and I use an intent to get from activity A …
android android-intent android-activity parentI'm writing my first Android application and trying to get my head around communication between services and activities. I have …
android android-activity android-serviceI know that this Question is repeated but I can't find the answer in Internet. I want to call a …
java android class android-activity callIn developer console error reports sometimes I see reports with NPE issue. I do not understand what is wrong with …
android android-fragments android-activity android-asynctask nullpointerexception