Slide 1

Slide 1 text

כגזחֶֽ׷
 ٌتٝ"OESPJE،فٔꟚ涪ⰅꟌ DPDLTDPNC
 !)BUFOB&OHJOFFS4FNJOBS

Slide 2

Slide 2 text

JEDPDLTDPNC

Slide 3

Slide 3 text

JEDPDLTDPNC ˖ ،فٔ؛٦ءّٝؒٝآص، ˖ J04"OESPJE8FC،فٔ؛٦ءّٝ׾⡲׷ ˖ כגזـؚٗث٦ي

Slide 4

Slide 4 text

WWDC14

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

ͰखʹೖΕΑ͏ כגזـؚٗ

Slide 7

Slide 7 text

• Motivation • Process • Development • Engineers

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

Motivation

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

–Anonymous ˑ׉׸״׶999ך"OESPJE،فٔת׌˒

Slide 12

Slide 12 text

0UIFST "OESPJE J04

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

X

Slide 15

Slide 15 text

Build Flagships ⛵

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

Process

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

˖ ل٦ػ٦فٗزة؎فדⰋגך歗꬗׾䲽ֹ⳿ׅ ˖ 歗꬗ך銲稆׾峤ְ⳿ׅ ˖ 歗꬗ה歗꬗ךאזָ׶ך濨湼׾זֻׅ ˖ فٗزة؎فדِ٦ؠؽٔذ؍ذأزׅ׷ ˖ ז׷ץֻ傍ְ媮ꥡד鐰⣣ׅ׷ ˖ ذأزך穠卓׾׮החفٗزة؎ف׾⥜姻ׅ׷

Slide 21

Slide 21 text

剢 抟 宏 加 ꆃ أفٔٝز 鎘歗 أفٔٝز ٖؽُ٦

Slide 22

Slide 22 text

剢 抟 宏 加 ꆃ أفٔٝز 鎘歗 ِ٦ؠؽٔ ذ؍ذأز 鎘歗 ِ٦ؠؽٔ ذ؍ذأز ؙٕٔ٦ز ِ٦ؠؽٔ ذ؍ذأز أفٔٝز ٖؽُ٦

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

˖ أؙٓيؿٖ٦يٙ٦ؙח⛦׷ֿהד嚂׾ׅ׷ ˖ ِ٦ؠؽٔذ؍ذأزד䧭卓׾然钠ׅ׷ ˖ 䙼ְ鴥׫׾דֹ׷׌ֽ《׶ꤐֻ ˖ أفٔٝزהِ٦ؠؽٔذ؍ذأز׾ず劍ׅ׷ ˖ 竰竲涸ז何㊣ך؎ذٖ٦ءّٝ׾㔐ׅ

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

Development

Slide 28

Slide 28 text

.BUFSJBM%FTJHO ˖ "QQ$PNQBU ˖ 'SBHNFOU

Slide 29

Slide 29 text

.BUFSJBM%FTJHO ˖ HPPHMFDPNEFTJHO ˖ "QQ$PNQBU ˖ "DUJPO#BS"DUJWJUZ ˖ 5IFNF"QQ$PNQBU ˖ ׍ת׍תָ׿ל׷

Slide 30

Slide 30 text

'SBHNFOU ˖ 'SBHNFOU ˖ 'SBHNFOU5SBOTBDUJPO ˖ 'SBHNFOU.BOBHFS ˖ عو׷

Slide 31

Slide 31 text

Fragment fragment =
 getSupportFragmentManager().findFragmentById(R.id.container);
 
 if (fragment == null) {
 
 fragment = SomeFragment.newInstance();
 getSupportFragmentManager().beginTransaction()
 .replace(R.id.container, fragment)
 .commit();
 
 }

Slide 32

Slide 32 text

'SBHNFOUعو׶ه؎ٝز ˖ 'SBHNFOUך䗁⯋ ˖ 'SBHNFOUךⰅ׸㶨 ˖ getChildFragmentManager ˖ onActivityResult ˖ IllegalStateException ˖ commitAllowingStateLoss

Slide 33

Slide 33 text

כגזـؚٗך箟꧊ٌ٦س ˖ 鋅׋תת箟꧊ ˖ כגז鎸岀 ˖ .BSLEPXO

Slide 34

Slide 34 text

