One of the reasons for my hiatus here has been that my wordpress install is hard to keep secure, maintainable and lightweight. WordPress + security plugins + spam plugins + updates + databases need work to make the site work. This kinda explains things. I’ll maybe migrate this blog, but for the time being I’ll be posting over at http://linnesq.github.io, as it better suits my aims.
This tutorial will look at how we can use Robotium to run tests on Android applications where we don’t have the source code, only the APK from Google Play. It’s not meant as an extensive review of what Robotium is or how is compares to other testing frameworks, just the basics that are required to get started in a slightly less verbose fashion than the informative ‘official’ documentation. Robotium can be downloaded here and if you want to head straight to the Robotium documentation for this task, it’s here. Continue reading
This tutorial is going to look at how you can manually re-sign an Android APK for an application on your device. In another post we’ll look at using Robotium to run unit tests on Android applications for which you don’t have the original source code. There is a tool that does this for you, but if you experience problems with this, either check out this nugget, or read on… Continue reading
OK, this is going to be a very short post, more of a mental note than a tutorial, about moving a WordPress install. The task was to move from
example.com where the files for
example.com were to be stored in a folder rather than the root of the
www directory (the
www folder hosted multiple sites). Basically I followed this tutorial, skipping steps 12 – 15. I would add to this tutorial that you need to download and edit the following lines in your wp-config.php file;
define( 'WP_CONTENT_DIR', '/home/hosting/public_html/sub.example.com/wordpress-content' ); define( 'WP_CONTENT_URL', 'http://sub.example.com/wordpress-content' );
to reflect the new URLs
define( 'WP_CONTENT_DIR', '/home/hosting/public_html/example.com/wordpress-content' ); define( 'WP_CONTENT_URL', 'http://example.com/wordpress-content' );
This was the change that made everything appear as it should. From here I could re-apply my custom theme and have all my plugins show up without errors.
As of Blackberry OS7, you can debug and modify WebWorks/Cordova apps in real-time with Web Inspector (see microsite). If you are familiar with using Web Inspector for web projects on Chrome or Safari, you can also use it for Android by way of Weinre. This will be a quick tutorial showing you how to get up and running with Weinre on Android. Continue reading
Sept 2013 – Updated to use cordova 2.9 – see github repo
This weekend I have been learning how to use git version control, so I can share my projects/demos via Github, and hopefully get involved in some too. Rather than using the Github application or EGit Eclipse plugin (which I had used in the past), I’m in the process of learning command-line git. There are going to be times when having a downloadable project is going to help explain/understand a tutorial better than just a blog post alone. If you are interested in learning about git and don’t know where to start, I recommend the Lynda ‘Git Essential Training’ course.
This tutorial covers the basics of using the Twitter API to access your own tweets, most likely with a view to displaying them in an app. Updated on Friday 13th September 2013, source code available on Github
Twitter API v1.0
On the 5th March, 2013, v1 of the Twitter API will be no longer be accessible. Currently, you can get access to Twitter REST API using unauthenticated HTTP requests. Continue reading