Best way to add Activity to an Android project in Eclipse?
When adding an activity to an existing Android project, I manually create a new class – is that the best / preferred way? … Read more
When adding an activity to an existing Android project, I manually create a new class – is that the best / preferred way? … Read more
Is there a native android way to get a reference to the currently running Activity from a service? I have a service running … Read more
In my Android application, I have two activity classes. I have a button on the first one and I want to show the … Read more
How can I define the transition between two activities for Android 1.5 and later? I would like an activity to fade in. 14 … Read more
In developer console error reports sometimes I see reports with NPE issue. I do not understand what is wrong with my code. On … Read more
Whenever my broadcast is executed I want to show alert to foreground activity. 17 Answers 17
This one has me stumped. I need to call an activity method from within a custom layout class. The problem with this is … Read more
I’ve 2 activities, Activity1 and Activity2. In Activity1 I’ve a Button and TextView. When the button is clicked Activity2 is started. In Activity2 … Read more
I have a fragment (F1) with a public method like this public void asd() { if (getActivity() == null) { Log.d(“yes”,”it is null”); … Read more
I have an Activity with 3 EditTexts and a custom view which acts a specialised keyboard to add information into the EditTexts. Currently … Read more