How do you pass data in Android ? code example

Example 1: how many ways to pass data in android

1.we can pass data using intent object,

2.we can implement serializable , parcelable interface and pass objects by using intent,

3.we can create a new class by extending Application class, to access global members from anywhere

the android application,

4.sharedpreference ,

5.sqlite.

Example 2: how to many way to pass data in android

we can pass data using intent object,
we can implement serializable , parcelable interface and pass objects by using intent,
we can create a new class by extending Application class, to access global members from anywhere. ...
sharedpreference ,

Tags:

Misc Example