Problem I have created a Utils class, which consists of progressDialog and AlertDialog: public class Utils { public static ProgressDialog […]
Category: Android
Optimization of Android code suggestions? Iteration based
Problem At the “if(a==2)” part of my code below, the android emulator takes 8 seconds to process and display some […]
Is using java enums to store filepaths good practice
Problem I’m working on an android application, but this is basically plain ‘ole java. The aim is to do the […]
SplashScreen class
Problem I want to know about best practice for this SplashScreen class: public class SplashScreen extends Activity { // time […]
Why does the new ADT create a static inner class Fragment by default?
Problem Honestly, I can’t help but feel that this is done merely to confuse newcomers. Most of the errors on […]
DBSCAN in C++ for general and Android use
Problem I’ve implemented a templated DBSCAN for general use. At the moment, it’s going to be used on Android through […]
Android sharing selected text to other apps
Problem I am somewhat new to Java. I want to know if this is the proper way to share text […]
Java thread safety and caching techniques
Problem This is my first Java multi-threading code. It is part of an Android application that is a client to […]
Make use of Object Oriented Design in an Android App with multiple activities
Problem First off, I’m no Java programmer(but I do know the concepts of OO programming), I have this project I […]
Encrypt and decrypt a serializable object
Problem I want to make sure that the code I have for encrypting and decrypting a serializable object makes sense […]