android Programming Glossary: applications
Sending and Receiving SMS and MMS in Android (pre Kit Kat Android 4.4) http://stackoverflow.com/questions/14452808/sending-and-receiving-sms-and-mms-in-android-pre-kit-kat-android-4-4 APNs in Android 4.2 What is the alternative for all those applications which use mobile data to perform operations like sending MMS..
Can we delete an SMS in Android before it reaches the inbox? http://stackoverflow.com/questions/1741628/can-we-delete-an-sms-in-android-before-it-reaches-the-inbox though generally this should be done with data SMS or for applications which otherwise improve the user experience by processing specially..
J2ME/Android/BlackBerry - driving directions, route between two locations http://stackoverflow.com/questions/2023669/j2me-android-blackberry-driving-directions-route-between-two-locations use the Service or Content with any products systems or applications for or in connection with a real time navigation or route guidance..
Quitting an application - is that frowned upon? http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon application model. This is also contrary to how core applications work. Hehe for every step I take in the Android world I run.. decides to kill the app. There are many iPhone and Android applications that deal with this. Usually it is because they hold onto logon.. generally don't need anything else for properly written applications any more than they need a quit option for using Web apps. No..
How to discover memory usage of my application in Android http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android killing needed processes like services. For pure Java applications this should be of little use since the Java heap limit is there..
How to get a list of installed android applications and pick one to run http://stackoverflow.com/questions/2695746/how-to-get-a-list-of-installed-android-applications-and-pick-one-to-run to get a list of installed android applications and pick one to run I asked a similar question to this earlier.. still not understanding how to get a list of all installed applications and then pick one to run. I've tried Intent intent new Intent.. know I can use PackageManager to get all the installed applications but how do I use this to run a specific application Thanks ..
Android: Is application running in background? http://stackoverflow.com/questions/3667022/android-is-application-running-in-background is running in background By background I mean none of the applications activities are currently visible to the user Any help will be.. As Dianne Hackborn wrote These APIs are not there for applications to base their UI flow on but to do things like show the user..
Singletons vs. Application Context in Android? http://stackoverflow.com/questions/3826905/singletons-vs-application-context-in-android singletons and having seen several examples of Android applications using singleton pattern I wonder if it's a good idea to use.. may arise when not properly synchronized in concurrent applications. I consider it an anti pattern it's a bad object oriented style..
Enable GPS programatically like Tasker http://stackoverflow.com/questions/4721449/enable-gps-programatically-like-tasker set rules to auto enable GPS on entering pre determined applications and disable it on exit see here for the tutorial on how to do..
How to ship an Android application with a database? http://stackoverflow.com/questions/513084/how-to-ship-an-android-application-with-a-database article titled Using your own SQLite database in Android applications . Basically you precreate your database put it in your assets..
How do I obtain crash-data from my Android application? http://stackoverflow.com/questions/601503/how-do-i-obtain-crash-data-from-my-android-application reports to a GoogleDoc form. It is targetted to android applications developers to help them get data from their applications when.. applications developers to help them get data from their applications when they crash or behave erroneously. It's easy to install..
Android: How to declare global variables? http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables the strong contract the Android API offers to developer applications is one of the most appealing and pleasing aspects of programming..
Android accelerometer accuracy (Inertial navigation) http://stackoverflow.com/questions/7829097/android-accelerometer-accuracy-inertial-navigation have no idea how these methods would perform in real life applications or how to turn them into a nice Android app. A similar question..
What mobile platform should I start learning? [closed] http://stackoverflow.com/questions/1092144/what-mobile-platform-should-i-start-learning applications iPhone Objective C or Java Developing iPhone Applications using Java through iPhone Market pay some fees 99 year The Incredible..
HTTP doesn't work in Android emulator http://stackoverflow.com/questions/11277734/http-doesnt-work-in-android-emulator for applications targeting the Honeycomb SDK or higher. Applications targeting earlier SDK versions are allowed to do networking..
Android Studio - SDK is out of date or is missing templates http://stackoverflow.com/questions/16575988/android-studio-sdk-is-out-of-date-or-is-missing-templates Users user AppData Local Anroid android studio sdk Mac Applications Android Studio.app sdk Make sure your android sdk path is correct..
Configuring Android Web Applications http://stackoverflow.com/questions/1951381/configuring-android-web-applications Android Web Applications iPhone web apps have four configuration features available..
Which programming languages can I use on Android Dalvik? http://stackoverflow.com/questions/1994703/which-programming-languages-can-i-use-on-android-dalvik efficient Visual effects and animations in your Android Applications. Its not released yet as it isn't finished. share improve..
Kiosk mode in Android http://stackoverflow.com/questions/2068084/kiosk-mode-in-android framework like longpress on Home to show currently active Applications I could also be mistaken though. But for a prototype that could..
How to use Broadcast Receiver in different Applications in Android? http://stackoverflow.com/questions/2749893/how-to-use-broadcast-receiver-in-different-applications-in-android to use Broadcast Receiver in different Applications in Android I have here two applications in two different projects..
android: how do i open another app from my app? http://stackoverflow.com/questions/2923265/android-how-do-i-open-another-app-from-my-app know its capabilities List of Available Intents for Google Applications List of Intents by 3rd parties @ OpenIntents share improve..
Login failed invalid key error with Facebook SDK http://stackoverflow.com/questions/4848067/login-failed-invalid-key-error-with-facebook-sdk are available in the Android Documentation Signing Applications . In order to provide Facebook with information about the signature..
How to send file using bluetooth on android programatically? http://stackoverflow.com/questions/4921384/how-to-send-file-using-bluetooth-on-android-programatically the current user confirmation state of the transfer. Applications can write to this to confirm the transfer. the USER_CONFIRMATION_.. the column containing the current status of the transfer. Applications can read this to follow the progress of each download. See the..
Create an Android Jar library for distribution http://stackoverflow.com/questions/5014128/create-an-android-jar-library-for-distribution a shared source project that can be pulled into Android Applications as needed. However that requires that source be available. I'm..
Flash video not displaying in WebView for Android 3.0.1 http://stackoverflow.com/questions/5383364/flash-video-not-displaying-in-webview-for-android-3-0-1 answer. Enjoy Step 1 Simply add this to the tag under your Applications Manifest XML android hardwareAccelerated true Step 2 Load up..
Android: failed to allocate memory http://stackoverflow.com/questions/5969067/android-failed-to-allocate-memory the ram on the device its around 128 MB. check 1 Settings Applications Running Services add all the numbers on the bottom of the screen..
Android http connection exception http://stackoverflow.com/questions/6976317/android-http-connection-exception for applications targeting the Honeycomb SDK or higher. Applications targeting earlier SDK versions are allowed to do networking..
Android and Symbian NFC mobile development questions and answers (FAQ) http://stackoverflow.com/questions/6992869/android-and-symbian-nfc-mobile-development-questions-and-answers-faq to operate with a secure element located inside an UICC. Applications can not access directly to any contents of secure elements ...
Android: How to declare global variables? http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables lifetimes. Thus I consider most criticism below related to Applications being killed at any time etc... moot as anything that ever needed..
How to start a Service when .apk is Installed for the first time http://stackoverflow.com/questions/8531926/how-to-start-a-service-when-apk-is-installed-for-the-first-time it works fine for detecting the Package for the other Applications but not for itself. xml version 1.0 encoding utf 8 manifest..
What is the use of the res/values/public.xml file on Android? http://stackoverflow.com/questions/9348614/what-is-the-use-of-the-res-values-public-xml-file-on-android final int string3 0x7f040001 Resource ID from public.xml Applications rarely have any use for res values public.xml since the resource.. of res values public.xml is the Android platform itself. Applications built against old versions of Android assumes that certain resource..
android: broadcast receiver for screen on and screen off http://stackoverflow.com/questions/9477922/android-broadcast-receiver-for-screen-on-and-screen-off app to be running in order to detect such a thing while Applications with Broadcast Receivers registered in the manifest don ™t have..
Sending and Receiving SMS and MMS in Android (pre Kit Kat Android 4.4) http://stackoverflow.com/questions/14452808/sending-and-receiving-sms-and-mms-in-android-pre-kit-kat-android-4-4 current null null null null Apparently you can't Read APNs in Android 4.2 What is the alternative for all those applications which use mobile data to perform operations like sending MMS and don't know the default APN setting present in the device..
Can we delete an SMS in Android before it reaches the inbox? http://stackoverflow.com/questions/1741628/can-we-delete-an-sms-in-android-before-it-reaches-the-inbox number verification services which are provisioned via SMS though generally this should be done with data SMS or for applications which otherwise improve the user experience by processing specially formatted messages in order to show them in a nice Android..
J2ME/Android/BlackBerry - driving directions, route between two locations http://stackoverflow.com/questions/2023669/j2me-android-blackberry-driving-directions-route-between-two-locations you must not nor may you permit anyone else to ... 10.9 use the Service or Content with any products systems or applications for or in connection with a real time navigation or route guidance including but not limited to turn by turn route guidance..
Quitting an application - is that frowned upon? http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon a quit or exit application button. It is useless with Android's application model. This is also contrary to how core applications work. Hehe for every step I take in the Android world I run into some sort of problem Apparently you cannot quit an application.. be doing that everytime they get a phonecall and Android decides to kill the app. There are many iPhone and Android applications that deal with this. Usually it is because they hold onto logon credentials rather than forcing users to log in every time.. via finish can close up your currently running activity. Users generally don't need anything else for properly written applications any more than they need a quit option for using Web apps. No two application environments are the same by definition. This..
How to discover memory usage of my application in Android http://stackoverflow.com/questions/2298208/how-to-discover-memory-usage-of-my-application-in-android no more memory for background processes thus needing to start killing needed processes like services. For pure Java applications this should be of little use since the Java heap limit is there in part to avoid one app from being able to stress the system..
How to get a list of installed android applications and pick one to run http://stackoverflow.com/questions/2695746/how-to-get-a-list-of-installed-android-applications-and-pick-one-to-run to get a list of installed android applications and pick one to run I asked a similar question to this earlier this week but I'm still not understanding how to get a list.. asked a similar question to this earlier this week but I'm still not understanding how to get a list of all installed applications and then pick one to run. I've tried Intent intent new Intent ACTION_MAIN intent.addCategory CATEGORY_LAUNCHER and this.. are preinstalled or can run the ACTION_MAIN Intent type. I also know I can use PackageManager to get all the installed applications but how do I use this to run a specific application Thanks android share improve this question Following is the code..
Android: Is application running in background? http://stackoverflow.com/questions/3667022/android-is-application-running-in-background Is there any way in android to know if your application is running in background By background I mean none of the applications activities are currently visible to the user Any help will be appreciated android background share improve this question.. I strongly recommend to refrain from using it. And here's why. As Dianne Hackborn wrote These APIs are not there for applications to base their UI flow on but to do things like show the user the running apps or a task manager or such. Yes there is a..
Singletons vs. Application Context in Android? http://stackoverflow.com/questions/3826905/singletons-vs-application-context-in-android Recalling this post enumerating several problems of using singletons and having seen several examples of Android applications using singleton pattern I wonder if it's a good idea to use Singletons instead of single instances shared through global.. imply global random access to shared state subtle bugs may arise when not properly synchronized in concurrent applications. I consider it an anti pattern it's a bad object oriented style often embraced by people coming from procedural languages..
Enable GPS programatically like Tasker http://stackoverflow.com/questions/4721449/enable-gps-programatically-like-tasker many other things that you can accomplish with it you can set rules to auto enable GPS on entering pre determined applications and disable it on exit see here for the tutorial on how to do it and it just works and this app can't be signed with the..
How to ship an Android application with a database? http://stackoverflow.com/questions/513084/how-to-ship-an-android-application-with-a-database I just found a way to do this in ReignDesign blog in an article titled Using your own SQLite database in Android applications . Basically you precreate your database put it in your assets directory in your apk and on first use copy to data data YOUR_PACKAGE..
How do I obtain crash-data from my Android application? http://stackoverflow.com/questions/601503/how-do-i-obtain-crash-data-from-my-android-application enabling Android Application to automatically post their crash reports to a GoogleDoc form. It is targetted to android applications developers to help them get data from their applications when they crash or behave erroneously. It's easy to install in.. crash reports to a GoogleDoc form. It is targetted to android applications developers to help them get data from their applications when they crash or behave erroneously. It's easy to install in your app highly configurable and don't require you to host..
Android: How to declare global variables? http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables easily modified and leads to many problems down the road. IMHO the strong contract the Android API offers to developer applications is one of the most appealing and pleasing aspects of programming with Android and helped lead to early developer adoption..
Android accelerometer accuracy (Inertial navigation) http://stackoverflow.com/questions/7829097/android-accelerometer-accuracy-inertial-navigation the Performance of Pedometers Using a Single Accelerometer I have no idea how these methods would perform in real life applications or how to turn them into a nice Android app. A similar question is this . UPDATE Apparently there is a newer version than..
What mobile platform should I start learning? [closed] http://stackoverflow.com/questions/1092144/what-mobile-platform-should-i-start-learning Android Java through Android Market fees or like normal applications iPhone Objective C or Java Developing iPhone Applications using Java through iPhone Market pay some fees 99 year The Incredible App Store Hype You need Mac Mac OS for development..
HTTP doesn't work in Android emulator http://stackoverflow.com/questions/11277734/http-doesnt-work-in-android-emulator a networking operation on its main thread. This is only thrown for applications targeting the Honeycomb SDK or higher. Applications targeting earlier SDK versions are allowed to do networking on their main event loop threads but it's heavily discouraged...
Android Studio - SDK is out of date or is missing templates http://stackoverflow.com/questions/16575988/android-studio-sdk-is-out-of-date-or-is-missing-templates saved with the Android Studio application directory. Windows Users user AppData Local Anroid android studio sdk Mac Applications Android Studio.app sdk Make sure your android sdk path is correct and the sdk tool version is 22 or later. first time do..
Configuring Android Web Applications http://stackoverflow.com/questions/1951381/configuring-android-web-applications Android Web Applications iPhone web apps have four configuration features available not including the HTML5 application cache to configure how web..
Which programming languages can I use on Android Dalvik? http://stackoverflow.com/questions/1994703/which-programming-languages-can-i-use-on-android-dalvik
Kiosk mode in Android http://stackoverflow.com/questions/2068084/kiosk-mode-in-android some instances that you can't handle without modifying the framework like longpress on Home to show currently active Applications I could also be mistaken though. But for a prototype that could be sufficient. Have fun tinkering 1 intent filter action..
How to use Broadcast Receiver in different Applications in Android? http://stackoverflow.com/questions/2749893/how-to-use-broadcast-receiver-in-different-applications-in-android to use Broadcast Receiver in different Applications in Android I have here two applications in two different projects in eclipse. One application A defines an activity A1..
android: how do i open another app from my app? http://stackoverflow.com/questions/2923265/android-how-do-i-open-another-app-from-my-app
Login failed invalid key error with Facebook SDK http://stackoverflow.com/questions/4848067/login-failed-invalid-key-error-with-facebook-sdk the device using a debug keystore. Details about the Debug keystore are available in the Android Documentation Signing Applications . In order to provide Facebook with information about the signature you need to run the command Jay provides above repeated..
How to send file using bluetooth on android programatically? http://stackoverflow.com/questions/4921384/how-to-send-file-using-bluetooth-on-android-programatically String VISIBILITY visibility The name of the column containing the current user confirmation state of the transfer. Applications can write to this to confirm the transfer. the USER_CONFIRMATION_ constants for a list of legal values. public static final.. static final String USER_CONFIRMATION confirm The name of the column containing the current status of the transfer. Applications can read this to follow the progress of each download. See the STATUS_ constants for a list of legal values. public static..
Create an Android Jar library for distribution http://stackoverflow.com/questions/5014128/create-an-android-jar-library-for-distribution I know of Android Library projects which allow you to create a shared source project that can be pulled into Android Applications as needed. However that requires that source be available. I'm looking for a way to build and distribute a closed source..
Flash video not displaying in WebView for Android 3.0.1 http://stackoverflow.com/questions/5383364/flash-video-not-displaying-in-webview-for-android-3-0-1 tablet with PluginState ON. Read my question and then the answer. Enjoy Step 1 Simply add this to the tag under your Applications Manifest XML android hardwareAccelerated true Step 2 Load up your app and enjoy your Flash enabled WebView Good luck share..
Android: failed to allocate memory http://stackoverflow.com/questions/5969067/android-failed-to-allocate-memory ram size' 2048 MB will pass however if you actually check the ram on the device its around 128 MB. check 1 Settings Applications Running Services add all the numbers on the bottom of the screen check 2 run the following command in adb shell cat proc..
Android http connection exception http://stackoverflow.com/questions/6976317/android-http-connection-exception a networking operation on its main thread. This is only thrown for applications targeting the Honeycomb SDK or higher. Applications targeting earlier SDK versions are allowed to do networking on their main event loop threads but it's heavily discouraged...
Android and Symbian NFC mobile development questions and answers (FAQ) http://stackoverflow.com/questions/6992869/android-and-symbian-nfc-mobile-development-questions-and-answers-faq keys are not public. Nexus S does support SWP and allows to operate with a secure element located inside an UICC. Applications can not access directly to any contents of secure elements . On one hand the embedded SE is unaccessible because we do not..
Android: How to declare global variables? http://stackoverflow.com/questions/708012/android-how-to-declare-global-variables that is meant to be persisted across application lifetimes. Thus I consider most criticism below related to Applications being killed at any time etc... moot as anything that ever needed to be persisted to disk should not be stored through an..
How to start a Service when .apk is Installed for the first time http://stackoverflow.com/questions/8531926/how-to-start-a-service-when-apk-is-installed-for-the-first-time UPDATE I also tried using android.intent.action.PACKAGE_ADDED it works fine for detecting the Package for the other Applications but not for itself. xml version 1.0 encoding utf 8 manifest xmlns android http schemas.android.com apk res android package..
What is the use of the res/values/public.xml file on Android? http://stackoverflow.com/questions/9348614/what-is-the-use-of-the-res-values-public-xml-file-on-android public static final int string2 0x7f040002 public static final int string3 0x7f040001 Resource ID from public.xml Applications rarely have any use for res values public.xml since the resource IDs assigned to resources does not matter. When they change.. by resource ID will be updated. The most significant user of res values public.xml is the Android platform itself. Applications built against old versions of Android assumes that certain resource have a certain resource ID. For example the Android..
android: broadcast receiver for screen on and screen off http://stackoverflow.com/questions/9477922/android-broadcast-receiver-for-screen-on-and-screen-off I don't like the programmable method is that it requires the app to be running in order to detect such a thing while Applications with Broadcast Receivers registered in the manifest don ™t have to be running when the Intent is broadcast for the receivers..
|