Oculus is alive again
Together with the blog, I also revived the Oculus project. I put it on GitHub, to make it all easily accesible and include version control for myself. If you want to use or collaborate, you can find it at: https://github.com/derpflanz/oculusd While Googling a little, it might be a good idea Lees verder
Android and integrated ZXing
If you want to use ZXing for barcode reading, but do not want your customer to install a third party app. Or if you just can’t because the Android device you are using cannot connect to the Play store (as is the case with many wearables), there is an extremely Lees verder
Android websnack: ADB doesn’t recognise device
If you have set your phone to debugging, but adb doesn’t recognise it, try switching the way it connects to the PC. I found that using “Charge Only”, or “MTP” caused the debugging to not work. Putting it on “PTP” made it work.
Query SQLite database from unrooted Android device
To quickly test your SQLite database while developing an Android app, it can be useful to use the sqlite3 command line command to query the database. However, it is not easy to get to the SQLite file: you cannot just download it from your device, nor can you mount the Lees verder
Python Snack: How to log only error to stdout in CherryPy
Started working with Python, which is extremely easy and a joy to work in. It also has great libraries and tools you can use. So, also started using CherryPy to power the XML API I am working on. While debugging it throws out a lot of messages on stdout, of Lees verder
How to ditch PHP, part 1: Introduction
Introduction Yes, you read it correctly. After years (approximately 13) of using PHP as my go-to tool for web development, I decided to ditch it. It was becoming more and more of a nuisance and when I got more into C# and Java development lately, PHP started to really feel Lees verder
Android custom AlertDialog
For our Snøg Android app, I was browsing the web, figuring out how to add the UnlockBar I wrote to a Dialog, to create a slide-to-OK dialog. I reckoned this would be a simple case of extending the Dialog or AlertDialog class, build it and be done with it. Well Lees verder
iOS vs Android Development, Round 1: Getting Started
This week, I took up porting our Snøg Avalanche Buddy to iPhone. To do so, I had to learn quite some things. This post will touch all the troubles I have encountered and I try to compare it to developing an app in Android. Development Machine The first hurdle to take is Lees verder
C#.NET snack: sign data with RSA
Create keys: var csp = new RSACryptoServiceProvider(keyStrength); var privateKey = csp.ExportCspBlob(true); var publicKey = csp.ExportCspBlob(false); Sign data: var csp = new RSACryptoServiceProvider(); csp.Clear(); csp.ImportCspBlob(File.ReadAllBytes(privateKeyFile)); var sig = csp.SignData(data, new SHA1CryptoServiceProvider()); Verify data: csp.Clear(); csp.ImportCspBlob(File.ReadAllBytes(publicKeyFile)); if (csp.VerifyData(data, new SHA1CryptoServiceProvider(), sig)) { Console.WriteLine(“Data is OK”); } else { Console.WriteLine(“Data is Lees verder