Tuesday, February 4, 2014

Although I totally lapsed on blogging this, I did manage to create a few nice fishing apps, available on Google Play:
https://play.google.com/store/search?q=acutroller&c=apps

It was a good learning experience, and they are quite useful, especially the dipsy diver app.  I put a lot of time into the design, coding, and data collection.

I also published this nice app for Bloodrun Tackle.
https://play.google.com/store/apps/details?id=com.app.BloodRunTackle


Monday, April 30, 2012

AC - android development

Android development - from the ground up

I've decided to start learning more about developing apps.  Since I own a droid-x I will begin there, starting of course with an android hello world program.

I already had eclipse for java installed, but had to add the Android SDK, install the version of Android versions (I really only needed 2.3.3  - API 10  for my testing, but installed everything!).  Next I setup the eclipse AVD manager with my version.  (droid-x is 2.3.4).  This SDK simply helps build activities for android, and produces the required .APK file from your java development.
From there I followed the http://developer.android.com hellp world example which I was first able to run in java, then in the android emulator.
Finally, I copied the apk file 'HelloAndroid23.apk' to my device via USB connection. This was as a simple process!
-The latest motorola drivers allow the device to show up as the G: drive on my computer.
-In windows, I copied my new apk file from D:\user\apps\Eclipse\workspace\HelloAndroid23\bin to
G:\download

-I removed the droid from the usb connection, then navigated using the delivered FILES program to the SD card, download directory.
-NOTE:  You need to set your device to allow applications from outside the marketplace (see this article )
-In the list provided, I see my app... "HelloAndroid23.apk".  clicking on this, prompts to install this app.
-Open the app to run it which results in a black screen with the name of your program at the top "HelloAndroid23" and the the text from your hello world program... in my case:
  "Hello, Andrew's Android 2.3" based on the below code


==================
package com.example.helloandroid23;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;


public class HelloAndroid23Activity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tv = new TextView(this);
        tv.setText("Hello, Andrew's Android 2.3");
        setContentView(tv);
       
    }
}
======================

Next steps. Develop a UI interface.
Test database examples with sqllite