Category: Uncategorized
-
Tmobile G1, AT&T and 3G
Google has released unlocked versions of Tmobile G1 for developers. It costs about $500 and you have to register with Google as a merchant for Android apps ($25 registration fee). Most developers who were (and still are) enthusiastic about G1 and Android failed to realize that G1’s (and Tmobile’s ) 3G network functions on the…
-
Displaying dialogs in Android 1.0
When I say dialogs, I mean the little alert window that pops up and lets you know about an error that occurred or warns you about something you can’t do. It locks up the whole screen and demands you pay attention to it. I use a dialog to display information about the application. Android has…
-
Sending email from Android
Sending an email is a very basic functionality (for some applications anyway). Android makes it very easy to do this. All you have to do is create a new intent, setup the content of the email and send it. Intent in = new Intent(Intent.ACTION_SEND); in.putExtra(Intent.EXTRA_TEXT, “this is the body of the email”); in.putExtra(Intent.EXTRA_SUBJECT, “Subject”); in.setType(“message/rfc822”); …
-
Design Patterns – Singletons in PHP 5.x
Design Patterns (and anti-patterns) are techniques of programming. There are a lot of design patterns. It is upto the programmer to pick and choose which patterns to use based on their needs. Singleton is also a design pattern. A singleton is a type of class which can have only 1 object of its kind through…
-
Working with a database in Android
Android uses SQLite for its database needs. SQLite is a very fast and lightweight database. It is file based which makes it highly portable and an ideal candidate for use as an embedded database. For those who prefer to just go through the code and learn, the Notebook application example on Android’s website can be…
-
Installing Blackberry’s JDE
Blackberry provides an SDK for developers who want to develop applications for a Blackberry device. And, like all other mobile SDKs I have come across the documentation doesn’t answer all your questions. So, here is a short tutorial to satisfy the hunger for programming Blackberry devices. You will need Blackberry’s JDE. You can download it…
-
Debugging errors in Android
Android has a great framework to work in. However, it is in its infancy and debugging my code has been a very big problem for me. Whenever something goes wrong in the code, I always get “source not found” error. It doesn’t tell me I have a nullPointer exception , or string is incomplete. No…
-
Programming for the beast named Android
I was messing around with Android’s development kit and I have to say, learning to develop an application for Android was much easier than trying to do it for Windows Mobile. I guess proper documentation helps – a lot. Google has put published tutorials on how to do some common tasks needed for making applications,…
-
Programming for Windows Mobile
If you are too used to programming in Linux and want to move to programming for Windows mobile. It can be a bit hard. It was difficult for someone I know to digest that the SDK requires that you have Visual Studio installed (the full version not the express edition). So, here are a few…
-
National Museum of American Indian
hello asd asd