Android 

Marshmallow
+YossiElkrief
MaTriXy

Tikal Knowledge
+NirHartmann
nirhart

Drippler
Android 

Marshmallow
+YossiElkrief
MaTriXy

Tikal Knowledge
+NirHartmann
nirhart

Drippler
Android 

Marshmallow
+YossiElkrief
MaTriXy

Tikal Knowledge
+NirHartmann
nirhart

Drippler
Demos
Seeing is just the beginning
App Permissions
Visit The
Permission Lab
Runtime permissions
Voice Interactions
Getting follow-up user input
• Music App
• “play some music”
• “what genre?”
• Home Automation App
• “OK Google, turn on the lights”
• “which room?”
• Verifying that an activity should complete
• “Are you sure?”
Voice Interactions
VoiceInteractor 

used for response prompting and confirmation

<activity android:name=“com.demoapps.activities.DemoVoice”>

<intent-filter>

<action android:name=“com.demoapps.DEMO_ACTION_INTENT” />

<category android:name="android.intent.category.DEFAULT" />

<category android:name="android.intent.category.VOICE" />

</intent-filter>

</activity>
Voice Interactions
class DemoVoice extends Activity {

@Override

public void onResume() {

if (isVoiceInteraction()) {

// do our voice stuff here

}

finish();

}

}
Voice Interactions
class VoiceConfirm extends

VoiceInteraction.ConfirmationRequest {



public VoiceConfirm(String prompt) {

super(prompt, null);

}



@Override

public void onConfirmationResult(

boolean confirmed, Bundle null) {

if (confirmed) {

// do voice stuff

}

finish();

}

};
class DemoVoice extends Activity {

@Override

public void onResume() {

if (isVoiceInteraction()) {

getVoiceInteractor().
sendRequest(new
VoiceConfirm(userPromptString));

} else {

finish();

}
}
}
Now On Tap
“Google's 'Now on Tap' is Android's next killer feature” (CNET)
“Google Now on Tap is the coolest Android feature” (ANDROIDPIT)
“The next evolution of the digital concierge” (Tech Republic)
Android Marshmallow demos
Android Marshmallow demos
Android Marshmallow demos
• Scans your screen only when you press and hold
the Home button
• Fully opt-in feature
• Work out of the box with any app
FLAG_SECURE
AssistContent
Activity.onProvideAssistData(Bundle)
Application.OnProvideAssistDataListener
Android Backup
RESTORATION SOFTWARE
Presented in Google IO 2015 by Christiaan Prins and Mike Procopio
Presented in Google IO 2015 by Christiaan Prins and Mike Procopio
Presented in Google IO 2015 by Christiaan Prins and Mike Procopio
Presented in Google IO 2015 by Christiaan Prins and Mike Procopio
Presented in Google IO 2015 by Christiaan Prins and Mike Procopio
Presented in Google IO 2015 by Christiaan Prins and Mike Procopio
Notifications
Look ma, We got an update
Icons in Notifications
Presented in Google IO 2015
Notification myNotification = new Notification.Builder(context)
.setSmallIcon(noti_icon).build();
Icon noti_icon = Icon.createWithResource(context,
R.drawable.app_ic_notification);
Icons in Notifications
Presented in Google IO 2015
Notification myNotification = new Notification.Builder(context)
.setSmallIcon(noti_icon).build();
Icon noti_icon = Icon.createWithResource(context,
R.drawable.app_ic_notification);
Icon noti_icon = Icon.createWithBitmap(myIconBitmap);
Icons in Notifications
Presented in Google IO 2015
Notification myNotification = new Notification.Builder(context)
.setSmallIcon(noti_icon).build();
Icon noti_icon = Icon.createWithResource(context,
R.drawable.app_ic_notification);
Icon noti_icon = Icon.createWithBitmap(myIconBitmap);
72°
android.graphics.drawable.Icon
Presented in Google IO 2015
Can be either:
Drawable resource id
Bitmap
PNG or JPEG represented by a byte[]
android.graphics.drawable.Icon
Presented in Google IO 2015
Pay Attention to guidelines
https://www.google.com/design/spec/style/icons.html
Text
Now you can float
Text Selection
Easier selection
Floating palette with action items
Default for TextView
Other views
set ActionMode.TYPE_FLOATING
Presented in Google IO 2015
Higher Quality Text Formatting
TextView.setBreakStrategy(int);
TextView.setHyphenationFrequency(int);
TextView.setIndents(int[] left, int[] right);
Presented in Google IO 2015
Higher Quality Text Formatting
TextView.setBreakStrategy(int);
TextView.setHyphenationFrequency(int);
TextView.setIndents(int[] left, int[] right);
Presented in Google IO 2015
App Linking
SEAMLESS HANDOFF FROM WEB TO APP
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "com.example.myapp",
"sha256_cert_fingerprints": ["01:23:45:67:89:AB:CD:..."]
}
}]
https://example.com/.well-known/statements.json
Presented in Google IO 2015
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "com.example.myapp",
"sha256_cert_fingerprints": ["01:23:45:67:89:AB:CD:..."]
}
}]
https://example.com/.well-known/statements.json
keytool -list -v -keystore release.keystore
Presented in Google IO 2015
Direct Share
BECAUSE SHARING IS CARING
Direct Share
<activity ... >