鋅׋תת箟꧊ ˖ )5.-ךcontenteditable • execCommand("formatBlock", false, "H1") ˖ 8FC7JFXךغ٦آّٝח״׷ ˖ $ISPNFדرغحؚ"OESPJE⟃꣬

Slide 35

Slide 35 text

כגז鎸岀٥.BSLEPXO ˖ ♨㻝ח㹋鄲

Slide 36

Slide 36 text

ֿֿכ鋅⳿׃ח׃׋ְ] 劤俑דׅկ

Slide 37

Slide 37 text

ֿֿכ鋅⳿׃ח׃׋ְ] 劤俑דׅկ

Slide 38

Slide 38 text

ֿֿכ鋅⳿׃ח׃׋ְ] 劤俑דׅկ

Slide 39

Slide 39 text

ֿֿכ鋅⳿׃ח׃׋ְ] 劤俑דׅկ

Slide 40

Slide 40 text

ֿֿכ鋅⳿׃ח׃׋ְ] 劤俑דׅկ

Slide 41

Slide 41 text

מהא׭ך갪湡 ס׋א׭ך갪湡 ׫׏א׭ך갪湡

Slide 42

Slide 42 text

מהא׭ך갪湡 ס׋א׭ך갪湡 ׫׏א׭ך갪湡

Slide 43

Slide 43 text

מהא׭ך갪湡 ס׋א׭ך갪湡 ׫׏א׭ך갪湡

Slide 44

Slide 44 text

מהא׭ך갪湡 ס׋א׭ך갪湡 ׫׏א׭ך갪湡

Slide 45

Slide 45 text

מהא׭ך갪湡 ס׋א׭ך갪湡 ׫׏א׭ך갪湡

Slide 46

Slide 46 text

㣐ⴖזֿהכ䓼锃׃׋ְ

Slide 47

Slide 47 text

㣐ⴖזֿהכC䓼锃C׃׋ְ

Slide 48

Slide 48 text

㣐ⴖזֿהכ䓼锃׃׋ְ

Slide 49

Slide 49 text

♨㻝ח㹋鄲כꨇ׃ְ ˖ 牞כ稢鿇ח㺊׷ ˖ ֽו˘˘ ˖ 䩛דְ׍ְ׍然钠׃׋ֻזְ ˖ ךדծ ˖ ⽃⡤ذأز׾剅ֻ

Slide 50

Slide 50 text

public void testGetLineRanges() throws Exception {
 String text = "ABCDEFG\n" +
 "HIJKLMN\n" +
 "OPQRSTU\r\n" +
 "VWXYZ";
 
 {
 List lineRanges =
 BaseCommand.getLineRanges(text, new BaseCommand.Range(8, 9));
 
 assertContentsInOrder(lineRanges, new BaseCommand.Range(8, 16));
 assertEquals("HIJKLMN\n", text.subSequence(8, 16));
 }
 
 }

Slide 51

Slide 51 text

public void testDecorateWrappingInline() throws Exception {
 String text = "ABCDEFG\n" +
 "HIJKLMN\n";
 ArrayList decorators = Lists.newArrayList("", "");
 
 {
 Editable editable =
 Editable.Factory.getInstance().newEditable(text);
 
 BaseCommand.Range newRange = BaseCommand.decorateWrappingInline(
 editable,
 new BaseCommand.Range(2, 4),
 decorators
 );
 
 assertEquals("ABCDEFG\n" +
 "HIJKLMN\n", editable.toString());
 assertEquals(new BaseCommand.Range(5, 7), newRange);
 }
 }

Slide 52

Slide 52 text

⽃⡤ذأز ˖ ٗآحؙךذأز׾剅ֻ ˖ הծ ˖ 6*ָזֻג׮فؚٗٓيך姻䔲䚍ָ嗚鏾דֹ׷ ˖ ךדծ ˖ ذأز׾鸐׷؝٦س׾剅ֻ׌ֽד״ְ ˖ 牞כذأزח㺊׷

Slide 53

Slide 53 text

،ؕؐٝزה"1* ˖ "DDPVOU.BOBHFS ˖ /FUXPSL$MJFOU

Slide 54

Slide 54 text

"DDPVOU.BOBHFS ˖ "OESPJEך،ؕؐٝز盖椚ءأذي ˖ ،ؕؐٝز盖椚׾䬄韋⻉ ˖ 钠鏾ز٦ؙٝך《䖤׾䬄韋⻉ ˖ ،فٔ꟦דⰟ剣

Slide 55

Slide 55 text

