Of Code and Me

Somewhere to write down all the stuff I'm going to forget and then need

Get your Android application to fill up the whole screen on a tablet June 24, 2011

Filed under: Android — Rupert Bates @ 7:30 pm

When I got hold of a Android 3 tablet, the first thing I did was to run one of the apps I’ve developed on it to see how it looked. I was surprised to see that it just ran in a little window, much like IPhone apps do on an IPad.

Fortunately getting the app to fill the whole screen just required the following line after the <application> section in my AndroidManifest.xml:

<uses-sdk  android:targetSdkVersion="9"/>


Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] error when trying to install an app in Android June 11, 2011

Filed under: Android,Error — Rupert Bates @ 8:34 pm

This error occurs when you try to install an app via ADB and there is already another version of the same app which was installed from a different development machine.

To get round it uninstall the previous version and rerun the install.