<intent-filter>

<action android:name="android.intent.action.SEND" />

</intent-filter>

<meta-data android:name="android.service.chooser.chooser_target_service"

android:value=".MyService" />

</activity>
Direct Share
<activity ... >

<intent-filter>

<action android:name="android.intent.action.SEND" />

</intent-filter>

<meta-data android:name="android.service.chooser.chooser_target_service"

android:value=".MyService" />

</activity>
Direct Share
<activity ... >

<intent-filter>

<action android:name="android.intent.action.SEND" />

</intent-filter>

<meta-data android:name="android.service.chooser.chooser_target_service"

android:value=".MyService" />

</activity>
<service android:name=".MyService"

android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">

<intent-filter>

<action android:name="android.service.chooser.ChooserTargetService" />

</intent-filter>

</service>
Direct Share
<activity ... >

<intent-filter>

<action android:name="android.intent.action.SEND" />

</intent-filter>

<meta-data android:name="android.service.chooser.chooser_target_service"

android:value=".MyService" />

</activity>
<service android:name=".MyService"

android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">

<intent-filter>

<action android:name="android.service.chooser.ChooserTargetService" />

</intent-filter>

</service>
public class MyService extends ChooserTargetService {

@Override

public List<ChooserTarget> onGetChooserTargets(ComponentName name, IntentFilter filter); {

// ...

}

}

Direct Share
<activity ... >

<intent-filter>

<action android:name="android.intent.action.SEND" />

</intent-filter>

<meta-data android:name="android.service.chooser.chooser_target_service"

android:value=".MyService" />

</activity>
<service android:name=".MyService"

android:permission="android.permission.BIND_CHOOSER_TARGET_SERVICE">

<intent-filter>

<action android:name="android.service.chooser.ChooserTargetService" />

</intent-filter>

</service>
public class MyService extends ChooserTargetService {

@Override

public List<ChooserTarget> onGetChooserTargets(ComponentName name, IntentFilter filter); {

// ...

}

}

Thank You!
+YossiElkrief
MaTriXy
+NirHartmann
nirhart
some slides were presented in Google IO 2015

More Related Content

