android Programming Glossary: personally
Debuging using Virtual machine like VMWare/VirtualBox? http://stackoverflow.com/questions/10648009/debuging-using-virtual-machine-like-vmware-virtualbox path so you can access it using the terminal wherever. I personally use this in ~ .bash_profile #add Android platform tools directory..
How do you to check if a user has rated your app on the android market? http://stackoverflow.com/questions/11284549/how-do-you-to-check-if-a-user-has-rated-your-app-on-the-android-market Google starts revealing this data. However this is what I personally do in my apps Let the user use the app 5 times to get a good..
Force overflow menu in ActionBarSherlock http://stackoverflow.com/questions/13179620/force-overflow-menu-in-actionbarsherlock history here http actionbarsherlock.com download.html I personally still use the ABS version 4.1.0 since I do not currently want..
How to use my own sqlite database? http://stackoverflow.com/questions/2387421/how-to-use-my-own-sqlite-database Insert your own logic here on whether to upgrade the db I personally just store the db version # in a text file but you can do whatever..
Approach for fixing NoClassDefFoundError? [duplicate] http://stackoverflow.com/questions/2456562/approach-for-fixing-noclassdeffounderror get packaged as part of the APK. Note though that I do not personally use Eclipse and so my experience with it is limited. share..
Embedding ads on Android app? http://stackoverflow.com/questions/2471417/embedding-ads-on-android-app application mopub share improve this question I have personally used both Admob and Adsense . I was wary when I first implemented..
Android - Switch Tabs from within an Activity within a tab http://stackoverflow.com/questions/2541802/android-switch-tabs-from-within-an-activity-within-a-tab using an Activity based TabHost . I know now that I would personally go with a view based TabHost if I ever used them again. share..
What is the Android UiThread (UI thread) http://stackoverflow.com/questions/3652560/what-is-the-android-uithread-ui-thread worker threads and updating the UI from them click here I personally only use the RunOnUiThread method in my Instrumentation Tests...
Android - how to intercept a form POST in android WebViewClient on API level 4 http://stackoverflow.com/questions/3664440/android-how-to-intercept-a-form-post-in-android-webviewclient-on-api-level-4 p android issues detail id 9122 for details. Use GET I personally tried using POST because I expected some limitation of GET parameters..
How to enable/disable bluetooth programmatically in android http://stackoverflow.com/questions/3806536/how-to-enable-disable-bluetooth-programmatically-in-android using a backport of the Bluetooth API have not tried it personally http code.google.com p backport android bluetooth share improve..
How exactly does the android:onClick XML attribute differ from setOnClickListener? http://stackoverflow.com/questions/4153517/how-exactly-does-the-androidonclick-xml-attribute-differ-from-setonclicklistene The latter often requires an anonymous class which personally I don't like personal taste or defining an internal class that..
Open XML file from res/xml in Android http://stackoverflow.com/questions/4329308/open-xml-file-from-res-xml-in-android TheTagYouWant Keep in mind I haven't done this personally I'm assuming the code provided by IBM works. share improve..
Database handling stoped working on Android 2.2.1 (Desire HD 1.72.405.3) http://stackoverflow.com/questions/4651797/database-handling-stoped-working-on-android-2-2-1-desire-hd-1-72-405-3 on Desire HD. I haven ™t had the chance to debug on it personally to try out exactly what ™s causing the problem. One thought that..
Android: AsyncTask recommendations: private class or public class? http://stackoverflow.com/questions/4823891/android-asynctask-recommendations-private-class-or-public-class 2 different approaches during the last months one that i personally prefere and the other that the other developer prefers . Although..
Which design patterns are used on Android? http://stackoverflow.com/questions/4916209/which-design-patterns-are-used-on-android model and unit test for your presenters. Try it out I personally find it a great fit for android development. share improve..
I'm looking for fancy charts library for Android http://stackoverflow.com/questions/5156740/im-looking-for-fancy-charts-library-for-android watermarking. It's your best bet right now. The one I'm personally holding out for is TeeChart . My company has great experience..
AsyncTask.executeOnExecutor() before API Level 11 http://stackoverflow.com/questions/7211684/asynctask-executeonexecutor-before-api-level-11 single thread is allocated to run a list of intense tasks. personally I think this is a sort of halfway solution. Yes the intense..
ViewPager and fragments ??what's the right way to store fragment's state? http://stackoverflow.com/questions/7951730/viewpager-and-fragments-whats-the-right-way-to-store-fragments-state because the fragment is added by the adapter and not you personally. Just make sure that the offscreenPageLimit is high enough to..
Android “iPod wheel” seekbar http://stackoverflow.com/questions/8843882/android-ipod-wheel-seekbar be able to find the resources to make it here. I would personally look for tutorials on how to change the progressbar and follow..
How would one implement a NumberPicker in Android API 7? http://stackoverflow.com/questions/9205060/how-would-one-implement-a-numberpicker-in-android-api-7 that Android apps should look like IOS apps and I personally hate Android apps that are badly ported so they are a clone..
How can I securely (indirectly) query a postgresql database within android? http://stackoverflow.com/questions/10881538/how-can-i-securely-indirectly-query-a-postgresql-database-within-android server via JDBC in Android Implementation options Personally I'd use a Java application server like Apache Tomcat or JBoss..
SlidingDrawer deprecated http://stackoverflow.com/questions/13478993/slidingdrawer-deprecated project to be sure that it will be supported in the future Personally I would dump SlidingDrawer and do something else for all new..
J2ME VS Android VS iPhone VS Symbian VS Windows CE [closed] http://stackoverflow.com/questions/1414288/j2me-vs-android-vs-iphone-vs-symbian-vs-windows-ce to test the programs is there any IDE debugging facilities Personally I would like to code for open source but any suggestions are..
How to draw RTL text (Arabic) onto a Bitmap and have it ordered properly? http://stackoverflow.com/questions/1417503/how-to-draw-rtl-text-arabic-onto-a-bitmap-and-have-it-ordered-properly even handle digits in RTL 'Ø· 180' is displayed 'Ø· 081'. Personally I don't trust Android's current BiDi and would write my own..
GridView row height http://stackoverflow.com/questions/2375962/gridview-row-height some specific height and the rows will all be that height. Personally I think you should be resizing your images if you are going..
Changing the Android emulator locale automatically http://stackoverflow.com/questions/2417427/changing-the-android-emulator-locale-automatically android emulator qemu share improve this question Personally I think the simplest way is to start the emulator probably a..
Android - Declarative vs Programmatic UI http://stackoverflow.com/questions/2560950/android-declarative-vs-programmatic-ui whether I have benchmarked the inflater I have to say no. Personally I find the idea of benchmarking the layout inflater in Android..
Why can't HTC Droid running OTA 2.1 communicate with RFCOMM? http://stackoverflow.com/questions/2853790/why-cant-htc-droid-running-ota-2-1-communicate-with-rfcomm droid no data is ever present in the inputstream buffer. Personally I'm feeling pretty sure it's a bug or limitation in this release..
Android programmatically include layout (i.e. without XML) http://stackoverflow.com/questions/3195668/android-programmatically-include-layout-i-e-without-xml java android include share improve this question Personally I'd probably write my Activity subclass to always setContentView..
Android without Java http://stackoverflow.com/questions/3242034/android-without-java android scala clojure lisp share improve this question Personally I'd say Scala is your best bet right now. It works really well..
Android: compass + distance in a listview http://stackoverflow.com/questions/3833654/android-compass-distance-in-a-listview There are a few options for what you're trying to achieve. Personally I'd recommend implementing your own Adapter most likely in this..
Android alarm is cancelled after closing the application http://stackoverflow.com/questions/4643850/android-alarm-is-cancelled-after-closing-the-application you hope the user wont kill this app using task manager. Personally I wouldn't worry. If the user stopped it they wanted to stop..
Using LGPL library in Paid Android App http://stackoverflow.com/questions/4916512/using-lgpl-library-in-paid-android-app reflect the exact requirements of the author s . Personally I would recommend contacting the author s explaining your concerns..
Benefits of switching from Eclipse to IntelliJ IDEA for Android development [closed] http://stackoverflow.com/questions/4964168/benefits-of-switching-from-eclipse-to-intellij-idea-for-android-development that different. A lot of it is just what you are used to. Personally if you aren't having any problems with Eclipse I would not suggest..
Compile with Proguard gives SimException UNEXPECTED TOP-LEVEL EXCEPTION http://stackoverflow.com/questions/5701126/compile-with-proguard-gives-simexception-unexpected-top-level-exception may not be clear from its name that it affects attributes. Personally and in view of other problems with Proguard I chose to do the..
Don't reload application when orientation changes http://stackoverflow.com/questions/5913130/dont-reload-application-when-orientation-changes instead which you can ignore as it's not useful for you . Personally I'd go with 3 . Of course if locking the app to one of the orientations..
Android back button and MediaController http://stackoverflow.com/questions/6051825/android-back-button-and-mediacontroller instead of MediaController with your VideoView Personally I'd just leave it alone as with this change your user cannot..
android compass seems unreliable http://stackoverflow.com/questions/6256256/android-compass-seems-unreliable them pretty unreliable and useless for any real work. Personally I would use a GPS bearing while moving and then a rotation vector..
Show tab bar and listIn Actionbar at same time. (Android Honeycomb) http://stackoverflow.com/questions/7091126/show-tab-bar-and-listin-actionbar-at-same-time-android-honeycomb your own Spinner to the right of the tabs this way. Personally I would find this confusing as a user but perhaps it will work..
Android ActionbarSherlock SearchView http://stackoverflow.com/questions/8971776/android-actionbarsherlock-searchview are supported the way they are described in documentation. Personally I'd recommend sticking with ActionBarSherlock version it's just..
Debuging using Virtual machine like VMWare/VirtualBox? http://stackoverflow.com/questions/10648009/debuging-using-virtual-machine-like-vmware-virtualbox sdks platform tools. It is recommended to add it to your path so you can access it using the terminal wherever. I personally use this in ~ .bash_profile #add Android platform tools directory PATH ~ android sdks platform tools PATH export PATH In..
How do you to check if a user has rated your app on the android market? http://stackoverflow.com/questions/11284549/how-do-you-to-check-if-a-user-has-rated-your-app-on-the-android-market certain legal agreements between the User and Google if Google starts revealing this data. However this is what I personally do in my apps Let the user use the app 5 times to get a good feel of it. Prompt the user on the sixth run to rate it with..
Force overflow menu in ActionBarSherlock http://stackoverflow.com/questions/13179620/force-overflow-menu-in-actionbarsherlock of ABS. You can get a list of download as per their release history here http actionbarsherlock.com download.html I personally still use the ABS version 4.1.0 since I do not currently want to make ancillary changes in my app. I also use this in my..
How to use my own sqlite database? http://stackoverflow.com/questions/2387421/how-to-use-my-own-sqlite-database have the latest version of the db boolean doUpgrade false Insert your own logic here on whether to upgrade the db I personally just store the db version # in a text file but you can do whatever you want. I've tried MD5 hashing the db before but..
Approach for fixing NoClassDefFoundError? [duplicate] http://stackoverflow.com/questions/2456562/approach-for-fixing-noclassdeffounderror
Embedding ads on Android app? http://stackoverflow.com/questions/2471417/embedding-ads-on-android-app mobile advertising android mobile phones advertising mobile application mopub share improve this question I have personally used both Admob and Adsense . I was wary when I first implemented ads thinking that my users would be upset but I have not..
Android - Switch Tabs from within an Activity within a tab http://stackoverflow.com/questions/2541802/android-switch-tabs-from-within-an-activity-within-a-tab
What is the Android UiThread (UI thread) http://stackoverflow.com/questions/3652560/what-is-the-android-uithread-ui-thread it to the RunOnUiThread method. For more info on spawning worker threads and updating the UI from them click here I personally only use the RunOnUiThread method in my Instrumentation Tests. Since the test code does not execute in the UIThread you..
Android - how to intercept a form POST in android WebViewClient on API level 4 http://stackoverflow.com/questions/3664440/android-how-to-intercept-a-form-post-in-android-webviewclient-on-api-level-4 don't catch POST. See http code.google.com p android issues detail id 9122 for details. Use GET I personally tried using POST because I expected some limitation of GET parameters i.e. length of URL but I just successfully passed..
How to enable/disable bluetooth programmatically in android http://stackoverflow.com/questions/3806536/how-to-enable-disable-bluetooth-programmatically-in-android
How exactly does the android:onClick XML attribute differ from setOnClickListener? http://stackoverflow.com/questions/4153517/how-exactly-does-the-androidonclick-xml-attribute-differ-from-setonclicklistene you pass an object that implement the OnClickListener interface. The latter often requires an anonymous class which personally I don't like personal taste or defining an internal class that implements the OnClickListener . By using the XML attribute..
Open XML file from res/xml in Android http://stackoverflow.com/questions/4329308/open-xml-file-from-res-xml-in-android
Database handling stoped working on Android 2.2.1 (Desire HD 1.72.405.3) http://stackoverflow.com/questions/4651797/database-handling-stoped-working-on-android-2-2-1-desire-hd-1-72-405-3 I finally seem to have got my app to work on Android 2.2.1 on Desire HD. I haven ™t had the chance to debug on it personally to try out exactly what ™s causing the problem. One thought that popped up is the hard coded path to where the database file..
Android: AsyncTask recommendations: private class or public class? http://stackoverflow.com/questions/4823891/android-asynctask-recommendations-private-class-or-public-class developing some Android Apps in a team and we've used 2 different approaches during the last months one that i personally prefere and the other that the other developer prefers . Although so far the results are the same this got me wondering...should..
Which design patterns are used on Android? http://stackoverflow.com/questions/4916209/which-design-patterns-are-used-on-android
I'm looking for fancy charts library for Android http://stackoverflow.com/questions/5156740/im-looking-for-fancy-charts-library-for-android the trial and give it a go. It has no limitations just watermarking. It's your best bet right now. The one I'm personally holding out for is TeeChart . My company has great experience with their products previously and Steema seems like a professional..
AsyncTask.executeOnExecutor() before API Level 11 http://stackoverflow.com/questions/7211684/asynctask-executeonexecutor-before-api-level-11 and the execution order does not matter by doing this way a single thread is allocated to run a list of intense tasks. personally I think this is a sort of halfway solution. Yes the intense job is not running in UI thread anymore but still need execute..
ViewPager and fragments ??what's the right way to store fragment's state? http://stackoverflow.com/questions/7951730/viewpager-and-fragments-whats-the-right-way-to-store-fragments-state above . It is difficult to obtain a reference otherwise because the fragment is added by the adapter and not you personally. Just make sure that the offscreenPageLimit is high enough to load your desired fragments at all times since you rely on..
Android “iPod wheel” seekbar http://stackoverflow.com/questions/8843882/android-ipod-wheel-seekbar guide topics ui custom components.html You might be able to find the resources to make it here. I would personally look for tutorials on how to change the progressbar and follow that closely to customize your seekbar. share improve this..
How would one implement a NumberPicker in Android API 7? http://stackoverflow.com/questions/9205060/how-would-one-implement-a-numberpicker-in-android-api-7 to a possible solution to a persons problem. I am NOT advocating that Android apps should look like IOS apps and I personally hate Android apps that are badly ported so they are a clone of their IOS versions. Some people really are fanboys. share..
How can I securely (indirectly) query a postgresql database within android? http://stackoverflow.com/questions/10881538/how-can-i-securely-indirectly-query-a-postgresql-database-within-android Driver JDBC PostgreSQL with Android How to connect to a PostgreSQL server via JDBC in Android Implementation options Personally I'd use a Java application server like Apache Tomcat or JBoss AS 7 and I'd write my web service methods using JAX RS to..
SlidingDrawer deprecated http://stackoverflow.com/questions/13478993/slidingdrawer-deprecated question does this mean I should import the code into my project to be sure that it will be supported in the future Personally I would dump SlidingDrawer and do something else for all new app development. That being said SlidingDrawer should be in..
J2ME VS Android VS iPhone VS Symbian VS Windows CE [closed] http://stackoverflow.com/questions/1414288/j2me-vs-android-vs-iphone-vs-symbian-vs-windows-ce one should I choose and why if there is any VM technology to test the programs is there any IDE debugging facilities Personally I would like to code for open source but any suggestions are welcome. I have preliminary knowledge on Java. I would also..
How to draw RTL text (Arabic) onto a Bitmap and have it ordered properly? http://stackoverflow.com/questions/1417503/how-to-draw-rtl-text-arabic-onto-a-bitmap-and-have-it-ordered-properly actually dumb BiDi. Android's BiDi is very dumb that it can't even handle digits in RTL 'Ø· 180' is displayed 'Ø· 081'. Personally I don't trust Android's current BiDi and would write my own Unicode BiDi compliant class and use it if I need. I suggest..
GridView row height http://stackoverflow.com/questions/2375962/gridview-row-height a LinearLayout or something. Set your LinearLayouts to be some specific height and the rows will all be that height. Personally I think you should be resizing your images if you are going to have text above and below each image on a per cell basis...
Changing the Android emulator locale automatically http://stackoverflow.com/questions/2417427/changing-the-android-emulator-locale-automatically above I have updated his answer below with the details. android android emulator qemu share improve this question Personally I think the simplest way is to start the emulator probably a clean instance unless you are running integration tests that..
Android - Declarative vs Programmatic UI http://stackoverflow.com/questions/2560950/android-declarative-vs-programmatic-ui map based on their XML tag. In answer to your question of whether I have benchmarked the inflater I have to say no. Personally I find the idea of benchmarking the layout inflater in Android for your app to be the equivalent of benchmarking the DOM..
Why can't HTC Droid running OTA 2.1 communicate with RFCOMM? http://stackoverflow.com/questions/2853790/why-cant-htc-droid-running-ota-2-1-communicate-with-rfcomm works fine when I run the app on my Moto Droid but on the HTC droid no data is ever present in the inputstream buffer. Personally I'm feeling pretty sure it's a bug or limitation in this release for the HTC because the app works great on my Moto A855..
Android programmatically include layout (i.e. without XML) http://stackoverflow.com/questions/3195668/android-programmatically-include-layout-i-e-without-xml per se the titlebars need to vary slightly between activities. java android include share improve this question Personally I'd probably write my Activity subclass to always setContentView to a layout file containing a vertical fill_parent LinearLayout..
Android without Java http://stackoverflow.com/questions/3242034/android-without-java are already usable or make strides towards that java android scala clojure lisp share improve this question Personally I'd say Scala is your best bet right now. It works really well with the one drawback being that you are required to include..
Android: compass + distance in a listview http://stackoverflow.com/questions/3833654/android-compass-distance-in-a-listview listview gps distance share improve this question There are a few options for what you're trying to achieve. Personally I'd recommend implementing your own Adapter most likely in this case by extending SimpleCursorAdapter and encapsulating..
Android alarm is cancelled after closing the application http://stackoverflow.com/questions/4643850/android-alarm-is-cancelled-after-closing-the-application
Using LGPL library in Paid Android App http://stackoverflow.com/questions/4916512/using-lgpl-library-in-paid-android-app on how LGPL code libraries etc should be used it doesn't necessarily reflect the exact requirements of the author s . Personally I would recommend contacting the author s explaining your concerns and asking if they are happy to allow you to use it...
Benefits of switching from Eclipse to IntelliJ IDEA for Android development [closed] http://stackoverflow.com/questions/4964168/benefits-of-switching-from-eclipse-to-intellij-idea-for-android-development share improve this question I have used both they aren't that different. A lot of it is just what you are used to. Personally if you aren't having any problems with Eclipse I would not suggest switching. There are no advantages that are worth the..
Compile with Proguard gives SimException UNEXPECTED TOP-LEVEL EXCEPTION http://stackoverflow.com/questions/5701126/compile-with-proguard-gives-simexception-unexpected-top-level-exception . Note that the second implies the first even though it may not be clear from its name that it affects attributes. Personally and in view of other problems with Proguard I chose to do the obfuscation but mitigate the loss of stacktrace information...
Don't reload application when orientation changes http://stackoverflow.com/questions/5913130/dont-reload-application-when-orientation-changes activity will not be recreated but will receive a callback instead which you can ignore as it's not useful for you . Personally I'd go with 3 . Of course if locking the app to one of the orientations is fine with you you can also go with 2 . share..
Android back button and MediaController http://stackoverflow.com/questions/6051825/android-back-button-and-mediacontroller is encountered tell your activity to finish Use RonnieMediaController instead of MediaController with your VideoView Personally I'd just leave it alone as with this change your user cannot make a RonnieMediaController disappear on demand. share improve..
android compass seems unreliable http://stackoverflow.com/questions/6256256/android-compass-seems-unreliable currently be sure of the accuracy of the azimuth which makes them pretty unreliable and useless for any real work. Personally I would use a GPS bearing while moving and then a rotation vector method if possible it might not be perfect but it would..
Show tab bar and listIn Actionbar at same time. (Android Honeycomb) http://stackoverflow.com/questions/7091126/show-tab-bar-and-listin-actionbar-at-same-time-android-honeycomb
Android ActionbarSherlock SearchView http://stackoverflow.com/questions/8971776/android-actionbarsherlock-searchview to original native version of SearchView and all features are supported the way they are described in documentation. Personally I'd recommend sticking with ActionBarSherlock version it's just easier that way . And use my library only if you need this..
|