30 December, 2011 (21:25) | Activity, Messaging | By: Randall Mitchell
Greetings readers. I have implemented a “very basic” messaging system within one of my applications. An example use case is as follows: 1. User arrives at an activity. 2. The activity realizes that the user needs to be in another activity. 3. The activity posts a user message to the application and sends the user [...]
Tags: Activity, android, android development, custom application, toast
Comments: -
14 July, 2011 (17:09) | Data Storage | By: Randall Mitchell
This post explains further the example code on the Android Developer site: http://developer.android.com/guide/topics/data/data-storage.html I am trying to dumb this down as best as I can, so some useful options may be left out. Here is the code found on that page as of July 14, 2011: public class Calc extends Activity { public static final [...]
Tags: android, android development, data storage, saving settings, settings, SharedPreferences
Comments: 2
8 July, 2011 (15:39) | Android Development, Security | By: Randall Mitchell
I was just thinking to myself, I need to make my published apps more secure. I found this post enlightening and a good start. It’s from the guy that wrote Android Wireless Application Development and covers obfuscation, using the Android License Verification Library, and SSL encryption for connected apps. Good stuff! http://www.informit.com/articles/article.aspx?p=1725260
Tags: android, android development, obfuscate, ssl
Comments: 2
9 June, 2011 (14:40) | Activity | By: Randall Mitchell
I was going to write one up but this site did the work as well as I could have: See the tutorial here It’s really a relatively simple problem with a relatively simple solution. Like I prefer to do in my posts, however, the solution has been completely explained. Ps. Nice blog template Sai
Tags: Activity, android, android development, Intent
Comments: -
26 May, 2011 (20:58) | Components | By: Randall Mitchell
This example puts a couple of TextViews into a LinearLayout. The combination of components is then treated as one component with the added functionality of programmatically changing the text of the two TextViews.
Tags: android, android development, composite component, custom component
Comments: 2
28 October, 2010 (16:45) | DOM Parsing, RSS | By: Randall Mitchell
I’ve seen a lot of examples for parsing XML using SAX. As far as I can tell, that is the most efficient method for doing so. Honestly though, I’m not really sure how much of a crutch using the DOM would be on speed. I thought, as a learning experience, I would break from this [...]
Tags: android, android development, DOM, parser, parsing, RSS, w3c, xml
Comments: -
4 August, 2010 (04:05) | Database | By: Randall Mitchell
Getting Started This tutorial will cover the basics of using the SQLite database tools in Android. I am going to try to organize this tutorial so that it is easy to navigate, for myself and others, to use as a reference. At the same time, I will try to make it long enough so that [...]
Tags: android, database, development, mobile, sqlite, SQLiteDatabase, SQLiteOpenHelper
Comments: 95
11 June, 2010 (15:12) | Components | By: Randall Mitchell
The ListView is given very little documentation at Android.com. I thought I could explain a little further how a ListActivity class functions. This is a simple example and I may decide to create a more advanced tutorial on this topic in the future. So let’s get to coding.
Tags: android, ArrayAdapter, development, ListActivity, ListAdapter, ListView, mobile
Comments: 12
2 June, 2010 (19:16) | Debugging | By: Randall Mitchell
According to Moazzam, you can have errors fed to you log by using a try/catch statement. Well, it worked like a charm. I slightly modified the code as follows….
Tags: android, Debugging, development, mobile, Source not found, xml
Comments: 9
28 May, 2010 (13:56) | Educational Resources | By: Randall Mitchell
I’ve got to say that, much like when I tried to dive into Java back in the nineties, Android currently doesn’t have great books out yet. No surprise there. Not that the books I’ve been looking over are bad, I just don’t think anyone has figured out a good organization for really understanding the environment… [...]
Tags: android, development, Hillerson, mobile
Comments: 1