Navigate/Search

Archive for the 'Droid' Category

Android vs. Iphone apps

Sunday, December 5th, 2010

So I have an Android but almost everyone I work with has an Iphone. It’s funny because we are the Java Developers and we are mostly Iphone and the .Net developers mostly have Androids…

My observation is that I can get an app that does pretty much anything I can think of. My Iphone friends can’t always get a comparable app, but when they can get the app it’s usually better looking and snappier.

The main difference is the Android app is almost always free. My friends usually have to pay for the application.

I pay the same amount for my Droid as my friends pay for their Iphones, but I prefer the Droid.

Big Deadline On The 15th Of November

Sunday, October 31st, 2010

So I won’t be working on Android for a few weeks, things should get back to normal after the 15th.

Android Development

Sunday, October 17th, 2010

Last week I copied my DB helper from the Google Android Notes Tutorial.  I also tweaked it for my needs.  Well when I took a look at it again I decided that I need to tweak it some more.  Basically I needed to change a field and add a field.  Updating my db helper class and updating my application class was pretty easy as well.

I am going to try it out next week :)

Android Development

Sunday, October 10th, 2010

Today I took the DbHelper class (NotesDbAdapter.java) from the notes program and copied it over to the DbHelper class (DistanceDbAdapter.java) in my program.  I tweaked it and then instantiated the class.  I don’t have any compile errors.  Next week should be interesting…

Android Programming…

Sunday, October 3rd, 2010

So another day of very limited programming. I finished my Notepad program this week. It worked like a charm and more importantly I think I know how to set up the DB helper file. I will start that next week.

Android Development – No Fluff Just Stuff Conference

Sunday, September 26th, 2010

I attended the a conference and the were talking about how you can build phone applications with HTML5 and JavaScript. These applications will work for all 3 major phones. You serve up HTML5 and JavaScript from your web server and it works everywhere… Imagine that, why hasn’t anyone ever thought of this before?

Well, they have, I have been hearing this story for years, maybe over 10 years.

I like web applications a lot. They are very nice. I like applications that run locally better. I can play Soduko online and I can play Soduko on my computer and I can play Soduko on my phone. The one I like the best is the game on my phone. The one I like the second best is the one on my computer.

The reason I like applications that run on the computer is because they just work better. I don’t exactly why, they just seem more responsive and the look better and they look more unique. It seems like most online applications look similar and act in a similar way. It’s like online apps are stuck in a sandbox.

I believe that in the future web applications is going to be focused on administration screens and techy stuff. I believe that non-tech/non-admin applications will be web applications. Everything else will be phone apps.

Android Development

Sunday, September 26th, 2010

So I finished up my notepad code. When I did the final step I ended up a with a compile error. I spent about 20 minutes trying to figure out the problem and it turns out that I didn’t change the signature of the activity class from “extends Activity” to “extends ListActivity”.

I am going to try it out next week.

Droid development step 8

Sunday, September 19th, 2010

So this morning I wasted all of my Droid development time ranting about the economy. So I only have time for one step.

In step we update the onCreate event. This event happens when the screen is created. I think of it as the first time the screen is displayed.

This is a key step for me, because this is where the DB comes into play. Good stuff. After this step is complete there is a compile error. The error is because the fillData method isn’t implemented until step 12.

That’s it for tonight.

This week’s android

Sunday, September 12th, 2010

So last week I was pressed for time and all I did was download and uncompress the lesson at:

http://d.android.com/guide/tutorials/notepad/index.html

That part was very straight forward.

This week I started following the steps at http://d.android.com/resources/tutorials/notepad/notepad-ex1.html

Step 1: I was able to follow them without a problem.
Step 2: Bamm! This is exactly what I need. I simple explanation of how the DbAdapter.java classes work.
Step 3: This is just a basic explanation of the layout XML.
Step 4: In this step I copy and pasted a listView and a textView ui object into the resource file. Everything still looks good.
Step 5: This step is pretty neat and new to me. In this step we make a sub layout for each notes row.
5a – File -> New -> Android XML File
5b – Enter the file name as “notes_row.xml”
5c – Click Finish
5d – Remove the Linear Layout stuff
5e – Inserted the TextView stuff
Step 6: Is a good explanation of the Notepadv1 class – it’s a very interesting and worthwhile read.
Step 7: The Notepadv1 class extends Activity, in this step we change it to extend ListActivity
7a – When I changed Activity to ListActivity everything went sideways and there were compile errors everywhere.
7b – Clicking the the first error (red underline) brings up a list of possible fixes.
7c – The first possible fix is to import “ListActivity”.
7d – I picked that one and all is well.

This will do it. The are 5 more steps for next week.

Android Development – NotepadCodeLab

Sunday, September 5th, 2010

I wanted to keep moving forward. I downloaded the zip files for the NotepadCodeLab and extracted the zip files.

Not too exciting.