Interface to global information about an application environment
Starting with a recent new version of ADT, I've noticed this new attribute on the layout XML files, for example: &…
android xml android-layout android-context android-tools-namespaceI am trying to use getResources method in a non-activity class. How do I get the reference to the "resources" …
android android-contextI've found the R.string pretty awesome for keeping hardcoded strings out of my code, and I'd like to keep …
java android string android-resources android-contextI 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 need to get a Drawable object to display on an image button. Is there a way to use the …
android resources drawable android-contextWhat does need to be imported or how can I call the Layout inflater in places other than activity? public …
android service android-context toast layout-inflaterIn an android Application, is there any way to get the context in android in a non-activity class if the …
android android-contextIs there any way to dynamically view the application specific cache in Android? I'm saving images to the cache (/data/…
android image caching android-contextThis has me stumped, I was using this in Android 2.1-r8 SDK: ProgressDialog.show(getApplicationContext(), ....); and also in Toast t = …
android android-contextA simple question, relating to the default 'home' directory when an app writes to the internal memory. By default, any …
android android-context home-directory