Category Archives: Android

Build an Audio Player in Android (Practice)

 

Started Android Advanced Training

Started advanced Android app development training from Udemy..Hope for the best.Keep me in your prayers 🙂

Some Useful Android Fix

Create Credits Screen in Android

Basic SQLite C.R.U.D operation in Android

Sending data back to parent activity

Action with Action Bar or Title Bar

http://www.androidhive.info/2013/11/android-working-with-action-bar/

http://www.vogella.com/tutorials/AndroidActionBar/article.html
http://developer.android.com/guide/topics/resources/string-resource.html#FormattingAndStyling

Some Android Links that May Help

http://stackoverflow.com/questions/12435542/how-to-use-intent-constructor

Android Core Building Blocks

Android core building blocks

Content Provider: are use to share data between the applications

Fragment:
Fragments are like parts of activity.An activity can display one or more fragments on the screen at the same time.

Service:
Service is a background process that can run for a long time
Service can be local or remote.

Intent:Intent is used to invoke components.It is mainly used to:
Start the service
Launch the activity
Display a webpage
Broadcasst a message, Dial a phone call etc.

Intent intent=new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(“http://www.zakilive.com”));
startActivity(intent);

Activity:
An activity is a class that reprersents a single screen.It is like a frame in AWT.

View:
A view is the UI element such as button,label,text field etc.Anything that you see is a view.

AndroidManifest.xml

It conatins information about activities,content providers,permissions etc.

AVD(Android Virtual Device)

Android Core Building Blocks

Android core building blocks

Content Provider: are use to share data between the applications

Fragment:
Fragments are like parts of activity.An activity can display one or more fragments on the screen at the same time.

Service:
Service is a background process that can run for a long time
Service can be local or remote.

Intent:Intent is used to invoke components.It is mainly used to:
Start the service
Launch the activity
Display a webpage
Broadcasst a message, Dial a phone call etc.

Intent intent=new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(“http://www.zakilive.com”));
startActivity(intent);

Activity:
An activity is a class that reprersents a single screen.It is like a frame in AWT.

View:
A view is the UI element such as button,label,text field etc.Anything that you see is a view.

AndroidManifest.xml

It conatins information about activities,content providers,permissions etc.

AVD(Android Virtual Device)

Android – Logcat Activity Showing in Android Studio

Some change in HelloWorld project in Android Studio in MainActivity.java
code:

Reference:
http://www.javatpoint.com/android-life-cycle-of-activity
http://www.tutorialspoint.com/android/android_acitivities.htm

Android A to Z

Here i am going to describe all the basic to advanced android experience I have learned …I have nfolowed tutorialspoint.com and lynda.com mainly…Sharing is carin..By sharing here it will be clear to mine also 🙂

 

Application Component

Activities -Dictate the UI and handle the user interaction
Services-The background processing associated with application
Boradcast Receivers – They handle communication between android os and applications
Content Providers – The handle data and database management issues

Activiity can implemented as subclass of activity as follows:

public class MainActivity extends Activity{

}

Services can be implemented as follows:
A service is implemented as a subclass of service class as follows:

public class MyService extends Service{

}

Broadcast receiver is implemeted like this:
Broadcast receiver is implemented as Broadcast receiver class and each message is broadcasted as an intent object

public class MyReceiverNew extends BroadcastReceiver{
}

Content Providers requests is handled by the methods of ContentResolver class

public class MyContentProvider extends ContentProvider{

}

There are some additional components
Fragments-behaviour of UI in an activity
Views – UI elements that are drawn onscreen including buttons, lists, forms etc.
Layout – View hierarchies that control screen format and appearance of the views

Intents – Message wiring components together

Resources – External elements, such as strings, constants and drawable pictures.

Manifest – Configuration file for the application

Performed the Hello World named example with Android Studio….By File>New Project

Need to Finish this  Chapter from  -> Android Resource

-Need to complete the basic android chapters to Advanced topics
– then Need to read some tutorials like Android Navigation and SQL Database from tutorialspoint.
– But first of all need to clear all the basics of java OOP

করে করে এগোতে হবে…সেটা না পারলে দেখে দেখে বুঝে নিয়ে এগোতে হবে পরে সময় পেলে আবার করে করে এগোতে হবে কিন্তু বসে থাকা যাবে না কনফিডেন্স গ্রো করতে হলে অনুশীলন বা চর্চার কোনো বিকল্প নাই।