Android Intent

Android Intent : Android training in Chandigarh

android training institute in chandigarh


Let us discuss about intents in android with android training in Chandigarh. An Android Intent is a question conveying an aim i.e. message 
starting with one part then onto the next segment inside the application or outside the application. The goals can convey messages among any 
of the three center segments of an application - exercises, administrations, and communicate beneficiaries. The goal itself, an Intent protest,
 is a uninvolved information structure holding a dynamic portrayal of a task to be performed.
For instance, we should expect, that you have an Activity that necessities to dispatch an email customer and sends an email utilizing your 
Android gadget. For this purpose,your Activity would send an ACTION_SEND alongside proper chooser, to the Android Intent Resolver. 
The predetermined chooser gives the best possible interface for the client to pick how to send your email information.
For instance, expect, that you have an Activity that requirements to open URL in a web program on your Android gadget. For this reason,
your Activity will send ACTION_WEB_SEARCH Intent to the Android Intent Resolver to open given URL in the web program. The Intent 
Resolver at that point passes your page to the web program and begins the Web Browser Activity. There are separate instruments for conveying
 goals to each kind of segment - exercises, administrations, and communicate recipients.

S.N. Method & Description

1 Context.startActivity() : The Intent question is passed to this technique to dispatch another movement or to get a current action to explore new territory.
2 Context.startService() : The Intent protest is passed to this strategy to start an administration or convey new guidelines to a continuous administration.
3 Context.sendBroadcast() : The Intent question is passed to this strategy to convey the message to all intrigued communicate recipients.

 INTENTS & FILTERS

Intent Objects
An Intent question is a heap of data which is utilized by the segment that gets the expectation in addition to data utilized by the Android framework.
An Intent question can contain the accompanying segments in light of what it is imparting or going to perform Action This is compulsory piece of 
the Intent protest and is a string naming the activity to be performed or, on account of communicate aims, the move that made place and is being 
accounted for. The activity generally decides how whatever remains of the aim question is organized.The Intent Resolver parses through a rundown 
of Activities and picks the one that would best match "The setData() technique indicates information just as a URI, setType() determines it just as a 
MIME write, and setDataAndType() indicates it as both a URI and a MIME compose."

Some examples of action/data pairs are: S.N. Action/Data Pair & Description
1. ACTION_VIEW content://contacts/people/1 Display information about the person whose identifier is "1".
2. ACTION_DIAL content://contacts/people/1 Display the phone dialer with the person filled in.
3. ACTION_VIEW tel:123 Display the phone dialer with the given number filled in.
4. ACTION_DIAL tel:123 Display the phone dialer with the given number filled in.

Android

5. ACTION_EDIT content://contacts/people/1
Edit information about the person whose identifier is "1".
6. ACTION_VIEW content://contacts/people/
Display a list of people, which the user can browse through.

Category
The classification is a discretionary piece of Intent protest and it's a string containing extra data about the sort of part that should deal with the goal. 
The addCategory() strategy puts a class in an Intent question, evacuate Category() erases a classification already included, and getCategories() gets
 the arrangement of all classifications at present in the protest. Here is a rundown of Android Intent
Standard Categories. You can check detail on Intent Filters in beneath segment to see how would we utilize classifications to pick fitting movement
 comparing to an Intent.
Extras
set and read using the putExtras() and getExtras() strategies independently. Here is an once-over of Android Intent Standard Extra Data.
Flags
It teach the android framework how to dispatch an action, these flags are discretionary piece of intent protest, and how to treat it after it is propelled 
and so forth.
Component Name
It is an android ComponentName protest speaking to either Activity, Services or BroadcastReceiver class. In the event that it is set, the Intent protest is 
conveyed to an occasion of the assigned class, generally Android utilizes other data in the Intent question find a reasonable target. The part name is 
set by setComponent(), setClass(), or setClassName() and read by getComponent().
Types of Intents
There are following two types of intents supported by Android till version 4.1
Android Explicit Intents
For example:
// Explicit Intent by specifying its class name
Intent i = new Intent(this, TargetActivity.class);
i.putExtra("Key1", "ABC");
i.putExtra("Key2", "123");
// Starts TargetActivity
startActivity(i);
Implicit Intents
These intents do not name a target and the field for the component name is left
blank. Implicit intents are often used to activate components in other
applications. For example:
// Implicit Intent by specifying a URI
Intent i = new Intent(Intent.ACTION_VIEW,
Uri.parse("http://www.example.com"));
// Starts Implicit Activity
startActivity(i);
The target component which receives the intent can use
the getExtras() method to get the extra data sent by the source component.
For example:
// Get bundle object at appropriate place in your code
Bundle extras = getIntent().getExtras();
// Extract data using passed keys
String value1 = extras.getString("Key1");
String value2 = extras.getString("Key2");
Example: Following is the example that shows the functionality of android intent applications which android build-in applications.
Step Description
1 You will use Eclipse IDE to create an Android application and name it as
IntentDemo under a package com.example.intentdemo. While creating
this project, make sure you Target SDK and Compile With at the latest
version of Android SDK to use higher levels of APIs.
2 Modify src/MainActivity.java file and add the code to define two listeners
corresponding two buttons i.e. Start Browser and Start Phone.
3 Modify layout XML file res/layout/activity_main.xml to add three buttons
in linear layout.
4 Modify res/values/strings.xml to define required constant values.
5 If you want to launch the android emulator applications, verify the result of changed done in application.

