Android Articles - Page 593 of 160

How to pass data between activities with android Serializable

Chandu yadav
Updated on 30-Jul-2019 22:30:23

2K+ Views

Using serialization, we can pass object's state or array between two activities. Before getting into the code, we should know about serialization and how does it work with intent in android.Serialization is a marker interface. Using serialization, we can convert state of an object into a byte stream. The byte stream is a platform independent, so it's going to work on the JVM and other platforms. Here is the example to send an object between two activities.Step 1 − Create a new project in Android Studio, Go to File ⇒ New Project and fill all required details to create a ... Read More

How to create CircularImageView in android?

George John
Updated on 30-Jul-2019 22:30:23

1K+ Views

This example demonstrate about how to Create CircularImageView in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 −To make circler view, we should add CircularImageView library in gradle file as shown below.apply plugin: 'com.android.application' android {    compileSdkVersion 28    defaultConfig {       applicationId "com.example.andy.myapplication"       minSdkVersion 15       targetSdkVersion 28       versionCode 1       versionName "1.0"       testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"    }    buildTypes {       release ... Read More

How to check internet connection in android?

Chandu yadav
Updated on 30-Jul-2019 22:30:23

4K+ Views

This example demonstrate about how to check the state of internet connection through broadcast Receiver.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − To find the internet status we have to add network state permission to AndroidManifest.xml file as shown below.                                                                     Step ... Read More

Integrating SAP with Android

V Jyothi
Updated on 30-Jul-2019 22:30:20

560 Views

SMP 3/HCPMS (SAP Cloud-based Mobile services) is the new SAP product to create enterprise mobile apps. This can be used to integrate SAP with different mobile platforms. SAP recently launched the SAP Cloud Platform mobile services- a full-featured mobile app platform in the cloud, partners gain the flexibility to build and run native and hybrid apps that integrate securely with on-premise or cloud-based systems.

Advertisements