android

Correctly import a third-party library into an Android project

Here’s how you correctly import a third-party java library into an existing android project. To import the project: File->Import->General->Existing Projects into Workspace, Next Select root directory: /path/to/project Projects->Select All UNCHECK both “Copy projects into workspace” and “Add project to working sets” Finish To add it as a library for another project, see this link from the Android dev site: In the Package Explorer, right-click the library project and select Properties. In the Properties window, select the “Android” properties group at left and locate the Library properties at right.

No more server downtime

I’d noticed that my blog would randomly become inaccessible as the node.js server I have running would (presumably) throw an error and crash. My current setup involves one instance of Apache to run Wordpress on and a bunch of other instances of node.js that run on different ports, and one central node.js router instance that listens on port 80 and then routes connections to different ports depending on the subdomain in the HTTP request.

My next phone...

…will be a Galaxy S3. I’d originally planned on getting a Nexus 4, but the lack of a removable battery and microSD storage combined with Google’s messing up the whole shipping process and making me wait patiently for a whole month without any updates have led me to cancel my “Pending” Nexus 4 order and settle on an S3 instead. I’ll be getting it sometime this week or the next, pics incoming.