Upgrade to Pro — share decks privately, control downloads, hide ads and more …

[MobCamp 2014] Android Wear and Google Glass

[MobCamp 2014] Android Wear and Google Glass

Douglas Kayama

August 05, 2014
Tweet

More Decks by Douglas Kayama

Other Decks in Technology

Transcript

  1. 1 Dia de uso típico Resolução 640x360 Processor Dual-Core 1

    GB RAM 16 GB Total 12 GB Disponíveis 5 MP - 720p video Automatic Cloud-Sync Android 4.4.2 KitKat Peso: 50g
  2. // Key for the string that's delivered in the action's

    intent private static final String EXTRA_VOICE_REPLY = "extra_voice_reply"; ! String replyLabel = getResources().getString(R.string.reply_label); ! RemoteInput remoteInput = new RemoteInput.Builder(EXTRA_VOICE_REPLY) .setLabel(replyLabel) .build(); private CharSequence getMessageText(Intent intent) { Bundle remoteInput = RemoteInput.getResultsFromIntent(intent); if (remoteInput != null) { return remoteInput.getCharSequence(EXTRA_VOICE_REPLY); } } return null; }