PPTX
Android Wearable App Development - 1
PPTX
Development Playbook Application With Adobe AIR 2.5 and QNX SDK
PPTX
ANDROID MARSHMALLOW
PPTX
Android marshmallow 6.0
PPTX
Instalasi Android 6.0 "Marshmallow"
PPTX
Masshmallow
PDF
Android marshmallow permission 対応
PPTX
Игорь Цеглевский: Взгляд практика на Android 6.0 Marshmallow
Android Wearable App Development - 1
Development Playbook Application With Adobe AIR 2.5 and QNX SDK
ANDROID MARSHMALLOW
Android marshmallow 6.0
Instalasi Android 6.0 "Marshmallow"
Masshmallow
Android marshmallow permission 対応
Игорь Цеглевский: Взгляд практика на Android 6.0 Marshmallow

Viewers also liked (18)

PPTX
android marshmallow- latest android application version
PDF
Android Marshmallow na prática
PDF
Android M - Runtime Permissions | Getting ready for Marshmallow
DOCX
Instalasi Android 6.0 "Marshmallow"
PDF
Android interview questions
PPT
android marshmallow
ODP
Have a look Google next operating system update : Android Marshmallow
PPTX
Android Marshmallow
PPTX
Tara Shears - Latest News from the LHC
PPTX
Android lollipop for developers
PDF
Android Marsh mellow
PPTX
The marsh mallow
PDF
The App Developer's Guide to Android Lollipop
PPTX
Lucas King : Synergy Summit 2013 - Marshmallow Challenge
PPTX
Android technology and Information with Presentation Project.
PPTX
Ppt on android
PPTX
Android 6.0 marshmallow
android marshmallow- latest android application version
Android Marshmallow na prática
Android M - Runtime Permissions | Getting ready for Marshmallow
Instalasi Android 6.0 "Marshmallow"
Android interview questions
android marshmallow
Have a look Google next operating system update : Android Marshmallow
Android Marshmallow
Tara Shears - Latest News from the LHC
Android lollipop for developers
Android Marsh mellow
The marsh mallow
The App Developer's Guide to Android Lollipop
Lucas King : Synergy Summit 2013 - Marshmallow Challenge
Android technology and Information with Presentation Project.
Ppt on android
Android 6.0 marshmallow
Ad

Similar to Android Marshmallow demos (11)

PDF
What's new in Android O
PDF
Обзор Android M
PPTX
I/O Rewind 215: What's new in Android
PDF
Introduction to Android Wear
PPTX
Session #8 adding magic to your app
PDF
Notifications
PPTX
What's new in android jakarta gdg (2015-08-26)
PDF
Developing for Android Wear - Part 1
PDF
Developing for Android Wear
PPTX
Android Wearables ii
PPTX
Android notifications. testing guideline
What's new in Android O
Обзор Android M
I/O Rewind 215: What's new in Android
Introduction to Android Wear
Session #8 adding magic to your app
Notifications
What's new in android jakarta gdg (2015-08-26)
Developing for Android Wear - Part 1
Developing for Android Wear
Android Wearables ii
Android notifications. testing guideline
Ad

Recently uploaded (20)

PPTX
CNN LeNet5 Architecture: Neural Networks
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PPTX
Trending Python Topics for Data Visualization in 2025
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PDF
Salesforce Agentforce AI Implementation.pdf
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PPTX
Computer Software - Technology and Livelihood Education
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
iTop VPN Crack Latest Version Full Key 2025
PPTX
assetexplorer- product-overview - presentation
PDF
Website Design Services for Small Businesses.pdf
PPTX
Cybersecurity: Protecting the Digital World
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
CNN LeNet5 Architecture: Neural Networks
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
Trending Python Topics for Data Visualization in 2025
Advanced SystemCare Ultimate Crack + Portable (2025)
Monitoring Stack: Grafana, Loki & Promtail
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Salesforce Agentforce AI Implementation.pdf
CCleaner 6.39.11548 Crack 2025 License Key
Computer Software - Technology and Livelihood Education
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
Computer Software and OS of computer science of grade 11.pptx
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
iTop VPN Crack Latest Version Full Key 2025
assetexplorer- product-overview - presentation
Website Design Services for Small Businesses.pdf
Cybersecurity: Protecting the Digital World
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM

Android Marshmallow demos