Categories
Android

Converting dp to pixels in android

Sometimes in android you have to deal with pixels, which can often be awkward, such as view.setPadding(int, int, int, int).  Obviously this is not ideal as pixel ratings vary from device to device, nonetheless there is a work around for this Simply come up with the value you want in dip (density independent pixels), such […]

Categories
Android Certification Google App Engine Java Linux

Top 10 Techie things I want to achieve in 2012

I’m not the type of person that gets bored easily, I’ve always got many things to keep me amused, mostly side projects at home. I’m a firm believer, that if you don’t set yourself goals in the first place, then you won’t have anything to fail to achieve, so I’ve set myself a list of […]

Categories
Android

SMS text messaging simulation on android

As part of an application I’m currently developing, I need to be able to interogate incoming SMS messages. Since I’ll be developing against the emulator initially I need a way of sending in SMS messages to the emulator. Fortunately, we can use adb to poke in SMS messages at will, as detailed below. Ultimately, you’ll […]

Categories
Android

How to remove the default grey title bar on android apps

Fed up of the default title bar on your android applications? We can get rid of that easy, either use the following in your activities to do it : Or, the way I prefer, disable it application wide by slipping the following into the AndroidManifest.xml file :

Categories
Android Continuous Integration Java Maven

Automating android application signing and zipaligning with maven

This is something that has had me tearing my hair out for a few days now, I was pretty much border-line braveheart-ing my screen…. I’ve recently been on a little drive to try to maven-ize my projects. All had been going well until I needed to sign and zipalign my APKs. This post will help […]

Categories
Android Java

How to send an email from your Android application…

If you’re like me, you’ll certainly like to hear feedback on your applications out there on the market, and what better method than via a direct email link. I usually opt for a “contact me” button, which when clicked will open up the phones email client with a new email ready. The mail-to and subject […]

Categories
Android

Publishing your app to the Android Market, a noobs guide…

Hola a todos! Its been a little while since I last posted, mostly because I’ve been busy getting my first app in a state thats good enough to be published, in which I have, and heres a little write up on how easy it is to actually publish. If you head over to the official […]

Categories
Android

How to place your ads at the bottom of your screen in Android

So you’ve setup some ads using AdMob or AdWhirl for your android application, and you’re having a hard time getting the ad to appear at the bottom of your screen? Well fear not, for we have a solution. What you need to do, is to have a RelativeLayout, and within that, have one LinearLayout for […]

Categories
Android Java

Android; A really easy tutorial on how to use Text To Speech (TTS) and how you can enter text and have it spoken

Hello readers, time for another little android post of mine. I’ve been working hard recently on some voice recognition and TTS work, so figured I’d post up some tutorials for people to see how easy it is. This is also my first post where I host content on Github so please bear with me! TTS […]

Categories
Android

Monetizing your Android apps with AdMob (AdSense), an easy guide

Howdy folks, another nice and easy android guide here. If you’re like me you’re thinking about putting your first application up on the market. It might be a good idea to set-up some ads on application, hopefully making a few pennies as you go. Its actually quite easy, if your familiar with AdSense for web […]