Following is the content of the modified main activity file
src/com.example.intentdemo/MainActivity.java.
package com.example.intent demo;

import android.net.Uri;
import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {

Android super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button startBrowser = (Button) findViewById(R.id.start_browser);
startBrowser.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
Intent i = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("http://www.example.com"));
startActivity(i);
}
});
Button startPhone = (Button) findViewById(R.id.start_phone);
startPhone.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
Intent i = new Intent(android.content.Intent.ACTION_VIEW,
Uri.parse("tel:9510300000"));
startActivity(i);
}
});
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action
// bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
}
Following will be the content of res/layout/activity_main.xml file:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"



To learn more visit : Android Training in Chandigarh

Android Updates : Android Training in Chandigarh

Interesting Facts About Android

android training in chandigarh 


Google did not make Android, they purchased the organization in 2005.

Android was initially made as a working framework for computerized cameras.

Google propelled Android working framework in November 5, 2007, which is a Linux based programming framework.

The word Android alludes just to a male robot, while a female robot is called "Gynoid".

Google has statues outside its HQ for every rendition of the Android OS.

Aside from Android 1.0 and 1.1, all other Android variants have been named after sweet treats or pastries.

Google Maps compute movement by following how quick Android gadgets are proceeding onward the street.

A standout amongst other piece of being an Android proprietor is its applications. Its application store "Google play" has in excess of 48 billion application introduced, of which the vast majority of them are free.

NASA even uses Android.They sent 2 Nexus S handset running Android Gingerbread into space to test their sensors in circle on board the International Space Station.

Android is accessible in around 46 dialects, this additionally implies applications can be delivered in various dialects to cover a more extensive gathering of people.

Irina Blok outlined the logo in 2007. The general thought originated from the man on can entryway.

Android's logo isn't really called Android, Google informally call him Bugdroid.

Android 3.0 was the main variant to never keep running on telephones

HTC Dream – First Android Smartphone

Android isn't just the most broadly utilized portable working framework yet in addition the most noteworthy offering OS by and large.

The Google Play store has had more than 1 million Android applications distributed, and more than 50 billion applications downloaded.

71% of portable engineers create for Android, uncovered by a designer review.

On June 25, 2014, at Google I/O, it was declared Android TV, a Smart TV stage, is supplanting the beforehand discharged Google TV.

On June 26, 2014, Google declared Android Auto for the auto.

  • Normal number of times Android clients touch their telephones every day: 2,617 times.
  • Nation that downloaded the most Android applications in 2016: India
  • Microsoft makes a large number of dollars of Android sovereignties consistently.
  • Sony made the primary Android smartwatch in 2010.
  • Google drive now has 800 million clients.

Google profits from Android in two routes: One, through ads given by Google appeared on Android telephones. Two, from income Google makes from Google Play, its versatile application store.

Read More and learn More @ Android Training in Chandigarh

Android Training in chandigarh : Android P has arrived, but is anybody getting excited?

What’s new with Android P?

Android training in chandigarh  


Google made the principal variant accessible on Developer Preview
 last Wednesday. We had the chance to give it a shot and find what's 
new, yet we need to concede that it won't change the lives of clients.
 Engineers, in any case, will be extremely satisfied with the refresh, 
particularly with its help for the score, which will allow application 
makers to enhance their applications for cell phones that have an indent.

Among the progressions that will be observable for clients, we need
 to say the presence of hues in the menus. This is obviously subjective, 
however it's pleasant to be somewhat less stringent with the outline.
 Goodness and another change: in warnings you'll see pictures and
 stickers, or finish discussions with contact names. Affirm, this doesn't 
thoroughly change the world, however it's a change. You'll additionally
 have the capacity to appreciate HDR content on gushing applications,
 which is pleasant yet not really a need for clients who don't watch 
recordings on their telephones. The other new highlights incorporate
 improvements to different highlights and security.

Is it finally getting interesting?


As a rule, new forms dependably increment the security of a gadget
 to a more noteworthy or lesser degree. A definitive objective is to offer 
a more steady framework that is liable to less dangers, particularly 
to maintain a strategic distance from installment issues and programmers
. New forms of working frameworks are great and even critical, yet they
 aren't too fascinating to clients.

This can be clarified by a few elements. From one perspective, Android is
 frustrating on the grounds that it needs development. The proposed 
curiosities appear to be more lined up with the market than the want 
to offer genuine incentive to clients. This is most obvious on a stylish
 level: including hues is decent, however is a long way from a noteworthy 
change. Be that as it may, with regards to Google, Apple doesn't generally
 improve either.

In the past Google was for programming designers: it used to offer what
 it thought was the best programming on its Nexus, and after that producers 