AccountManager accountManager = AccountManager.get(this); // ΞΧ΢ϯτΛ௥Ճ Account account = new Account("cockscomb", "jp.ne.hatena"); accountManager.addAccountExplicitly(account, "Passw0rd!", null); // ΞΧ΢ϯτΛऔಘ Account[] accounts = accountManager.getAccountsByType("jp.ne.hatena");

Slide 56

Slide 56 text

accountManager.getAuthToken( account, "jp.ne.hatena.token", true, new AccountManagerCallback() { @Override public void run(AccountManagerFuture future) { try { // τʔΫϯऔಘ Bundle result = future.getResult(); String authToken = result.getString( AccountManager.KEY_AUTHTOKEN ); } catch (OperationCanceledException | IOException | AuthenticatorException e) { // ΤϥʔϋϯυϦϯά } } }, null);

Slide 57

Slide 57 text

"DDPVOU.BOBHFS כגזؚٗ؎ٝ盖椚

Slide 58

Slide 58 text

8FC"1* ˖ 駈׶זֽ׸ל⡲׷ ˖ 1FSMד剅ְג1VMM3FRVFTU

Slide 59

Slide 59 text

)551/FUXPSLJOH ˖ 圫ղז鼅䫛肇 ˖ )UUQ63-$POOFDUJPO ˖ )UUQ$MJFOU ˖ 7PMMFZ ˖ 0L)UUQ ˖ 3FUSPU

Slide 60

Slide 60 text

7PMMFZ ˖ (PPHMF醡 ˖ &BTZ 'BTU/FUXPSLJOHGPS"OESPJE ˖ "DDPVOU.BOBHFSה鸬䵿

Slide 61

Slide 61 text

public void getEntries(
 Response.Listener listener,
 Response.ErrorListener errorListener
 ) {
 Request request = new JsonObjectRequest(
 Request.Method.GET,
 HOST_HATENA + "/my/entries",
 listener,
 errorListener
 ) {
 @Override
 public Map getHeaders() throws AuthFailureError {
 HashMap headers = new HashMap<>();
 headers.put("X-Session-Key", mAuthenticator.getAuthToken());
 return headers;
 }
 };
 
 RequestQueue requestQueue = Volley.newRequestQueue(mContext);
 requestQueue.add(request);
 }

Slide 62

Slide 62 text

3FUSPU ˖ 4RVBSF醡 ˖ "UZQFTBGF3&45DMJFOUGPS"OESPJEBOE+BWB

Slide 63

Slide 63 text

public class BlogClient {
 private static final String API_URL = "https://blog.hatena.ne.jp";
 
 public interface BlogService {
 
 @GET("/my/entries")
 void getEntries(
 Callback> callback
 );
 
 @POST("/my/entries")
 void postEntry(
 @Body DeviceRequest entry,
 Callback callback
 );
 
 @Multipart
 @POST("/my/images")
 void uploadProfileIcon(
 @Part("image") TypedFile image,
 @Part("title") String title,
 Callback callback
 );
 
 }
 
 public static BlogService getSessionClient(Account account) {
 RestAdapter restAdapter = new RestAdapter.Builder()


Slide 64

Slide 64 text

ͰखʹೖΕΑ͏ כגזـؚٗ

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

˒˒˒˒˒ ˒˒˒˒˒

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

Engineers

Slide 69

Slide 69 text

id:cockscomb id:aereal id:nobuoka id:hakobe932 id:funnelbit id:sakahara id:yashigani_w

Slide 70

Slide 70 text

ـؚٗث٦ي ـحؙو٦ؙث٦ي

Slide 71

Slide 71 text

أو٦ز⠓

Slide 72

Slide 72 text

أو٦ز⠓ ˖ ✼ְךأو٦زׁ׾釈׭獥ִ׷⠓ ˖ ث٦يדⴓ倖ׁ׸ָ׍ז长㉏겗׾鍑寸 ˖ 䪮遭ךⰟ剣 ˖ ث٦ي׾埆倖ׅ׷《׶穈׫

Slide 73

Slide 73 text

id:cockscomb id:aereal id:nobuoka id:hakobe932 id:funnelbit id:sakahara id:yashigani_w

Slide 74

Slide 74 text

Join Us id:cockscomb id:aereal id:nobuoka id:hakobe932 id:funnelbit id:sakahara id:yashigani_w You

Slide 75

Slide 75 text

No content