A blog about tech things as they occur to me. Often Mac and Linux related, often blogged on the bus or train. At least that was the theory -- now I just put things here whenever I have something to say.
Wednesday, 5 September 2012
New GAuth version now hitting Nokia Store on N9
With special thanks to Jean Blanchard for his regression fix you should now be able to update to GAuth version 1.6 on your Nokia N9 with Dropbox and multiple account support.
Posted by
Unknown
at
Wednesday, September 05, 2012
Monday, 3 September 2012
Mea culpa, or more to test before going to Nokia Store
So version 1.4 of GAuth wasn't good enough for Nokia Store in the end. Here's a couple of reminders to make sure this doesn't happen again:
- Nokia Store still tests against PR1.1. It is now impossible for me to do so, without using Remote Device Access (which is a pain, because everything else can be done from my phone - I have a spare phone for testing but I've foolishly upgraded that one to PR1.3 too OTA).
- Test for new users of your application that it works. Some of my new code was relying upon having settings already there, which of course wasn't the case for new users of the application.
- Test for upgrading existing users. This is a problem that I hit in the past where I was wiping the settings because I was treating upgrade as uninstall-install.
Version 1.5 is now on GitHub. Existing users who had 1.4 working needn't upgrade.
Posted by
Unknown
at
Monday, September 03, 2012
Wednesday, 29 August 2012
New version of GAuth... Long awaited features
Thanks to everyone for their support for GAuth.
This week sees a new update coming.
The main trigger for this is that Dropbox has added two-factor authentication compatible with Google Authenticator, and I'd fallen behind because a user pointed out the GAuth wasn't working with it.
That kicked me into gear! Thanks to Max on this blog for pointing it out (I'm not a big Dropbox user yet).
Then of course, if people get the update, they'll be adding Dropbox to their GAuth. Which would've fallen foul of the fact that GAuth only ever supported one account at a time. Yes I know I was asked about this a while ago. But it's fixed now and that's what matters.
And then over on talk.maemo.org a fan has contributed an inverted theme icon for GAuth. So I thought I'd return the favour with a simple tweak to add an inverted theme mode to GAuth. Simply enable it in Settings after installing the update (unfortunately I can't swap over the icon as easily - you'll still have to do that yourself).
So after 1000 downloads on the Nokia Store alone I give you GAuth 1.4. Available now on GitHub* and soon in the Nokia Store via an automatic update to your phone (hopefully within the next week).
* Note that you have get the update the same way you installed the previous version. If you have the Nokia Store version, your phone will not allow you to update to the GitHub version. Do not uninstall your version because you will lose your tokens! Just wait for the update notification, won't be long I promise.
This week sees a new update coming.
The main trigger for this is that Dropbox has added two-factor authentication compatible with Google Authenticator, and I'd fallen behind because a user pointed out the GAuth wasn't working with it.
That kicked me into gear! Thanks to Max on this blog for pointing it out (I'm not a big Dropbox user yet).
Then of course, if people get the update, they'll be adding Dropbox to their GAuth. Which would've fallen foul of the fact that GAuth only ever supported one account at a time. Yes I know I was asked about this a while ago. But it's fixed now and that's what matters.
And then over on talk.maemo.org a fan has contributed an inverted theme icon for GAuth. So I thought I'd return the favour with a simple tweak to add an inverted theme mode to GAuth. Simply enable it in Settings after installing the update (unfortunately I can't swap over the icon as easily - you'll still have to do that yourself).
So after 1000 downloads on the Nokia Store alone I give you GAuth 1.4. Available now on GitHub* and soon in the Nokia Store via an automatic update to your phone (hopefully within the next week).
* Note that you have get the update the same way you installed the previous version. If you have the Nokia Store version, your phone will not allow you to update to the GitHub version. Do not uninstall your version because you will lose your tokens! Just wait for the update notification, won't be long I promise.
Posted by
Unknown
at
Wednesday, August 29, 2012
Monday, 16 July 2012
Build your own: XBMC for Android from Ubuntu 12.04
Firstly massive credit to the XBMC team for pulling off the feat that is XBMC on Android. I'll bet though you're desperate to try it yourself. I'll respect XBMC and not share my build (I couldn't support it if I did) but here is a recipe for Ubuntu 12.04 users. Or equally, Windows users because you can't install using the Windows Android SDK.
First, for Windows users, install Oracle VirtualBox. Then install Ubuntu 12.04 using the mini net-install CD (this gets you less packages you don't need).
The instructions in the XBMC repository (docs/README.android) are then fairly complete, except for covering all of the dependencies you need.
You must:
sudo apt-get install build-essential git-core default-jdk autoconf autopoint curl zip unzip zlib1g-dev gawk gperf ant
Then when building the android depends for configure you need:
./configure --build=arm-linux-androideabi --with-sdk=/home/user/android-sdk-linux --with-ndk=/home/user/android-ndk-r7-crystax-5.beta2 --with-toolchain=/home/user/android-sdk-linux/platforms/android-10 --with-tarballs=/home/user
If you've never built anything with the Android SDK on this machine you have to generate a debug.keystore using ant debug on any random (a blank project will do) Android project before running make.
And the veru last step in the documentation is wrong. The APK you want to install is in the root of the source named xbmcapp-*-debug.apk.
Posted by
Unknown
at
Monday, July 16, 2012
Saturday, 19 May 2012
Update: GAuth new version now available from Nokia Store and thanks to the first 100+ downloaders.
My app GAuth has been approved to the newer better version for the N9's Nokia Store. If you haven't downloaded it yet, go for it. If so, and you didn't already grab the updated version from GitHub, you can get the new version from the Nokia Store now.
The new version is a little more polished, including a help file the first time you start it up or from the menu button.
The new version is a little more polished, including a help file the first time you start it up or from the menu button.
Posted by
Unknown
at
Saturday, May 19, 2012
Sunday, 13 May 2012
Announcing the Nokia Store release of GAuth
So this happened on Friday but immediately afterwards I was coding my next project and found an awkward bug so I planned to delay the announcement until after I had written and Nokia Store had approved the update, but seeing as people are already downloading it (for which I am grateful), GAuth has now been released as a free download on the Nokia Store.
This marks my first successful release of an "app" on any mobile platform. I've toyed with very briefly the iOS App Store (and helped friends release apps) but nothing myself, and I've toyed with the Android Market/Google Play Store but no joy there. The main difference was that I was able to make a full-blown app in my spare time just using my phone*.
* Well plus SSH access to a Linux server for some small parts.
GAuth is a Google Authenticator implementation for the Nokia N9. It allows you to generate six-digit token codes required for two-step verification of your Google Account when GAuth on your Nokia N9 is paired with your Google Account.
That bug? It was a oversight in that when next you download an update to GAuth it will treat it as an uninstall followed by an install, rather than an upgrade which will reset your settings. The new version is available now on GitHub (get version 1.3 - it's the latest as of now) and you will be able to seamlessly get upgrades from the Nokia Store when later I make them. Nokia Store should have the update next weekend. The new version also features built-in help with a description of how to match your phone to your Google account.
The workaround for the bug is simply to copy and paste your secret from the Settings before you do the update, and copy and paste them back when the update wipes them out. This won't happen again.
For more information on this app, please visit the dedicated GAuth page on this blog and I'm interested in your feedback.
This marks my first successful release of an "app" on any mobile platform. I've toyed with very briefly the iOS App Store (and helped friends release apps) but nothing myself, and I've toyed with the Android Market/Google Play Store but no joy there. The main difference was that I was able to make a full-blown app in my spare time just using my phone*.
* Well plus SSH access to a Linux server for some small parts.
GAuth is a Google Authenticator implementation for the Nokia N9. It allows you to generate six-digit token codes required for two-step verification of your Google Account when GAuth on your Nokia N9 is paired with your Google Account.
That bug? It was a oversight in that when next you download an update to GAuth it will treat it as an uninstall followed by an install, rather than an upgrade which will reset your settings. The new version is available now on GitHub (get version 1.3 - it's the latest as of now) and you will be able to seamlessly get upgrades from the Nokia Store when later I make them. Nokia Store should have the update next weekend. The new version also features built-in help with a description of how to match your phone to your Google account.
The workaround for the bug is simply to copy and paste your secret from the Settings before you do the update, and copy and paste them back when the update wipes them out. This won't happen again.
For more information on this app, please visit the dedicated GAuth page on this blog and I'm interested in your feedback.
Posted by
Unknown
at
Sunday, May 13, 2012
Saturday, 5 May 2012
More hints on publishing PySide QML apps to the Nokia Store for N9
I promised in the comments I would run down exactly what it takes me to publish a PySide application using QML to the Nokia Store for my N9 a couple of weeks ago.
I've got some comments back from Nokia Store QA and I had to make changes so here are the things I've learned so far:
I've got some comments back from Nokia Store QA and I had to make changes so here are the things I've learned so far:
Posted by
Unknown
at
Saturday, May 05, 2012
Wednesday, 25 April 2012
N9: App: GAuth available for download
My first real mobile app is available for download now from GitHub and hopefully soon from the Nokia Store.
Update: Here's a screenshot. I couldn't add this from my phone where I usually blog from.
It's an implementation of the Google Authenticator for the N9.
This is the one killer app I needed to convert to my N9 fulltime from Android.
It generates the same codes as the Android version and can be used, for a single account at the moment in the same way.
I hope this is of use to some N9 users out there.
For more information read the details at GitHub (it's open source) and download it from there too. Note that you must have Unknown sources turned on in your application settings until Nokia approves.
I have my own ideas but I am soliciting for what I should try to port next. Please leave comments!
Update: Here's a screenshot. I couldn't add this from my phone where I usually blog from.
It's an implementation of the Google Authenticator for the N9.
This is the one killer app I needed to convert to my N9 fulltime from Android.
It generates the same codes as the Android version and can be used, for a single account at the moment in the same way.
I hope this is of use to some N9 users out there.
For more information read the details at GitHub (it's open source) and download it from there too. Note that you must have Unknown sources turned on in your application settings until Nokia approves.
I have my own ideas but I am soliciting for what I should try to port next. Please leave comments!
Posted by
Unknown
at
Wednesday, April 25, 2012
Monday, 23 April 2012
N9: A trick to get pyside-assistant to build into a Nokia store-compliant path
I'm experimenting with building applications for the Nokia Store on N9.
My current foray involves using PySide in Python.
PySide provides an incomplete harmattan package template in their pyside-assistant tool. Incomplete in that its output would not pass QA on the Nokia Store.
Nokia Store requires that your application's files live under /opt. However pyside-assistant, through python distutils, installs at least the python scripts to /usr instead. (It seems to be following whatever your Python system is set to - I'm on Ubuntu 11.04 and that is what I get.)
However by making a symlink on your computer from /usr to /opt/packagename and adding the line:
sys.prefix = sys.exec_prefix = '/opt/packagename'
The resulting package is rooted in the /opt folder instead.
(Of course there are other more trivial changes that must be made too, and I have yet to try for QA on this application.)
Hope this helps someone.
My current foray involves using PySide in Python.
PySide provides an incomplete harmattan package template in their pyside-assistant tool. Incomplete in that its output would not pass QA on the Nokia Store.
Nokia Store requires that your application's files live under /opt. However pyside-assistant, through python distutils, installs at least the python scripts to /usr instead. (It seems to be following whatever your Python system is set to - I'm on Ubuntu 11.04 and that is what I get.)
However by making a symlink on your computer from /usr to /opt/packagename and adding the line:
sys.prefix = sys.exec_prefix = '/opt/packagename'
The resulting package is rooted in the /opt folder instead.
(Of course there are other more trivial changes that must be made too, and I have yet to try for QA on this application.)
Hope this helps someone.
Posted by
Unknown
at
Monday, April 23, 2012
Subscribe to:
Posts (Atom)