tag:blogger.com,1999:blog-35928014473966748992024-03-18T05:47:53.538-04:00Android EngineerA place for tidbits of useful knowledge for Android engineers, software developers, and anyone else who fancies Android programming tips.Matt Quigleyhttp://www.blogger.com/profile/01652979535335976265noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-3592801447396674899.post-37957901202690937912011-06-17T16:25:00.000-04:002011-06-17T16:25:59.186-04:00What new Android developers need to knowAndroid is a new operating system. Apps are written in Java, which is a familiar language to many. On the other hand, developing for mobile apps is a different beast than with other platforms. Here are some things I've learned in my years of programming for Android, and I suggest if you are learning Android that you learn about these topics. I think these make for great Matt Quigleyhttp://www.blogger.com/profile/01652979535335976265noreply@blogger.com24tag:blogger.com,1999:blog-3592801447396674899.post-58989104829134240912010-08-04T23:13:00.000-04:002010-08-04T23:13:30.047-04:00Easy method for formatting Android TextViewsAndroid TextViews don't have an easy method for changing the style of a substring of its text. You may have wanted to do something like textView.setTextColor(Color.RED, 10, 20); in order to set the 10th to the 20th characters red. I'll show you a method of making this easy to do; not just with colors, but with all sorts of styles.
Using regular HTML tags in stringsYou do have a limited option toMatt Quigleyhttp://www.blogger.com/profile/01652979535335976265noreply@blogger.com57tag:blogger.com,1999:blog-3592801447396674899.post-47551333697207429672010-07-19T23:57:00.011-04:002010-11-01T19:25:20.113-04:00Optimizing, Obfuscating, and Shrinking your Android Applications with ProGuardObfu-what? Right, there's a lot of technical terms there, and you may not know what they mean. I'm going to describe a way for you to shrink the size of your Android applications in half, optimize them to make them run faster, and obfuscate them to make it harder for others to reverse engineer your code.
What we'll do is use a Java program called ProGuard to apply its magic to your program's Matt Quigleyhttp://www.blogger.com/profile/01652979535335976265noreply@blogger.com190tag:blogger.com,1999:blog-3592801447396674899.post-14482132591928113942010-06-22T02:41:00.000-04:002010-06-22T02:41:59.719-04:00Using Ant to Automate Building Android ApplicationsThe standard way to develop and deploy Android applications is using Eclipse. This is great because it is free, easy to use, and many Java developers already use Eclipse. To deploy your applications using Eclipse, you simply right-click on the on the project, choose to export the application, and follow the prompts
There are a few things we cannot easily do with this system, though. Using the Matt Quigleyhttp://www.blogger.com/profile/01652979535335976265noreply@blogger.com485tag:blogger.com,1999:blog-3592801447396674899.post-46420182566503322402010-06-17T23:18:00.000-04:002010-06-17T23:18:21.405-04:00Using Themes in Android ApplicationsAs a developer, I understand how developers think when going about creating an application. We start with an idea, with an end goal in mind, and start putting together pieces from the bottom-up until we reach our goal. Like any engineer, we enjoy playing with the individual parts, tinkering with building blocks, until we have put them together to create something fantastic that works.Matt Quigleyhttp://www.blogger.com/profile/01652979535335976265noreply@blogger.com127