Google has recently updated their Android blog with three new marshmallow sample applications. These apps are mainly meant for the app developer rather than Android phone users. The main purpose of the sample apps is to bring improvement in Android Marshmallow. Moreover, this gives an idea for the third party application developer about Android Marshmallow and their new elements.
According to the press release, the three sample Android applications are Android Direct Share, Android Midisynth and Android Midiscope. At a glance, let’s look what’s more in these applications.
Android Direct Share: the name itself indicates the features. The App developer brings a new interface in sharing features. As you can see in this image, direct share demonstrate how this direct share actually works?Basically, we have lots of messaging platform in the Android operating system. You don’t need to hook up to check the features.
“To enable Direct Share, apps need to implement a Service extendingChooserTargetService. Override the method onGetChooserTargets() and return a list of Direct Share options.
In your AndroidManifest.xml, add a meta-data tag in your Activity that receives the Intent. Specify android:name as android.service.chooser.chooser_target_service, and point the android:value to the Service.”
Android Midisynth: Android Marshmallow highly focuses on MIDI API. This actually does the job of notifications. It includes alert you when the device plug-in/plug out respectively. The sample application shows, how this actually works in Android Marshmallow (6.0).
Android Midiscope: it is also a member of MIDI API. Midiscope shows how the Midisynth process of receiving and sending the notification. Moreover, it is also helpful to monitor the connected device. We look forward for more updates in Android Marshmallow.