Android Development - Tech Notes
Android Development - Tech Notes
an Android phone?
Android is now nearly eight years old and despite
the green robotandroid peeking out of phone shops
up and down the high street, there are still plenty
of people who dont know what Android is.
If you fit into this category then have no fear; this article is your
complete guide to understanding what Android is, what it can do
and where to find it, including the best Android mobile phones,
Android apps, which games you can play on Android devices, the
very best features you can enjoy and how to update to the latest
version.
What is Android?
The same account that lets you backup your contacts can also have
financial details added to it, giving you the ability to purchase
content from the Google Play store directly. You can pay either by
debit or credit card and initial setup takes less than five minutes
from a computer.
Huawei, LG and ZTE have all made Android phones (and tablets).
Blackberry also launched its very first Android phone, the strangelynamed Blackberry Priv at the end of 2015.
Check out our guide to the best Android phones right now.
Android updates
Google is constantly working on new versions of the Android
software. These releases are infrequent; at the moment they
normally come out every six months or so, but Google is looking to
slow this down to once a year. Check out our handy,
comprehensive guide to every Android version out there.
Read next: How to check for updates for your Android phone
Versions usually come with a numerical code and a name thats so
far been themed after sweets and desserts, running in alphabetical
order.
Android 1.5 Cupcake
Android 1.6 Donut
Android 2.1 Eclair
Android 2.2 Froyo
Android 2.3 Gingerbread
Android 3.2 Honeycomb - The first OS design specifically for a
tablets, launching on the Motorola Xoom
Android 4.0 Ice Cream Sandwich: The first OS to run on
smartphones and tablets, ending the 2.X naming convention.
Android 4.1 Jelly Bean: Launched on the Google Nexus 7 tablet
by Asus
Android 4.2 Jelly Bean: Arrived on the LG Nexus 4
Android 4.3 Jelly Bean
Android 4.4 KitKat: Launched on the LG Nexus 5
Android tablets
Like Android phones, Android tablets come in all shapes and sizes.
These can range from the 7-inch screen of the Asus-made Google
Nexus 7 to far larger displays, such as the 10-inch display found on
the Nexus 10.
Android updates are normally received OTA (Over The Air), that is,
sent directly to your Android phone without the need for a computer.
Normally, once your Android phone or tablet is due to get an
upgrade, you'll see a notification in the bar at the top of the screen.
You'll then be prompted to connect to WiFi to avoid incurring extra
data charges - updates can be quite big and downloading them over
a mobile data connection isnt advised as it may result in expensive
data charges.
Updates are generally one-stage processes and relatively
straightforward, but in some cases you may need to backup/save
any media (photos, movies, music) or apps you've downloaded
before updating.
Here's how to update your Android phone
Android
Android is an operating system based on the Linux kernel. It was designed primarily for touchscreen
mobile devices such as smart phones and tablet computers. Initially developed by Android, Inc., Google
later bought in 2005.
Let's start making an Android app from scratch. Before beginning to program, you should have Android
SDK (Software Development Kit) to develop and test android applications. In case, you don't have it,
download it from developer.android.com if you don't get android SDK+ADT download URL than download
from here directly: Android SDK+ADT version 22. For all android beginners, we suggest you to watch the
"Getting Started with Android SDK | Hello World Example" video from my YouTube channel to learn basic
things related to android SDK.
Here we have provided Android Code Examples, Tutorials and projects to make android applications:
Event organized by coders hub:Android-Geeks
Warnings/ Errors/Needs: Warning: No DNS servers found in Android Eclipse
Run two or more instances of emulator at a time
Emulator error at runtime: std::bad_alloc
Tutorials with code examples for Beginner Android Developers: Set text, text color, image using Java
Print numbers from 1 to 100 in ScrollView
Change image when we click on buttons
Change image when we click on a single button
Take numbers from EditText and add them and display on TextView
Make Temperature conversion application
Create Menu using XML
Create Menu using Java
Access Call, Camera, Web pages
Open Second Activity using Intent
Make any column invisible in Table layout
Android Alert Dialog Box
Send large SMS using SMS Manager
Create List and perform Actions on it
Create Auto Complete Text
Create Spinner and perform Action on it
Create Context Menu and perform action in Android
Android Projects with download link: Swipe Left and Right using Gesture Detection Project
Custom Left-Right and Up-Down Slide Show Project
Android Chat Application Project
Student result automation Project
Facebook like slide show project
Android Login, Registration page with SQLite Project
Android Login,Register page with MySQL and PHP Project
Get SIM number on mobile restart Project
Gmail like Navigation drawer Project
Android Date & Time Picker Project.
Call log details after ending Call
In Android app Screen-shots and ListView tricks
Advance Android Google Map 2 Tutorial with Examples - Part 2
If you have any project or tutorial to share than send me via mail: info@coders-hub.com or if you have
any problem or suggestion to this site visit contact us page. Share and help all developers.
Come and be a part of coders-hub...Let's Spread The Technology!!!
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#004444" >
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="30sp"
android:textColor="#000"
android:text="saturday"
/>
<ImageView
android:id="@+id/imageView1"
android:layout_width="200dp"
android:layout_height="200dp"
/>
</LinearLayout>
Now open your Java file and initialize text view and image view object.
To set text on text view use: textview_object.setText(Any String);
To set color on text use: textview_object.setTextColor(Color_name);
To set image first drop any image to any drawable folder and use this code to set image on image
view: imageview_object.setImageResource(R.drawable.image_name);
The code of android Java file is given below:
import android.widget.TextView;
import android.app.Activity;
import android.graphics.Color;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//set layout
setContentView(R.layout.activity_main);
//initialize text view object
TextView tv=(TextView)findViewById(R.id.textView1);
//set text color
tv.setTextColor(Color.RED);
//set text
tv.setText("This is my first app");
//initialize image view object
ImageView im=(ImageView)findViewById(R.id.imageView1);
//set image resource
im.setImageResource(R.drawable.myimage);
}
}
Now runs your project and if have any problem with the above code than please comment.
Related Tutorials: Print numbers from 1 to 100 in ScrollView
Change image when we click on buttons
Change image when we click on a single button
Take numbers from EditText and add them and display on TextView
Make Temperature conversion application