Skip to content
IT Nursery
  • Home
  • Programming
    • PHP
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress

android-activity

Best way to add Activity to an Android project in Eclipse?

by IT Nursery

When adding an activity to an existing Android project, I manually create a new class – is that the best / preferred way? … Read more

Tags android, android-activity, eclipse, ide

Android: How can I get the current foreground activity (from a service)?

by IT Nursery

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

Tags android, android-activity, service

Using Intent in an Android application to show another activity

by IT Nursery

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

Tags android, android-activity, android-intent

Activity transition in Android

by IT Nursery

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

Tags android, android-activity, transition

Android. Fragment getActivity() sometimes returns null

by IT Nursery

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

Tags android, android-activity, android-asynctask, android-fragments, nullpointerexception

How to get current foreground activity context in android?

by IT Nursery

Whenever my broadcast is executed I want to show alert to foreground activity. 17 Answers 17

Tags android, android-activity

Getting activity from context in android

by IT Nursery

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

Tags android, android-activity, android-layout, hierarchy, view

How to pass data from 2nd activity to 1st activity when pressed back? – android

by IT Nursery

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

Tags android, android-activity, parent-child, pass-data

getActivity() returns null in Fragment function

by IT Nursery

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

Tags android, android-activity, android-context, android-fragments, null

How to get hosting Activity from a view?

by IT Nursery

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

Tags android, android-activity, android-edittext, android-view
Post navigation
Older posts
Page1 Page2 … Page6 Next →

Important Tag

.net admin ajax android arrays bash c categories comments CSS custom-field custom-post-types custom-taxonomy customization database filters functions git hooks HTML images ios java javascript jQuery menus multisite MySQL node.js permalinks php plugin-development plugins posts python Shortcode sql string theme-development themes uploads users woocommerce-offtopic wp-admin wp-query

Recent Posts

  • INSTALL_FAILED_DUPLICATE_PERMISSION… C2D_MESSAGE
  • How to sort by meta value?
  • WPF text Wrap vs WrapWithOverflow
  • How to retrieve the list of all posts ever published via the feed?
  • how to use javascript Object.defineProperty

android c categories CSS custom-post-types custom-taxonomy customization database functions git HTML images java javascript jQuery multisite MySQL php plugin-development plugins posts python string theme-development wp-query

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Content from: Stack Exchange

Important Link

  • About
  • Privacy Policy

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery