Category: Android

  • AVD Manager in Eclipse on Ubuntu won’t start device due to double slash error

    AVD Manager in Eclipse on Ubuntu won’t start device due to double slash error

    I have a weird error that happens to me every time I rebuild my machine; when I open Eclipse and attempt to start up AVD Manager, I get an error when I hit “start” for the Android 4.1 virtual device. That error contains this line: “android-sdk-linux//tools/” and has to do with not finding the adb […]

  • How to read from the Assets folder in an Eclipse Android application

    How to read from the Assets folder in an Eclipse Android application

    Seeing errors like these? java.io.FileNotFoundException at android.content.res.AssetManager.openAsset(Native Method) at android.content.res.AssetManager.open(AssetManager.java:315) at android.content.res.AssetManager.open(AssetManager.java:289) The problem is that Eclipse isn’t finding your file, because you may not be using AssetManager to retrieve plain-text files from the assets folder. Here’s how to fix this: Note that there is no file extension on text. When I pasted ‘text.txt’ into […]

  • Which JSON library should I use in my Android and Java projects?

    Which JSON library should I use in my Android and Java projects?

    JSON.org is where you start; this is the prepackaged JSON found in Oracle and Open Java Development Kits. The home page is a useful resource to see all the different JSON libraries out there for all different languages. GSON is most useful for converting Java objects into their JSON representation. The Google libs can also […]

  • Vegan Tab with Viewsonic gTablet

    Vegan Tab with Viewsonic gTablet

    I’ve obviously been busy for the last month, and the posts concerning the LadyCoders Kickstarter will appear on the ladycoders.com site. I’d really rather get back to the fun of reviewing a hardware/OS combo. About three weeks ago, I got a used Viewsonic gTablet and flashed Vegan Tab on it. I’ve never had a tablet […]

  • How to SSH into your home computer to access media files, documents, processes, or anything else you might need

    I wanted access to my home machine so I could access any files I want. Dropbox is pretty awesome, but if you’ve forgotten to put something in your Dropbox folder, you’ll be in deep trouble. (1) Run “sudo apt-get install openssh-server” at the command line. (2) Run “sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original”. This copies your original […]

  • Simple tip to make Android easy to access…

    …via your home wifi server. (1) Install On Air from the Android Market. (2) Ensure that your home wifi is accessible through your phone’s Settings menu. (3) In On Air, set your preferences to “use the same 4-digit code”. (4) Hit the big button to turn on the FTP server on your phone. (5) In […]