Slide 1

Slide 1 text

"QQ4IPSUDVUT !BSB@UBDL

Slide 2

Slide 2 text

"CPVU.F '63:6 !BSB@UBDL

Slide 3

Slide 3 text

1JYFM w (PPHMFͷ७ਖ਼εϚʔτϑΥϯ w (PPHMF"TTJTUBOU w %BZESFBN w "OESPJE

Slide 4

Slide 4 text

"OESPJE w "QQ4IPSUDVUT w *NBHF,FZCPBSE4VQQPSU w 3PVOE*DPO3FTPVSDFT

Slide 5

Slide 5 text

"QQ4IPSUDVUT w ΞΠίϯ௕ԡ͠Ͱىಈ w ػೳͷγϣʔτΧοτ w γϣʔτΧοτ΋ΞΠ ίϯʹͰ͖Δ

Slide 6

Slide 6 text

%FNP

Slide 7

Slide 7 text

IUUQTHJUIVCDPNUBLVBSBLJ "QQ4IPSUDVU4BNQMF

Slide 8

Slide 8 text

4UBUJD4IPSUDVU 
 
 
 
 
 
 
 "OESPJE.BOJGFTUYNM

Slide 9

Slide 9 text

4UBUJD4IPSUDVU 
 
 
 
 YNMTIPSUDVUTYNM

Slide 10

Slide 10 text

4UBUJD4IPSUDVU w JDPO w TIPSUDVU4IPSU-BCFM w TIPSUDVU-POH-BCFM w TIPSUDVU%JTBCMFE.FTTBHF

Slide 11

Slide 11 text

4UBUJD4IPSUDVU w JDPO w TIPSUDVU4IPSU-BCFM w TIPSUDVU-POH-BCFM w TIPSUDVU%JTBCMFE.FTTBHF

Slide 12

Slide 12 text

4UBUJD4IPSUDVU w JDPO w TIPSUDVU4IPSU-BCFM w TIPSUDVU-POH-BCFM w TIPSUDVU%JTBCMFE.FTTBHF

Slide 13

Slide 13 text

4UBUJD4IPSUDVU w JDPO w TIPSUDVU4IPSU-BCFM w TIPSUDVU-POH-BCFM w TIPSUDVU%JTBCMFE.FTTBHF

Slide 14

Slide 14 text

4UBUJD4IPSUDVU w JDPO w TIPSUDVU4IPSU-BCFM w TIPSUDVU-POH-BCFM w TIPSUDVU%JTBCMFE.FTTBHF

Slide 15

Slide 15 text

%ZOBNJD4IPSUDVU ShortcutManager shortcutManager = getSystemService(ShortcutManager.class);
 ShortcutInfo ara_tack = new ShortcutInfo.Builder(this, "ara_tack")
 .setShortLabel("ara_tack")
 .setLongLabel("mail to ara_tack")
 .setIcon(Icon.createWithResource(this, R.mipmap.ic_create_email_a))
 .setIntent(
 EmailActivity.createIntent(this, "ara_tack")
 .setAction(Intent.ACTION_VIEW)
 )
 .build(); shortcutManager.setDynamicShortcuts(Arrays.asList(ara_tack)); .BJO"DUJWJUZKBWB

Slide 16

Slide 16 text

%ZOBNJD4IPSUDVU ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); ShortcutInfo ara_tack = new ShortcutInfo.Builder(this, "ara_tack")
 .setShortLabel("ara_tack")
 .setLongLabel("mail to ara_tack")
 .setIcon(Icon.createWithResource(this, R.mipmap.ic_create_email_a))
 .setIntent(
 EmailActivity.createIntent(this, "ara_tack")
 .setAction(Intent.ACTION_VIEW)
 )
 .build(); ShortcutInfo hashido = new ShortcutInfo.Builder(this, “hashido”)…… ShortcutInfo n_morioka = new ShortcutInfo.Builder(this, “n_morioka”)…… shortcutManager.setDynamicShortcuts(Arrays.asList(
 ara_tack, 
 hashido, 
 n_morioka
 )); .BJO"DUJWJUZKBWB

Slide 17

Slide 17 text

%ZOBNJD4IPSUDVU ShortcutManager shortcutManager = getSystemService(ShortcutManager.class); ShortcutInfo kan = new ShortcutInfo.Builder(this, “kan”)…… ShortcutInfo sai = new ShortcutInfo.Builder(this, “sai”)…… ShortcutInfo mobairu = new ShortcutInfo.Builder(this, “mobairu”)…… ShortcutInfo apuri = new ShortcutInfo.Builder(this, “apuri”)…… ShortcutInfo kenkyu = new ShortcutInfo.Builder(this, “kenkyu”)…… ShortcutInfo kai = new ShortcutInfo.Builder(this, “kai”)…… // IllegalArgumentException will be thrown. // Max shortcut num is 5. (include static shortcuts)
 shortcutManager.setDynamicShortcuts(Arrays.asList(
 kan,
 sai,
 mobairu,
 apuri,
 kenkyu,
 kai
 )); .BJO"DUJWJUZKBWB

Slide 18

Slide 18 text

%ZOBNJD4IPSUDVU // List shortcutInfos;
 // List shortcutIds;
 // set
 shortcutManager.setDynamicShortcuts(shortcutInfos); 
 // add
 shortcutManager.addDynamicShortcuts(shortcutInfos);
 
 // update
 shortcutManager.updateShortcuts(shortcutInfos);
 
 // remove specific
 shortcutManager.removeDynamicShortcuts(shortcutIds);
 
 // remove all
 shortcutManager.removeAllDynamicShortcuts();
 
 // disable
 shortcutManager.disableShortcuts(shortcutIds); .BJO"DUJWJUZKBWB

Slide 19

Slide 19 text

%ZOBNJD4IPSUDVU ShortcutManager shortcutManager = getSystemService(ShortcutManager.class);
 ShortcutInfo n_morioka = new ShortcutInfo.Builder(this, "n_morioka")
 .setShortLabel("n_morioka")
 .setLongLabel("mail to n_morioka")
 .setIcon(Icon.createWithResource(this, R.mipmap.ic_create_email_n))
 // Multiple Intent can be set
 .setIntents(new Intent[]{
 MainActivity.createIntent(this)
 .setAction(Intent.ACTION_VIEW),
 EmailActivity.createIntent(this, "n_morioka")
 .setAction(Intent.ACTION_VIEW)
 })
 .build(); shortcutManager.setDynamicShortcuts(Arrays.asList(n_morioka)); .BJO"DUJWJUZKBWB

Slide 20

Slide 20 text

%ZOBNJD4IPSUDVU .BJO"DUJWJUZ &NBJM"DUJWJUZ

Slide 21

Slide 21 text

"OZRVFTUJPO