Electronic Components Datasheet Search
  English  ▼

X  

AN4430 Datasheet(PDF) 12 Page - STMicroelectronics

Part # AN4430
Description  Designing an NFC Android Application for M24SR and M24LR devices
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4430 Datasheet(HTML) 12 Page - STMicroelectronics

Back Button AN4430 Datasheet HTML 8Page - STMicroelectronics AN4430 Datasheet HTML 9Page - STMicroelectronics AN4430 Datasheet HTML 10Page - STMicroelectronics AN4430 Datasheet HTML 11Page - STMicroelectronics AN4430 Datasheet HTML 12Page - STMicroelectronics AN4430 Datasheet HTML 13Page - STMicroelectronics AN4430 Datasheet HTML 14Page - STMicroelectronics AN4430 Datasheet HTML 15Page - STMicroelectronics AN4430 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 42 page
background image
Android Application Overview
AN4430
12/42
DocID025722 Rev 1
Intent filters
Intent filters are xml structured definition stored with the component declaration in the
android manifest file (detailed later on in this application note). This structure is attached to a
component definition and declares the intent(s) the component is able to receive to perform
action. By this way, user makes possible for other application to start an activity component
with a defined intent. Likewise, if component activity declaration doesn’t have an intent filter
declaration the activity is only start from its application owner.
Activities
Activity is a component belonging to an application and described in the android manifest of
the application it belongs to. The activity may provide a (partial) screen with which the user
can interact with. Application is usually composed by several activities that are loosely
bound to each other. One activity is declared as the main activity which launched on the
application start. This main property is declared in the application manifest.xml file.
Each activity from the started application can start other activity, which present a new screen
to the user. Every time a new activity is started it is put in a stack and the previous one put in
stopped state while the Android system keeps the activity in a stack abiding to the basic
“last in, first out” stack mechanism also called back stack. When the current activity is
finished (action ended, back button pressed) it is popped from the back stack and destroy,
the activity on the top of the back stack is then resumed.
Activities life cycle
Activity life cycle is handled with callback methods that the system calls when the activity
transition between various states. Each activity developer implements must inherit for
Activity class (or an existing subclass of it).
Figure 3. Activity Java skeleton
public class ExampleActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// The activity is being created.
}
@Override
protected void onStart() {
super.onStart();
// The activity is about to become visible.
}
@Override
protected void onResume() {
super.onResume();
// The activity has become visible (it is now "resumed").
}
@Override
protected void onPause() {
super.onPause();
// Another activity is taking focus (this activity is about to be
"paused").
}
@Override
protected void onStop() {
super.onStop();
// The activity is no longer visible (it is now "stopped")
}
@Override
protected void onDestroy() {
super.onDestroy();
// The activity is about to be destroyed.
}
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com