Category Archives: Android

Facebook in Mobile Business

Don’t get shocked if you find a mobile phone by “Facebook” yes facebook is planning to launch a mobile phone mainly more concentrated towards to facebook application base. Hardware and OS wise not much surprise mostly probably it HTC + Android. Yes definitely it will he having modified Android as per the companies need.

photo_1364666529_temp

Read More Details

1 Comment

Filed under Android, General

Android Fundamental Building Blocks:

1. Android fundamental building blocks:

1. Activities.
2. Services.
3. Broadcast Receivers.
4. Content Providers.
5. Intents.
6. Intent Filters.

2. Android Program one Activity calling another Activity.

==> Activity : It provides the means to render a UI. Every screen in an application is an activity.

==> Service : The one which does not provide a UI. Secondly that can run in the background for an indefinite period.

==> Broadcast Receiver : A broadcast receiver is an Android component which allows to register for system or application events. All registered receivers for an event will be notified by Android once this event happens.

==> Content Providers : That expose a specific set of data to applications.

==> Intent : An intent is an abstract description of an operation to be performed. It can be used with startActivity to launch an Activity, broadcastIntent to send it to any interested BroadcastReceiver components, and startService(Intent) or bindService(Intent, ServiceConnection, int) to communicate with a background Service.

Its most significant use is in the launching of activities, where it can be thought of as the glue between activities.

==> Intent Filters : Intent filters are the means through which a component advertizes its own capabilities to handle specific job/operations to the android platform.

2. Android Program one Activity calling another Activity.

Main Activity :

package com.vinod;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class CallingActivityActivity extends Activity implements OnClickListener {

Button btn;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

btn=(Button)findViewById(R.id.button1);

btn.setOnClickListener(this);
}

public void onClick(View v) {
Intent intent=new Intent(this,SecondActivity.class);
startActivity(intent);

}
}

Second Activity:

package com.vinod;

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

public class SecondActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.second);
}
}

1 Comment

Filed under Android

Installing & Configuring Android

Installing & Configuring Android:

1. Java SDK. [Done]

2. Eclipse Java/J2EE IDE.

3. Eclipse ADT Plugin.

4. Android SDK.

Hello World Program in Android.

Leave a comment

Filed under Android

Monthly or annual Subscriptions in Google Play

Android has taken in-app Billing further by adding another important business model — subscriptions.
Starting from 11 Oct 2012, developers can use In-app Billing to sell monthly or annual subscriptions from inside of their apps.

Developers just set the price and billing interval and Google Play manages the purchase transactions for them, just as it does for other in-app products and app purchases.

This will definitely add more values to Google Play specially for anti-virus and similar products. Any Android developers even me took much excited to experience it.

1 Comment

Filed under Android

Mobile Application Development Android

Simple Hello World Android Application Development

Leave a comment

Filed under Android, Mobile Application