Tuesday, February 28, 2012

Gesture and Gesture detection in Android

Here I will show you how to control Robot through the Gesture Movement, basically here I'm getting the gesture movement, left right, up, down, based on this value (X and Y direction), I'm passing this value to Controller through mobile bluetooth and based on this command Robot will move left, right, fwd, back.

Gesture detection is one of the great features of all touch based mobile devices. Gestures are patterns drawn by the user on the screen. Simple gestures include tap, scroll, swipe, etc. Complex gestures are more complex patterns drawn on the screen. In Android we can detect simple gestures using GestureDetector class and complex gestures using GestureOverlayView class.

SMS Messaging in Android

It would be safe to say that nearly every mobile phone sold in the past decade has SMS messaging capabilities. In fact, SMS messaging is one great killer application for the mobile phone and it has created a steady revenue stream for mobile operators. Understanding how to use SMS messaging in your application can provide you with many ideas to create the next killer application.

In this article, we take a look at how you can programmatically send and receive SMS messages in your Android applications. The good news for Android developers is that you don't need a real device to test out SMS messaging - the free Android emulator provides the capability to do so.

Upcoming Releases: 1.0.1, 1.1, and beyond for Android

With the start of a new year, we’ll be resuming our more regular team updates to keep you in the loop on what we’re working on here in the jQuery Mobile project. To kick things off, we’d like to share our current thinking on the next few releases so you can start planning ahead.

JQuery planning on releasing our first maintenance release for 1.0 within the next two weeks. This will consist of bug fixes and minor improvements to 1.0 after which we’ll focus on getting 1.1 out the door.

Saturday, February 25, 2012

HelloWorld with EditText & TextView and Orinetation

In this example you will see Helloworld with EditText features and TextView feature along with Orientation.

Horizontal Orientation - it is default orientation, no need to provide explicitly in xml
Vertical Orientation - we need to specify, if we wanted, 

Wednesday, February 22, 2012

User scenario testing for Android - Robotium

Robotium is a test framework created to make it easy to write powerful and robust automatic black-box test cases for Android applications. With the support of Robotium, test case developers can write function, system and acceptance test scenarios, spanning multiple Android activities.
Robotium has full support for Activities, Dialogs, Toasts, Menus and Context Menus.
See below for common Robotium questions and answers.

Monday, February 20, 2012

GridView with Image and TextView

How to use GridView with Images and TextView ?
How to Organize TextView and Image in Horizontal & Vertical combination ?
How to Create Advanced GridView with Image and TextView ?

We will solve here all the above question.
In this tutorial we are going to see how to create an advanced Gridview screen, that will have text + image

It’s time to say bye-bye to buttons - Android

With its new iOS app, Clear, Realmac Software has taken the “less is more” axiom to its ultimate conclusion. The Clear app puts a new spin on the common to-do list by enriching it with a playful perception of depth, dynamic transitions and crisp audio feedback, all wrapped under a minimalistic visual language and shallow navigation.

Sunday, February 19, 2012

14 Ways To Be A Great Startup CEO

Everyone thinks that being a startup CEO is a glamorous job or one that has to be a ton of fun. That's what I now refer to as the "glamour brain" speaking aka the startup life you hear about from the press. You know the press articles I'm talking about... the ones that talk about how easy it is to raise money, how many users the company is getting, and how great it is to be CEO. Very rarely do you hear about what a bitch it is to be CEO and how it's not for every founder that wants to be an entrepreneur. I've spent a lot of time recently thinking about what it takes to be a great Startup CEO that is also a founder. Here are some of the traits I've found.

Friday, February 17, 2012

Google Map in Android

<strong>Introduction -</strong>
Google Maps is one of the many applications bundled with the Android platform. In addition to simply using the Maps application, you can also embed it into your own applications and make it do some very cool things.

<strong>Objective - </strong>
Change the views of Google Maps
Obtain the latitude and longitude of locations in Google Maps
Perform geocoding and reverse geocoding
Add markers to Google Maps

<strong>Common Issue</strong>
API key is incorrect (http://code.google.com/android/add-ons/google-apis/mapkey.html)
You are using the standard Android emulator and not the Google APIs.
You have extended Activity instead of MapActivity

Tuesday, February 7, 2012

Android, ListView and Sqlite, Databases

Here I'll show how to get data from the Sqlite database and show them into ListView. I am intending to query a database using a SQLiteDatabase API. The results I obtain are in a Cursor object that I iterate and create an ArrayList that is passed to the ListView. Let us see the steps involved in this exercise:
What you will learn -

ListView icon
ListActivity and Layout
What is Adapter
ListViews and performance
Create ListActivity Show Data from Array without Database
ListActivity with own layout
Implementing your own ListAdapter
Implementing your own adapter
Rows interacting with the data model – CheckBox
Use of SimpleCursorAdapter – Database
What is SQLite
SQLite in Android – brief
rawQuery() Example
query() Example
What is Cursor?
ListViews, ListActivities and SimpleCursorAdapter –Details
ListView with Database

Wednesday, February 1, 2012

Android SDK : Launching the Camera

launch the built-in Camera application and use the results for displaying the captured image. You will achieve this by creating an Intent within your application’s Activity.
process the Intent’s results and use the resulting image within your application.

<strong>Step 1: Create an Android Application</strong>
<strong>Step 2: Creating the Intent
Step 3: Asking for Results</strong>
<strong>Step 4: Handling the Results</strong>
<strong>Step 5: Getting the Image</strong>
<strong>Step 6: Enforcing Device Requirements</strong>