were allowed to draw motivation from it or not. Google at that point turned 
into an undeniable maker and started to offer a few highlights just on Pixels, 
and as a producer the organization declined to share the product of its
 camera application and in addition for its launcher. At the end of the day,
 Google changed its system: it used to indicate what they specialized in
 on Android stock programming, and now they demonstrate what they
 excel at on Pixels. Its technique bodes well, yet it's a disgrace for some
 Android clients.

Why dream about Android P if we can't get it?

To finish up, we need to discuss the exhaustion we feel when know we're 
sitting tight for new forms. Numerous clients are still on Marshmallow or 
even Lollipop. This issue may be revised in the long haul with Treble and
 Android One/Go, however meanwhile, there is still work to do. I'm not 
saying that another adaptation shouldn't be discharged, yet it's not 
astonishing that there's so little eagerness.

There are a few forms of Android and the figures delineate the pitiful 
truth: a lion's share of clients are utilizing more seasoned variants.
 This past February, a half year after its dispatch, just 1.1% of clients 
were utilizing Android Oreo. Nougat is presently improving the situation 
with 28.5% of clients. 28.1% of clients are utilizing Marshmallow, and 
every single past rendition represent 42.3%. To put it plainly, this implies
 all adaptations discharged in 2015 or before represent over 70.4% of 
the market. In the event that we include the 28.5% from Nougat, it
 implies 98.9% of clients still don't have Android O, and in this manner 
can't change to Android P unless they purchase another telephone.

Read More @ Android Training in Chandigarh

Android Training in Chandigarh

Android training in Chandigarh

Android Training in Chandigarh 

Android training is in trending now days. Everyone wants to become a best android developers.
 Android training in Chandigarh is the right place to become a good and professional Android
 developer which will help you to get your dream job. Many students have questions about the training
 centre that weather their teaching is professional or not, but Android training in chandigarh is the 
best place to learn android training. The training centre in Chandigarh are the best training centre in 
Punjab and Haryana. I will guide you to get Best Android training in Chandigarh. There is so many  
android training center in Chandigarh but only few are best and known for their professional training.

Now i’ll tell you about the benefits of Android training in Chandigarh:

  • Android covering 82% of Worldwide smartphone market.
  • Android is the platform from which more than 200 million countries are connected.
  • Android gives the easy way to get Music, Videos, Apps, Games, Movies and many more.
  • Most of the industries, MNCs, Hospitals, Banks, Website developer and other companies are
     using Android.
  • Android training gives you the chance to earn lot of money from your knowledge.
  • Android developing cost less investment.
  • Android Developer can earn up-to millions with less investment.
  • Best IT company demanding android developers and it’s increasing day by day.

Personally say, I was the student of CBitss technologies and i learn digital marketing course and now
 i’m working in good company at the place of Digital Marketing Expert and i’m getting good salary. So,
 If you are good in technology and want to become self employed and want to earn good money then 
don’t hesitate visit CBitss technologies and they will guide you to getting best course.

Android Application Development Training Program
  • Expand & production your very own Android application.
  • Learn how Android applications work – applications lifecycle, configuration intents, files and 
    activities.
  • Get a well operating comprehension of Android UI –layouts, components, screen orientation and 
    event handling.
  • Get performing artistry of Android custom UI components.
  • Get a able intimacy with broadcast acceptor & android services.
  • Appreciate Android associate capability such as for example Java XML, Java Sockets and 
    JSON.
  • Discover basic Android applications that act as an running detail regarding the topics enclosed 
    in class.
Course Curriculum Started with Android
  • Android Application fundamentals
  • Android Activities & tasks
  • layouts  & Components
  • Working on resources of Android
  • Layouts & views
  • Working on  interaction events of Android
  • Achieve of resources & grouping
Creating menus on Android
  • Internal Styles & themes
  • Creating dialogs, adding menus & icons
Working with notifying the users
  • Working with debugging applications
  • All Intent & intent filters
  • Using of Toast, Status bar, dialog notification
SQL database
  • Working with  sqlite
  • Sqlite open helper & creating a database
  • Opening & closing
Content providers
  • Content provider mime types of Android
  • Searching for content on applications
  • All editing in Adding, changing, &  removing content
Graphics & Animations
  • Playing with  graphics in Android
  • xml driven Drawing in Android
  • Best practice  on Canvas drawing
Animations
  • Programmatically animations
  • Tweened animations
Accessing Android hardware
  • Working with  the media apps
  • Working with  the camera
  • Working with  the accelerometer & compass
  • Working with  Bluetooth
  • Animations (Creating animations, Introduction to twined animations, Applying tweened 
    animations)
  • Location Services (GPS, Google MapView, Telephony, SMS)
Career scope Android Development Training:
  • Opportunity for the android application developers of mobile devices has developed to a great
     anxiety. Out of all the mobile operating systems, the mobile operating system that is rising in 
    popularity and revenue rates is the Android operating system. Best program in android for
     course and job at Chandigarh
  • After conclusion of classroom training, student is surely going major projects training and some
     projects that is live training the advice of your Well experienced Android developer.

    For More information about the Android training in Chandigarh 
    CBitss Technologies
    SCO 23-24-25, Level 3rd, SEC 34-A
    Chandigarh,
    Chandigarh
    160022.
    Phone: 9988741983