author profile image

Matt Reid

Lead Software Architect. Java, Node.js and TypeScript enthusiast.

When uploading my app to the Android Market, I got the following error. Market requires versionCode to be set to a positive 32-bit integer in AndroidManifest.xml To solve this, I needed to put a uses-sdk tag in my manifest.xml like: ``` {.js name=”code”} Check [here](http://developer.android.com/guide/appendix/api-levels.html) for the version number to...

So you have a menu bar under your website header, but wouldn”t it be cool to keep that menu bar at the top of the client’s screen even when they scroll out of view? Here’s how I solved that problem. First I have my webpage header, it has a logo...

If you want to write a file specific to your application (I am using this for object persistence) then here is a simple tutorial for reading and writing files without getting the dreaded read only filesystem exception. Writing a file (i am using on object writer but you can use...

I spent a while looking for a solid example of futuretask use in java for my latest android app (more posts on that soon I hope) but I found a great one here Here is the code: {.js name="code"} public void startMyApplication() { ExecutorService executor = Executors.newFixedThreadPool(2); FuturTask futureOne =...

Anyone using the nbandroid plugin for netbeans to develop android apps may have come accross the same problem I did. R.java doesn’t seem to get updated. In order to fix this, add the following lines to the AnroidManifest.xml and ‘build’ the project again. ``` {.js name=”code”} Generating R.java / Manifest.java...