Tuesday, 5 August 2014

File explorer v002

I did a bit more work on the file explorer.
You might think I made it worse.

The new layout makes it easier to tell which files are folders.

The new spk is at http://hudl.sgarman.net/public/spk/SJGexplorer_002.spk

The code looks like this:

Coding a file explorer.

I've started work on the beginnings of a file explorer.

There's nothing much to it at the moment but I thought I'd share it in case it's some help to somebody.

I hope that one day it may become the basis of a tutorial but obviously there's quite a way to go.

So far, I've only tested it on a Tesco hudl tablet but I'm reasonably happy with it so far.

The spk with the minimal code I have at the moment is available at http://hudl.sgarman.net/public/spk/SJGexplorer_001.spk

In text form, it looks like this

Saturday, 2 August 2014

Tool for a bit of introspection

On google groups, Andreas Rozek posted a useful tool,, AppInspector for looking at the functions of androidscript's app object.

I used this a fair bit, so I stole the main bit of the code and expanded the app a bit so that I can look at various control types.
For anyone who wants to play with it, there's an spk at http://hudl.sgarman.net/public/spk/SJGinspect.spk

The code is a bit ropey as it was intended only for home use. It looks like this:

Saturday, 19 July 2014

Starting out with Androidscript

It's great to have access to android devices like my phone and tablet but I always feel a bit naked if I have a device that I can't program in some fashion.

My Tesco hudl tablet is not rooted because I like it to run some apps that do not work on rooted devices.

What I need is a useful scripting/profiling app that will allow me to grow with it later.
So I came across Androidscript which fits the bill nicely.