<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-924613899133572028</id><updated>2025-11-11T14:00:16.250+08:00</updated><category term="問運途"/><category term="擲筊"/><category term="求籤"/><category term="Unity"/><category term="溫府千歲"/><title type='text'>e68Club 漁郎工坊 - 數位生活札記</title><subtitle type='html'>記得開始對電腦有興趣是始於玩電玩，從 Apple IIe 開始與電腦結下了不解之緣，那種將遊戲改成不死版的樂趣，轉化成了謀生的技能。藉由這個部落格平台，希望漁郎可與夥伴們分享彼此被電腦玩的酸甜苦辣。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.e68club.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.e68club.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-7926634122563618866</id><published>2024-01-04T13:30:00.003+08:00</published><updated>2024-01-26T07:40:24.342+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="問運途"/><category scheme="http://www.blogger.com/atom/ns#" term="擲筊"/><category scheme="http://www.blogger.com/atom/ns#" term="求籤"/><title type='text'>【應用】- Android/iOS 應用程式 : 「神啊！告訴我」- 擲筊、求籤。</title><content type='html'>&lt;p&gt;您是否有時決定某事時會心猿意馬？想要請示神明指點迷津？&lt;/p&gt;&lt;p&gt;這是個可以讓你(妳)隨時向神明擲筊、求籤、問運途的程式。&lt;/p&gt;&lt;p&gt;當你想要向神明祈求未來運事，或指點迷津時，只要拿起手機/平板電腦，向神明稟明事情後，就可擲筊、求籤,並獲得籤詩之解析參考。&lt;/p&gt;&lt;p&gt;PS1. 目前敬奉九位神尊(朱府千歲、天上聖母、文昌帝君、開漳聖王、財神爺、關聖帝君、福德正神、觀世音菩薩、城隍爺)。&lt;/p&gt;&lt;p&gt;PS2. 依神尊不同而有不同的常用籤詩與解籤參考(六十甲子籤、雷雨師100籤、觀音100籤)。&lt;/p&gt;&lt;p&gt;【程式使用說明】&lt;/p&gt;&lt;p&gt;◎ 點選「擲筊」可以當作一般擲筊程式，連續擲筊。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPSlbp1AOnUIFMnYhNiujNit9_XQ-CJScDGdqIJHw0ekuWs-JQGerQCU4y1zGdXLpFjgfpnt5Y_pdz2QLCeUmjJjm5OQJynfT3X6LcbZhqyBJNNmdQbaWekERiIgIbLeEQJPa0jd1dLfT5JCYChWaAktMMcbd7VFXkE6wudNDlt61POR75m1e3I_q9NRM/s2208/IMG_1588.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPSlbp1AOnUIFMnYhNiujNit9_XQ-CJScDGdqIJHw0ekuWs-JQGerQCU4y1zGdXLpFjgfpnt5Y_pdz2QLCeUmjJjm5OQJynfT3X6LcbZhqyBJNNmdQbaWekERiIgIbLeEQJPa0jd1dLfT5JCYChWaAktMMcbd7VFXkE6wudNDlt61POR75m1e3I_q9NRM/w225-h400/IMG_1588.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;◎ 點選「求籤」，則除了「擲筊」外，可求得「籤詩」與「籤解說明」。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiomw_q1vaX6f1Qt_G3qNUdCeJx2CJRoFXplOfv4VMEABzmzo6ovGYOxYuA1o-O2f38xwDkVu6ppTDFvt8KzY9kpagsIeX3YEq2QnG7q_oUK5tCaehcsaYOn6wAF5F7XUGWyuck8jd0Irfe0qgLI1bLrlvFmIPv_WhQBJjlNQgBWFocMiuBj9oxNO7QnF0/s2208/IMG_1591-2.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiomw_q1vaX6f1Qt_G3qNUdCeJx2CJRoFXplOfv4VMEABzmzo6ovGYOxYuA1o-O2f38xwDkVu6ppTDFvt8KzY9kpagsIeX3YEq2QnG7q_oUK5tCaehcsaYOn6wAF5F7XUGWyuck8jd0Irfe0qgLI1bLrlvFmIPv_WhQBJjlNQgBWFocMiuBj9oxNO7QnF0/w225-h400/IMG_1591-2.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;◎ 若是選「求籤」，請再選擇「求籤嚴謹度」&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfJXvNvw9se1ecOilrg3Bdmzjwq8R_p1kw2lUR1l1wW2FQyHkkPFsZ9kwaVq_pdXbkhYVZPO0utv03B0KXycM817hZU9SMuh8nTu5szw-8GfXAOwCweqw_qHVfBa0P-swuoivaor2aVv8Q9HSozNv2HDuQ_CSrqskR2D2prMWybF_KbjNiaX85h1SL_fY/s2208/IMG_1600-2.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfJXvNvw9se1ecOilrg3Bdmzjwq8R_p1kw2lUR1l1wW2FQyHkkPFsZ9kwaVq_pdXbkhYVZPO0utv03B0KXycM817hZU9SMuh8nTu5szw-8GfXAOwCweqw_qHVfBa0P-swuoivaor2aVv8Q9HSozNv2HDuQ_CSrqskR2D2prMWybF_KbjNiaX85h1SL_fY/w225-h400/IMG_1600-2.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;◎ 跟神明訴說要問的事情&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZnwlmQ2w0PHgJOKBOKj730cF4hHP5MAg6afFCNtxg6MKFcfUeWoeNREYWTmEEBdDOR_Jk4TLOH-EF_18yuEH0Cy8RuWaJ45ZJ6OVmz5HiC2LiGfNMnnvBOrd9wEWiNqW2Us1U5Ibiuszww9MVyfF57Naj7b7g3gor55ZLAVHAUZDoY8ATQ3HLWM3LsLg/s2208/IMG_1598-2.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZnwlmQ2w0PHgJOKBOKj730cF4hHP5MAg6afFCNtxg6MKFcfUeWoeNREYWTmEEBdDOR_Jk4TLOH-EF_18yuEH0Cy8RuWaJ45ZJ6OVmz5HiC2LiGfNMnnvBOrd9wEWiNqW2Us1U5Ibiuszww9MVyfF57Naj7b7g3gor55ZLAVHAUZDoY8ATQ3HLWM3LsLg/w225-h400/IMG_1598-2.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;◎ 然後將手機上下搖（本版本亦依網友的要求增加了「觸控擲筊」功能），像擲筊一樣(可別將手機拋出去)&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19E-e01t4BnJ8B3nDcOI2n2W26lPIKuv263lVgBG1bYi8amWzDvBXtkXInUMzAaLQKqR6Dc5S_yH6LmEx2W_hW91L1EYFmdLMPP_4VGWEgLk0mZo2G99QmcMlC6MA6CLbUQDWyIGFjA4wC5lwNN7qDPOa6f4tBq22V8a6ueaEE-u5v2-0Y9xI10QEyDI/s1920/pic-new06-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19E-e01t4BnJ8B3nDcOI2n2W26lPIKuv263lVgBG1bYi8amWzDvBXtkXInUMzAaLQKqR6Dc5S_yH6LmEx2W_hW91L1EYFmdLMPP_4VGWEgLk0mZo2G99QmcMlC6MA6CLbUQDWyIGFjA4wC5lwNN7qDPOa6f4tBq22V8a6ueaEE-u5v2-0Y9xI10QEyDI/w225-h400/pic-new06-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;◎ 當求得三聖筊(依選擇的「求籤嚴謹度」有所不同)後，就會出現神明出給你的籤詩跟籤詩的解析給您當作未來運途的參考。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHt61rK60Q48OkFc8xgQc7si2-SumT9mIqeztINEUbg9AsETBMCBqj_4EFXWjzIpmCs0YcQZ6rpsgANAIaabev6aSEceDaPuF3OilVWTRMI_l3wFAEnqyNEGcPYrcB07fcD5jdvndphFpj9L9I9zvJmDcAM590nE_jXNu7o0ATEBSWwVXTVMD0clC35Aw/s2208/IMG_1601-2.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHt61rK60Q48OkFc8xgQc7si2-SumT9mIqeztINEUbg9AsETBMCBqj_4EFXWjzIpmCs0YcQZ6rpsgANAIaabev6aSEceDaPuF3OilVWTRMI_l3wFAEnqyNEGcPYrcB07fcD5jdvndphFpj9L9I9zvJmDcAM590nE_jXNu7o0ATEBSWwVXTVMD0clC35Aw/w225-h400/IMG_1601-2.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLPvgMVCRHi1d_jRpYIfcjMuDaeCF1ZfR73ZmtlRPNE9hZlLpYxQP-7eTW1dkxwkW-xfeR5NlrmT09NrLXaj0OydmbXVbE97qGgLRO-aFeHra9gUcLhzFxc77FJmu2FM7s1c37GBVUboO_4bUovVgtcDM3uP4GmZcZbKCEj04D37I2FxxVMIVJIEs8AI/s2208/IMG_1602-2.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSLPvgMVCRHi1d_jRpYIfcjMuDaeCF1ZfR73ZmtlRPNE9hZlLpYxQP-7eTW1dkxwkW-xfeR5NlrmT09NrLXaj0OydmbXVbE97qGgLRO-aFeHra9gUcLhzFxc77FJmu2FM7s1c37GBVUboO_4bUovVgtcDM3uP4GmZcZbKCEj04D37I2FxxVMIVJIEs8AI/w225-h400/IMG_1602-2.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie-FpBfEs0x9UKqayTFvNK9AF5bG9uwCAJaCA2O6tlfnFxQ2wxhFXH09IS2kX17ZEc_WZ2aQ2ytoBNDQlsZpL7v5bHw-jMypiwcfEIz9sHziRZC9quwTbsb6_weqBi-vZOFf8VXprK94KHrR30IHezhqfWOyL9UxqtfxUCR4cgPyAI64jpcHYIzWXX8Ds/s2208/IMG_1603.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEie-FpBfEs0x9UKqayTFvNK9AF5bG9uwCAJaCA2O6tlfnFxQ2wxhFXH09IS2kX17ZEc_WZ2aQ2ytoBNDQlsZpL7v5bHw-jMypiwcfEIz9sHziRZC9quwTbsb6_weqBi-vZOFf8VXprK94KHrR30IHezhqfWOyL9UxqtfxUCR4cgPyAI64jpcHYIzWXX8Ds/w225-h400/IMG_1603.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;然而，心誠則靈，如六次擲筊中愈快擲出三聖筊(依選擇的「求籤嚴謹度」有所不同)則代表與神明的靈感度愈強，各位可在程式進入籤詩頁時選擇回主頁重新擲筊或看籤詩解析。&lt;/p&gt;&lt;p&gt;如六次擲筊中沒有三聖筊(依選擇的「求籤嚴謹度」有所不同)，則會重新擲筊(表示重新抽籤)。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigVFtLXZMdrLDsRqXeLnqXdA0qdKDBbUjjAULDUuDumxmy7AuoZvfhmKsHpmbYOtpMZp1Z8QMW3WCUUd3wSonBhM5kL-zP3Mzx7n_cXn4i_b2KZKvV_xvF7D522vAcxn_-3tCntBvn-VXQn6X7TleFB0BGumRLor6nMFTGmHwl1D1speKwqkTXXZIrlOs/s2208/IMG_1607-2.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigVFtLXZMdrLDsRqXeLnqXdA0qdKDBbUjjAULDUuDumxmy7AuoZvfhmKsHpmbYOtpMZp1Z8QMW3WCUUd3wSonBhM5kL-zP3Mzx7n_cXn4i_b2KZKvV_xvF7D522vAcxn_-3tCntBvn-VXQn6X7TleFB0BGumRLor6nMFTGmHwl1D1speKwqkTXXZIrlOs/w225-h400/IMG_1607-2.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;在此要說明一點的是：一般正式在廟內求籤問運途的程序，需先焚香並擲筊請示神明是否可求籤指點迷津(亦要先說要求的事)，然後，如神明允以聖筊，再從籤筒抽出一支籤(不看籤號)，並在擲出連續三聖筊後(不能中間有笑筊或陰筊)，才能取籤與請人解籤。然而，漁郎在斟酌程式的寫法與實際的差異後，才以擲六取三(依選擇的「求籤嚴謹度」有所不同)的方式，並省略一些步驟，讓程式使用簡易且有點彈性。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha5fMtgPQYtouSF51cjqfnoFjXz07L9MGIZc2DT05RtGUsX3ovGLgB-GH_YnvOSHZOD6DsGNp7TsSl1rcyXcg_6q9auwPjVaraQiUZEtHziPeqnCmIIyLChriwRrz1e0gvhiza1aTgoG4rFgk4gqkYGFykgQEz7qebanh-ZOjJFweNmVYoG9Vu47GuT5M/s2208/IMG_1597.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha5fMtgPQYtouSF51cjqfnoFjXz07L9MGIZc2DT05RtGUsX3ovGLgB-GH_YnvOSHZOD6DsGNp7TsSl1rcyXcg_6q9auwPjVaraQiUZEtHziPeqnCmIIyLChriwRrz1e0gvhiza1aTgoG4rFgk4gqkYGFykgQEz7qebanh-ZOjJFweNmVYoG9Vu47GuT5M/w225-h400/IMG_1597.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;◎ 若您要靜音，請於剛進入程式時的主選單點選「靜音圖案」，以開關靜音功能．程式會記住您的靜音選項，當下次開啟程式時，會依照您上次的靜音選項開關靜音功能喔！&lt;/p&gt;&lt;p&gt;◎ 增加「求籤記錄」囉！&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfI62cMToNCZWaTrR8p9ESdAeno-15z12IaQ8skUX3Yi9JT0pvS14IlCp4Iy-XfPWymY6lx0RyTrbOjviR2mekH3CFXg10Z9ndDSQ2f8oVYu10S_OgGbjMBlCMGzOyxQBr1o1yX6EE5mcmL3x_IhVuao4VpzxD4y7Nh-wDljl4x3BahsLvGH_2K8hPN-4/s2208/IMG_1029-U.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfI62cMToNCZWaTrR8p9ESdAeno-15z12IaQ8skUX3Yi9JT0pvS14IlCp4Iy-XfPWymY6lx0RyTrbOjviR2mekH3CFXg10Z9ndDSQ2f8oVYu10S_OgGbjMBlCMGzOyxQBr1o1yX6EE5mcmL3x_IhVuao4VpzxD4y7Nh-wDljl4x3BahsLvGH_2K8hPN-4/w225-h400/IMG_1029-U.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNih8cVdGWKiECHG9AG1W0G9_7b_Hvm1mIJutwYr7PSz_PSMLMwBLzvUzgp4BbgWKJbX35Xv9up8VpCT67XluMKomStbqbmnZVdKipBi56QRYpuhCRXGVzIVbHv6kVHZOSDUrrw_sWJpxYmuKkgeYfaQJdC52bQt_rkli8Ulfr3YwJDDyFz4Ps9VkPaOQ/s2208/IMG_1605.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNih8cVdGWKiECHG9AG1W0G9_7b_Hvm1mIJutwYr7PSz_PSMLMwBLzvUzgp4BbgWKJbX35Xv9up8VpCT67XluMKomStbqbmnZVdKipBi56QRYpuhCRXGVzIVbHv6kVHZOSDUrrw_sWJpxYmuKkgeYfaQJdC52bQt_rkli8Ulfr3YwJDDyFz4Ps9VkPaOQ/w225-h400/IMG_1605.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiUOkNnkj0RDqgOaX0me0tvn0vTX2AED_HrRHo_QC8U5nYsPLffPJrpiqSeTG1PBXNIeJqkZrszCOTfiAsWxVybJjWq3Yl5yFQIowMoMzeBSbDYydq_pB0E8fqg0iH_das5TBU-0JIswKmh31c-xCW5cD9mcapyMCtRR9tNFDq1V0bY40jV3xsbPvMSLg/s2208/IMG_1606.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiUOkNnkj0RDqgOaX0me0tvn0vTX2AED_HrRHo_QC8U5nYsPLffPJrpiqSeTG1PBXNIeJqkZrszCOTfiAsWxVybJjWq3Yl5yFQIowMoMzeBSbDYydq_pB0E8fqg0iH_das5TBU-0JIswKmh31c-xCW5cD9mcapyMCtRR9tNFDq1V0bY40jV3xsbPvMSLg/w225-h400/IMG_1606.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/7926634122563618866/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2024/01/androidios-ps1.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/7926634122563618866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/7926634122563618866'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2024/01/androidios-ps1.html' title='【應用】- Android/iOS 應用程式 : 「神啊！告訴我」- 擲筊、求籤。'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPSlbp1AOnUIFMnYhNiujNit9_XQ-CJScDGdqIJHw0ekuWs-JQGerQCU4y1zGdXLpFjgfpnt5Y_pdz2QLCeUmjJjm5OQJynfT3X6LcbZhqyBJNNmdQbaWekERiIgIbLeEQJPa0jd1dLfT5JCYChWaAktMMcbd7VFXkE6wudNDlt61POR75m1e3I_q9NRM/s72-w225-h400-c/IMG_1588.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-3577078119383429502</id><published>2023-11-01T08:54:00.002+08:00</published><updated>2023-12-24T08:27:32.260+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Unity"/><category scheme="http://www.blogger.com/atom/ns#" term="問運途"/><category scheme="http://www.blogger.com/atom/ns#" term="擲筊"/><category scheme="http://www.blogger.com/atom/ns#" term="求籤"/><category scheme="http://www.blogger.com/atom/ns#" term="溫府千歲"/><title type='text'>【應用】- Android/iOS 應用程式 : 「溫府千歲」- 擲筊(擲茭)、求籤、問運途。</title><content type='html'>&lt;p&gt;這是一個讓您在他鄉時，可以遙向溫王爺祈求未來方向的程式，使用 Unity 改版，較之前上架的程式，除了可以用「搖」的方式，體驗擲筊的情境外，還多了「觸控擲筊」方便平板電腦或不習慣用「搖」的方式擲筊的朋友們「ㄅㄨㄚ、ㄅㄨㄟ」．也增加了「靜音」開關，讓朋友們可以靜靜的向溫王爺祈求平安籤．目前正在加入「籤詩紀錄」功能中．．．請期待 ^_^&lt;/p&gt;&lt;p&gt;PS. 有些實體手機，漁郎手邊沒有，若您執行程式時有畫面亂跑或其他問題，請回覆在此網誌中，漁郎會儘速修正處理，謝謝您！&lt;/p&gt;&lt;p&gt;【程式使用說明】&lt;/p&gt;&lt;p&gt;◎ 點選「擲筊」可以當作一般擲筊程式，連續擲筊。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvYlp_xSb6SH5iKhxg9570lJaDZQyHaOMsDNQPV132GG3qBrcTaYfuocdEinbTty6zqzhCdcq7mgLtjdZlIRBvOB0qs-R9sxwIl_-N-b4NfxOE-r8j_YGMuzM6RTLa-ERkuUfL_ZMH61_paIWEzaAnOO5YMgMZ8xyxbBNjluZLQsRqv__UlDQqzwZ5kV4/s1920/pic-new01-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvYlp_xSb6SH5iKhxg9570lJaDZQyHaOMsDNQPV132GG3qBrcTaYfuocdEinbTty6zqzhCdcq7mgLtjdZlIRBvOB0qs-R9sxwIl_-N-b4NfxOE-r8j_YGMuzM6RTLa-ERkuUfL_ZMH61_paIWEzaAnOO5YMgMZ8xyxbBNjluZLQsRqv__UlDQqzwZ5kV4/w225-h400/pic-new01-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;◎ 點選「求籤」，則除了「擲筊」外，可求得「籤詩」與「籤解說明」。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizJdEJc4k107YcCiy4ft8Z8b4fLNmaq42OT_XQfbcNhUvIMnVy5FlVipxJiW7D7YvgaNJCFjIexHLwfqwV4WtdXdk1eOyya1I5XPt-STBXp-s4qWUJdyBpb8XTI0mb4wqxw7g7OtbXJORSX5IsZDpuYuGVCobm-tQ-Dkj_2JGht7Phrsaxr7MdPSctPZE/s1920/pic-new02-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizJdEJc4k107YcCiy4ft8Z8b4fLNmaq42OT_XQfbcNhUvIMnVy5FlVipxJiW7D7YvgaNJCFjIexHLwfqwV4WtdXdk1eOyya1I5XPt-STBXp-s4qWUJdyBpb8XTI0mb4wqxw7g7OtbXJORSX5IsZDpuYuGVCobm-tQ-Dkj_2JGht7Phrsaxr7MdPSctPZE/w225-h400/pic-new02-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;◎ 若是選「求籤」，請再選擇「求籤嚴謹度」&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPI_BV4I_REH1YZMO3mCDBoOheS0mQHbgPE3SdWluih5FmbhvCld0lIIzZ2hKSw0Tx6IoH80SdwZvvGUTKLZpkFCcYuXg61vDJVFMCMYd5FAplUVfo4ytRoOBQzaoLb2uWM4mo8mDYLFUbzKQBLMhRFSRofzz1n68RL01XTrr8IN-Wk8PDQqNz12jyi28/s1920/pic-new04-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPI_BV4I_REH1YZMO3mCDBoOheS0mQHbgPE3SdWluih5FmbhvCld0lIIzZ2hKSw0Tx6IoH80SdwZvvGUTKLZpkFCcYuXg61vDJVFMCMYd5FAplUVfo4ytRoOBQzaoLb2uWM4mo8mDYLFUbzKQBLMhRFSRofzz1n68RL01XTrr8IN-Wk8PDQqNz12jyi28/w225-h400/pic-new04-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;◎ 跟溫王爺訴說要問的事情&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBFc3xIApDzlTdIzvrTio-7-8ma0HVqcdaKCJktgPvjL7MUY15TCGdyB52Fb2g1p-tsK4cgSOE8xNtwkVYK06E-gcRugCWBtZ8ofTKAPU6NKylZ9T6XQHWdzhgVKSMo3yo4B7Sp10IllhSTLNDRVpxBVbz0N2WmnQ5t4L5Eh-utZamhQOke6NFx5N_zEI/s1920/pic-new05-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBFc3xIApDzlTdIzvrTio-7-8ma0HVqcdaKCJktgPvjL7MUY15TCGdyB52Fb2g1p-tsK4cgSOE8xNtwkVYK06E-gcRugCWBtZ8ofTKAPU6NKylZ9T6XQHWdzhgVKSMo3yo4B7Sp10IllhSTLNDRVpxBVbz0N2WmnQ5t4L5Eh-utZamhQOke6NFx5N_zEI/w225-h400/pic-new05-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;◎ 然後將手機上下搖（本版本亦依網友的要求增加了「觸控擲筊」功能），像擲筊一樣(可別將手機拋出去)&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19E-e01t4BnJ8B3nDcOI2n2W26lPIKuv263lVgBG1bYi8amWzDvBXtkXInUMzAaLQKqR6Dc5S_yH6LmEx2W_hW91L1EYFmdLMPP_4VGWEgLk0mZo2G99QmcMlC6MA6CLbUQDWyIGFjA4wC5lwNN7qDPOa6f4tBq22V8a6ueaEE-u5v2-0Y9xI10QEyDI/s1920/pic-new06-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi19E-e01t4BnJ8B3nDcOI2n2W26lPIKuv263lVgBG1bYi8amWzDvBXtkXInUMzAaLQKqR6Dc5S_yH6LmEx2W_hW91L1EYFmdLMPP_4VGWEgLk0mZo2G99QmcMlC6MA6CLbUQDWyIGFjA4wC5lwNN7qDPOa6f4tBq22V8a6ueaEE-u5v2-0Y9xI10QEyDI/w225-h400/pic-new06-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;◎ 當求得三聖筊(依選擇的「求籤嚴謹度」有所不同)後，就會出現王爺公出給你的籤詩跟籤詩的解析給您當作未來運途的參考。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq1AmBnSpvph-AnF_R64cL48UTCcnU2uTIbCA7rgl1GrqSUwHq6winmSNUv9f84BvMdyhW7QTYt92-aeKXaThH7kCgBoLcUjy2PJR3AnJAW2MYaKC7IrTDEfJZKMEufn1XD_OMVEkQntsO0k4XoCZbHZTV1rqUOqgHa2cKD8wEs8OC-XDUwgPXrV-Odvs/s1920/pic-new07-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq1AmBnSpvph-AnF_R64cL48UTCcnU2uTIbCA7rgl1GrqSUwHq6winmSNUv9f84BvMdyhW7QTYt92-aeKXaThH7kCgBoLcUjy2PJR3AnJAW2MYaKC7IrTDEfJZKMEufn1XD_OMVEkQntsO0k4XoCZbHZTV1rqUOqgHa2cKD8wEs8OC-XDUwgPXrV-Odvs/w225-h400/pic-new07-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiArhPmFA5JsmoZfyAW17SfiCwixstO1JZx9-V-Je0WAkdBmt33VBt9SeTcAsNaTDiogLjM6wLSuKLrO2bQKgVnEjcEXltMK3Aw7W64bleDBTLow5jWQ6Fxodi9JWCRzYGSDUR3AhBLVr6s4QRyoXlQ0VK2zI6_Wt9rfqb4idp4OJOdOWfPvCMgWO2pGp8/s1920/pic-new08-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiArhPmFA5JsmoZfyAW17SfiCwixstO1JZx9-V-Je0WAkdBmt33VBt9SeTcAsNaTDiogLjM6wLSuKLrO2bQKgVnEjcEXltMK3Aw7W64bleDBTLow5jWQ6Fxodi9JWCRzYGSDUR3AhBLVr6s4QRyoXlQ0VK2zI6_Wt9rfqb4idp4OJOdOWfPvCMgWO2pGp8/w225-h400/pic-new08-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs9J1eFEpAX0UEGA2MsivMstrqFiwqbstY34xBuREmaaE_Ucy-tiDtP_7yddZm2MWnDSFFfY_Ni-IjYRAoqiZCg0yAL0fdyVRJ415r8YLE7ywyYRKSI-YPfS0hmRBqvfMG4Mhm0vc4x_Mixu7zE1-478tiZYV2Uq-7QnFhgow0vgAOKLXn-bDRzlH_NXk/s1920/pic-new09-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs9J1eFEpAX0UEGA2MsivMstrqFiwqbstY34xBuREmaaE_Ucy-tiDtP_7yddZm2MWnDSFFfY_Ni-IjYRAoqiZCg0yAL0fdyVRJ415r8YLE7ywyYRKSI-YPfS0hmRBqvfMG4Mhm0vc4x_Mixu7zE1-478tiZYV2Uq-7QnFhgow0vgAOKLXn-bDRzlH_NXk/w225-h400/pic-new09-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;然而，心誠則靈，如六次擲筊中愈快擲出三聖筊(依選擇的「求籤嚴謹度」有所不同)則代表與王爺公的靈感度愈強，各位可在程式進入籤詩頁時選擇回主頁重新擲筊或看籤詩解析。&lt;/p&gt;&lt;p&gt;如六次擲筊中沒有三聖筊(依選擇的「求籤嚴謹度」有所不同)，則會重新擲筊(表示重新抽籤)。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXO2-dufjt2EcvkTPrYqWDJY5FjPSOhtegJZxvPGx0SztzYiZcEvVKvFqNmrFBDBX31Uq7S_T-WAMaHgP2T_Vmwt1sLzzo1XMde9KMRPQdUnOEG4SXSyOVnf5J6ZaWm7fuQVuU0gfsrWti7hMwL6MHYyV4B0PwLJ4ECd2RFKWWhiBQRVRYoPUG_XFtxhE/s2208/pic-new15-blog.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXO2-dufjt2EcvkTPrYqWDJY5FjPSOhtegJZxvPGx0SztzYiZcEvVKvFqNmrFBDBX31Uq7S_T-WAMaHgP2T_Vmwt1sLzzo1XMde9KMRPQdUnOEG4SXSyOVnf5J6ZaWm7fuQVuU0gfsrWti7hMwL6MHYyV4B0PwLJ4ECd2RFKWWhiBQRVRYoPUG_XFtxhE/w225-h400/pic-new15-blog.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;在此要說明一點的是：一般正式在廟內求籤問運途的程序，需先焚香並擲筊請示王爺是否可求籤指點迷津(亦要先說要求的事)，然後，如王爺允以聖筊，再從籤筒抽出一支籤(不看籤號)，並在擲出連續三聖筊後(不能中間有笑筊或陰筊)，才能取籤與請人解籤。然而，漁郎在斟酌程式的寫法與實際的差異後，才以擲六取三(依選擇的「求籤嚴謹度」有所不同)的方式，並省略一些步驟，讓程式使用簡易且有點彈性。&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi73VZjS0TjuqGeeBmBG4897z84BkpXpUFE_DnbkT5RuJhuf3JCGso0FsLVnzCgQ2ZrUUvKB-oG42MMH9Gq98CEzCS_w-NPBfN_JP8ugd7CbN-yo1fKt1vzIU_JgsbnSMf3HQHy-61ljVp_eXpoT5uj-jZdtxQ68mQZlQ-TwHneiEdXdBwbTOPh5oxo1s8/s1920/pic-new14-blog.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1920&quot; data-original-width=&quot;1080&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi73VZjS0TjuqGeeBmBG4897z84BkpXpUFE_DnbkT5RuJhuf3JCGso0FsLVnzCgQ2ZrUUvKB-oG42MMH9Gq98CEzCS_w-NPBfN_JP8ugd7CbN-yo1fKt1vzIU_JgsbnSMf3HQHy-61ljVp_eXpoT5uj-jZdtxQ68mQZlQ-TwHneiEdXdBwbTOPh5oxo1s8/w225-h400/pic-new14-blog.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;◎ 若您要靜音，請於剛進入程式時的主選單點選「靜音圖案」，以開關靜音功能．程式會記住您的靜音選項，當下次開啟程式時，會依照您上次的靜音選項開關靜音功能喔！&lt;/p&gt;&lt;p&gt;2023/12/21 更新：增加「求籤記錄」囉！&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfI62cMToNCZWaTrR8p9ESdAeno-15z12IaQ8skUX3Yi9JT0pvS14IlCp4Iy-XfPWymY6lx0RyTrbOjviR2mekH3CFXg10Z9ndDSQ2f8oVYu10S_OgGbjMBlCMGzOyxQBr1o1yX6EE5mcmL3x_IhVuao4VpzxD4y7Nh-wDljl4x3BahsLvGH_2K8hPN-4/s2208/IMG_1029-U.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfI62cMToNCZWaTrR8p9ESdAeno-15z12IaQ8skUX3Yi9JT0pvS14IlCp4Iy-XfPWymY6lx0RyTrbOjviR2mekH3CFXg10Z9ndDSQ2f8oVYu10S_OgGbjMBlCMGzOyxQBr1o1yX6EE5mcmL3x_IhVuao4VpzxD4y7Nh-wDljl4x3BahsLvGH_2K8hPN-4/w225-h400/IMG_1029-U.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPwesvUiGAmjQggq6BE7ZZo-VGv1_wieH4kxKOnj-exZSa_0ukJRFyeMFs_HUKqQSy_F2-hxema_2PmoWK83xxR23LfdUGWadzNIkUxKRRttAolVVoTpnFE7zMklS2b2_SfHrsQB2oh_mTfo6076C5vVdWsI8SRrTcn0lnedpRGbLrtFObeklj7DtNEz8/s2208/IMG_1017-U.PNG&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;2208&quot; data-original-width=&quot;1242&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPwesvUiGAmjQggq6BE7ZZo-VGv1_wieH4kxKOnj-exZSa_0ukJRFyeMFs_HUKqQSy_F2-hxema_2PmoWK83xxR23LfdUGWadzNIkUxKRRttAolVVoTpnFE7zMklS2b2_SfHrsQB2oh_mTfo6076C5vVdWsI8SRrTcn0lnedpRGbLrtFObeklj7DtNEz8/w225-h400/IMG_1017-U.PNG&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;操作說明影片：&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; class=&quot;BLOG_video_class&quot; height=&quot;408&quot; src=&quot;https://www.youtube.com/embed/IYtjFNHOvtg&quot; width=&quot;482&quot; youtube-src-id=&quot;IYtjFNHOvtg&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/3577078119383429502/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2023/11/androidios.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/3577078119383429502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/3577078119383429502'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2023/11/androidios.html' title='【應用】- Android/iOS 應用程式 : 「溫府千歲」- 擲筊(擲茭)、求籤、問運途。'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvYlp_xSb6SH5iKhxg9570lJaDZQyHaOMsDNQPV132GG3qBrcTaYfuocdEinbTty6zqzhCdcq7mgLtjdZlIRBvOB0qs-R9sxwIl_-N-b4NfxOE-r8j_YGMuzM6RTLa-ERkuUfL_ZMH61_paIWEzaAnOO5YMgMZ8xyxbBNjluZLQsRqv__UlDQqzwZ5kV4/s72-w225-h400-c/pic-new01-blog.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-6080386517643887222</id><published>2012-02-28T09:25:00.002+08:00</published><updated>2012-02-28T09:40:58.532+08:00</updated><title type='text'>【分享】- 如何在 iOS 程式中置入 AdMob (AdSense) 廣告？</title><content type='html'>自從 AdMob 被 Google 合併後，已漸漸整合了 AdMob 與 AdSense for mobile Apps，並簡化成只有 AdMob 是使用在 Android / iOS 的行動應用廣告。而 AdMob 的行動「網頁」廣告也改由 AdSense 才能使用。不知再下來會「花」生啥事？！ @@ ...&lt;br /&gt;
&lt;br /&gt;
廢話不說，咱們來聊聊要如何在 iOS 程式中置入 AdMob (AdSense) 廣告呢？&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYLJKeT92T0ir0LEsU8YQRbVN8g7cOg_VYQlIDmLJDdZgR6-W6GTEVYeoGEOZasNYZZCAfJBp7ELjF-iZrL1r1Vu8Ecj93Wp_OrbH0HFukpfRI5pMSc5HxImqoXVrHBmP7xYU7i9zrxBc/s1600/01.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYLJKeT92T0ir0LEsU8YQRbVN8g7cOg_VYQlIDmLJDdZgR6-W6GTEVYeoGEOZasNYZZCAfJBp7ELjF-iZrL1r1Vu8Ecj93Wp_OrbH0HFukpfRI5pMSc5HxImqoXVrHBmP7xYU7i9zrxBc/s400/01.PNG&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;(一) 您必須先申請 AdMob 發佈商帳號與程式 ID：&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1. 先到 &lt;a href=&quot;http://zhtw.admob.com/&quot; target=&quot;_blank&quot;&gt;AdMob 網站&lt;/a&gt;申請一個廣告發佈商帳號。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdjr3SJ9NE2TQk0oSSGYDQxN6_oSsR39VEgJFEyr3K-VMYT37vFPYwQ0SYZkj454IJ8OOg13KS6CSDMourGYtHDQKbrlwr4VQXam87qG2nbwLY3WqnxbCTulb7dSJ5ej9OfUiKYOyWuKk/s1600/1.+admob+site.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;238&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdjr3SJ9NE2TQk0oSSGYDQxN6_oSsR39VEgJFEyr3K-VMYT37vFPYwQ0SYZkj454IJ8OOg13KS6CSDMourGYtHDQKbrlwr4VQXam87qG2nbwLY3WqnxbCTulb7dSJ5ej9OfUiKYOyWuKk/s400/1.+admob+site.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2.&amp;nbsp;依指示步驟申請完成後，登入 AdMob，並點選右上角你剛登入的帳號連結(電子郵件地址)或 &lt;a href=&quot;http://zhtw.admob.com/my_sites/&quot;&gt;http://zhtw.admob.com/my_sites/&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2VsjTU-b1PlsOVSe-nGNa2FztQ2UWzH5DRPU5V3rq_2l-vRovqVdgOt-62C0OeW6zOXHjJLS6bQWDhx-xFAXlsPENcswKhYI7KjRASRQvqR6FVCRMFRR46_HhSdcOP4mGkBLuMAdORsA/s1600/2.+logon.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2VsjTU-b1PlsOVSe-nGNa2FztQ2UWzH5DRPU5V3rq_2l-vRovqVdgOt-62C0OeW6zOXHjJLS6bQWDhx-xFAXlsPENcswKhYI7KjRASRQvqR6FVCRMFRR46_HhSdcOP4mGkBLuMAdORsA/s400/2.+logon.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3.&amp;nbsp;點選選單中的『網站與應用程式』下的『新增網站/應用程式』。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyssfPUXFzzEkJ8DwXL0RAYHo_PG_h7qRZG5sl2q83FZBq3bZxMg4dximu0xkQ-8B6UpquvxfNeuvPTrGpe3Sr6oZWkJwmehx9cRy4tRS-JvkhmE5zUU1t77mk3MLtHC7Ru3Tz2mx99c0/s1600/3.+newapp.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyssfPUXFzzEkJ8DwXL0RAYHo_PG_h7qRZG5sl2q83FZBq3bZxMg4dximu0xkQ-8B6UpquvxfNeuvPTrGpe3Sr6oZWkJwmehx9cRy4tRS-JvkhmE5zUU1t77mk3MLtHC7Ru3Tz2mx99c0/s400/3.+newapp.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
4. 選擇「iPhone」或「iPad 應用程式」&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifTv62h6nj2GW2G4_GojP0SEBh72ZX1ClNEva85RUZ3TRjYds-I-zFYrRwLQQVhgaEKkcMII5Yt6q8MHU3GhT-3G71hbmDM-R2zzxIzwqXO2kwQLRwYWJVmQX2Rl9-9SWcgcwOYvEgbMI/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifTv62h6nj2GW2G4_GojP0SEBh72ZX1ClNEva85RUZ3TRjYds-I-zFYrRwLQQVhgaEKkcMII5Yt6q8MHU3GhT-3G71hbmDM-R2zzxIzwqXO2kwQLRwYWJVmQX2Rl9-9SWcgcwOYvEgbMI/s400/02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
5. 當你選擇的是 iPhone，請依畫面指示填入相關資料，如下圖所示：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQiFXlumw_PO9ONPSiW7_JTUZa4k5NlSYGsXCFxCghsH6IMAQoYTLKo9kYO71aflBnAQG3_h7haRh4PcrhuRD5Z1IabKcrLF7Xe4uC-m-RvGYoeiIY2QBO7F7iEo9Fq8Cqoa11PDKnaIo/s1600/03+-+iPhone+-+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQiFXlumw_PO9ONPSiW7_JTUZa4k5NlSYGsXCFxCghsH6IMAQoYTLKo9kYO71aflBnAQG3_h7haRh4PcrhuRD5Z1IabKcrLF7Xe4uC-m-RvGYoeiIY2QBO7F7iEo9Fq8Cqoa11PDKnaIo/s400/03+-+iPhone+-+2.png&quot; width=&quot;337&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
6. 當你選擇的是 iPad，亦請依畫面指示填入相關資料，如下圖所示：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYBy32-OJW5I_1t9bFV1XCLcR5FE7DrplREG4-hVeXrN8sXUsE-N4a9s8Zo74Rf3QY4vCDYbErKmoq3xNu2a2qzoIo37jP1qxAbuzHhMB8I2FbMHkh1M68PwNWtZK_Rfzt436AG4-uFEk/s1600/04+-+iPad+-+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYBy32-OJW5I_1t9bFV1XCLcR5FE7DrplREG4-hVeXrN8sXUsE-N4a9s8Zo74Rf3QY4vCDYbErKmoq3xNu2a2qzoIo37jP1qxAbuzHhMB8I2FbMHkh1M68PwNWtZK_Rfzt436AG4-uFEk/s400/04+-+iPad+-+2.png&quot; width=&quot;285&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
PS：那個「應用程式商店 URL」，指的是您的 iOS 程式在網頁版的 iTunes 上的連結，從 Windows/MacOS 上的 iTunes 之 Copy Link 所抓下來的連結也可以。&lt;br /&gt;
&lt;br /&gt;
7. 更改參數與下載「發佈商程式碼」，以下僅以 iPhone 版作為範例：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSNXt1lpJ4PNZ3ymdO5BauxlB0DelzMVXiKa7Fpp8o6KU0zkoYHP4tWsFMnIlXtWr5CtAslnRHXt5qAY1xpFGpZbpPqtGaD2mRm4mgOak78LA8JDRvMaWSnfxNz7QPDbjYfVUYnjw2d7A/s1600/05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;92&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSNXt1lpJ4PNZ3ymdO5BauxlB0DelzMVXiKa7Fpp8o6KU0zkoYHP4tWsFMnIlXtWr5CtAslnRHXt5qAY1xpFGpZbpPqtGaD2mRm4mgOak78LA8JDRvMaWSnfxNz7QPDbjYfVUYnjw2d7A/s400/05.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbyVr4BVKKqhilzoMe3g_80oyAKupltOcf_rmr_Rxm-sUFLRVyubo7X0Sbc-6gb7dNQJDP11DpNx-JS4lbPJkOFESiFjgzPrnPwKFodHrOQum2SfdoJORbH6OyvPpdqT2FMzfbZYCRFZo/s1600/06+-+iPhone+modify.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;347&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbyVr4BVKKqhilzoMe3g_80oyAKupltOcf_rmr_Rxm-sUFLRVyubo7X0Sbc-6gb7dNQJDP11DpNx-JS4lbPJkOFESiFjgzPrnPwKFodHrOQum2SfdoJORbH6OyvPpdqT2FMzfbZYCRFZo/s400/06+-+iPhone+modify.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmPJ-IgPT_P-4Tx3AxPputgau_sC56Y2-UOLoXywDWidUylS9c6A0G1H5CN9MCgtGnHNNuLTwH_8g-x6sUH97bGj0BDgmRuFL8x2d8wrmkuVprbWo0M3tkP0F-7yEqEyTg51ujpAoklTI/s1600/07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmPJ-IgPT_P-4Tx3AxPputgau_sC56Y2-UOLoXywDWidUylS9c6A0G1H5CN9MCgtGnHNNuLTwH_8g-x6sUH97bGj0BDgmRuFL8x2d8wrmkuVprbWo0M3tkP0F-7yEqEyTg51ujpAoklTI/s400/07.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGHQ8ABRbr8BeZsa4Wi3HX1KdEqIMtHniZUg3s7KTAZsxqPsLBz5-El3KC7r36s7s-XBJSHDLLIVGu6ieNpGSFe2whnPiLkz7HQlCUVn3V9Ct3qe-6NXHmHs8q3_b7Y4-69keDYMFJaHo/s1600/08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;175&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGHQ8ABRbr8BeZsa4Wi3HX1KdEqIMtHniZUg3s7KTAZsxqPsLBz5-El3KC7r36s7s-XBJSHDLLIVGu6ieNpGSFe2whnPiLkz7HQlCUVn3V9Ct3qe-6NXHmHs8q3_b7Y4-69keDYMFJaHo/s400/08.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
8. 將下載好的 AdMob SDK 解壓縮後，置放在你想放置的目錄中，爾後有 SDK 更新，只要蓋過這些目錄中的資料，應該就可以了（除非有重大變更）&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;(二) 在 iOS 專案中加入 AdMob SDK 相關檔案：&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1. 在 iOS 專案中加入 AdMob SDK 的相關標頭檔 (.h)：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8xS34YvTz9oQAKugIIwXqnNBxlSUGGycZ2H4WxxOZipfW5EyMxH20i_pMcKxpKXmt81fBy93-4Q9WSPc8OyZsejgMH3kbsTOsVp5o-VEB18IWAXCYuQwCH9xUOi_t2StjS4Q6_Kf4t4U/s1600/09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8xS34YvTz9oQAKugIIwXqnNBxlSUGGycZ2H4WxxOZipfW5EyMxH20i_pMcKxpKXmt81fBy93-4Q9WSPc8OyZsejgMH3kbsTOsVp5o-VEB18IWAXCYuQwCH9xUOi_t2StjS4Q6_Kf4t4U/s400/09.png&quot; width=&quot;358&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0Bqa5o3_IoIbDSkdfeeXwFR_zHLU19KbzcoAGV-UZcxJQQQmv9Gh9ntZSDyXZVCy61VSqu6YruWWa5GRWnLMC6PqzdtY8gZblge4MWp0m4Ldxw27UR8eP8MswgDvDvnOvh-ZWzes-iVk/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0Bqa5o3_IoIbDSkdfeeXwFR_zHLU19KbzcoAGV-UZcxJQQQmv9Gh9ntZSDyXZVCy61VSqu6YruWWa5GRWnLMC6PqzdtY8gZblge4MWp0m4Ldxw27UR8eP8MswgDvDvnOvh-ZWzes-iVk/s400/10.png&quot; width=&quot;395&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2. 加入 AdMob SDK 所參考的 framework 與 AdMobAds 函式檔：&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPt9WkMtagP5WOa7eumtknCembxvJnHeYYle0P1oU82Aw0Gkjz2JmNJQ3q_hCtK3CBZYCVJBgMVx8tc0mcfl9l4Ov2o-Fb1GaJFTpCsDar3BncEXzfmEC2uVNPloPtlIgK8MZLWbGJN4c/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;182&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPt9WkMtagP5WOa7eumtknCembxvJnHeYYle0P1oU82Aw0Gkjz2JmNJQ3q_hCtK3CBZYCVJBgMVx8tc0mcfl9l4Ov2o-Fb1GaJFTpCsDar3BncEXzfmEC2uVNPloPtlIgK8MZLWbGJN4c/s400/11.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;點選「+」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Jv6jACBfT-VYBy0fO3iqGBBsKR-4wak_Tyqghpnfix3OnM-1Ylk1FDhHDMi_hyLxSgTJnO-5vHqlyvAnbpoNGMrTfU_W5nxsVX5Rslo3XvbsD4oa7k4UjYF-fAPsdelRWmHFBaxwn10/s1600/12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Jv6jACBfT-VYBy0fO3iqGBBsKR-4wak_Tyqghpnfix3OnM-1Ylk1FDhHDMi_hyLxSgTJnO-5vHqlyvAnbpoNGMrTfU_W5nxsVX5Rslo3XvbsD4oa7k4UjYF-fAPsdelRWmHFBaxwn10/s400/12.png&quot; width=&quot;347&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-HxJE4Xe28kMxZ9-fhGmbXY4pGELySU4QjrdpyzXfkcUfM3-CYmNiBFW1B_ZrLos4-4uE5OkQcvai4AkJaC7AFhuRY-M9ikvoDxF_upZTssfTFxPHTAJqS9zp_WLgM5dvvJbmcKugvps/s1600/13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-HxJE4Xe28kMxZ9-fhGmbXY4pGELySU4QjrdpyzXfkcUfM3-CYmNiBFW1B_ZrLos4-4uE5OkQcvai4AkJaC7AFhuRY-M9ikvoDxF_upZTssfTFxPHTAJqS9zp_WLgM5dvvJbmcKugvps/s400/13.png&quot; width=&quot;395&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;(三) 在 iOS 程式中加入 AdMob 程式碼：&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1. 在程式的標頭檔 (.h) 內加入相關程式碼：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJqCfp0INxIVWUE-KPN4mmK1ldoY5jHSjiWCvVjLaOcoc5W1Yd31dkZA7AdkgBaYDGplJ73IhjO0SmMcLBQL_dFO_s-Wu-8pPzi4AX1j1I4ztxHMOH6N5_620t-bEv3mZnu5BLNkCr_PI/s1600/a1+-+h.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;237&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJqCfp0INxIVWUE-KPN4mmK1ldoY5jHSjiWCvVjLaOcoc5W1Yd31dkZA7AdkgBaYDGplJ73IhjO0SmMcLBQL_dFO_s-Wu-8pPzi4AX1j1I4ztxHMOH6N5_620t-bEv3mZnu5BLNkCr_PI/s400/a1+-+h.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2. 在主程式中加入 AdMob 程式碼：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXcrWDYqWG0mmh2hHx1RGBXT-7HM1AGKnZPAeMwwgHO9yVFzbAPHmyP2tF4zwRh5K8IvfuVyDhiLdveFfGV0J8heoTAhzpJ9r2WGZcixJca7GRXFriSw5TFAlOI12SrmIPMVZpd1dFnj4/s1600/a2+-+m.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXcrWDYqWG0mmh2hHx1RGBXT-7HM1AGKnZPAeMwwgHO9yVFzbAPHmyP2tF4zwRh5K8IvfuVyDhiLdveFfGV0J8heoTAhzpJ9r2WGZcixJca7GRXFriSw5TFAlOI12SrmIPMVZpd1dFnj4/s400/a2+-+m.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsXCjNgxb6629ZtzHOg3JkyeB2wtMt_vfIfIVXCSld-IAoe6tGuO1hqLSj0XGR3ryPBjFLPsNg1SAgLE3-YYUUVz9IR6tdlqR1Q6s3lL6bu_5HPGVnXk6dmFUcVODFlM2wPPjYQpSwUAg/s1600/a3+-+m.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;66&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsXCjNgxb6629ZtzHOg3JkyeB2wtMt_vfIfIVXCSld-IAoe6tGuO1hqLSj0XGR3ryPBjFLPsNg1SAgLE3-YYUUVz9IR6tdlqR1Q6s3lL6bu_5HPGVnXk6dmFUcVODFlM2wPPjYQpSwUAg/s400/a3+-+m.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvLTnBTErC_D-aI_hcfOf-pFXSC47gGXYj0URUO3azQ-O2z0MI9ftUM687WUru_FGkL3wOp6BthBK3TEDJucy9ABIwvjs7lzAFsVRa5lMwtETYZLXt3P5BoX4RkDUyE9MKP9wlvkXQhw8/s1600/a4+-+m.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;361&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvLTnBTErC_D-aI_hcfOf-pFXSC47gGXYj0URUO3azQ-O2z0MI9ftUM687WUru_FGkL3wOp6BthBK3TEDJucy9ABIwvjs7lzAFsVRa5lMwtETYZLXt3P5BoX4RkDUyE9MKP9wlvkXQhw8/s400/a4+-+m.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
3. 如果您不是使用 ARC，請記得 release 相關資源：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNDui3QQpqIbXS1J0-4mZMtsGr2dCn00YDHmkrnKXtkoHxvBQLEoQM8D66mfaXmX-8ytnFTuPy_zwQWgmluDIon3Af3li3i9LGh1gHW7_21Koo4be7-wG3mDrRIPn3U3cCynxlH9CnqaI/s1600/a5+-+if+not+ARC.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;92&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNDui3QQpqIbXS1J0-4mZMtsGr2dCn00YDHmkrnKXtkoHxvBQLEoQM8D66mfaXmX-8ytnFTuPy_zwQWgmluDIon3Af3li3i9LGh1gHW7_21Koo4be7-wG3mDrRIPn3U3cCynxlH9CnqaI/s320/a5+-+if+not+ARC.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
4. 重新 Compile 程式試試！ ^_^&lt;br /&gt;
&lt;br /&gt;
有興趣的夥伴們，不妨下載漁郎的 iOS 程式瞧瞧 ^^：&lt;a href=&quot;http://itunes.apple.com/app/wen-fu-qian-sui/id494259946?mt=8&quot; target=&quot;_blank&quot;&gt;溫府千歲&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/6080386517643887222/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2012/02/ios-admob-adsense.html#comment-form' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/6080386517643887222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/6080386517643887222'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2012/02/ios-admob-adsense.html' title='【分享】- 如何在 iOS 程式中置入 AdMob (AdSense) 廣告？'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYLJKeT92T0ir0LEsU8YQRbVN8g7cOg_VYQlIDmLJDdZgR6-W6GTEVYeoGEOZasNYZZCAfJBp7ELjF-iZrL1r1Vu8Ecj93Wp_OrbH0HFukpfRI5pMSc5HxImqoXVrHBmP7xYU7i9zrxBc/s72-c/01.PNG" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-2480145405685075043</id><published>2012-02-20T13:29:00.005+08:00</published><updated>2012-02-20T14:04:38.369+08:00</updated><title type='text'>【筆記】- iOS 程式開發手札（二）- ViewController 的切換</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&amp;nbsp;iOS 程式一般來說是由一堆 Model 與 View 及 Controller 組成，但對漁郎這個菜鳥來說，只想著要怎樣才能順利切換控制畫面。然而，剛從 Android 劈腿 iOS ，實在搞不清楚如何處理 @@。。。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG6_xoLZHpPPiC1owPC84ag9PcB0OMCrad5ygN-9PNZAqhnuHux8uJbBH1Le_Fso-cRJlQtHK_51Y2U13q0lXwK73rw3oUgw0-MXB3Wz_BYou5r3KdjyhH-JXhm0WioNFBBV8P9MVvAgg/s1600/00.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG6_xoLZHpPPiC1owPC84ag9PcB0OMCrad5ygN-9PNZAqhnuHux8uJbBH1Le_Fso-cRJlQtHK_51Y2U13q0lXwK73rw3oUgw0-MXB3Wz_BYou5r3KdjyhH-JXhm0WioNFBBV8P9MVvAgg/s400/00.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
於是乎對於 iOS SDK 中給予的許多模板真是又愛又恨，愛的是很容易就能「掰」出ㄧ個好像可用的程式，例如： Xcode 4.1 前提供的 Navigation Based Application。但不符合漁郎的需求，且 Navigation 總是會佔住螢幕上方的ㄧ些空間（雖然可以用別的方式做些變化與隱藏，但總是很麻煩 @@），那… 要怎樣在 iOS 程式一堆的 View + Controller 中切來切去咧！？以下是漁郎的作法，還望各位高手夥伴們凸漕凸漕 &amp;gt;_&amp;lt;。。。&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
(1) 如何切到另ㄧ個控制畫面？&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
以下的程式碼是使用 ARC (Automatic Reference Counting)，因此，通常不會需要自己去 release 資源，那個 subViewController = nil 是做心安的 @_@…&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB-zLzO61_oQ1KrYrCHQSFaJ4cID39qJj9N8zi3_E8rrZdZGXpKYoDptO0COD79yyF8qdGMfrswGsdp_weMJltCY9oVyec84W0FVG7KGmK_c2Moi8qmJiA_cju8AtZBRdoIsold2UynPI/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;163&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB-zLzO61_oQ1KrYrCHQSFaJ4cID39qJj9N8zi3_E8rrZdZGXpKYoDptO0COD79yyF8qdGMfrswGsdp_weMJltCY9oVyec84W0FVG7KGmK_c2Moi8qmJiA_cju8AtZBRdoIsold2UynPI/s400/01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
(2) 如何切回原來的控制畫面？&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
很簡單！在 MainViewController 中下ㄧ道指令：&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnYXfkOYtsulZBnH7dVUNbCCSL0QxX_kzAbYmrGN1Giaj1AOWgnc0Bf3AnERQr0n72goI3oz3JwUjzxsfT1IkawcW61lGAr1b4B8cuSV4HkQwyt618c5FapB2sJAZDllswMyWAI_vlpB8/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;73&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnYXfkOYtsulZBnH7dVUNbCCSL0QxX_kzAbYmrGN1Giaj1AOWgnc0Bf3AnERQr0n72goI3oz3JwUjzxsfT1IkawcW61lGAr1b4B8cuSV4HkQwyt618c5FapB2sJAZDllswMyWAI_vlpB8/s400/02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
就醬～～&lt;/div&gt;
&lt;br /&gt;
有興趣的夥伴們不妨去下載漁郎在 iTunes Store 上架的「&lt;a href=&quot;http://itunes.apple.com/cn/app/id494259946?mt=8&quot; target=&quot;_blank&quot;&gt;溫府千歲&lt;/a&gt;」，也就是「&lt;a href=&quot;http://itunes.apple.com/en/app/id494259946?mt=8&quot; target=&quot;_blank&quot;&gt;王爺公&lt;/a&gt;」求籤（擲筊(擲茭)）的免費應用程式瞧瞧。 ^_^&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/2480145405685075043/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2012/02/ios-viewcontroller.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2480145405685075043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2480145405685075043'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2012/02/ios-viewcontroller.html' title='【筆記】- iOS 程式開發手札（二）- ViewController 的切換'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG6_xoLZHpPPiC1owPC84ag9PcB0OMCrad5ygN-9PNZAqhnuHux8uJbBH1Le_Fso-cRJlQtHK_51Y2U13q0lXwK73rw3oUgw0-MXB3Wz_BYou5r3KdjyhH-JXhm0WioNFBBV8P9MVvAgg/s72-c/00.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-1900639147774543012</id><published>2012-01-25T09:09:00.001+08:00</published><updated>2012-02-22T05:38:43.508+08:00</updated><title type='text'>【筆記】- iOS 程式開發手札（一）- 初探 iOS 程式開發</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0XOnM4qJiMfRBfW-St3EdBSwJrIQUHQHNpoyM5eMrtMQHYTG1XCf90s-syyi87NfZK2WFV1lRiKkJoLwcvnPGCamflzAmyD63cXV1sX3nFIrl7050qeu-w3oxtCGG1gOTkhIxD6RFWH8/s1600/%25E8%258D%25892.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;84&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0XOnM4qJiMfRBfW-St3EdBSwJrIQUHQHNpoyM5eMrtMQHYTG1XCf90s-syyi87NfZK2WFV1lRiKkJoLwcvnPGCamflzAmyD63cXV1sX3nFIrl7050qeu-w3oxtCGG1gOTkhIxD6RFWH8/s320/%25E8%258D%25892.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
草草草草草～～ 各位親愛的鄉親父老兄弟姊妹們～ 看到上面長草沒？這裡長一堆草了 @@ ...&lt;br /&gt;
&lt;br /&gt;
漁郎閉關練功去，這裡就長出一堆草了 &amp;gt;_&amp;lt; .... 最近終於出關了 ^_^ ... 趕緊上來跟大夥兒拜年 ^_^ ！然後哩～ 再慢慢記錄ㄧ下閉關學習 iOS 程式開發的酸甜苦辣 &amp;gt;_&amp;lt; ...&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjimElfxx8wfxfMEXvOPcr3V1OtPC8Bh_-ZdDMa8io0VsWgpkzHuXCbnXAn9e9lY0kX_Hupy-Vpc5gnwcZ3rt7nFjPWiZJc-V2xDHD2gvzBwaBtGivdR84bS-astLWxHF-7SBMhOIJmrAI/s1600/Xcode.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjimElfxx8wfxfMEXvOPcr3V1OtPC8Bh_-ZdDMa8io0VsWgpkzHuXCbnXAn9e9lY0kX_Hupy-Vpc5gnwcZ3rt7nFjPWiZJc-V2xDHD2gvzBwaBtGivdR84bS-astLWxHF-7SBMhOIJmrAI/s320/Xcode.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
iOS 應用程式開發，使用的是 Objective-C 語言，開發工具是「Xcode」。說真的，這個開發語言真的有夠 @#X$%。。。 &amp;gt;_&amp;lt;&lt;br /&gt;
&lt;br /&gt;
不過哩，剛接觸時是覺得「有夠難搞」！但是哩～摸久了，反而覺得這個 Apple 提供的開發工具「Xcode」確實很贊！&lt;br /&gt;
&lt;br /&gt;
漁郎不記錄 MVC 這類的概念說明，也不是要教夥伴們怎麼撰寫 iOS 程式，事實上，漁郎對這些 iOS 使用的開發工具與程式語言都是「半路出家」，好不容易才摸出個頭緒。所以咧～～夥伴們就當漁郎在自言自語，千萬「不要烤我」～～ 不然，很容易被烤成乳豬的 &amp;gt;_&amp;lt;。。。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(1) iOS 應用程式開發的好課程&lt;br /&gt;
&lt;br /&gt;
首先，請大夥兒有空就看看這個影音課程，漁郎在&lt;a href=&quot;http://coritalk.blogspot.com/2011/02/iphone.html&quot; target=&quot;_blank&quot;&gt;另ㄧ篇文章&lt;/a&gt;中有介紹，這是美國史丹佛大學教授無私的奉獻，漁郎在此課程中實在受益匪淺（雖然漁郎的英文很爛 @@）。。。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(2) 下載與安裝開發工具 - &lt;a href=&quot;http://itunes.apple.com/tw/app/xcode/id448457090?mt=12&quot; target=&quot;_blank&quot;&gt;Xcode&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
使用 Xcode 的前提，是必須要有ㄧ台 Apple 的 &lt;a href=&quot;http://www.apple.com/tw/mac/&quot; target=&quot;_blank&quot;&gt;Mac&lt;/a&gt;（MacBook、iMac、Mac mini ...）。然後，再下載與安裝 Xcode。漁郎目前使用的是 Xcode 4.2.1 (4D502)，Apple 自從 Xcode 4 之後，就提供 Lion 作業系統免費下載 Xcode，或是 Apple Store 付費下載 Xcode (USD 4.99)，&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
先醬了～ 有興趣的夥伴們先瞧瞧影音教學內容（課程內容可以看很久 @@....），然後，下載安裝 Xcode ，並跟著影音教學內容做範例，應該就會有基本的功力了！ 過幾天，漁郎再跟大夥兒報告ㄧ下其它 iOS Apps 開發的心得 ^_^ ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/1900639147774543012/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2012/01/ios.html#comment-form' title='1 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/1900639147774543012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/1900639147774543012'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2012/01/ios.html' title='【筆記】- iOS 程式開發手札（一）- 初探 iOS 程式開發'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0XOnM4qJiMfRBfW-St3EdBSwJrIQUHQHNpoyM5eMrtMQHYTG1XCf90s-syyi87NfZK2WFV1lRiKkJoLwcvnPGCamflzAmyD63cXV1sX3nFIrl7050qeu-w3oxtCGG1gOTkhIxD6RFWH8/s72-c/%25E8%258D%25892.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-2783449920186913130</id><published>2011-05-18T22:03:00.005+08:00</published><updated>2014-03-25T05:29:31.793+08:00</updated><title type='text'>【分享】- AdMob 付款到 PayPal 並提領到「台灣的銀行」 全記錄</title><content type='html'>&lt;span style=&quot;color: red;&quot;&gt;寫在前面：PayPal 宣布自 2014/03/31 止，不再提供提領到台灣其他銀行的服務，只能提領到「玉山銀行」．詳情請看這裡的&lt;/span&gt;&lt;a href=&quot;https://www.paypal.com/tw/webapps/mpp/withdrawal-process&quot; target=&quot;_blank&quot;&gt;官網連結資訊&lt;/a&gt;．&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.paypal.com/tw/webapps/mpp/withdrawal-process&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM7BOeCejZwv0S9RV7nNbEZtgMDT9eyZDTyD3Q67PR1ndJaoLb76nivfMidqu4NWTnSgU4umQBD1soSf9bVR0Qlp-rnoSmcgwsGGJq4LlfrOnqGf0CiXcjDDm_NX69Hh_OW0Koj4B_BGM/s1600/Paypal-news.png&quot; height=&quot;190&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
話說三月好不容易在 AdMob 積了點小錢錢（真的粉小 @@，剛好超過 AdMob 的付款下限 USD 20），而 AdMob 也依照其作業準則，很「迅速」的在五月初（5/2 付款，可能因為 5/1 是星期日）將款項轉入到漁郎的 PayPal 帳戶（5/12 PayPal 才入帳）中，想說正好試試 PayPal 的「提領」功能（以前沒錢可提 &amp;gt;_&amp;lt;），看能不能轉到漁郎在台灣的銀行帳戶中，結果咧！遇到了怪怪的事！當漁郎要在 PayPal 增加銀行帳戶時，在「帳戶上的名稱」那一欄的註解中寫著（若名稱與銀行帳戶名稱不符，我們會收取 NT$70 TWD 的退還手續費）！？耶～～ 漁郎的 PayPal 帳戶名稱是英文&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;（跟護照上的英文譯名一樣）&lt;/span&gt;&lt;/b&gt;，可是在台灣的銀行帳戶上的名稱是中文！怎麼辦！？&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCldleSJSn1R9X9PbdepZB6EVhnC9Dygj_uGsRCQukkmwU06GjYs8k-EhyphenhyphenKFJqtP3Q8cQgWDlY6o_z6cakn_Y2bjL9d2r9rzNo-mHsMMioOszoGl_Szcx21JQQZBrc0WKg43yiwro4SvQ/s1600/%25E9%258C%25A2%25E9%258C%25A2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCldleSJSn1R9X9PbdepZB6EVhnC9Dygj_uGsRCQukkmwU06GjYs8k-EhyphenhyphenKFJqtP3Q8cQgWDlY6o_z6cakn_Y2bjL9d2r9rzNo-mHsMMioOszoGl_Szcx21JQQZBrc0WKg43yiwro4SvQ/s400/%25E9%258C%25A2%25E9%258C%25A2.png&quot; height=&quot;190&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj13d_xjggMfeVTgpmhDge7oWVY9aaucvymAK65Vcit56Sw6Mffv3x7fQIfOK3Vw2e4Duu-FfXI2k-0TsxeNi6ucIl2gp1PdeZWMe6xqQFmwrLvoLsCdstqatXiLRcLjCkYVugdPdbSos/s1600/AdMob+%25E4%25BB%2598%25E6%25AC%25BE%25E9%2580%259A%25E7%259F%25A5%25E4%25BF%25A1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhj13d_xjggMfeVTgpmhDge7oWVY9aaucvymAK65Vcit56Sw6Mffv3x7fQIfOK3Vw2e4Duu-FfXI2k-0TsxeNi6ucIl2gp1PdeZWMe6xqQFmwrLvoLsCdstqatXiLRcLjCkYVugdPdbSos/s400/AdMob+%25E4%25BB%2598%25E6%25AC%25BE%25E9%2580%259A%25E7%259F%25A5%25E4%25BF%25A1.png&quot; height=&quot;307&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;附件：AdMob 的付款通知信&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
其實漁郎的 PayPal 帳號名稱之所以為英文，是因為當初為了在網路上購買軟體而在 PayPal 註冊了一個帳戶，但因為當時 PayPal 只有英文版，且只能使用英文註冊，所以只好註冊成英文名稱。但現在要增加台灣的銀行帳戶到原本是使用英文帳戶名稱的 PayPal 帳戶中 ，在該表格中已內定了登入的英文 PayPal 帳戶名稱，名的那個欄位可以改，姓的那個欄位卻不能改，搞得漁郎滿頭霧水。經去電詢問 PayPal 客服（通訊有點 Lag，可能是因為使用 VOIP 轉到大陸的服務員那兒的關係），結果客服說「確實銀行帳戶名稱一定要跟在台灣的銀行帳戶名稱（銀行簿本上的帳戶姓名）一樣才行」！？哇哩咧～～～ 後來，客服發了封 e-mail 給漁郎 ，內容詳載了兩種解決方式，但都有點麻煩！在此漁郎就不詳述了，有興趣的夥伴們可點開下面的截圖看看內容：&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga_ITKPf0oLxMg9jI7do_T98JwSWen4Nx47Vv3hVPgp6nfyPZAWn9NS3s0D4aRlzi2SN2zPN-8052g2MvG45UR-Xj4_-FUZCSfwqGxuFUPO9GANxxSc9BXt4oUc3_gLVZJnNx5HbI35EM/s1600/955.+PayPal+%25E5%25AE%25A2%25E6%259C%258D%25E7%259A%2584%25E5%259B%259E%25E8%25A6%2586%25E9%2583%25B5%25E4%25BB%25B6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga_ITKPf0oLxMg9jI7do_T98JwSWen4Nx47Vv3hVPgp6nfyPZAWn9NS3s0D4aRlzi2SN2zPN-8052g2MvG45UR-Xj4_-FUZCSfwqGxuFUPO9GANxxSc9BXt4oUc3_gLVZJnNx5HbI35EM/s400/955.+PayPal+%25E5%25AE%25A2%25E6%259C%258D%25E7%259A%2584%25E5%259B%259E%25E8%25A6%2586%25E9%2583%25B5%25E4%25BB%25B6.png&quot; height=&quot;203&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;PayPal 客服回覆信件的部份內容&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
基於「我不入地獄，誰入地獄」的精神 &amp;gt;_&amp;lt; ，漁郎決定「素看看」能否使用英文的銀行帳戶名稱轉錢錢到漁郎在台灣的銀行帳戶中，大不了被收了 TWD 70 ～～ @@ 還是會痛滴。。。&lt;br /&gt;
&lt;br /&gt;
以下就順道將 AdMob&amp;nbsp;付款到 PayPal 並提領到「台灣的銀行」之記錄跟大夥兒分享一下吧！&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: purple;&quot;&gt;（實驗證明是可以用英文的銀行帳戶名稱轉錢錢到台灣的銀行帳戶滴～～ ^_^）&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
(1) 登入 AdMob 設定「付款詳細資料」&lt;br /&gt;
&amp;nbsp; &amp;nbsp; （請記得是在 AdMob 還沒付款前就早早設定好，前提是也早早註冊了一個 PayPal 帳號）&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguFYx5GMYDTCIw99z1TEbjXYd53LQyWmb3PIbYut4pFfedWh9MsY30b8d0DqTsMyB_wPpMydyNAngGNss93-mUgE-rZA01vpnQX1kL_KT1z9QhtigwxqoFU1HmsiWHISJ-AZOZ47sVYY8/s1600/900.+PayPal+-+00.+%25E8%25A8%25AD%25E5%25AE%259A%25E4%25BB%2598%25E6%25AC%25BE%25E5%258F%2583%25E6%2595%25B8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguFYx5GMYDTCIw99z1TEbjXYd53LQyWmb3PIbYut4pFfedWh9MsY30b8d0DqTsMyB_wPpMydyNAngGNss93-mUgE-rZA01vpnQX1kL_KT1z9QhtigwxqoFU1HmsiWHISJ-AZOZ47sVYY8/s400/900.+PayPal+-+00.+%25E8%25A8%25AD%25E5%25AE%259A%25E4%25BB%2598%25E6%25AC%25BE%25E5%258F%2583%25E6%2595%25B8.png&quot; height=&quot;231&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;點選「帳戶」-&amp;gt;「付款詳細資料」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2pvcThzu1V88vJFXVMy-iqLtVWOIkNfbqMKKVG0nKSivEBVyJnD-Pi5qHGFiopCjT8fa-kFxX4F09a_-I-9gCehHj62VVRxdbpwjhQ19HYprZGqhaOCxnj7ne-A_azYoxrlbEd8U4pFM/s1600/900.+PayPal+-+01.+%25E8%25A8%25AD%25E5%25AE%259A%25E4%25BB%2598%25E6%25AC%25BE%25E5%258F%2583%25E6%2595%25B8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2pvcThzu1V88vJFXVMy-iqLtVWOIkNfbqMKKVG0nKSivEBVyJnD-Pi5qHGFiopCjT8fa-kFxX4F09a_-I-9gCehHj62VVRxdbpwjhQ19HYprZGqhaOCxnj7ne-A_azYoxrlbEd8U4pFM/s400/900.+PayPal+-+01.+%25E8%25A8%25AD%25E5%25AE%259A%25E4%25BB%2598%25E6%25AC%25BE%25E5%258F%2583%25E6%2595%25B8.png&quot; height=&quot;400&quot; width=&quot;396&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;範例：輸入付款詳細資料&lt;br /&gt;
（本地稅務 ID 要給正確的身分證字號，不是輸入星星(*)）&lt;br /&gt;
（PayPal 登入欄要給正確的 PayPal 登入時的帳號）&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
(2) 登入 PayPal 新增台灣的銀行帳戶&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKP77-BngPCX_X3OE2HES1mjEsbLQYmOFW7qaBSa50RKnulEYa7rH7RDPqE0v796PbVHEUVxAsbbSwMeJ-1ZP_zzjVBPkOisNEi_DXqpYLjfynqmg5j7pcvemPuckg8yeLMyOmYi-n9Tw/s1600/901.+PayPal+-+04.+%25E9%258A%2580%25E8%25A1%258C%25E8%258B%25B1%25E6%2596%2587%25E6%259F%25A5%25E8%25A9%25A2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKP77-BngPCX_X3OE2HES1mjEsbLQYmOFW7qaBSa50RKnulEYa7rH7RDPqE0v796PbVHEUVxAsbbSwMeJ-1ZP_zzjVBPkOisNEi_DXqpYLjfynqmg5j7pcvemPuckg8yeLMyOmYi-n9Tw/s400/901.+PayPal+-+04.+%25E9%258A%2580%25E8%25A1%258C%25E8%258B%25B1%25E6%2596%2587%25E6%259F%25A5%25E8%25A9%25A2.png&quot; height=&quot;322&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;先查找準備好銀行的英文名稱&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.cbc.gov.tw/sp.asp?xdURL=bankexam/cbc/finlist_index.asp&amp;amp;ctnode=389&quot;&gt;查詢銀行英文名稱&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimG6AXPlxp6LEqA-RKNAwN6QMIoLHWYjxz28hc90gtmm1oCmI1WNEYxhYaFM0Z0_KxJVzt0TJ_C2aC0ANBMEhMgHFw_VvHZXi0h7CDAWB74SH5nLBP_3sgp74Gct3INrkBA6TQOXlXcns/s1600/901.+PayPal+-+05.+%25E9%258A%2580%25E8%25A1%258C%25E8%258B%25B1%25E6%2596%2587%25E6%259F%25A5%25E8%25A9%25A2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimG6AXPlxp6LEqA-RKNAwN6QMIoLHWYjxz28hc90gtmm1oCmI1WNEYxhYaFM0Z0_KxJVzt0TJ_C2aC0ANBMEhMgHFw_VvHZXi0h7CDAWB74SH5nLBP_3sgp74Gct3INrkBA6TQOXlXcns/s400/901.+PayPal+-+05.+%25E9%258A%2580%25E8%25A1%258C%25E8%258B%25B1%25E6%2596%2587%25E6%259F%25A5%25E8%25A9%25A2.png&quot; height=&quot;223&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;查詢範例：台灣土地銀行 005 (Land Bank of Taiwan)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAU2ieD40j9q8YFdoi_X80LnJfNTJh-oprXMv2F_3OhQAtEsrDkJx_D_MBdDKs-9_xN6SMsdnEckZEqNIrgcWilwWAMKaHK7J_KdLcfGxF8m-WSjq36iVq96mugKmVYaVNzXncAXI-PnU/s1600/901.+PayPal+-+01.+%25E9%258A%2580%25E8%25A1%258C%25E5%2588%2586%25E6%2594%25AF%25E6%259F%25A5%25E8%25A9%25A2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAU2ieD40j9q8YFdoi_X80LnJfNTJh-oprXMv2F_3OhQAtEsrDkJx_D_MBdDKs-9_xN6SMsdnEckZEqNIrgcWilwWAMKaHK7J_KdLcfGxF8m-WSjq36iVq96mugKmVYaVNzXncAXI-PnU/s400/901.+PayPal+-+01.+%25E9%258A%2580%25E8%25A1%258C%25E5%2588%2586%25E6%2594%25AF%25E6%259F%25A5%25E8%25A9%25A2.png&quot; height=&quot;268&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;查找分行代碼（連入後點選那個「一般民眾服務網」）&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.fisc.com.tw/FISCWeb/default.aspx&quot;&gt;連結財金資訊網站&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6HJ2EjSLJPVj7lZpWf2tuhYgup73RYSjC2l_J6QCnm-NgziB_VS86p8CuMMm-SCvPIyzIVQH1pkAOVdYL16Ab817aDQ8JeLeExyV_zMUiaP1XpBVVv-aewlEz9uSOkGrvMapBNwVF1nM/s1600/901.+PayPal+-+02.+%25E9%258A%2580%25E8%25A1%258C%25E5%2588%2586%25E6%2594%25AF%25E6%259F%25A5%25E8%25A9%25A2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6HJ2EjSLJPVj7lZpWf2tuhYgup73RYSjC2l_J6QCnm-NgziB_VS86p8CuMMm-SCvPIyzIVQH1pkAOVdYL16Ab817aDQ8JeLeExyV_zMUiaP1XpBVVv-aewlEz9uSOkGrvMapBNwVF1nM/s400/901.+PayPal+-+02.+%25E9%258A%2580%25E8%25A1%258C%25E5%2588%2586%25E6%2594%25AF%25E6%259F%25A5%25E8%25A9%25A2.png&quot; height=&quot;247&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;點選「便利查詢」-&amp;gt;「總分支機構查詢」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJrsQ91Bk8uzue-WZZuzBGi27RVRYcZE-PCZAG-GmlS2CsUPyoPM2rZOwLdXNtbEkNFdzA5xfQQY9vt_VbbrtdeyHQN5OZ45rhx5W3JSmK5bE2sFGxrUdJeamK6aLb2QN3U0DJcJr8J64/s1600/901.+PayPal+-+03.+%25E9%258A%2580%25E8%25A1%258C%25E5%2588%2586%25E6%2594%25AF%25E6%259F%25A5%25E8%25A9%25A2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJrsQ91Bk8uzue-WZZuzBGi27RVRYcZE-PCZAG-GmlS2CsUPyoPM2rZOwLdXNtbEkNFdzA5xfQQY9vt_VbbrtdeyHQN5OZ45rhx5W3JSmK5bE2sFGxrUdJeamK6aLb2QN3U0DJcJr8J64/s400/901.+PayPal+-+03.+%25E9%258A%2580%25E8%25A1%258C%25E5%2588%2586%25E6%2594%25AF%25E6%259F%25A5%25E8%25A9%25A2.png&quot; height=&quot;178&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;查詢範例（土地銀行）&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpvavjOTIxCIUL_bmBEPWW-vuoBADUHfftYkTqtTVq-emUzg80DuzNrfhKAzbQYGpmun2zlHG_fUtQjo1uqdVEPctc-T8x8RGVPb-dRV5aZ8ZjsTaCB1V6D7RMwXlCX9lzVIV_k9TzKHk/s1600/901.+PayPal+-+00.+%25E6%2596%25B0%25E5%25A2%259E%25E9%258A%2580%25E8%25A1%258C%25E5%25B8%25B3%25E6%2588%25B6+0.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpvavjOTIxCIUL_bmBEPWW-vuoBADUHfftYkTqtTVq-emUzg80DuzNrfhKAzbQYGpmun2zlHG_fUtQjo1uqdVEPctc-T8x8RGVPb-dRV5aZ8ZjsTaCB1V6D7RMwXlCX9lzVIV_k9TzKHk/s400/901.+PayPal+-+00.+%25E6%2596%25B0%25E5%25A2%259E%25E9%258A%2580%25E8%25A1%258C%25E5%25B8%25B3%25E6%2588%25B6+0.png&quot; height=&quot;282&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;點選「新增/編輯銀行帳戶」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdPA5VDecQt7OAKYInuZph8s3cQhiDuNOgiHJGegAP38s_Rp8nOdjEVl8BDsneaZCZw1LnIj8MLIXSnatalHXLAAa23EmsJhEgk1-9LtHi7D0-b2h1e3ALLIvefUw6y0CEidjqMK7wJSw/s1600/901.+PayPal+-+00.+%25E6%2596%25B0%25E5%25A2%259E%25E9%258A%2580%25E8%25A1%258C%25E5%25B8%25B3%25E6%2588%25B6+1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdPA5VDecQt7OAKYInuZph8s3cQhiDuNOgiHJGegAP38s_Rp8nOdjEVl8BDsneaZCZw1LnIj8MLIXSnatalHXLAAa23EmsJhEgk1-9LtHi7D0-b2h1e3ALLIvefUw6y0CEidjqMK7wJSw/s400/901.+PayPal+-+00.+%25E6%2596%25B0%25E5%25A2%259E%25E9%258A%2580%25E8%25A1%258C%25E5%25B8%25B3%25E6%2588%25B6+1.png&quot; height=&quot;400&quot; width=&quot;380&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;填寫銀行帳戶資料（除了拉選的外，都用英文與數字填入）&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
(3) 提領「錢錢」到台灣的土地銀行 ^_^&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPny-PJOVHdeWZmdHlqJJYzUOLDCA9kbQ2D3lXw8NDATpE23VPetyBbCgpdjQueodCQd3q7q4IVf8-R_K1SkpiT6j2FSgXQMHTeYzGiK9Y_gCyecn11Ww3WWDB54bpvVj0rtTF1Mnp7mo/s1600/902.+PayPal+-+%25E6%258F%2590%25E9%25A0%2598%25E7%25BE%258E%25E9%2587%2591%25E5%2588%25B0%25E9%258A%2580%25E8%25A1%258C+1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPny-PJOVHdeWZmdHlqJJYzUOLDCA9kbQ2D3lXw8NDATpE23VPetyBbCgpdjQueodCQd3q7q4IVf8-R_K1SkpiT6j2FSgXQMHTeYzGiK9Y_gCyecn11Ww3WWDB54bpvVj0rtTF1Mnp7mo/s400/902.+PayPal+-+%25E6%258F%2590%25E9%25A0%2598%25E7%25BE%258E%25E9%2587%2591%25E5%2588%25B0%25E9%258A%2580%25E8%25A1%258C+1.png&quot; height=&quot;211&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;點選「我的帳戶」-&amp;gt;「提領」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJuuWJizK8CHu94PxNxmPx3UJCGdTHDmmU0b5RzmdiyqutiMVHH8JnitE1SGeU5ce1ysvnUZsBmcBfOoxSqLVCi2P03gMx2MEEDSVNswLgjD9MWE2HS6wivWX2QDXcEftwGYKR9wrZB3k/s1600/902.+PayPal+-+%25E6%258F%2590%25E9%25A0%2598%25E7%25BE%258E%25E9%2587%2591%25E5%2588%25B0%25E9%258A%2580%25E8%25A1%258C+2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJuuWJizK8CHu94PxNxmPx3UJCGdTHDmmU0b5RzmdiyqutiMVHH8JnitE1SGeU5ce1ysvnUZsBmcBfOoxSqLVCi2P03gMx2MEEDSVNswLgjD9MWE2HS6wivWX2QDXcEftwGYKR9wrZB3k/s400/902.+PayPal+-+%25E6%258F%2590%25E9%25A0%2598%25E7%25BE%258E%25E9%2587%2591%25E5%2588%25B0%25E9%258A%2580%25E8%25A1%258C+2.png&quot; height=&quot;301&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;填入要提領的金額與目的銀行帳號（本例：Land Bank of Taiwan）&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTqD1CihJfvg6JcsBQpzH1GOORQ-7EznmfkAnpKdJSQF-UJA7h2b6W1eD9dFGI6cThQ_oUDyd_9RnpFh_AkUuzzZ57n8flfZLs5DJaZfNsOkCIBHhK2kRerktLV9YYb4f7hbbybcCVHC0/s1600/903.+%25E6%259F%25A5%25E7%259C%258B%25E6%258F%2590%25E9%25A0%2598%25E9%2587%2591%25E9%25A1%258D.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTqD1CihJfvg6JcsBQpzH1GOORQ-7EznmfkAnpKdJSQF-UJA7h2b6W1eD9dFGI6cThQ_oUDyd_9RnpFh_AkUuzzZ57n8flfZLs5DJaZfNsOkCIBHhK2kRerktLV9YYb4f7hbbybcCVHC0/s400/903.+%25E6%259F%25A5%25E7%259C%258B%25E6%258F%2590%25E9%25A0%2598%25E9%2587%2591%25E9%25A1%258D.png&quot; height=&quot;380&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;查看與提交「提領金額」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiUOTBQ6ElLsTMXx7W45_FUO9TCttAV2T-JcYbULjYup8I-kG3RzakZlqt7pOcounz15Gg_3tvzfFpTQUyUti63cfVpeDZ0FO6vQiVTuzI__YBJPgbEyL62hAIpqUSxmv4a6os9f-uft0/s1600/904.+%25E6%25AA%25A2%25E8%25A6%2596%25E4%25BA%25A4%25E6%2598%2593%25E8%25A9%25B3%25E7%25B4%25B0%25E8%25B3%2587%25E6%2596%2599+-+%25E7%2595%25B6%25E5%25A4%25A9+Yahoo+%25E5%258C%25AF%25E7%258E%2587%25E6%2598%25AF+28.656.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiUOTBQ6ElLsTMXx7W45_FUO9TCttAV2T-JcYbULjYup8I-kG3RzakZlqt7pOcounz15Gg_3tvzfFpTQUyUti63cfVpeDZ0FO6vQiVTuzI__YBJPgbEyL62hAIpqUSxmv4a6os9f-uft0/s400/904.+%25E6%25AA%25A2%25E8%25A6%2596%25E4%25BA%25A4%25E6%2598%2593%25E8%25A9%25B3%25E7%25B4%25B0%25E8%25B3%2587%25E6%2596%2599+-+%25E7%2595%25B6%25E5%25A4%25A9+Yahoo+%25E5%258C%25AF%25E7%258E%2587%25E6%2598%25AF+28.656.png&quot; height=&quot;400&quot; width=&quot;377&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;檢視交易詳細資料&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh_j8ofvckfK5RxroogJmrhRL3ZahoPUYDR9Kk92CJN0tnwBy1DBFP64Qbyn8HLSNK-Y1qIJtlLt4QXQrdze45DQTF59v4NU782kWdwMmThK9L87zjWBu62NItDyAEPwTP9MCStFUBtJ4/s1600/905.+%25E7%2595%25B6%25E5%25A4%25A9+Yahoo+%25E5%258C%25AF%25E7%258E%2587.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh_j8ofvckfK5RxroogJmrhRL3ZahoPUYDR9Kk92CJN0tnwBy1DBFP64Qbyn8HLSNK-Y1qIJtlLt4QXQrdze45DQTF59v4NU782kWdwMmThK9L87zjWBu62NItDyAEPwTP9MCStFUBtJ4/s400/905.+%25E7%2595%25B6%25E5%25A4%25A9+Yahoo+%25E5%258C%25AF%25E7%258E%2587.png&quot; height=&quot;115&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;當日查到的 Yahoo 匯率&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1bp6NYVzpDREAImdWVStGcDhU7yOOx6Jo1WaU9wivwXALB1lkE2M5NUOmB5JlmnqjV6Hjtd4EQVeVXo9EvcYhMbt7UB1tYVRGJCgPH-8CCuGq1wMR9Ckrw0_oShp26_X36jIEKqiExCE/s1600/906.+PayPal+-+20110514+-+%25E5%25BE%2585%25E8%2599%2595%25E7%2590%2586.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1bp6NYVzpDREAImdWVStGcDhU7yOOx6Jo1WaU9wivwXALB1lkE2M5NUOmB5JlmnqjV6Hjtd4EQVeVXo9EvcYhMbt7UB1tYVRGJCgPH-8CCuGq1wMR9Ckrw0_oShp26_X36jIEKqiExCE/s400/906.+PayPal+-+20110514+-+%25E5%25BE%2585%25E8%2599%2595%25E7%2590%2586.png&quot; height=&quot;357&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;20110514 時查詢的處理情況&lt;br /&gt;
（那個 TWD 70 是準備提領失敗被退款時要給它扣的 @_@）&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfDuxPuZBuTkmjD2W_43ZNY6QlXozNV3qkETKdU3SauNJ7Rp47gpImil8Pnqok9DU0cME-CyY9Ss4DUMgLUM7ku8zTERI4KYc__zTA0fV05G18DcMnwpBCA6-Io7I7x_HW6hFrTcr7lmI/s1600/907.+PayPal+-+20110516+-+%25E5%25B7%25B2%25E5%25AE%258C%25E6%2588%2590.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfDuxPuZBuTkmjD2W_43ZNY6QlXozNV3qkETKdU3SauNJ7Rp47gpImil8Pnqok9DU0cME-CyY9Ss4DUMgLUM7ku8zTERI4KYc__zTA0fV05G18DcMnwpBCA6-Io7I7x_HW6hFrTcr7lmI/s400/907.+PayPal+-+20110516+-+%25E5%25B7%25B2%25E5%25AE%258C%25E6%2588%2590.png&quot; height=&quot;263&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;20110516 查詢時已顯示「已完成」&lt;br /&gt;
但此時銀行帳戶還沒看到入帳&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_518El8iuBrrqtBoal8lLsvb8J-F1Y_gjUgTqioC_kkRHMcUndWv8iCkgGjku9sw8EaPOfPR5jRhF3c70R7vNyDluMJ6GfKe-GMoD-DtXyWJaNWxKnRKoEV7DDiY6E4eDWEPHKLqg-7M/s1600/908.+PayPal+-+20110518+-+%25E9%258A%2580%25E8%25A1%258C%25E5%2585%25A5%25E5%25B8%25B3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_518El8iuBrrqtBoal8lLsvb8J-F1Y_gjUgTqioC_kkRHMcUndWv8iCkgGjku9sw8EaPOfPR5jRhF3c70R7vNyDluMJ6GfKe-GMoD-DtXyWJaNWxKnRKoEV7DDiY6E4eDWEPHKLqg-7M/s400/908.+PayPal+-+20110518+-+%25E9%258A%2580%25E8%25A1%258C%25E5%2585%25A5%25E5%25B8%25B3.png&quot; height=&quot;88&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;終於。。。看到銀行入帳了。。。成功！Ya～～&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
以下附註一下網路上找到的中國信託與郵局資料（忘了在哪找到的，原作別打我 &amp;gt;_&amp;lt;）～～&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhokTl2FDVWuaJyUQYZWH591bbw-DU4gGUk2ILB0zbBZncjtL9Db0eqQ5zliDktr-dS8NDankwfM9LzJ5JN0ELgIbsEn2JMOcazX9YQlKhWyJXloQkCdBGT0TSlilqjQK8lgzlSTXJt1cU/s1600/954.+%25E4%25B8%25AD%25E5%259C%258B%25E4%25BF%25A1%25E8%25A8%2597%25E8%2588%2587%25E9%2583%25B5%25E5%25B1%2580%25E7%259A%2584%25E8%258B%25B1%25E6%2596%2587%25E5%2590%258D%25E7%25A8%25B1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhokTl2FDVWuaJyUQYZWH591bbw-DU4gGUk2ILB0zbBZncjtL9Db0eqQ5zliDktr-dS8NDankwfM9LzJ5JN0ELgIbsEn2JMOcazX9YQlKhWyJXloQkCdBGT0TSlilqjQK8lgzlSTXJt1cU/s400/954.+%25E4%25B8%25AD%25E5%259C%258B%25E4%25BF%25A1%25E8%25A8%2597%25E8%2588%2587%25E9%2583%25B5%25E5%25B1%2580%25E7%259A%2584%25E8%258B%25B1%25E6%2596%2587%25E5%2590%258D%25E7%25A8%25B1.png&quot; height=&quot;353&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
呀呼～～ 好家在有提領成功，不然，還是會有點。。。&lt;br /&gt;
&lt;br /&gt;
算起來，原本有 USD 20.14，但扣掉換匯 (Rate: 27.8647) 與手續費 NTD 35 後剩下 NTD 526 入到台灣土地銀行的帳戶中。如果比較當日查到的 Yahoo 匯率與 PayPal 給的匯率所產生的價差 (Yahoo Rate: 28.656 乘上 USD 20.14) 約為 NTD 577 - 561 = 16，再加上 NTD 35 手續費，算起來有大約 NTD 51 給 PayPal 賺走了。約佔原有金額的 8.8388 % （以 51 除以 577），真好賺阿～～ PayPal 。。。。。&lt;br /&gt;
&lt;br /&gt;
ＰＳ：算錯大夥兒別打我阿 &amp;gt;_&amp;lt; ～～～～～</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/2783449920186913130/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2011/05/admob-paypal.html#comment-form' title='37 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2783449920186913130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2783449920186913130'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2011/05/admob-paypal.html' title='【分享】- AdMob 付款到 PayPal 並提領到「台灣的銀行」 全記錄'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM7BOeCejZwv0S9RV7nNbEZtgMDT9eyZDTyD3Q67PR1ndJaoLb76nivfMidqu4NWTnSgU4umQBD1soSf9bVR0Qlp-rnoSmcgwsGGJq4LlfrOnqGf0CiXcjDDm_NX69Hh_OW0Koj4B_BGM/s72-c/Paypal-news.png" height="72" width="72"/><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-6901797175568653027</id><published>2011-05-11T10:04:00.009+08:00</published><updated>2011-05-11T17:56:31.663+08:00</updated><title type='text'>【訊息】- AdMob 帳號可以併入 Google 啦～</title><content type='html'>聽說有個王真人預言今天 20110511 的 10:42:37 am 在台灣會發生 14 級的地震，還會發生 170 公尺的大海嘯，台灣會斷成兩截，101大樓會斷成三節，避難要到埔里，且要買貨櫃屋才行 @@ .... 哇哩咧，這篇貼文會不會是最後一篇阿 &amp;gt;_&amp;lt; .... 切 ~~~~~ 鬼才相信。&lt;br /&gt;
&lt;br /&gt;
話說～ 今日要登入 AdMob，發覺多了個登入選項，原來阿，Google 整合 AdMob 的進度又前進了一些，讓使用者的 AdMob 帳號可以連結到 Google 帳號，不知連了之後是好是壞 @_@ ...&lt;br /&gt;
&lt;br /&gt;
漁郎將進行帳戶連結的程序記錄起來，也與大夥兒分享一下 ^_^ ...&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfvVD-1MlnDbW9OCPyfH4pwHw6nvmSngQxFdQuSWaKsqpogeFM6mZeFh2-ROObwVPrdH7kBgw-yC5ObeDU0UMuckHncPxm6DtHDsjdBl5i_e0ptGMwjuMzE1nN0eGgUCt3LJa6Je_zbzk/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;177&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfvVD-1MlnDbW9OCPyfH4pwHw6nvmSngQxFdQuSWaKsqpogeFM6mZeFh2-ROObwVPrdH7kBgw-yC5ObeDU0UMuckHncPxm6DtHDsjdBl5i_e0ptGMwjuMzE1nN0eGgUCt3LJa6Je_zbzk/s400/01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;1. 點選右邊的「連結現有的 AdMob 帳戶」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWEHbOHVbcmH-kaH5_-XRlICWqoIbroF90OLKs5OrTmt4hmx6VJ0PfRzSmlfOnQhJHwPZQEAGaIVjSjZ68Tkt_vUTn30m3kbJnqPnVtUvx1iAqD3oTAjS5y3JtBM4_9Z3STGOekUh69f4/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWEHbOHVbcmH-kaH5_-XRlICWqoIbroF90OLKs5OrTmt4hmx6VJ0PfRzSmlfOnQhJHwPZQEAGaIVjSjZ68Tkt_vUTn30m3kbJnqPnVtUvx1iAqD3oTAjS5y3JtBM4_9Z3STGOekUh69f4/s400/02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;2. 輸入 Google 的登入帳號與密碼&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTC86ifLmsZnBYEwpLzOSIvV4N8EViorOCOjvMP9bAtVlTEm0TN2nunLZ6EisAAb93cH14PKRQZodiepPaEVcipICDqEmiLhGh2xnsooNZrBS_lVDe72bNkgDNYHCbkcgTE0myXaXgF_I/s1600/03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;363&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTC86ifLmsZnBYEwpLzOSIvV4N8EViorOCOjvMP9bAtVlTEm0TN2nunLZ6EisAAb93cH14PKRQZodiepPaEVcipICDqEmiLhGh2xnsooNZrBS_lVDe72bNkgDNYHCbkcgTE0myXaXgF_I/s400/03.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;3. 點選左上角的「已經有 AdMob 帳戶了嗎？」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6i-brO1cRwS6fte0LQtEkEheTN1JYb7gKHX38LrDqz8a2JtIF92ScCMDNgx2gMVM3FH2o3ahNbJ0sqnbthtkJ9cx-E96cS72d5s9bkmsqNP1gIivP3m4XUONT3zbIxtuX9e_ak3MgUs/s1600/04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEji6i-brO1cRwS6fte0LQtEkEheTN1JYb7gKHX38LrDqz8a2JtIF92ScCMDNgx2gMVM3FH2o3ahNbJ0sqnbthtkJ9cx-E96cS72d5s9bkmsqNP1gIivP3m4XUONT3zbIxtuX9e_ak3MgUs/s400/04.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;4. 輸入原 AdMob 的帳號與密碼&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAnr7EdnosXmXHQEQrvTevuR21qsrPLCn3d1kn7b-CNUFVxfWiahGpRTZJuroxplu6T_UWSpLUP8Au6q4L99rfrZbTjKlmc6RYCIGw9VqQI5PLb7XNJ7dD0bAz5rsQ7iRyLKPWhCFvpls/s1600/05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAnr7EdnosXmXHQEQrvTevuR21qsrPLCn3d1kn7b-CNUFVxfWiahGpRTZJuroxplu6T_UWSpLUP8Au6q4L99rfrZbTjKlmc6RYCIGw9VqQI5PLb7XNJ7dD0bAz5rsQ7iRyLKPWhCFvpls/s400/05.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;5. 點選下方的「連結我的 Google 帳戶」&lt;br /&gt;
記得勾選「我瞭解.....」那個勾勾。&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-8lQDM1kUAWxyoziiwyANckpA6Yv5GVbUXkcaswR8NTbYctv9DdNUvKmMH2zJkTkys_JiobNeKLPoCgDz4E6-Z9QI0b5DWwkpnKR0AFfHK_IsZRmVJf-IuaGWQS0H0br7CcKYYcuw_nc/s1600/06.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;365&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-8lQDM1kUAWxyoziiwyANckpA6Yv5GVbUXkcaswR8NTbYctv9DdNUvKmMH2zJkTkys_JiobNeKLPoCgDz4E6-Z9QI0b5DWwkpnKR0AFfHK_IsZRmVJf-IuaGWQS0H0br7CcKYYcuw_nc/s400/06.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;6. 完成 - 「成功連結 AdMob 帳戶到 Google 帳戶」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
在成功連結 AdMob 帳戶到 Google 帳戶後，就無法再使用 AdMob 原有的帳號與密碼登入 AdMob 了，而是要使用 Google 的帳號與密碼。&lt;br /&gt;
&lt;br /&gt;
雖在連結 Google 帳戶的過程中，有個要勾選的文字搞不清楚是何用意（「我瞭解要將 AdMob 帳戶連結至 Google 帳戶，將無法存取 AdMob API 以及所有使用它的第三方工具」）？但漁郎目前看來還沒啥奇特狀況發生，夥伴們如有異樣請記得告訴漁郎喔。謝啦～ ^_^&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/6901797175568653027/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2011/05/admob-google.html#comment-form' title='13 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/6901797175568653027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/6901797175568653027'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2011/05/admob-google.html' title='【訊息】- AdMob 帳號可以併入 Google 啦～'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfvVD-1MlnDbW9OCPyfH4pwHw6nvmSngQxFdQuSWaKsqpogeFM6mZeFh2-ROObwVPrdH7kBgw-yC5ObeDU0UMuckHncPxm6DtHDsjdBl5i_e0ptGMwjuMzE1nN0eGgUCt3LJa6Je_zbzk/s72-c/01.png" height="72" width="72"/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-2259589261576325314</id><published>2011-04-30T15:36:00.092+08:00</published><updated>2012-05-14T09:38:53.372+08:00</updated><title type='text'>【分享】- 如何在 Android 程式中置入 AdMob (AdSense) 廣告？ - PART 3</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
報告各位親愛的鄉親父老兄弟姊妹們～～ Android SDK 在 Eclipse 套件中已納入了 Google Admob Ads SDK，而且！連如何加入 Admob 程式碼都來個大翻修～～ @@ (基本上是變得更簡單了 ^_^)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
今天使用 Eclipse 中的 Android SDK and AVD Manager，發覺多了個 Google Admob Ads Sdk package, revision 1 的選項（如下圖）：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFbQbL2qorzqkgQneIq9QG9UcH9713AXhAaUTyOEkBZUN2aTc_CBNIqepBeznSIXhBqMXE6ezJnbSyUVyhs4YdVhftomiDE1gGIyDvJ6_IVGW41NdwyUsaYN9zn7EoJyZh8iRyOshdeQ/s1600/00.+Google+Admob+Ads+Sdk+package.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFbQbL2qorzqkgQneIq9QG9UcH9713AXhAaUTyOEkBZUN2aTc_CBNIqepBeznSIXhBqMXE6ezJnbSyUVyhs4YdVhftomiDE1gGIyDvJ6_IVGW41NdwyUsaYN9zn7EoJyZh8iRyOshdeQ/s400/00.+Google+Admob+Ads+Sdk+package.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
相對照昨天登入 Admob 出現了一堆「提供程式碼更新」的警示訊息：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Z4p9_nlTWA_25pOH49yUi1wfWpWHB4T7bZJY1wBM4LD8053-mLwbvC507dCC7Zy7YQvAcEaCa-ETFf_7ltT9Ekx1DJUvacCrNVKz725NH7AYdJ8Wb6o5jcsx_Q9tIcm273RcVzeQy7Y/s1600/00.+XX.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;172&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Z4p9_nlTWA_25pOH49yUi1wfWpWHB4T7bZJY1wBM4LD8053-mLwbvC507dCC7Zy7YQvAcEaCa-ETFf_7ltT9Ekx1DJUvacCrNVKz725NH7AYdJ8Wb6o5jcsx_Q9tIcm273RcVzeQy7Y/s400/00.+XX.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
看來 Google 整合 Admob 的進度又前進了一步，下面是漁郎在 Eclipse 的 Android 專案中加入該 Google Admob Ads SDK 的步驟，貼上來紀錄一下免得以後忘了，也與夥伴們分享一下！（說錯別打我 &amp;gt;_&amp;lt;）&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;(一) 先來回顧一下申請 AdMob 發佈商帳號與程式 ID 的經過（已申請的夥伴請直接跳過此步驟）：&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;1. 先到&amp;nbsp;&lt;a href=&quot;http://zhtw.admob.com/&quot; style=&quot;color: #e1771e;&quot;&gt;AdMob 網站&lt;/a&gt;申請一個廣告發佈商帳號。&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghViJT3El2YWTm5ursFRCb9aTkDtpoSeoQ8kthr4TdqU7vs6Ua6DZkxl1KkQB_ZiSPpctN8aj3usnlNVbuN7XF67rdLArcO_fXB8UuIj__Lj35u6KZTL-Qt9mzrzQH9f_IyWGA-1fGaH8/s400/1.+admob+site.JPG&quot; style=&quot;border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot; width=&quot;400&quot; /&gt;&lt;a href=&quot;http://zhtw.admob.com/&quot; style=&quot;color: #e1771e;&quot;&gt;http://zhtw.admob.com/&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=924613899133572028&amp;amp;postID=2259589261576325314&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;br /&gt;
2. 依指示步驟申請完成後，登入 AdMob，並點選右上角你剛登入的帳號連結(電子郵件地址)或&amp;nbsp;&lt;a href=&quot;http://zhtw.admob.com/my_sites/&quot; style=&quot;color: #e1771e;&quot;&gt;http://zhtw.admob.com/my_sites/&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTSV4dvablGfzvchIngHfMSe01GJj-luV5GKKEysFagjphyQ4zFvkWQ86lOit24XuKNArX6Rxt6htvM3WBMdCgMNsU8wJTRRHDamby58uE53RHEztJR7QD-QOe_1jpzS0gJNgDwH8hWN4/s1600/2.+logon.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #e1771e; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;235&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTSV4dvablGfzvchIngHfMSe01GJj-luV5GKKEysFagjphyQ4zFvkWQ86lOit24XuKNArX6Rxt6htvM3WBMdCgMNsU8wJTRRHDamby58uE53RHEztJR7QD-QOe_1jpzS0gJNgDwH8hWN4/s400/2.+logon.JPG&quot; style=&quot;border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. 點選選單中的『網站與應用程式』下的『新增網站/應用程式』。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvgl9VXed2yZFPaIhCXP04qBq3K5QRiFMWpmNd1cayZ-WKEjjmGL6QDUp5tJzZjXVCK8tjvOLq8Z1JL7R34fSX49U83v7hTsaowD2n4eN2faRWLajIti21I4DXKnIMxhOyeeNW2yVwt3c/s1600/3.+newapp.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #e1771e; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvgl9VXed2yZFPaIhCXP04qBq3K5QRiFMWpmNd1cayZ-WKEjjmGL6QDUp5tJzZjXVCK8tjvOLq8Z1JL7R34fSX49U83v7hTsaowD2n4eN2faRWLajIti21I4DXKnIMxhOyeeNW2yVwt3c/s400/3.+newapp.JPG&quot; style=&quot;border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
4. 選擇『Android 應用程式』&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7t6V0QI5WVQ4zCq0BxCO8AfAl5oNTCADnpf50BNd2iyhXwE2JT8oVdyy1OCC22V1k2QjEMnU7l9gA_ciQFeDND9wngs910tsdv-V4iS8-1KPfrlUsf7Wej0jiLyESJ0if49xkG_6E8wY/s1600/4.+new_android.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #e1771e; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7t6V0QI5WVQ4zCq0BxCO8AfAl5oNTCADnpf50BNd2iyhXwE2JT8oVdyy1OCC22V1k2QjEMnU7l9gA_ciQFeDND9wngs910tsdv-V4iS8-1KPfrlUsf7Wej0jiLyESJ0if49xkG_6E8wY/s400/4.+new_android.JPG&quot; style=&quot;border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
5. 填入你的應用程式資料，建立新的應用程式 ID：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl0bttmCSh9-gauz9XEnzq1touDJuJjNi8uWheQWkakqCwjdaWKP3_Urk-Okh5AQm4bncDFTK71po0lGcxQW4j_DwK1_4y0Lz8c2VHrLrles_RlmmTiQzb0a1-BGBiTnzSwqd3k7ttswE/s1600/4.+addapp.JPG&quot; imageanchor=&quot;1&quot; style=&quot;color: #e1771e; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl0bttmCSh9-gauz9XEnzq1touDJuJjNi8uWheQWkakqCwjdaWKP3_Urk-Okh5AQm4bncDFTK71po0lGcxQW4j_DwK1_4y0Lz8c2VHrLrles_RlmmTiQzb0a1-BGBiTnzSwqd3k7ttswE/s400/4.+addapp.JPG&quot; style=&quot;border-bottom-color: rgb(187, 187, 187); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(187, 187, 187); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(187, 187, 187); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(187, 187, 187); border-top-style: solid; border-top-width: 1px; margin-bottom: 5px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px;&quot; width=&quot;293&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
6.&amp;nbsp;取得發佈商的應用程式 ID：&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM107zLI329zpHQ5KQBSWkWyzE2RBoOQPlbx9dftqWC273D14CjfKNb5taBgd-qWe_B1nm-NW5xyxathU_VGEpM0IVPC12Y3zezqCFZ4RQ9RV3pUfEcZTCQFLlralVfcXFIlB7kOcXJkU/s1600/AdMobID.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM107zLI329zpHQ5KQBSWkWyzE2RBoOQPlbx9dftqWC273D14CjfKNb5taBgd-qWe_B1nm-NW5xyxathU_VGEpM0IVPC12Y3zezqCFZ4RQ9RV3pUfEcZTCQFLlralVfcXFIlB7kOcXJkU/s400/AdMobID.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;點選「管理設定」&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkpq3obFfJIwcXPyEREXmnq_G1VB0YCPECUZC-k-wS8G2LrEITU9ZtywyimFT3kmWI2zZl89QRaRQfvjFHShP0OBRwyK8rIGo6kfLxew2ZB4YP9VFuYbKsyWsAP8T9-MLYODNuOJWyRYc/s1600/AdMobID2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkpq3obFfJIwcXPyEREXmnq_G1VB0YCPECUZC-k-wS8G2LrEITU9ZtywyimFT3kmWI2zZl89QRaRQfvjFHShP0OBRwyK8rIGo6kfLxew2ZB4YP9VFuYbKsyWsAP8T9-MLYODNuOJWyRYc/s400/AdMobID2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;記下應用程式 ID&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: magenta;&quot;&gt;(二) 在 Android 程式中置入 AdMob 程式碼：&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
(1) 記得先使用&amp;nbsp;&amp;nbsp;Eclipse 中的 Android SDK and AVD Manager 下載與安裝該 Google Admob Ads SDK (這個不用說太詳細吧 @@...)&lt;br /&gt;
&lt;br /&gt;
(2) 點選 Eclipse 的偏好設定 (這是 Mac OS 中的選項，Windows 版中請夥伴們找找，漁郎有點忘了在哪個選單中...)：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq2WGh7hmlrLWi3AEMDn5HawJBG8j08kwEJkNyMDHFb67LhLMb4sEErhzchZAvbDcNQjZ6VGxIcx88vsZCiqYvgqjXpuWbGht79ilTvSd3CqhOumcsFslMLW_yMqRBXqG60X1oyYCpaCs/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;126&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq2WGh7hmlrLWi3AEMDn5HawJBG8j08kwEJkNyMDHFb67LhLMb4sEErhzchZAvbDcNQjZ6VGxIcx88vsZCiqYvgqjXpuWbGht79ilTvSd3CqhOumcsFslMLW_yMqRBXqG60X1oyYCpaCs/s320/01.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
(3) 點選 Java -&amp;gt; Build Path -&amp;gt; Classpath Variables，然後，點按「New...」按鍵：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTc5Z1M4-kyc3RVubOXcDFvvSe9-e-B-dXIP07Qfo23Xn1oGuqs9eEALSTcv2Tj6PWynJxISJCxjbH0y2mahzS8Kru_0FqCeiNiW76PSrmI7oEIe3miah7pB_OELcwE2xvnpIEiDGSzGA/s1600/02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;220&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTc5Z1M4-kyc3RVubOXcDFvvSe9-e-B-dXIP07Qfo23Xn1oGuqs9eEALSTcv2Tj6PWynJxISJCxjbH0y2mahzS8Kru_0FqCeiNiW76PSrmI7oEIe3miah7pB_OELcwE2xvnpIEiDGSzGA/s400/02.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(4) 在 Name 欄中輸入自訂的 SDK 名稱（例如本例：GoogleAdmobAdsSDK），並在點選 Path 欄右邊的「File..」：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0AwzO6XriXJjI64KtknSrfIBgfT-dxU9XHqFb9_jQBsDlwTNfpAAjYcTGTru8VLtExYt17gLZVkQVAOmWT5UGtxE9blzQvEAGeY0lTfePcLwAldApzRTm9166HYLDhr4YM_sPN3TGvhk/s1600/03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;120&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0AwzO6XriXJjI64KtknSrfIBgfT-dxU9XHqFb9_jQBsDlwTNfpAAjYcTGTru8VLtExYt17gLZVkQVAOmWT5UGtxE9blzQvEAGeY0lTfePcLwAldApzRTm9166HYLDhr4YM_sPN3TGvhk/s400/03.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(5) 選擇 Android SDK 所在路徑中 extras -&amp;gt; google -&amp;gt; admob_ads_sdk -&amp;gt; GoogleAdMobAdsSdk-x.x.x.jar 檔案，然後，點按「打開」按鍵：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhL2kHNihR_00GbPW0EKAO7-CnUNfbLJqo3ubq2wgNqIQe30g7dgNkXrTuiaV6X5_ZUkBZP_WPYTaO3Q1mU6VZAt81ePAcNvCOOAxsoffJrRiHCfotg9bZWYxIheRyOENxr1QiQ9PXhsw/s1600/xx.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhL2kHNihR_00GbPW0EKAO7-CnUNfbLJqo3ubq2wgNqIQe30g7dgNkXrTuiaV6X5_ZUkBZP_WPYTaO3Q1mU6VZAt81ePAcNvCOOAxsoffJrRiHCfotg9bZWYxIheRyOENxr1QiQ9PXhsw/s400/xx.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
(6) 點按「OK」：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi10f10k-IqIFiqdVwj3aQhNUuFo9P8LG9ofq1x29LYJ8Lz3m3WO_QSr-uHU9wTUdH-ZoZDmSZtcreSyVYAo0czkfPI2WDRIW5hYQWPXUlpLK77w0tAIpPlBTY0zg5Gh53wihBFamR0_nk/s1600/05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi10f10k-IqIFiqdVwj3aQhNUuFo9P8LG9ofq1x29LYJ8Lz3m3WO_QSr-uHU9wTUdH-ZoZDmSZtcreSyVYAo0czkfPI2WDRIW5hYQWPXUlpLK77w0tAIpPlBTY0zg5Gh53wihBFamR0_nk/s400/05.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(7) 此時 Classpath Variables 中已加入了 Google Admob Ads SDK 參數選項：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioIKKry8R8KAFz6uhSJYB0OEeO8phO0FsC_36Dnau4yGcqxFl6O9feI6DRXfX1eKMoKz3cdVxhO-DDPvio4CagMU5-fNnllc9XPS10oCR1lUtn-N9UUV9K7WbSrcsPgDQA-7COvA8u8vE/s1600/xx1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;116&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioIKKry8R8KAFz6uhSJYB0OEeO8phO0FsC_36Dnau4yGcqxFl6O9feI6DRXfX1eKMoKz3cdVxhO-DDPvio4CagMU5-fNnllc9XPS10oCR1lUtn-N9UUV9K7WbSrcsPgDQA-7COvA8u8vE/s400/xx1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
(8) 加入或改變專案中的 Libraries 參數，以滑鼠右鍵點選專案，然後再點擊 Properties 選項：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAHmZIXZj_r7uyfp1bk8iVtpCGwGBCcN-mIZoR99tPinGFduO_zI3YLSDE1X9u5G0zRPzy2rZ8kdMZjnmr_Z4KBCs4Njrw9ELrUGcBLh1OIuHpOBWPHh18sff8_iGZdOgfHlWzlFOjbb0/s1600/07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAHmZIXZj_r7uyfp1bk8iVtpCGwGBCcN-mIZoR99tPinGFduO_zI3YLSDE1X9u5G0zRPzy2rZ8kdMZjnmr_Z4KBCs4Njrw9ELrUGcBLh1OIuHpOBWPHh18sff8_iGZdOgfHlWzlFOjbb0/s400/07.png&quot; width=&quot;295&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(9) 點選 Java Build Path，並點選右邊的 Libraries 標籤，然後，點擊「Add Variable...」按鈕：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi62-FZpaGK05Uf46chsP0bt0Od4D6bCFotaWJcTLfMYHZ1GGFMJD1km4ziDkdQe8z9XOEIirQ231LFUpUPcGltcFSe1uNRSYEpBfUIRaBxZ-iiu4YWT9G-bLOhPbY-__ebZQ9stpT8Kw/s1600/08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi62-FZpaGK05Uf46chsP0bt0Od4D6bCFotaWJcTLfMYHZ1GGFMJD1km4ziDkdQe8z9XOEIirQ231LFUpUPcGltcFSe1uNRSYEpBfUIRaBxZ-iiu4YWT9G-bLOhPbY-__ebZQ9stpT8Kw/s400/08.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(10) 點選 GoogleAdmobAdsSDK (本例設定的參數名)，並點按「OK」：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQpHG6oRDEj090KcVYolwTMnyKpOPNEAhYjX2yaElB0wPnjV9JfBI4pcApODcMLhiInRKx575csZEZocRNWRnVPlmsC0mVMdRpbVtq989Bo6HnlGrWg9IipHcQeFweWQkGZZYQFe6dJyE/s1600/09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQpHG6oRDEj090KcVYolwTMnyKpOPNEAhYjX2yaElB0wPnjV9JfBI4pcApODcMLhiInRKx575csZEZocRNWRnVPlmsC0mVMdRpbVtq989Bo6HnlGrWg9IipHcQeFweWQkGZZYQFe6dJyE/s400/09.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
(11) 將 Admob 必要參數加入 AndroidManifest.xml 中 (以下圖片中的紅框部份)：&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhISFL8PNswL-rCYZTIbRukVjQ8rqGI88e5_hw2aB5og7mnmffEplc7uEYIbQnDir_WZ6egyKzt77bktGWXK9GRciJTHNRj-XifGzI6O7Z_bT5Od8Bl0KBM2eOdMJxM1UmZGgj2asFIFTU/s1600/01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhISFL8PNswL-rCYZTIbRukVjQ8rqGI88e5_hw2aB5og7mnmffEplc7uEYIbQnDir_WZ6egyKzt77bktGWXK9GRciJTHNRj-XifGzI6O7Z_bT5Od8Bl0KBM2eOdMJxM1UmZGgj2asFIFTU/s400/01.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;GoogleAdMobAdsSdk-4.3.0 版(含)之前的設定&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjjHkgU7cB5v16xz2MKyNpMhADmeFVum_DbOk7XiyWCnWt5PMWpd3reVD6BnbMjPQGDwa3ib4RuRDVDHsG7lHo41QZgKvWnWirrPPPAbinTte86in4rgZmq6mqcTqG8m1ENy9bmEb_KvM/s1600/GoogleAdMobAdsSdk-4.3.1+Seting.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;25&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjjHkgU7cB5v16xz2MKyNpMhADmeFVum_DbOk7XiyWCnWt5PMWpd3reVD6BnbMjPQGDwa3ib4RuRDVDHsG7lHo41QZgKvWnWirrPPPAbinTte86in4rgZmq6mqcTqG8m1ENy9bmEb_KvM/s400/GoogleAdMobAdsSdk-4.3.1+Seting.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;GoogleAdMobAdsSdk-4.3.1 版(含) 之後的設定&lt;br /&gt;(也就是&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #eeeecc; font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; line-height: 18px;&quot;&gt;Google Admob Ads Sdk package, revision 4&lt;/span&gt;)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;(PS. 必須將專案的 Android SDK 改為 3.2 版以上才能使用，如下圖)&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBTRtmkliLA6y6qsYknGRUBmasjCw7-m3s61wEIwM0rtOSsOkyke38eo5Mi-Hn_UQiZcdHovhen_sRz1PgKz5udvtEcGhNCLqVZdJdrigzmBr8bQD_pkHjfHz06trtVV__sKmDaTbPlSI/s1600/android+3.2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;173&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBTRtmkliLA6y6qsYknGRUBmasjCw7-m3s61wEIwM0rtOSsOkyke38eo5Mi-Hn_UQiZcdHovhen_sRz1PgKz5udvtEcGhNCLqVZdJdrigzmBr8bQD_pkHjfHz06trtVV__sKmDaTbPlSI/s400/android+3.2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(12) 加入一個 LinearLayout 元件參數到 main.xml （或您要置放 Admob 的 Layout 中）中（紅框內容）：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc_54tACQlwa2H5fcUkpBqnqfc7pAgWWN0N8HpxiciPJkz8DdiqcbBXqQLJgG52RZ_rwcAZIVc1mFilK7eVHy-L7oON-7oWgxXVqkf8DLbctNJzTClTlqKQeRyt26H8CUxe_dIQcxgOwQ/s1600/02x.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;122&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc_54tACQlwa2H5fcUkpBqnqfc7pAgWWN0N8HpxiciPJkz8DdiqcbBXqQLJgG52RZ_rwcAZIVc1mFilK7eVHy-L7oON-7oWgxXVqkf8DLbctNJzTClTlqKQeRyt26H8CUxe_dIQcxgOwQ/s400/02x.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(13) 將 Admob 程式碼加入要展示 Admob Ads 的程式中（紅框內容），記得將那個「Your AD UNIT ID」改為您的廣告發佈商之應用程式 ID 喔（例如：a14bf666b7ccdd3 那一串取自 Admob 網站給予你的東東）：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDT_MN6dTIxx6R5aI-b_VIG7PIg5np7zyboZYKEFDSfSzLBuYGO5Z0nNaZF1QQjxbmTLczhAIVuN_d__7twu9D-T0nZ724dU9ytjqFrBb_1GI6kTWdgu0IFVkjoMxEE80jm-E8LKiXKhI/s1600/xx2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;84&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDT_MN6dTIxx6R5aI-b_VIG7PIg5np7zyboZYKEFDSfSzLBuYGO5Z0nNaZF1QQjxbmTLczhAIVuN_d__7twu9D-T0nZ724dU9ytjqFrBb_1GI6kTWdgu0IFVkjoMxEE80jm-E8LKiXKhI/s400/xx2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQcG22FHocNK3KZzY5n9iFjkxrdV5rWAsxQ9mX_1YgzN859dq33ESzPKom-xURPW5l0gCjIgxD_H8PL9klXznVrVc5s12RFyeWFujSjTRYTzz2ItyzvJ5hZtreVAeDHqcS1RJ6JMVG5o0/s1600/03x.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;73&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQcG22FHocNK3KZzY5n9iFjkxrdV5rWAsxQ9mX_1YgzN859dq33ESzPKom-xURPW5l0gCjIgxD_H8PL9klXznVrVc5s12RFyeWFujSjTRYTzz2ItyzvJ5hZtreVAeDHqcS1RJ6JMVG5o0/s400/03x.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
(14) 重新編譯您的專案就行囉 ^_^ ：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl4SkdNmOUCtbhlWrvoCU2W5ZxPQ98fXWnfU148ts0KwAmNsWMd4mymvQrOU96siqO5JL9a4UrsdMcMSBEmKlEMHZUpRWu-WBf5YhKqcDzZMkLMqgzgoiKAWdCILM0G695U25plDdmqNE/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;389&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl4SkdNmOUCtbhlWrvoCU2W5ZxPQ98fXWnfU148ts0KwAmNsWMd4mymvQrOU96siqO5JL9a4UrsdMcMSBEmKlEMHZUpRWu-WBf5YhKqcDzZMkLMqgzgoiKAWdCILM0G695U25plDdmqNE/s400/10.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(15) 測試：大功告成！！AdSense 與 Admob 廣告會輪流播喔！！&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgip0EKe5IXulqDNTcls-UbU-VZFBoKC-JBkbfdnO1Dnom_LugBhQ4p0_J2cRG800DTplieKpmSZaLRnCEA08Wib09DmVFIIsXB0fa-0Mb-YfQKz7EpTH8yvOOZdzvgLNMJ0JvWtTBTuhg/s1600/AdSense.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgip0EKe5IXulqDNTcls-UbU-VZFBoKC-JBkbfdnO1Dnom_LugBhQ4p0_J2cRG800DTplieKpmSZaLRnCEA08Wib09DmVFIIsXB0fa-0Mb-YfQKz7EpTH8yvOOZdzvgLNMJ0JvWtTBTuhg/s400/AdSense.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiExmxMKCPql4jDd0vaJYjhvgKy3K4OFEBoV5fwDLvEoKM-gMpvLV0AdadrZwqAvOD4LQbIp8zrxZjxWFHmyGJqG1NrFMjuuMrUYNC_RaWZ_AzTAYYsGqpRYEaohDrJaMF92iVFsT-vzU/s1600/Admob.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiExmxMKCPql4jDd0vaJYjhvgKy3K4OFEBoV5fwDLvEoKM-gMpvLV0AdadrZwqAvOD4LQbIp8zrxZjxWFHmyGJqG1NrFMjuuMrUYNC_RaWZ_AzTAYYsGqpRYEaohDrJaMF92iVFsT-vzU/s400/Admob.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
基本上咧！如您要加入 Admob Ads 程式到 Android 程式中，就參照上述的步驟就行了，漁郎先前寫的 PART-1 PART-2 就不用再看了。Google 阿，拜託一下～ 賣格改阿啦～～～ &amp;gt;_&amp;lt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;PS：（2012/05/12）如你發現程式在執行期會「強制關閉」，並從 logs 看到以下錯誤訊息&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;lang-xml prettyprint&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;&quot;&gt;java.lang.NoClassDefFoundError: com.google.ads.AdView&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
其原因是：從 ADT 版更為 17 後，其內定會使用個別專案目錄下的 libs/*.jar 進行程式與函式庫的連結，因此，只要在專案根目錄下建立一個 libs 目錄，並且將&amp;nbsp;Google Admob Ads SDK 中的&amp;nbsp;.jar 放到此一 libs 中就可解決問題。&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18px;&quot;&gt;相關參考資料網址：&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18px;&quot;&gt;(1)&amp;nbsp;&lt;a href=&quot;http://tools.android.com/recent/dealingwithdependenciesinandroidprojects&quot;&gt;http://tools.android.com/recent/dealingwithdependenciesinandroidprojects&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 18px;&quot;&gt;(2) &lt;a href=&quot;http://stackoverflow.com/questions/6801445/how-to-include-jar-in-apk-without-eclipse&quot;&gt;http://stackoverflow.com/questions/6801445/how-to-include-jar-in-apk-without-eclipse&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/2259589261576325314/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2011/04/android-sdk-eclipse-google-admob-ads.html#comment-form' title='59 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2259589261576325314'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2259589261576325314'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2011/04/android-sdk-eclipse-google-admob-ads.html' title='【分享】- 如何在 Android 程式中置入 AdMob (AdSense) 廣告？ - PART 3'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFbQbL2qorzqkgQneIq9QG9UcH9713AXhAaUTyOEkBZUN2aTc_CBNIqepBeznSIXhBqMXE6ezJnbSyUVyhs4YdVhftomiDE1gGIyDvJ6_IVGW41NdwyUsaYN9zn7EoJyZh8iRyOshdeQ/s72-c/00.+Google+Admob+Ads+Sdk+package.png" height="72" width="72"/><thr:total>59</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-5646683537011480482</id><published>2011-03-08T22:20:00.006+08:00</published><updated>2011-03-29T21:30:07.862+08:00</updated><title type='text'>【訊息】- AdMob 開始放送 AdSense 廣告</title><content type='html'>今天登入 AdMob，看到了ㄧ則令人開心的訊息，內容大意為「AdMob 開始放送 AdSense 廣告」，相當於是說 AdMob 將正式取代 Google AdSense for Mobile Apps 放送行動廣告 (僅放送於 Android 與 iPhone 行動裝置)，好消息！^__^&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSvOSvUA82HzX6fCcteuwDv1lyVbXComqkEr-fYVpjhPqSrUsYhs-N05EBfX27F0USf7Npa7s8j_0ovK_ac8ChIsKIts5On43l7S6YXcCNIeBUuMoHexzQZTAQefLmCfIv8QNbmtN3Y7M/s1600/AdMob+vs+AdSense.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;82&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSvOSvUA82HzX6fCcteuwDv1lyVbXComqkEr-fYVpjhPqSrUsYhs-N05EBfX27F0USf7Npa7s8j_0ovK_ac8ChIsKIts5On43l7S6YXcCNIeBUuMoHexzQZTAQefLmCfIv8QNbmtN3Y7M/s400/AdMob+vs+AdSense.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;AdMob 出現的通知訊息&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirAmbR35CtSdMc5IuJT6dkVGCd7Yzbxc-30SP5GFoxcEFeI8g9xkDwBkMTZbDzd0zaqzJ-SVNrmnfspHWnRD6JdpAJDTKK8SSoZUBf5HfsopTWHMNLta_Jm8HPltQFo6cdkr99IOmKiwg/s1600/%25E4%25BD%25BF%25E7%2594%25A8+AdMob+%25E5%2587%25BA%25E7%258F%25BE+AdSense+%25E5%25BB%25A3%25E5%2591%258A.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirAmbR35CtSdMc5IuJT6dkVGCd7Yzbxc-30SP5GFoxcEFeI8g9xkDwBkMTZbDzd0zaqzJ-SVNrmnfspHWnRD6JdpAJDTKK8SSoZUBf5HfsopTWHMNLta_Jm8HPltQFo6cdkr99IOmKiwg/s400/%25E4%25BD%25BF%25E7%2594%25A8+AdMob+%25E5%2587%25BA%25E7%258F%25BE+AdSense+%25E5%25BB%25A3%25E5%2591%258A.png&quot; width=&quot;266&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;在 AdMob 真的會出現 AdSense 廣告！&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrkAjsUHqSihAX4nRc-wuGvAudcFYN0kk-xV-c2u9e08OxOOY45t1T_jcORKKbrK3_9jIkBGWGfSoX3vLNlHNy2yHCJSAgMDH0aaEGke8-yxnvmPl37zWezTinEFxKMBDSXDEjZrsS-qk/s1600/AdSense+for+mobile+Apps+%25E4%25B8%258D%25E5%2586%258D%25E6%258E%25A5%25E5%258F%2597%25E7%2594%25B3%25E8%25AB%258B.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrkAjsUHqSihAX4nRc-wuGvAudcFYN0kk-xV-c2u9e08OxOOY45t1T_jcORKKbrK3_9jIkBGWGfSoX3vLNlHNy2yHCJSAgMDH0aaEGke8-yxnvmPl37zWezTinEFxKMBDSXDEjZrsS-qk/s400/AdSense+for+mobile+Apps+%25E4%25B8%258D%25E5%2586%258D%25E6%258E%25A5%25E5%258F%2597%25E7%2594%25B3%25E8%25AB%258B.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;AdSense for Mobile Apps 已不再接受申請&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/5646683537011480482/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2011/03/admob-adsense.html#comment-form' title='6 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/5646683537011480482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/5646683537011480482'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2011/03/admob-adsense.html' title='【訊息】- AdMob 開始放送 AdSense 廣告'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSvOSvUA82HzX6fCcteuwDv1lyVbXComqkEr-fYVpjhPqSrUsYhs-N05EBfX27F0USf7Npa7s8j_0ovK_ac8ChIsKIts5On43l7S6YXcCNIeBUuMoHexzQZTAQefLmCfIv8QNbmtN3Y7M/s72-c/AdMob+vs+AdSense.png" height="72" width="72"/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-788980781960031198</id><published>2011-01-12T11:13:00.001+08:00</published><updated>2011-04-30T17:51:56.877+08:00</updated><title type='text'>【分享】- 如何在 Android 程式中置入 AdMob 廣告？ - PART 2</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;夥伴們請&lt;a href=&quot;http://www.e68club.com/2011/04/android-sdk-eclipse-google-admob-ads.html&quot;&gt;參考這裡的文章&lt;/a&gt;吧！Google Admob 的程式寫法又大翻修了！ @@&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
話說... 在 Google 併購 AdMob 後，好像已不再提供 AdSense for Mobile Applications 的測試申請（參考 &lt;a href=&quot;http://www.google.com/mobileads/publisher_getstarted.html&quot;&gt;http://www.google.com/mobileads/publisher_getstarted.html&lt;/a&gt;），而改以 AdMob for Mobile Applications 取代，看來爾後只好都用 AdMob 了 ... &amp;gt;_&amp;lt; ...&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwtiKZ0GUX9Ze8yFuvta8B30UyCG6Z6FDHY1S29f8205_PZF9KATFD8Cf1hD13aakUj5HtHbix1_cuNJYGynulF6_pCG4ebdzgZPyR1MnNxbqC23jJF0OnRSblIGmmr7zSavo-N-3xewE/s1600/AdMob+for+mobile+applications.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwtiKZ0GUX9Ze8yFuvta8B30UyCG6Z6FDHY1S29f8205_PZF9KATFD8Cf1hD13aakUj5HtHbix1_cuNJYGynulF6_pCG4ebdzgZPyR1MnNxbqC23jJF0OnRSblIGmmr7zSavo-N-3xewE/s400/AdMob+for+mobile+applications.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
如何將 AdMob for Mobile Applications 置入 Android 程式中咧？漁郎在&lt;a href=&quot;http://www.e68club.com/2010/06/android-admob.html&quot;&gt;這篇&lt;/a&gt;文章中有簡述過，但最近登入 AdMob 才發覺 AdMob 給了個更新版的 SDK，下載後發覺 Android 程式中有些地方要改，還好改的不多，如您沒參考過前次漁郎關於 AdMob 的分享文章，請您先到&lt;a href=&quot;http://www.e68club.com/2010/06/android-admob.html&quot;&gt;這裡&lt;/a&gt;瞧瞧，再依下面的參考修改就行了（懶得將文章抄過來 &amp;gt;_&amp;lt;）。&lt;br /&gt;
&lt;br /&gt;
(1) 請您確認 AndroidManifest.xml 中的 &amp;lt;application&amp;gt;...&amp;lt;/application&amp;gt; 中有以下這些東東：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;activity&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:name&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;com.admob.android.ads.AdMobActivity&quot;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:theme&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;@android:style/Theme.NoTitleBar.Fullscreen&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:configChanges&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;orientation|keyboard|keyboardHidden&quot; /&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;receiver&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:name&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;com.admob.android.ads.analytics.InstallReceiver&quot;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:exported&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;true&quot;&lt;span class=&quot;s2&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;intent-filter&lt;span class=&quot;s2&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s1&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;action&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:name&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;com.android.vending.INSTALL_REFERRER&quot;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p5&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/&lt;/span&gt;intent-filter&lt;span class=&quot;s2&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p3&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;receiver&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span class=&quot;s2&quot; style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s3&quot; style=&quot;color: blue;&quot;&gt;meta-data&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;color: blue;&quot;&gt;android:value&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;YourPublisherID&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot; style=&quot;color: blue;&quot;&gt;android:name&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&quot;ADMOB_PUBLISHER_ID&quot;&lt;/span&gt;&lt;span class=&quot;s1&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot; style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;meta-data&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:value&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;YourPublisherID&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&quot;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:name&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;ADMOB_INTERSTITIAL_PUBLISHER_ID&quot;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p4&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;s2&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;meta-data&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:value&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;false&quot;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:name&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;=&lt;/span&gt;&quot;ADMOB_ALLOW_LOCATION_FOR_ADS&quot;&lt;span class=&quot;s1&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;s2&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #009292;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;LiHei Pro&#39;; font-size: small;&quot;&gt;(2) 請您確認 AndroidManifest.xml 中有以下這東東 (授與程式有網際網路使用權限)：&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #009292;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;LiHei Pro&#39;; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc; color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;LiHei Pro&#39;; font-size: small;&quot;&gt;&lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;uses-permission&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s4&quot;&gt;android:name&lt;/span&gt;&lt;span class=&quot;s3&quot;&gt;=&lt;/span&gt;&quot;android.permission.INTERNET&quot;&lt;span class=&quot;s3&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #009292;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;LiHei Pro&#39;; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #009292;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;LiHei Pro&#39;; font-size: small;&quot;&gt;(3) 大功告成！^__^&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #009292;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;LiHei Pro&#39;; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #009292;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;LiHei Pro&#39;; font-size: small;&quot;&gt;後記：記得好像 AdMob 被開發者抱怨說，使用者抗議程式未經允許自動將定位位址資訊送給了 AdMob，所以，AdMob 加入了選項 ADMOB_ALLOW_LOCATION_FOR_ADS，如您要取消自動發送定位位址資訊給 AdMob，記得將該選項設定為 false 喔！（如本文範例）&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p2&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #009292;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: &#39;LiHei Pro&#39;; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/788980781960031198/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2011/01/android-admob-part-2.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/788980781960031198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/788980781960031198'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2011/01/android-admob-part-2.html' title='【分享】- 如何在 Android 程式中置入 AdMob 廣告？ - PART 2'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwtiKZ0GUX9Ze8yFuvta8B30UyCG6Z6FDHY1S29f8205_PZF9KATFD8Cf1hD13aakUj5HtHbix1_cuNJYGynulF6_pCG4ebdzgZPyR1MnNxbqC23jJF0OnRSblIGmmr7zSavo-N-3xewE/s72-c/AdMob+for+mobile+applications.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-550005374936284233</id><published>2011-01-04T15:57:00.002+08:00</published><updated>2011-01-10T11:12:39.194+08:00</updated><title type='text'>【分享】- 如何整合 Eclipse、Android SDK、Proguard、Zipalign，以輸出有程式保護且可上載與發佈到 Android Market 的 APK 檔？ PART-3</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
近日忙昏了頭，好不容易休了個元旦假，想說瞧瞧 Eclipse 與 Android SDK 的組合是否又發生了啥詭異的變化？經過一番更新下載後，果然...... @_@&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbpvH5jICe3_8VU5cfET-On1ed0TJ1U90xN31n8YfsikQpFS4KetuHR6SRTEzKYXyEe6mm0UJF8G-c1XrHOS_zg7d9TQDGA-ES65skDH9sXDqpScwEPVHW9H4jtC-opSaH6Qbs2oob8XU/s1600/Eclipse+Version.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;95&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbpvH5jICe3_8VU5cfET-On1ed0TJ1U90xN31n8YfsikQpFS4KetuHR6SRTEzKYXyEe6mm0UJF8G-c1XrHOS_zg7d9TQDGA-ES65skDH9sXDqpScwEPVHW9H4jtC-opSaH6Qbs2oob8XU/s400/Eclipse+Version.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Eclipse 版本 (Helios 3.6.1)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYCDhM_B1PSHu4CJEcvbPE08dku-fhvTR_JYKGh8A5dHuwjYThN7sFjWzIFnYuo4_n46LUaOFiHPCmbQoZmzeiwC6oSD1zJJ-fb9g-kGe1w72ZpqChx7yZkz855zUREHLPggfzISl86Wk/s1600/Android+SDK+ADT+Version.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;58&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYCDhM_B1PSHu4CJEcvbPE08dku-fhvTR_JYKGh8A5dHuwjYThN7sFjWzIFnYuo4_n46LUaOFiHPCmbQoZmzeiwC6oSD1zJJ-fb9g-kGe1w72ZpqChx7yZkz855zUREHLPggfzISl86Wk/s400/Android+SDK+ADT+Version.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Android ADT (8.0.1) 版本&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN7c9muGzjZyDj8phsbDLEJUfZEbpaY6Z5jpYSJ9fzAJw5sLumXGVR9qfHMETPw7RJxAJxNXdfjoK16p8ezNbd22GXtsPuByOeOF7lqzCBiGILq_o0WqGGUe-jhu_Kuasej75YfKirdF4/s1600/0.3+Android+SDK+Version.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;318&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN7c9muGzjZyDj8phsbDLEJUfZEbpaY6Z5jpYSJ9fzAJw5sLumXGVR9qfHMETPw7RJxAJxNXdfjoK16p8ezNbd22GXtsPuByOeOF7lqzCBiGILq_o0WqGGUe-jhu_Kuasej75YfKirdF4/s400/0.3+Android+SDK+Version.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Android SDK (2.3 API 9) 版本&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
Google Android SDK 與 Eclipse ADT 每次在更新後，那個 Ant 的範本內容，總會有讓漁郎頭痛的變化。不是缺了某個參數，就是換了個參數名稱。這次咧！更慘！連 Ant 範本都給換了，還給你加入了 Proguard 整合！不知是該高興還是...... &amp;gt;_&amp;lt;&lt;br /&gt;
&lt;br /&gt;
於是乎，漁郎乾脆整個不用 Ant，讓 Google 好人做到底，試著看看使用它新版 SDK 與 ADT 所提供的 Export Wizard 有啥方便之處？反正漁郎可以省些製作上載 Android Market 的 APK 所需的步驟就行了 (懶人的天性...^_^)，以下的說明如果漁郎有搞錯的地方，夥伴們請儘量“凸槽”，好讓漁郎能有所進步... &amp;gt;_&amp;lt;&lt;br /&gt;
&lt;br /&gt;
(1) 將 Android SDK 與 ADT 更新到最新版本 (撰文時為 Android 2.3 API 9 , ADT 8.0.1)。&lt;br /&gt;
&lt;br /&gt;
(2) 漁郎使用的是 Eclipse 之 Helios 3.6.1 版本。&lt;br /&gt;
&lt;br /&gt;
(3) 建立一個新的 Test 專案 (本文範例)。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilzBnpyRbleov34lESUQZrZ2PEj0ZPSD-8fkDIlkYY9QbbOaRNQhAePOzpU8TlVczX76fZJjjWKOK7k8sry_PDRcz-iOuNx2Ax_RvEo64uu4ohA_tCUYtI9rMZekVHHX8l-F2MhwXb77s/s1600/1.+%25E5%25BB%25BA%25E7%25AB%258B%25E4%25B8%2580%25E5%2580%258B%25E6%2596%25B0%25E7%259A%2584%25E5%25B0%2588%25E6%25A1%2588.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilzBnpyRbleov34lESUQZrZ2PEj0ZPSD-8fkDIlkYY9QbbOaRNQhAePOzpU8TlVczX76fZJjjWKOK7k8sry_PDRcz-iOuNx2Ax_RvEo64uu4ohA_tCUYtI9rMZekVHHX8l-F2MhwXb77s/s400/1.+%25E5%25BB%25BA%25E7%25AB%258B%25E4%25B8%2580%25E5%2580%258B%25E6%2596%25B0%25E7%259A%2584%25E5%25B0%2588%25E6%25A1%2588.png&quot; width=&quot;272&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
PS：在此漁郎是以新專案建立的方式為範本說明，舊專案的處理方式則是以將整個舊專案翻新 (建新專案並將所有程式與資源檔複製到新專案中)，且改成使用 Eclipse Builder 產生 .apk 檔。如果朋友們要在不更動以 Ant 為主的方式更新您的舊專案時，請使用以下命令列產生出 proguard.cfg 檔： android update project --path &amp;lt;project&amp;gt;，由於漁郎沒再去試著使用 Ant 編譯，所以在此就先不說明 build.xml 內的參數要做啥變化了，爾後當漁郎被雷打到突然想玩時再跟大夥兒分享心得 &amp;gt;_&amp;lt;。&lt;br /&gt;
&lt;br /&gt;
(4) 記得 AndroidManifest.xml 中將 debuggable 改為 false。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqOmwf6C1RafzjY5j6nOJtGEvmGU43orSjLJXGzS9UTrh_JwsY0vyZPqqgH0-Xa8mCjd-38w3YVr3h1U-Pac1Etv5hGu9suYwSaphL6kWI0k3ljFTS8Rxck3jkX4PQ4jS-0hrkeHNbaY0/s1600/2.+AndroidManifest.xml+%25E4%25B8%25AD%25E9%25A0%2588%25E5%25B0%2587+debuggable+%25E6%2594%25B9%25E7%2582%25BA+false.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;75&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqOmwf6C1RafzjY5j6nOJtGEvmGU43orSjLJXGzS9UTrh_JwsY0vyZPqqgH0-Xa8mCjd-38w3YVr3h1U-Pac1Etv5hGu9suYwSaphL6kWI0k3ljFTS8Rxck3jkX4PQ4jS-0hrkeHNbaY0/s400/2.+AndroidManifest.xml+%25E4%25B8%25AD%25E9%25A0%2588%25E5%25B0%2587+debuggable+%25E6%2594%25B9%25E7%2582%25BA+false.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(5) 找到並打開專案裡的 proguard.cfg 檔。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgthDLvInHuvllCC9x2tug4BG7OQZOUMV5w__ejUT0jUNx26ZINTRo3zzrH1QWPxN8A4Ws3NMfPA8_FpYvmX1t_j7jqL78rkt1eWyHRQnuCS3ioT5bpVmLtoLqZK6-I5RNvCjvLuQkQv4I/s1600/3.1.+%25E6%2589%25BE%25E5%2588%25B0%25E4%25B8%25A6%25E6%2589%2593%25E9%2596%258B%25E5%25B0%2588%25E6%25A1%2588%25E8%25A3%25A1%25E7%259A%2584+proguard.cfg+%25E6%25AA%2594.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgthDLvInHuvllCC9x2tug4BG7OQZOUMV5w__ejUT0jUNx26ZINTRo3zzrH1QWPxN8A4Ws3NMfPA8_FpYvmX1t_j7jqL78rkt1eWyHRQnuCS3ioT5bpVmLtoLqZK6-I5RNvCjvLuQkQv4I/s400/3.1.+%25E6%2589%25BE%25E5%2588%25B0%25E4%25B8%25A6%25E6%2589%2593%25E9%2596%258B%25E5%25B0%2588%25E6%25A1%2588%25E8%25A3%25A1%25E7%259A%2584+proguard.cfg+%25E6%25AA%2594.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(6) 加入在 AndroidManifest.xml 中出現的 activity 名稱 (如有引入 JNI 也需要，&lt;br /&gt;
參考：&lt;a href=&quot;http://developer.android.com/guide/developing/tools/proguard.html&quot;&gt;http://developer.android.com/guide/developing/tools/proguard.html&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg78NiN3sczl_lN1Ai7Rq0mMfMklaR1VPTkJTK6y7Eyg4p1DSBK5CzzP7QMklft1YkK0WBp1dqB7PSjxYqOH2Mf2XPK_lGuai9E6AZhSRjCyU2STS9qpsSnT-VpLlotmKSVt8dxoP-pft4/s1600/3.2.+%25E5%258A%25A0%25E5%2585%25A5%25E5%259C%25A8+AndroidManifest.xml+%25E4%25B8%25AD%25E5%2587%25BA%25E7%258F%25BE%25E7%259A%2584+activity+%25E5%2590%258D%25E7%25A8%25B1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;233&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg78NiN3sczl_lN1Ai7Rq0mMfMklaR1VPTkJTK6y7Eyg4p1DSBK5CzzP7QMklft1YkK0WBp1dqB7PSjxYqOH2Mf2XPK_lGuai9E6AZhSRjCyU2STS9qpsSnT-VpLlotmKSVt8dxoP-pft4/s400/3.2.+%25E5%258A%25A0%25E5%2585%25A5%25E5%259C%25A8+AndroidManifest.xml+%25E4%25B8%25AD%25E5%2587%25BA%25E7%258F%25BE%25E7%259A%2584+activity+%25E5%2590%258D%25E7%25A8%25B1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(7) 找到並打開專案中的 default.properties 檔。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs17JGEGNsZwIl4kIwY5ai_INLjm0gEKcLpu2AITmd4wG2GPN-aMKMOreAteyCDzJzj3qFnyOy3-Ine6J24NcfHc_L6sLNxZy_qcRzX13eDgz_QUL7eVnxa6VO4m0zWBViBeiyLfLOVZA/s1600/4.1.+%25E6%2589%25BE%25E5%2588%25B0%25E4%25B8%25A6%25E6%2589%2593%25E9%2596%258B%25E5%25B0%2588%25E6%25A1%2588%25E4%25B8%25AD%25E7%259A%2584+default.properties+%25E6%25AA%2594.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;297&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs17JGEGNsZwIl4kIwY5ai_INLjm0gEKcLpu2AITmd4wG2GPN-aMKMOreAteyCDzJzj3qFnyOy3-Ine6J24NcfHc_L6sLNxZy_qcRzX13eDgz_QUL7eVnxa6VO4m0zWBViBeiyLfLOVZA/s400/4.1.+%25E6%2589%25BE%25E5%2588%25B0%25E4%25B8%25A6%25E6%2589%2593%25E9%2596%258B%25E5%25B0%2588%25E6%25A1%2588%25E4%25B8%25AD%25E7%259A%2584+default.properties+%25E6%25AA%2594.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(8) 加入 Enabled the Proguard 所需參數到 default.properties 檔中 (不用理該檔文頭的那些警告，經測試加入 proguard 參數不會被蓋掉)。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4BNJxYn9e797Cps_VUapy_Dg-2yEhTN2z4TqlDFDyH-PNYU5pPGFAypKNHJdPnt1gPMBlAPajBNQhBTh0APgSTu4B66Ulxx6m5cZVc_Bxxt72KUy_JjRMcas_lAwuStuBCzJVB1m-Fc0/s1600/4.2.+%25E5%258A%25A0%25E5%2585%25A5+Enabled+the+Proguard+%25E6%2589%2580%25E9%259C%2580%25E5%258F%2583%25E6%2595%25B8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4BNJxYn9e797Cps_VUapy_Dg-2yEhTN2z4TqlDFDyH-PNYU5pPGFAypKNHJdPnt1gPMBlAPajBNQhBTh0APgSTu4B66Ulxx6m5cZVc_Bxxt72KUy_JjRMcas_lAwuStuBCzJVB1m-Fc0/s400/4.2.+%25E5%258A%25A0%25E5%2585%25A5+Enabled+the+Proguard+%25E6%2589%2580%25E9%259C%2580%25E5%258F%2583%25E6%2595%25B8.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(9) 編輯 Android 專案，以產生原始 apk 檔 (在專案上以滑鼠右鍵叫出選單再點選 Build Project)。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2yRp7dCiu8Z0Q6Tk1Aphq5bf-3djNEthQOE6dv-nc8GaWAnoANCQtRGGyHuuKNRso3q7NjAaZtj-Q41mZ8N2SMigQ1yNiRjyeuul-TgZPmSMFejufq1-dxx97nRgrjIZz8nzVMngsVbI/s1600/5.+Build+Project.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;166&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2yRp7dCiu8Z0Q6Tk1Aphq5bf-3djNEthQOE6dv-nc8GaWAnoANCQtRGGyHuuKNRso3q7NjAaZtj-Q41mZ8N2SMigQ1yNiRjyeuul-TgZPmSMFejufq1-dxx97nRgrjIZz8nzVMngsVbI/s400/5.+Build+Project.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(10) 匯出有簽章並經 Proguard 混淆且已 Zipaglin 可上載到 Android Market 的 apk 檔&amp;nbsp;&amp;nbsp;(在專案上以滑鼠右鍵叫出選單再點選 Android Tools -- Export Signed Application Package...).&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic1rTxsyHsErFVuU6s1Twb-Qp48-Ot-phcG7rDo87eXflaYij8emA8-Pue8jVf550Xm3WNfKmkd5TrUN00n_yo4Q0py4rEh7FfRTuaqI9hzvB41AMGSZlZhgbXeBN1WCIB4e7ze-EPr-Q/s1600/6.1+%25E5%258C%25AF%25E5%2587%25BA%25E6%259C%2589%25E7%25B0%25BD%25E7%25AB%25A0%25E7%259A%2584+APK+%25E6%25AA%2594.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic1rTxsyHsErFVuU6s1Twb-Qp48-Ot-phcG7rDo87eXflaYij8emA8-Pue8jVf550Xm3WNfKmkd5TrUN00n_yo4Q0py4rEh7FfRTuaqI9hzvB41AMGSZlZhgbXeBN1WCIB4e7ze-EPr-Q/s400/6.1+%25E5%258C%25AF%25E5%2587%25BA%25E6%259C%2589%25E7%25B0%25BD%25E7%25AB%25A0%25E7%259A%2584+APK+%25E6%25AA%2594.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;選單點選&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjODyyAsIs6KcXr8zfqqe2jUjW1piMaBJFOt7n9G25SCZgqeJUUj9VrM13YKkiLE_AEd-9XyKbTS8Vm6vIDj5yGv9ecV1AMlLo0uj7HsLZoDCMB_QSTbxfJWcfzOqCEYNCisb29Pf2t3Ag/s1600/6.2+Project+Checks.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;342&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjODyyAsIs6KcXr8zfqqe2jUjW1piMaBJFOt7n9G25SCZgqeJUUj9VrM13YKkiLE_AEd-9XyKbTS8Vm6vIDj5yGv9ecV1AMlLo0uj7HsLZoDCMB_QSTbxfJWcfzOqCEYNCisb29Pf2t3Ag/s400/6.2+Project+Checks.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Project Checks&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOPpD5g0TYuG9ytluKHOTBSBWwswjVW6KizeEbtD-svlECss79cCNaJLaD0oYGX6d2Kw6UiKwcZ7oOPTocJwzxiaF5aAmWgW_G_KHw4d7r-wr4G13QeBQciyArmMauQGor68Y2m06fWzU/s1600/6.3+Keystore+selection.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;343&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOPpD5g0TYuG9ytluKHOTBSBWwswjVW6KizeEbtD-svlECss79cCNaJLaD0oYGX6d2Kw6UiKwcZ7oOPTocJwzxiaF5aAmWgW_G_KHw4d7r-wr4G13QeBQciyArmMauQGor68Y2m06fWzU/s400/6.3+Keystore+selection.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Keystore selection&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzfauD3FfFkj7h6QokYfsCI8DNZ6_qGJtMJwvmwCU9IUsrCpXhnikQBjaTIWKU7tamRC03Ep5eDg4RUA8nyStmoTDfQvSdNJjXpKI0q9uB5GEHz0RysNuO6dZ_GAD9zkSCq04gTJ3-zoM/s1600/6.4+Key+alias+selection.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;343&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzfauD3FfFkj7h6QokYfsCI8DNZ6_qGJtMJwvmwCU9IUsrCpXhnikQBjaTIWKU7tamRC03Ep5eDg4RUA8nyStmoTDfQvSdNJjXpKI0q9uB5GEHz0RysNuO6dZ_GAD9zkSCq04gTJ3-zoM/s400/6.4+Key+alias+selection.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Key alias selection&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhza2Gzh2dZjujgIL4GuDQP9GF-gDLQhp2X0H6KfK-QbGm7zy-zgf5MHGkxJheOi921Jx_l0RaAock9efAdxzj2UMIw67S_-kr0w5VJdi2CtOS3DXjAkE9W0mT6xkTjJz-FmEWikJb1au0/s1600/6.5+Destination+and+key+%253A+certificate+checks+-+%25E6%25AA%2594%25E5%2590%258D%25E8%25A8%2598%25E5%25BE%2597%25E5%258A%25A0+.apk.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;342&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhza2Gzh2dZjujgIL4GuDQP9GF-gDLQhp2X0H6KfK-QbGm7zy-zgf5MHGkxJheOi921Jx_l0RaAock9efAdxzj2UMIw67S_-kr0w5VJdi2CtOS3DXjAkE9W0mT6xkTjJz-FmEWikJb1au0/s400/6.5+Destination+and+key+%253A+certificate+checks+-+%25E6%25AA%2594%25E5%2590%258D%25E8%25A8%2598%25E5%25BE%2597%25E5%258A%25A0+.apk.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Destination and key/certificate checks (記得加入 .apk 副檔名)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
(11) 如匯出 apk 檔成功，Refresh 專案，就可看到在專案底下有個 proguard 目錄，其中有許多關於在經過 Proguard 混淆後的專案參數資料可以參考。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBSO8kOzA5F6NFGt1o0_ki7hHUGElyyR6gzdzHhiKFSC3ipn0dwCTpgQJp2rpU9yz_d3zZzg-r51kZffc_I1akDj08smxBvuomMzMjq77uqlYd3uEuBrWR592uou-203ZF5LllSPQfa14/s1600/7.+Refresh+%25E5%25B0%2588%25E6%25A1%2588%252C+%25E5%25B0%25B1%25E6%259C%2583%25E7%259C%258B%25E5%2588%25B0%25E4%25B8%2580%25E5%2580%258B+proguard+%25E7%25B4%2580%25E9%258C%2584%25E7%259B%25AE%25E9%258C%2584.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBSO8kOzA5F6NFGt1o0_ki7hHUGElyyR6gzdzHhiKFSC3ipn0dwCTpgQJp2rpU9yz_d3zZzg-r51kZffc_I1akDj08smxBvuomMzMjq77uqlYd3uEuBrWR592uou-203ZF5LllSPQfa14/s1600/7.+Refresh+%25E5%25B0%2588%25E6%25A1%2588%252C+%25E5%25B0%25B1%25E6%259C%2583%25E7%259C%258B%25E5%2588%25B0%25E4%25B8%2580%25E5%2580%258B+proguard+%25E7%25B4%2580%25E9%258C%2584%25E7%259B%25AE%25E9%258C%2584.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigfHaPnfZ2vCMdrFBb0JNCqptGFFcoNaWIX7y9ezx8wytw94zJOlkzT3A2Z5fwoAcrvgEBzOcImR7HnFbLaWaksSlJRLULjszAbF9JW5KV5_XBCU_v_506SGAvaZxq6VdcCb9nD698nwQ/s1600/8.+proguard+%25E7%259B%25AE%25E9%258C%2584.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigfHaPnfZ2vCMdrFBb0JNCqptGFFcoNaWIX7y9ezx8wytw94zJOlkzT3A2Z5fwoAcrvgEBzOcImR7HnFbLaWaksSlJRLULjszAbF9JW5KV5_XBCU_v_506SGAvaZxq6VdcCb9nD698nwQ/s400/8.+proguard+%25E7%259B%25AE%25E9%258C%2584.png&quot; width=&quot;336&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
(12) 在你指定的匯出目錄中亦有了可上載至 Android Market 的 .apk 檔 ^__^。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqQVn73EXn_k4s_piZ-sLoPZkQsrU_LvwJ_1qkZgGUcFkqrn-ie1gHicM98opixPtMhu38Rt-opbuGGy-KBy0l-PXDWg2z3_Cibz6Ds9E_4gP6cZdJwNnIND7fMZkBDb9yP07Tfv-pXZE/s1600/9.+%25E5%258F%25AF%25E4%25B8%258A%25E8%25BC%2589+Android+Market+%25E7%259A%2584+apk+%25E6%25AA%2594.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;229&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqQVn73EXn_k4s_piZ-sLoPZkQsrU_LvwJ_1qkZgGUcFkqrn-ie1gHicM98opixPtMhu38Rt-opbuGGy-KBy0l-PXDWg2z3_Cibz6Ds9E_4gP6cZdJwNnIND7fMZkBDb9yP07Tfv-pXZE/s400/9.+%25E5%258F%25AF%25E4%25B8%258A%25E8%25BC%2589+Android+Market+%25E7%259A%2584+apk+%25E6%25AA%2594.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
PS1：當使用 Eclipse 中 Android SDK (ADT) 所提供的 Export Wizard 匯出含簽章的 .apk 檔時，ADT就已順便幫你使用 Zipalign 優化過了，因此可將製作出的 .apk 檔上載 Android Market，&lt;br /&gt;
參考：&lt;a href=&quot;http://developer.android.com/guide/developing/tools/zipalign.html&quot;&gt;http://developer.android.com/guide/developing/tools/zipalign.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
PS2：當漁郎的專案使用到 libs 內自己加入的 .jar 時，在進行 Export 並使用 Proguard 有時會產生一堆 Warning，以致無法順利匯出 .apk 檔，這時在 proguard.cfg 檔內加入參數 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;-ignorewarning&lt;/span&gt; 就解了該問題。有遇到同樣狀況的朋友們不妨試試 ^_^。&lt;br /&gt;
參考：&lt;a href=&quot;http://osdir.com/ml/Android-Developers/2010-12/msg02838.html&quot;&gt;http://osdir.com/ml/Android-Developers/2010-12/msg02838.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeRjKYMzIP6PtRgZrQu1QOwNF1WK7TI-i0CDbMdFr2QEy6AIVfq9uS2tTQm7lN20M8p7ISIuE9UFQr1KviMzHkA5SzVP3Vk3KVjP_RWNsCI6s_WlzafNr6so4TSroHEXDU7A8-RwHGQ4Y/s1600/a.+Export+Warning.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;97&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeRjKYMzIP6PtRgZrQu1QOwNF1WK7TI-i0CDbMdFr2QEy6AIVfq9uS2tTQm7lN20M8p7ISIuE9UFQr1KviMzHkA5SzVP3Vk3KVjP_RWNsCI6s_WlzafNr6so4TSroHEXDU7A8-RwHGQ4Y/s400/a.+Export+Warning.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;一堆 Warning @_@...&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/550005374936284233/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2011/01/eclipseandroid-sdkproguardzipalign.html#comment-form' title='13 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/550005374936284233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/550005374936284233'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2011/01/eclipseandroid-sdkproguardzipalign.html' title='【分享】- 如何整合 Eclipse、Android SDK、Proguard、Zipalign，以輸出有程式保護且可上載與發佈到 Android Market 的 APK 檔？ PART-3'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbpvH5jICe3_8VU5cfET-On1ed0TJ1U90xN31n8YfsikQpFS4KetuHR6SRTEzKYXyEe6mm0UJF8G-c1XrHOS_zg7d9TQDGA-ES65skDH9sXDqpScwEPVHW9H4jtC-opSaH6Qbs2oob8XU/s72-c/Eclipse+Version.png" height="72" width="72"/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-145487356027191877</id><published>2010-12-24T05:29:00.004+08:00</published><updated>2011-01-14T16:46:53.210+08:00</updated><title type='text'>【消息】- Android Market 對開發者友善的改變</title><content type='html'>之前一直覺得 Android Market 對開發者太不友善了, 今天接到 Android Market 來的訊息, 得知幾個相對於開發者友善的改變, 在此和大夥分享一下訊息.&lt;br /&gt;
&lt;br /&gt;
其中有幾個漁郎較在意的重點 (不知漁郎有沒搞錯 ?! @@...):&lt;br /&gt;
&lt;br /&gt;
(1) 應用程式購買者的退款時效縮短為 15 分鐘內, 也就是說付費下載如超出了 15 分鐘, 就不能退費啦. (話說... 15 分鐘也太...短了吧, 對使用者來說 @@)&lt;br /&gt;
&lt;br /&gt;
(2) apk 檔最大可包到 50 MB, 那就不用老是為了包裝檔的大小煞費精神, 在程式下載安裝後, 使用前還要使用者另外下載檔案了. ^_^&lt;br /&gt;
&lt;br /&gt;
(3) 程式的說明文件提升到 4000 字符, 大概可減少使用者與開發者之間的誤解吧 @@ ...&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;[原文]&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSllIRvhh2A5qqy2ouOW9zMstJhkNq58N6fRUACcfFe8JBspE9_VFgp0Yts_NpvYhSk8ss7SDLMvq-2sLmYBWPc8JhHCbYzA9CNpn9rBtJt-WyJYU8RzKmCFOrRjvBX4G0AegrFAGJF2U/s1600/Android+Market+%25E5%258E%259F%25E6%2596%2587.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSllIRvhh2A5qqy2ouOW9zMstJhkNq58N6fRUACcfFe8JBspE9_VFgp0Yts_NpvYhSk8ss7SDLMvq-2sLmYBWPc8JhHCbYzA9CNpn9rBtJt-WyJYU8RzKmCFOrRjvBX4G0AegrFAGJF2U/s400/Android+Market+%25E5%258E%259F%25E6%2596%2587.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/145487356027191877/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/12/android-market.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/145487356027191877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/145487356027191877'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/12/android-market.html' title='【消息】- Android Market 對開發者友善的改變'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSllIRvhh2A5qqy2ouOW9zMstJhkNq58N6fRUACcfFe8JBspE9_VFgp0Yts_NpvYhSk8ss7SDLMvq-2sLmYBWPc8JhHCbYzA9CNpn9rBtJt-WyJYU8RzKmCFOrRjvBX4G0AegrFAGJF2U/s72-c/Android+Market+%25E5%258E%259F%25E6%2596%2587.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-6996167888394099414</id><published>2010-10-15T16:58:00.001+08:00</published><updated>2010-10-15T17:01:54.204+08:00</updated><title type='text'>【消息】- 開心 ! 台灣開放 Android Market 付費軟體下載</title><content type='html'>今天用手機上 Android Market, 熊熊看到 ... 耶 ! 台灣已有付費軟體可下載了耶 ^_^ ...&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4aX1WZW8GS9VZgE-HNsKsAAIT7mxgeHMfMfF5g-fTkzWWLjdPqVu8D_BRAoS3PY75PnZr0YNKYOEF7g8ifo-d_C11lLpcKUMjQPNH3S1IcRssZRD1NsaYWxXE18c7R02-pNOu6c-Xue4/s1600/Android+Market++TW+%E9%96%8B%E8%B3%A3%E5%95%A6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4aX1WZW8GS9VZgE-HNsKsAAIT7mxgeHMfMfF5g-fTkzWWLjdPqVu8D_BRAoS3PY75PnZr0YNKYOEF7g8ifo-d_C11lLpcKUMjQPNH3S1IcRssZRD1NsaYWxXE18c7R02-pNOu6c-Xue4/s400/Android+Market++TW+%E9%96%8B%E8%B3%A3%E5%95%A6.png&quot; width=&quot;265&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
而且都是 NTD 計價 ^_^&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtJ9i2nV_kmQQekJILH7iX_YnbRy8uQLL3sUI2pKokF5kdTfjNWj3BOuZdmnMc29sYhvGMzy50L1LjiB9SbDkSDJlVPrSARyr0F4Hjr4kljdNqUSOYhWdT3nDOUoOIGP6S3o_HzyxpcY0/s1600/Android+Market+Games.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtJ9i2nV_kmQQekJILH7iX_YnbRy8uQLL3sUI2pKokF5kdTfjNWj3BOuZdmnMc29sYhvGMzy50L1LjiB9SbDkSDJlVPrSARyr0F4Hjr4kljdNqUSOYhWdT3nDOUoOIGP6S3o_HzyxpcY0/s400/Android+Market+Games.png&quot; width=&quot;267&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/6996167888394099414/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/10/android-market_15.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/6996167888394099414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/6996167888394099414'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/10/android-market_15.html' title='【消息】- 開心 ! 台灣開放 Android Market 付費軟體下載'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4aX1WZW8GS9VZgE-HNsKsAAIT7mxgeHMfMfF5g-fTkzWWLjdPqVu8D_BRAoS3PY75PnZr0YNKYOEF7g8ifo-d_C11lLpcKUMjQPNH3S1IcRssZRD1NsaYWxXE18c7R02-pNOu6c-Xue4/s72-c/Android+Market++TW+%E9%96%8B%E8%B3%A3%E5%95%A6.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-8191961912401515752</id><published>2010-10-01T09:28:00.003+08:00</published><updated>2011-02-10T21:19:38.705+08:00</updated><title type='text'>【消息】- 萬歲 ! 台灣開放 Android Market 付費軟體上載</title><content type='html'>今天一早 (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;2010/10/01&lt;/span&gt;) 收到 Android Market 的來信,&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span title=&quot;&quot;&gt;今日起，&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;開發人員&lt;/span&gt;來自 20個國家（阿根廷，澳大利亞，比利時，巴西，加拿大，丹麥，芬蘭，香港，愛爾蘭，以色列，墨西哥，新西蘭，挪威，葡萄牙，俄羅斯，新加坡，韓國，瑞典，瑞士和&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span title=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;台灣&lt;/span&gt;）在&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;Android Market &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span title=&quot;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;可以出售付費軟件&lt;/span&gt;。&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span title=&quot;&quot;&gt;在&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;接下來的2週&lt;/span&gt;，用戶從 18個新國家（阿根廷，巴西，比利時，捷克共和國，丹麥，芬蘭，香港，印度，愛爾蘭，以色列，墨西哥，挪威，波蘭，葡萄牙，俄羅斯，新加坡，瑞典和&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;台灣&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span title=&quot;&quot;&gt;）&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;使用者&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;從&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: arial, sans-serif; font-size: 16px;&quot;&gt; Android Market&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;就可以購買付費軟件&lt;/span&gt;。哇哈哈哈哈哈哈~~~ 開心中 ^____^&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span title=&quot;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgadAmhl2TFsu5E9JE-2VFZZBuIq5DRfD8v2Im_ugCBjjiJj4S6_2pglpFtxvTU09sov_ZcbI-lP1TI4Wm8eIQr5JCnW-7ONo536bnb1oEWWOvH-ww3J2xZU0iwiChyphenhyphenMgYzA1cj9fgHEsk/s1600/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2010-10-01+%E4%B8%8A%E5%8D%889.20.22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;323&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgadAmhl2TFsu5E9JE-2VFZZBuIq5DRfD8v2Im_ugCBjjiJj4S6_2pglpFtxvTU09sov_ZcbI-lP1TI4Wm8eIQr5JCnW-7ONo536bnb1oEWWOvH-ww3J2xZU0iwiChyphenhyphenMgYzA1cj9fgHEsk/s400/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2010-10-01+%E4%B8%8A%E5%8D%889.20.22.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhApJD8zF4HgSeCR5ENznclkvyU4kdrYGUIboYd-zA1OOit5-QlIl67MlLuzDv5cUJNub3EIsfp4X8CmoKuN4I-ABR2qn_-XeFBfdamLkiSXFTr_LfE117DPCigudNAuOabfreEq-qw4Z4/s1600/Android+Market.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhApJD8zF4HgSeCR5ENznclkvyU4kdrYGUIboYd-zA1OOit5-QlIl67MlLuzDv5cUJNub3EIsfp4X8CmoKuN4I-ABR2qn_-XeFBfdamLkiSXFTr_LfE117DPCigudNAuOabfreEq-qw4Z4/s400/Android+Market.png&quot; width=&quot;265&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
看這裡..... 使用 Google AdSense 帳戶 ....&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span title=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; font-size: 16px;&quot;&gt;&lt;span title=&quot;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/8191961912401515752/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/10/android-market.html#comment-form' title='4 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/8191961912401515752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/8191961912401515752'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/10/android-market.html' title='【消息】- 萬歲 ! 台灣開放 Android Market 付費軟體上載'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgadAmhl2TFsu5E9JE-2VFZZBuIq5DRfD8v2Im_ugCBjjiJj4S6_2pglpFtxvTU09sov_ZcbI-lP1TI4Wm8eIQr5JCnW-7ONo536bnb1oEWWOvH-ww3J2xZU0iwiChyphenhyphenMgYzA1cj9fgHEsk/s72-c/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7+2010-10-01+%E4%B8%8A%E5%8D%889.20.22.png" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-7553062899527078268</id><published>2010-09-25T08:31:00.000+08:00</published><updated>2010-09-25T08:31:09.507+08:00</updated><title type='text'>【消息】- Android Market 將加入更多付費下載地區</title><content type='html'>今早打開 GMail, 看到一則來自 Android Market Support 的信件, 內容令人振奮 ! 意味接下來幾星期內就要開放更多的付費下載地區, 這意味台灣.... 哇哈哈哈哈 ~~~~ 開心 ^__^&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv3AxLkieUzKIBAQ-ZMlHb7Otm8aBzm7yt_sSdd_DKSAxNQNIKs42EEpMx4uiC2cExq_Uuz2v2Imer-vX9vDynELf_qOKXNRhQE-AI5W6Utv_rfO3jKzMCgaqLSYnRkCc2pl0tY1ol4y8/s1600/android+market+support.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv3AxLkieUzKIBAQ-ZMlHb7Otm8aBzm7yt_sSdd_DKSAxNQNIKs42EEpMx4uiC2cExq_Uuz2v2Imer-vX9vDynELf_qOKXNRhQE-AI5W6Utv_rfO3jKzMCgaqLSYnRkCc2pl0tY1ol4y8/s400/android+market+support.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/7553062899527078268/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/09/android-market.html#comment-form' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/7553062899527078268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/7553062899527078268'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/09/android-market.html' title='【消息】- Android Market 將加入更多付費下載地區'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv3AxLkieUzKIBAQ-ZMlHb7Otm8aBzm7yt_sSdd_DKSAxNQNIKs42EEpMx4uiC2cExq_Uuz2v2Imer-vX9vDynELf_qOKXNRhQE-AI5W6Utv_rfO3jKzMCgaqLSYnRkCc2pl0tY1ol4y8/s72-c/android+market+support.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-4737503272862041635</id><published>2010-09-16T12:30:00.008+08:00</published><updated>2010-09-23T11:17:39.513+08:00</updated><title type='text'>【分享】- 來授權一下吧！實作引入 License Verification Library (LVL)</title><content type='html'>雖然網路上出現了一堆批評或破解 Android Market 授權保護機制 (License Verification Library (LVL)) 的文章，但是咧 ~ 該來的還是會來的 ~ Google 遲早會在 Android Market 硬推它的 LVL (在 Android Market 的 App 設定中的 COPY PROTECT 下面就會看到有一行紅色的警示訊息 @_@)：&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;The copy protection feature will be deprecated soon, please use&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;a href=&quot;http://developer.android.com/guide/publishing/licensing.html&quot; style=&quot;color: #006699; text-decoration: underline;&quot; target=&quot;_blank&quot;&gt;licensing service&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red; font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;instead.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
漁郎近日實作了將 LVL 塞到現有 App 內並使用 Ant 與 Proguard 編譯的作法，跟 Google 的作法有些不一樣，卻符合漁郎偷懶的習性 &amp;gt;_&amp;lt; \\\ ... 貼上來自我記錄一下，免得以後忘記 @_@，亦與大夥兒分享一下，有不對的地方別 K 我喔 .... ^_^&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #e06666;&quot;&gt;PS. 如您不想用 Ant 與 Proguard 編譯您的程式，應可不用漁郎的方法喔！&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj14tztvH3wQoR_5r47ARZRuZJjEkN8jWnOH7dtHuSu1pxDggTA3eusr0Mu_5YlZeq3rwWCU5iJMhvl4GbUUYCwYcaFaplNMOyC4__tra8CZ_OsgVOkL7KjAoKEUHeT1IFbo-MBHc2D12E/s1600/01.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;260&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj14tztvH3wQoR_5r47ARZRuZJjEkN8jWnOH7dtHuSu1pxDggTA3eusr0Mu_5YlZeq3rwWCU5iJMhvl4GbUUYCwYcaFaplNMOyC4__tra8CZ_OsgVOkL7KjAoKEUHeT1IFbo-MBHc2D12E/s400/01.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;[實作環境]&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1. Eclipse 3.4&lt;br /&gt;
2. Android SDK 1.5 到 2.2 加載&lt;br /&gt;
3. Proguard 4.5.1&lt;br /&gt;
4. Market Licensing package, revision 1 (以下簡稱 LVL)&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;&lt;b&gt;[實作步驟]&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1. 先依 Google 網站的說明，將 LVL 套件內的 library 目錄以 &amp;nbsp;Create project from existing source 的方式 建立新專案在 Eclipse 的 Workspace 中，並編譯 (Build Project) 該 LVL 專案，並在編譯後，到該 library 的目錄的 bin 下，將 com 整個目錄壓成 .zip 檔，並將該檔的檔名改為 LicenseChecker，副檔名改為 .jar (基本上 zip 跟 jar 的格式是一樣滴.... @_@)。&lt;br /&gt;
&lt;br /&gt;
2. 將該&amp;nbsp;LicenseChecker.jar 複製到您現有專案的各個 libs 目錄下 (因為要用 Ant 編譯，目前只測出此法可行 @_@)。&lt;br /&gt;
&lt;br /&gt;
3. 在各個專案的 Properties -&amp;gt; Java Build Path -&amp;gt; Libraries 中加入該 jar 的所在位置與檔名 (各個專案&amp;nbsp;libs 中的 LicenseChecker.jar)。&lt;br /&gt;
&lt;br /&gt;
4.&amp;nbsp;在各個專案 (本例為&amp;nbsp;HelpMeSOSnR 專案) 的 build.xml 的 Proguard 程序段中要加入以下的參數&amp;nbsp;(本例為&amp;nbsp;com.e68club.android.HelpMeSOSnR)&amp;nbsp;：&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;-keep public class com.e68club.android.HelpMeSOSnR.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;ActiveLicenseChecker&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;-keep public class com.e68club.android.HelpMeSOSnR.&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;ActiveBootGoGo&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
5.&amp;nbsp;在各個專案的 Androidmanifest.xml 中要加入以下的參數：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;activity android:name=&quot;.ActiveLicenseChecker&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;android:label=&quot;@string/app_name&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;android:theme=&quot;@android:style/Theme.Translucent.NoTitleBar&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;intent-filter&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;action android:name=&quot;android.intent.action.MAIN&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;category android:name=&quot;android.intent.category.LAUNCHER&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;/intent-filter&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;/activity&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;activity android:name=&quot;.ActiveBootGoGo&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;android:label=&quot;@string/app_name&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;android:screenOrientation=&quot;portrait&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;/activity&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
並將原本主要 Activity 宣告內的 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;intent-filter&amp;gt;&amp;lt;/&amp;lt;intent-filter&amp;gt;&lt;/span&gt;&lt;/span&gt; 段移除.&lt;br /&gt;
&lt;br /&gt;
且加入以下的參數&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;!-- Devices &amp;gt;= 3 have version of Android Market that supports licensing. --&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;uses-sdk android:minSdkVersion=&quot;3&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;!-- Required permission to check licensing. --&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;uses-permission android:name=&quot;com.android.vending.CHECK_LICENSE&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;uses-permission android:name=&quot;android.Settings.Secure.ANDROID_ID&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;uses-permission android:name=&quot;android.permission.READ_PHONE_STATE&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6.&amp;nbsp;複製&amp;nbsp;active_boots.xml 到&amp;nbsp;res/values 中。&lt;br /&gt;
&lt;br /&gt;
7.&amp;nbsp;複製&amp;nbsp;e68club.3gp (改為您使用的開場動畫 3gp 影片) 到&amp;nbsp;res/raw 中。&lt;br /&gt;
&lt;br /&gt;
8. 複製&amp;nbsp;avtive_boot.xml 到 res/layout 中。&lt;br /&gt;
&lt;br /&gt;
9. 複製&amp;nbsp;ActiveBootGoGo.java 與 ActiveLicenseChecker.java 到 src 中 (本例是放到在&amp;nbsp;src/com.e68club.android.HelpMeSOSnR 下面)。&lt;br /&gt;
&lt;br /&gt;
10. 編輯 ActiveBootGoGo.java，並將 startMainActivity() 內的 Intent(this, abc.class) 之 class 改為您要執行的主程式類別名稱。&lt;br /&gt;
&lt;br /&gt;
11.&amp;nbsp;用 Ant 以 build.xml&amp;nbsp;編譯程式並測試。&lt;br /&gt;
&lt;br /&gt;
12.&amp;nbsp;注意! 如您是安裝自己在測試的版本，也就是當您安裝的程式之 VersionCode 跟 Android Market 上的不一樣時，記得將 Android Market 之 profile 內的 License response 設定改為 LICENSED，不然 License Checker 會檢查 License response 的設定&amp;nbsp;，如果 License response 仍是設定為 Respond normally&amp;nbsp;，則程式在 applicationError 事件中，會有 NOT_MARKET_MANAGED 的錯誤訊息產生。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #674ea7;&quot;&gt;[附件內容]&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. active_boots.xml 內容 (string)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;resources&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;!-- License checking status messages --&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;check_license&quot;&amp;gt;Check license&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;checking_license&quot;&amp;gt;Checking license...&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;dont_allow&quot;&amp;gt;Don\&#39;t allow the user access&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;allow&quot;&amp;gt;Allow the user access&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;application_error&quot;&amp;gt;Application error: %1$s&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;!-- Unlicensed dialog messages --&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;unlicensed_dialog_title&quot;&amp;gt;Application not licensed&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;unlicensed_dialog_body&quot;&amp;gt;This application is not licensed. Please get new version app or purchase it from Android Market.&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;get_button&quot;&amp;gt;Get app&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;quit_button&quot;&amp;gt;Exit&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;!-- program load --&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;program_load&quot;&amp;gt;Program Load&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;string name=&quot;program_loading&quot;&amp;gt;Program Loading...&amp;lt;/string&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;/resources&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp;avtive_boot.xml 內容 (layout)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;LinearLayout&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;android:layout_width=&quot;fill_parent&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;android:layout_height=&quot;fill_parent&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;android:layout_gravity=&quot;center&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;android:gravity=&quot;center&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;lt;VideoView&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;android:id=&quot;@+id/e68clubVideoView&quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;android:layout_width=&quot;fill_parent&quot;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;android:layout_height=&quot;fill_parent&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;android:layout_gravity=&quot;center&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;/LinearLayout&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. ActiveLicenseChecker,java 內容&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;package com.e68club.android.HelpMeSOSnR;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.app.Activity;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.app.AlertDialog;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.app.Dialog;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.app.ProgressDialog;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.content.DialogInterface;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.content.Intent;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.net.Uri;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.os.Bundle;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.provider.Settings.Secure;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.util.Log;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import com.android.vending.licensing.AESObfuscator;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import com.android.vending.licensing.LicenseChecker;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import com.android.vending.licensing.LicenseCheckerCallback;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import com.android.vending.licensing.ServerManagedPolicy;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public class ActiveLicenseChecker extends Activity {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// 複製自 Android Market 之 profile 內之 Public key 字碼&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private static final String BASE64_PUBLIC_KEY =&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;Your License Public KEY string&lt;/b&gt;&lt;/span&gt;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 自定亂數&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private static final byte[] SALT = new byte[] {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;33, -9, -18, 66, -73, -2, 99, 9, 12, 22, 21, 27, 30, -111, -107, 28, -75, 112, 66&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private LicenseChecker mChecker;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private LicenseCheckerCallback mLicenseCheckerCallback;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private ProgressDialog myDialog = null;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void onCreate(Bundle savedInstanceState) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;super.onCreate(savedInstanceState);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Android Market 線上授權檢查程式碼 &amp;nbsp;...... start .............................&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Try to use more data here. ANDROID_ID is a single point of attack.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;String deviceId = Secure.getString(getContentResolver(), Secure.ANDROID_ID);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Library calls this when it&#39;s done.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;mLicenseCheckerCallback = new MyLicenseCheckerCallback();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Construct the LicenseChecker with a policy.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;mChecker = new LicenseChecker(this, new ServerManagedPolicy(this,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;new AESObfuscator(SALT, getPackageName(), deviceId)),&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;BASE64_PUBLIC_KEY);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Android Market 線上授權檢查程式碼 &amp;nbsp;...... end ...............................&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myDialog = ProgressDialog.show(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;ActiveLicenseChecker.this,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;getString(R.string.check_license),&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;getString(R.string.checking_license), true);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;new Thread() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void run() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;try {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 執行 Android Market 線上授權檢查&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;mChecker.checkAccess(mLicenseCheckerCallback);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;} catch (Exception e) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;e.printStackTrace();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 卸載所建立的 myDialog 物件&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myDialog.dismiss();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 結束這個 Activity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;finish();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}.start(); // 啟動 Thread&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;protected Dialog onCreateDialog(int id) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// We have only one dialog.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;return new AlertDialog.Builder(this)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;.setTitle(R.string.unlicensed_dialog_title)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;.setCancelable(false)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;.setMessage(R.string.unlicensed_dialog_body)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;.setPositiveButton(R.string.get_button,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;new DialogInterface.OnClickListener() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void onClick(DialogInterface dialog,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;int which) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;Intent marketIntent = new Intent(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;Intent.ACTION_VIEW,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;          &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;Uri.parse(&quot;http://market.android.com/details?id=&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;            &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;+ getPackageName()));&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 開啟瀏覽器, 導向 Android Market 找該 App&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;startActivity(marketIntent);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 結束這個 Activity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;finish();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;})&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;.setNegativeButton(R.string.quit_button,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;new DialogInterface.OnClickListener() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void onClick(DialogInterface dialog,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;int which) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 結束這個 Activity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;finish();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}).create();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private class MyLicenseCheckerCallback implements LicenseCheckerCallback {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void allow() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 授權檢查成功, 是合法授權程式&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;if (isFinishing()) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Don&#39;t update UI if Activity is finishing.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;Log.d(&quot;LicenseChecker&quot;,&quot;Allow&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 取得授權正常, 執行主程式&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Should allow user access.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;startMainActivity();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void dontAllow() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;授權檢查失敗&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;, 是非法授權的程式&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;, 也可能是第一次取得授權卻沒連上網路所致&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;if (isFinishing()) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Don&#39;t update UI if Activity is finishing.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 卸載所建立的 myDialog 物件&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myDialog.dismiss();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;Log.d(&quot;LicenseChecker&quot;,&quot;Do Not Allow&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 秀出無授權, 請使用者點選離開或引導使用者到 Android Market 購買軟體或下載新版軟體&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;showDialog(0);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void applicationError(ApplicationErrorCode errorCode) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 授權檢查異常, 從網路到主機取得授權失敗, 可能是主機沒設定測試授權回應 (例如: LICENSED)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;if (isFinishing()) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// Don&#39;t update UI if Activity is finishing.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 卸載所建立的 myDialog 物件&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myDialog.dismiss();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 取得授權有異常, 以可能是使用者的版本與 Android 上的版本不符,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 請使用者點選離開或引導使用者到 Android Market 購買軟體或下載新版軟體&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;showDialog(0);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private void startMainActivity() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 轉執行主要程式, 並結束本授權檢查程式&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 可將此處的 ActiveBootGoGo.class 換成您的主程式碼之 MainActivity.class, 以跳過開場動畫程式&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;startActivity(new Intent(this, ActiveBootGoGo.class));&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 卸載所建立的 myDialog 物件&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myDialog.dismiss();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 結束這個 Activity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;finish();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;protected void onDestroy() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;super.onDestroy();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 終止授權檢查元件&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;mChecker.onDestroy();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. ActiveBootGoGo.java 內容&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;package com.e68club.android.HelpMeSOSnR;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.app.Activity;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.app.ProgressDialog;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.content.Context;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.content.Intent;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.media.MediaPlayer;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.net.Uri;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.os.Bundle;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;import android.widget.VideoView;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public class ActiveBootGoGo extends Activity {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private ProgressDialog myDialog = null;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void onCreate(Bundle savedInstanceState) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;super.onCreate(savedInstanceState);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 如啟用這段, 則在 onResume 那段要註記掉 ----------------------- start ---------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 程式開始後, 先播完開場動畫檔, 再啟動主程式&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;setContentView(R.layout.active_boot);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;Context context = ActiveBootGoGo.this;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;Uri uri = Uri.parse (&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&quot;android.resource://&quot;+context.getPackageName()+&quot;/&quot;+R.raw.e68club&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;VideoView video = (VideoView) findViewById(R.id.e68clubVideoView);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;video.setVideoURI(uri);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;video.requestFocus();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 開始撥放影片&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;video.start();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 影片撥完後會執行的 OnCompletionListener&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;video.setOnCompletionListener(new MediaPlayer.OnCompletionListener() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void onCompletion(MediaPlayer arg0) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;startMainActivity();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;});&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 如啟用這段, 則在 onResume 那段要註記掉 ----------------------- end -----------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;protected void onResume() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;super.onResume();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 如啟用這段, 則上面那段要註記掉 ----------------------- start ---------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 程式開始後, 直接啟動主程式&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;/*&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;startMainActivity();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;*/&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 如啟用這段, 則上面那段要註記掉 ----------------------- end -----------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;private void startMainActivity() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 記得要改為您要執行的主程式類別&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;final Intent intent = new Intent(this, &lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;HelpMeSOSnR.class&lt;/span&gt;&lt;/b&gt;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myDialog = ProgressDialog.show(&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;ActiveBootGoGo.this,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;getString(R.string.program_load),&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;getString(R.string.program_loading), true);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;new Thread() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;public void run() {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;try {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 轉執行主要程式, 並結束本程式&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;startActivity(intent);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 卸載所建立的 myDialog 物件&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myDialog.dismiss();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 結束這個 Activity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;finish();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;} catch (Exception e) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;e.printStackTrace();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 卸載所建立的 myDialog 物件&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myDialog.dismiss();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;// 結束這個 Activity&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;finish();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}.start(); // 啟動 Thread&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;後記:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
近日在 Android Developers Blog 中有篇文章說將 Market Licensing 程式庫的&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;com.android.vending.licensing.LicenseValidator.java&lt;/span&gt; 內之程式段&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;public void verify(PublicKey &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;publicKey, int responseCode, String signedData, String signature) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&amp;nbsp;&amp;nbsp; //......&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&amp;nbsp;以 CRC 函數改寫後會讓破解者較難搞定, 經測試是可用的, 但就不知效果如何了 @_@ ~~&lt;br /&gt;
以下是漁郎改寫後的程式碼 :&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;public void verify(PublicKey publicKey, int responseCode, String signedData, String signature) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;String userId = null;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Skip signature check for unsuccessful requests&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ResponseData data = null;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (responseCode == LICENSED || responseCode == NOT_LICENSED ||&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;responseCode == LICENSED_OLD_KEY) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Verify signature.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Signature sig = Signature.getInstance(SIGNATURE_ALGORITHM);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sig.initVerify(publicKey);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sig.update(signedData.getBytes());&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!sig.verify(Base64.decode(signature))) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;Signature verification failed.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (NoSuchAlgorithmException e) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// This can&#39;t happen on an Android compatible device.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new RuntimeException(e);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (InvalidKeyException e) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleApplicationError(ApplicationErrorCode.INVALID_PUBLIC_KEY);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (SignatureException e) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;throw new RuntimeException(e);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (Base64DecoderException e) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;Could not Base64-decode signature.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Parse and validate response.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data = ResponseData.parse(signedData);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} catch (IllegalArgumentException e) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;Could not parse response.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (data.responseCode != responseCode) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;Response codes don&#39;t match.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (data.nonce != mNonce) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;Nonce doesn&#39;t match.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!data.packageName.equals(mPackageName)) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;Package name doesn&#39;t match.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!data.versionCode.equals(mVersionCode)) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;Version codes don&#39;t match.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// Application-specific user identifier.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;userId = data.userId;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (TextUtils.isEmpty(userId)) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;User identifier is empty.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;// 以下這段易被駭客破解, 因 0x0 表 LICENSED, 0x1 表 NOT_LICENSED ,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// 因此, 依照 Android Developers Blog 上的網友建議的改法, 改寫成以下程式碼&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;java.util.zip.CRC32 crc32 = new java.util.zip.CRC32();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crc32.update(responseCode);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;long transformedResponseCode = crc32.getValue();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (transformedResponseCode == 3523407757l) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// ... put unrelated application code here ...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// crc32(LICENSED) == 3523407757&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;CORI APP LICENSED!&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LicenseResponse limiterResponse = mDeviceLimiter.isDeviceAllowed(userId);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleResponse(limiterResponse, data);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (transformedResponseCode == 100745590l) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// ... put unrelated application code here ...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// crc32(LICENSED_OLD_KEY) == 1007455905&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;CORI APP OLD LICENSED!&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;LicenseResponse limiterResponse = mDeviceLimiter.isDeviceAllowed(userId);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;handleResponse(limiterResponse, data);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else if (transformedResponseCode == 2768625435l) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// ... put unrelated application code here ...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// crc32(NOT_LICENSED) == 2768625435&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Log.e(TAG, &quot;CORI APP NOT LICENSED!&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;handleResponse(LicenseResponse.NOT_LICENSED, data);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;switch (responseCode) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;case ERROR_CONTACTING_SERVER:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Log.w(TAG, &quot;Error contacting licensing server.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;handleResponse(LicenseResponse.RETRY, data);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;case ERROR_SERVER_FAILURE:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Log.w(TAG, &quot;An error has occurred on the licensing server.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;handleResponse(LicenseResponse.RETRY, data);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;case ERROR_OVER_QUOTA:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Log.w(TAG, &quot;Licensing server is refusing to talk to this device, over quota.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;handleResponse(LicenseResponse.RETRY, data);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;case ERROR_INVALID_PACKAGE_NAME:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;handleApplicationError(ApplicationErrorCode.INVALID_PACKAGE_NAME);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;case ERROR_NON_MATCHING_UID:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;handleApplicationError(ApplicationErrorCode.NON_MATCHING_UID);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;case ERROR_NOT_MARKET_MANAGED:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;handleApplicationError(ApplicationErrorCode.NOT_MARKET_MANAGED);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;break;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;default:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;Log.e(TAG, &quot;Unknown response code for license check.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;handleInvalidResponse();&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/4737503272862041635/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/09/license-verification-library-lvl.html#comment-form' title='21 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/4737503272862041635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/4737503272862041635'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/09/license-verification-library-lvl.html' title='【分享】- 來授權一下吧！實作引入 License Verification Library (LVL)'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj14tztvH3wQoR_5r47ARZRuZJjEkN8jWnOH7dtHuSu1pxDggTA3eusr0Mu_5YlZeq3rwWCU5iJMhvl4GbUUYCwYcaFaplNMOyC4__tra8CZ_OsgVOkL7KjAoKEUHeT1IFbo-MBHc2D12E/s72-c/01.JPG" height="72" width="72"/><thr:total>21</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-2044347190118817624</id><published>2010-08-13T16:58:00.002+08:00</published><updated>2010-08-13T17:10:16.772+08:00</updated><title type='text'>【感慨】- Android Market 對於開發者的不友善界面與互動機制</title><content type='html'>近日漁郎在 Android Market 上遇到了一些奇奇怪怪的狀況，對於 Android Market 的一些開發者界面與使用者互動機制上有些怨言，於是乎貼文上來透透氣，朋友們別打我喔 ~~ &amp;gt;_&amp;lt;\\\&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw6BIQ1a4duBbcxP-V00iJJ_W1gTatwFCSVFiAHxkTN5JAbj-BuSq5DfDHr1fyKCRf21YBmPM-FWVtDaS6wFBlbrNpYEk93KmF_jzKUj3g_1B6xZ8z2AK5Ebl3-xD9suz3RzcQQ3BB_as/s1600/Android+Market+20100813+1639.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;202&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw6BIQ1a4duBbcxP-V00iJJ_W1gTatwFCSVFiAHxkTN5JAbj-BuSq5DfDHr1fyKCRf21YBmPM-FWVtDaS6wFBlbrNpYEk93KmF_jzKUj3g_1B6xZ8z2AK5Ebl3-xD9suz3RzcQQ3BB_as/s400/Android+Market+20100813+1639.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
(1) 不論你的程式是好是壞，只要有使用者不爽，評價給 1 顆星或 2 顆星，就可能拉低程式的整體評價。這其中多的是使用者連評論都不寫的評價，讓開發者挨悶棍卻無法得知整體評價被拉低的原因，讓開發者心很涼。&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
(2) Android 手機不像 iPhone 有大致一樣的規格與核心作業程式，其核心作業系統在各個手機廠商的各自發展專屬特色下，常造成許多開發者開發的程式有相容性的問題, 以致於有些開發者的程式在 H 牌的 A 手機可以執行，在 M 牌的某 B 手機卻會造成 &#39;強制關閉&#39;，但使用者一般是不了解這些的，只要開發者的程式在其手機上發生 &#39;強制關閉&#39;，有體諒開發者的使用者或許會以電子郵件的方式通知開發者修正程式，但絕大部份的使用者都會直接給予 1 ~ 2 顆星的評價，更甚者根本連原因都沒在評論上說明，就直接給予 1 ~ 2 顆星的評價，拉低程式的整體評價。&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
(3) 如果是有心人要攻擊自認為是競爭對手的 APP，只要招朋引伴一堆，給予無評論的低評價，將會很快的拉低該程式的整體評價，反之亦然。&lt;br /&gt;
&lt;br /&gt;
(4) 開發者無從得知這些給予評價或評論的使用者是否還將該 APP 安裝在手機上，而且也無法主動的聯絡使用者是否已解決了其發問的問題。&lt;br /&gt;
&lt;br /&gt;
(5) 當使用者給予評論或評價時，開發者除了上 Android Market 檢視，不然無法得知發生了啥情況。Android Market 為何不能讓開發者選擇，當使用者給予評論或評價時自動發送電子郵件給開發者呢 ?&lt;br /&gt;
&lt;br /&gt;
綜合以上的幾點，Android Market 的評價制度實在是對開發者非常的不友善！&lt;br /&gt;
&lt;br /&gt;
其實，大部份的開發者都是友善且希望提供好的 APP 到 Android Market 上的，而且很願意與使用者互動，以逐步改善程式讓大家開心的使用，但目前 Android Market 對於讓開發者與使用者的互動界面與機制上，實在是令人非常困擾！不知道 Google 知不知道這些狀況喔 ~~&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/2044347190118817624/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/08/android-market.html#comment-form' title='23 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2044347190118817624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2044347190118817624'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/08/android-market.html' title='【感慨】- Android Market 對於開發者的不友善界面與互動機制'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw6BIQ1a4duBbcxP-V00iJJ_W1gTatwFCSVFiAHxkTN5JAbj-BuSq5DfDHr1fyKCRf21YBmPM-FWVtDaS6wFBlbrNpYEk93KmF_jzKUj3g_1B6xZ8z2AK5Ebl3-xD9suz3RzcQQ3BB_as/s72-c/Android+Market+20100813+1639.JPG" height="72" width="72"/><thr:total>23</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-2630632720054923625</id><published>2010-08-07T08:02:00.002+08:00</published><updated>2010-08-08T06:20:07.507+08:00</updated><title type='text'>【烏龍消息】- 台灣在 Android Market 上已可買到 Nexus One 了 ~ 耶 ... 原來是可以買 , 但沒法選擇寄到台灣 @@ ...</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;* 感謝網友的指正，原來在網頁上看到可點選購買 Nexus One 還不算，如給他 Check Out ... 就看到沒有可以 Shipping 到台灣的選項 ..... &amp;gt;_&amp;lt; \\\&amp;nbsp;，納耶安捏？抱歉喔 ~ 夥伴們 ~ 漁郎給了個烏龍消息 &amp;gt;_&amp;lt; \\\ &amp;nbsp;(奇怪，但以前怎沒法點選買 Nexus One，現在卻可以點咧？)&amp;nbsp;*&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
不知是不是漁郎後知後覺，今天登入 Android Market，點選 Development phones 下方的 Buy Now ，發覺台灣已可購買 Nexus One 了，出廠已是 Android 2.2，價格是 USD 529 ，這隻機子雖然是 HTC 代工的，但優點是背後老大是 Google ！版本更新速度較跟得上 &amp;nbsp;( 我的 Hero 何時可更新為 Android 2.2 ... @@ )，有需要的夥伴們快去買吧！&lt;br /&gt;
&lt;br /&gt;
PS. 漁郎想等有鍵盤的 Google 手機 (Google 賣的)，因為沒鍵盤玩模擬器實在太不方便了 @@ ...&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-gUn4NkpYjgxBeRLh6ld7pxQ_vJ7Bg_uHImgifBRuIMwwzfNMXq26Y5hbP3OLjtKGCRP_3GFMbytIUx4WBHpy4CfMH99wj9pFKtpi7xobUjMMR6Jt_QmRDNIHDcsdmeqrjcPznxO8KcU/s1600/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-gUn4NkpYjgxBeRLh6ld7pxQ_vJ7Bg_uHImgifBRuIMwwzfNMXq26Y5hbP3OLjtKGCRP_3GFMbytIUx4WBHpy4CfMH99wj9pFKtpi7xobUjMMR6Jt_QmRDNIHDcsdmeqrjcPznxO8KcU/s400/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-1.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhr-XcaFSIuz-_XHzZYRtQeLCnFoHXWYXRvy-CKSyGe00XHmfEPq6n7VQXVzVKUPIAWCt5b22P4OK2DNst4AdYEnaPfqsSbJ4jzHufxBP0lfbhGQtMJhbPcbmDB6d-0vr9zKB1NJii4Dw/s1600/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;356&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhr-XcaFSIuz-_XHzZYRtQeLCnFoHXWYXRvy-CKSyGe00XHmfEPq6n7VQXVzVKUPIAWCt5b22P4OK2DNst4AdYEnaPfqsSbJ4jzHufxBP0lfbhGQtMJhbPcbmDB6d-0vr9zKB1NJii4Dw/s400/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-2.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2HYnIle0X1USglQBI1XT07h1Mr5hb1nefA8-zehLXLez4zbDXgDZ85IufpHQ5cic-7CLwFGUNf1Bp_ZhWmNuXzhQPpN8HUz6wBbaZbAndvmpMinQgzLHO76gXAhu_KIijWilsVkz_iu8/s1600/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-3.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2HYnIle0X1USglQBI1XT07h1Mr5hb1nefA8-zehLXLez4zbDXgDZ85IufpHQ5cic-7CLwFGUNf1Bp_ZhWmNuXzhQPpN8HUz6wBbaZbAndvmpMinQgzLHO76gXAhu_KIijWilsVkz_iu8/s400/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-3.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;發現沒有可選擇出貨到台灣的選項 @@ .....&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCi5RGQw-ZtzPVOM8lqHZZM035a-uCAl2YGrOYrwUksxlSvl54D3Xd3doaj2puJst2oedaPZ8a165JYgOMuX2D9Fxd0Ay2UnEb3Gpw8HfvyjJBg2Ra5yJYzID4zR0cdeRXvrDEq-_CD0o/s1600/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-4.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCi5RGQw-ZtzPVOM8lqHZZM035a-uCAl2YGrOYrwUksxlSvl54D3Xd3doaj2puJst2oedaPZ8a165JYgOMuX2D9Fxd0Ay2UnEb3Gpw8HfvyjJBg2Ra5yJYzID4zR0cdeRXvrDEq-_CD0o/s400/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-4.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/2630632720054923625/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/08/android-market-nexus-one.html#comment-form' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2630632720054923625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2630632720054923625'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/08/android-market-nexus-one.html' title='【烏龍消息】- 台灣在 Android Market 上已可買到 Nexus One 了 ~ 耶 ... 原來是可以買 , 但沒法選擇寄到台灣 @@ ...'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-gUn4NkpYjgxBeRLh6ld7pxQ_vJ7Bg_uHImgifBRuIMwwzfNMXq26Y5hbP3OLjtKGCRP_3GFMbytIUx4WBHpy4CfMH99wj9pFKtpi7xobUjMMR6Jt_QmRDNIHDcsdmeqrjcPznxO8KcU/s72-c/%E5%8F%B0%E7%81%A3%E5%B7%B2%E5%8F%AF%E4%BB%A5%E8%B3%BC%E8%B2%B7+Nexus+One+-1.JPG" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-277239304377189058</id><published>2010-07-31T20:59:00.002+08:00</published><updated>2010-08-08T06:22:15.529+08:00</updated><title type='text'>【分享】- 旋轉吧！地圖 (讓 Google Maps 隨電子羅盤轉向前方)</title><content type='html'>如您想讓 Android 程式中的 MapView 隨著手機的電子羅盤 (Compass) 自動旋轉，並依照您看手機螢幕的方向轉向前方，以下介紹的程式範例或許可供您參考。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizHYNoVz4tHEj6d-1XVZXRjunrnoUjN6F-0yBmFcp3PTs2qyG9Gl7vA4-ncDjgFtLcAap-_w6wAabBborWvIrDfHk6tcvaMwucEBVDkbftVb_P36nolO-mbKrpgTdqWzfljajLJyOxhx4/s1600/MapViewCompassDemo.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizHYNoVz4tHEj6d-1XVZXRjunrnoUjN6F-0yBmFcp3PTs2qyG9Gl7vA4-ncDjgFtLcAap-_w6wAabBborWvIrDfHk6tcvaMwucEBVDkbftVb_P36nolO-mbKrpgTdqWzfljajLJyOxhx4/s400/MapViewCompassDemo.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
此範例程式名稱是 MapViewCompassDemo，記得好像是 Google Android SDK API Demo 中的程式 ，但漁郎用了許多關鍵字去謨拜了好久 Google 大神，才在幾個網友發表的英文文章中找到需要的範例程式。有鑑於此，漁郎於是貼文於此，希望對需要的朋友們有些幫助。&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
(1) 該範例程式請到此&lt;a href=&quot;http://code.google.com/p/mapsadroidproject/source/browse/trunk/MapsDemo/src/com/example/android/apis/view/MapViewCompassDemo.java?spec=svn3&amp;amp;r=3&quot;&gt;下載&lt;/a&gt;，進入後，以滑鼠右鍵 (WINDOWS) 點選右側靠下方的 &lt;a href=&quot;http://mapsadroidproject.googlecode.com/svn-history/r3/trunk/MapsDemo/src/com/example/android/apis/view/MapViewCompassDemo.java&quot;&gt;View raw file&lt;/a&gt; ，並選另存連結或另存新檔，就可存成 MapViewCompassDemo.java 檔案，漁郎已將該範例檔的內容拆一拆，建成一個完整的 Android 範例專案檔，如您需要該範例專案檔，可以 e-mail 給漁郎 (因不知該放在哪兒好 @@)，當您收到該範例專案並解壓縮後 Import 到您的 Eclipse 開發工具中，應就可以執行了。&lt;br /&gt;
&lt;br /&gt;
(2) 另外，您可將該範例專案中的&amp;nbsp;RotateView.java 與&amp;nbsp;SmoothCanvas.java 裡面的類別引入主程式中，稍變化一下應就可產生出一個可將 MapView 內的地圖旋轉的 Android 程式了。&lt;br /&gt;
&lt;br /&gt;
(3) 記得將 MapViewCompassDemo.java 內的 Google Maps API KEY 改成您申請的喔。&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;這段 .....&amp;nbsp;mMapView = new MapView(this, &quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;YOUR MAPS API KEY&lt;/span&gt;&quot;);&lt;br /&gt;
&lt;br /&gt;
參考資料網址：&lt;br /&gt;
&lt;a href=&quot;http://code.google.com/p/mapsadroidproject/source/browse/trunk/MapsDemo/src/com/example/android/apis/view/MapViewCompassDemo.java?spec=svn3&amp;amp;r=3&quot;&gt;http://code.google.com/p/mapsadroidproject/source/browse/trunk/MapsDemo/src/com/example/android/apis/view/MapViewCompassDemo.java?spec=svn3&amp;amp;r=3&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.openintents.org/javadoc/samples/ApiDemosSensors/org/openintents/samples/apidemossensors/view/MapViewCompassDemo.html&quot;&gt;http://www.openintents.org/javadoc/samples/ApiDemosSensors/org/openintents/samples/apidemossensors/view/MapViewCompassDemo.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.koders.com/java/fidBC179BF80582A4E581A1A88C32BBEB1485D45C06.aspx?s=AnimateMotion&quot;&gt;http://www.koders.com/java/fidBC179BF80582A4E581A1A88C32BBEB1485D45C06.aspx?s=AnimateMotion&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/277239304377189058/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/07/google-maps.html#comment-form' title='174 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/277239304377189058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/277239304377189058'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/07/google-maps.html' title='【分享】- 旋轉吧！地圖 (讓 Google Maps 隨電子羅盤轉向前方)'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizHYNoVz4tHEj6d-1XVZXRjunrnoUjN6F-0yBmFcp3PTs2qyG9Gl7vA4-ncDjgFtLcAap-_w6wAabBborWvIrDfHk6tcvaMwucEBVDkbftVb_P36nolO-mbKrpgTdqWzfljajLJyOxhx4/s72-c/MapViewCompassDemo.JPG" height="72" width="72"/><thr:total>174</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-2100490459309625515</id><published>2010-06-24T08:51:00.001+08:00</published><updated>2010-06-24T09:04:12.499+08:00</updated><title type='text'>【消息】- 來自 AdMob 有關併入 Google 的新約定</title><content type='html'>今早登入 AdMob，畫面跳出了個要你同意的新約 (落落長一篇)，而且是限定要在 2010/07/07 前同意，新約內容大略是說因為 AdMob 已被 Google 併購，因此將要在 2010-07-07 之後將您的 AdMob 帳戶、服務、資料移交給 Google ‧‧‧，雖然不知有 AdMob 帳戶，又有 AdSense 帳戶的後續 Google 會怎麼處理，但看起來 AdSense for Mobile Apps 開放應該快了 ~~ (希望啦 &amp;gt;_&amp;lt;) ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-vJtJaqi30149ch7vnOYY7WpxXiQ3gDlJD2ZbjbjoWCKB-rZ2u90LtJ0WfrhFc0KbE7IZD6UQRCul87BiDyB_-4rtXUOAEbqAHVoGOSLSEji1BfA4aIYo7cHGyuEHfXYDNjwQcmOREfE/s1600/Admob-new.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;341&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-vJtJaqi30149ch7vnOYY7WpxXiQ3gDlJD2ZbjbjoWCKB-rZ2u90LtJ0WfrhFc0KbE7IZD6UQRCul87BiDyB_-4rtXUOAEbqAHVoGOSLSEji1BfA4aIYo7cHGyuEHfXYDNjwQcmOREfE/s400/Admob-new.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;PS. 如我英文沒看錯，裡邊有這麼一段訊息：&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 22px;&quot;&gt;&lt;span title=&quot;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;如果您選擇取消，我們將刪除您的帳戶&lt;/span&gt;，所有帳戶的細節，除了那些需要考慮和解的目的。&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: arial, sans-serif; line-height: 22px;&quot;&gt;&lt;span title=&quot;&quot;&gt;&lt;b&gt;我們將與您的協議終止後，帳戶刪除。&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;哇哩咧 ~~ 就是你一定要接受轉移啦 &amp;gt;_&amp;lt; \\\&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/2100490459309625515/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/06/admob-google.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2100490459309625515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2100490459309625515'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/06/admob-google.html' title='【消息】- 來自 AdMob 有關併入 Google 的新約定'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-vJtJaqi30149ch7vnOYY7WpxXiQ3gDlJD2ZbjbjoWCKB-rZ2u90LtJ0WfrhFc0KbE7IZD6UQRCul87BiDyB_-4rtXUOAEbqAHVoGOSLSEji1BfA4aIYo7cHGyuEHfXYDNjwQcmOREfE/s72-c/Admob-new.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-2294142346330802551</id><published>2010-06-21T11:52:00.003+08:00</published><updated>2010-06-21T12:44:21.964+08:00</updated><title type='text'>【哇咧】- 領教了天下圖文一大抄的厲害</title><content type='html'>不僅天下圖文一大抄，還強壓浮水印變成他家的圖咧！&lt;br /&gt;
&lt;br /&gt;
漁郎在 2010/06/04 的 10:00 左右詳實記下了 &lt;a href=&quot;http://www.e68club.com/2010/06/htc-hero-android-21.html&quot;&gt;HTC Hero 更新為 Android 2.1 的過程&lt;/a&gt;，想說太高興了，快點分享給夥伴們知道，沒想到沒將圖蓋浮水印的結果是‧‧‧‧有幾個好網友咧，就在未經漁郎同意之下，將圖不僅抓了去放在他家的網站上，還強壓了該網站的浮水印，然後咧，算有良心的丟上一句圖是轉載自 &lt;a href=&quot;http://www.e68club.com/&quot;&gt;e68Club 漁郎工坊&lt;/a&gt;，就算交待了事了？！&lt;br /&gt;
&lt;br /&gt;
沒辦法囉，誰叫漁郎想說文章的底端有寫&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;本站&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/post-edit.g?blogID=924613899133572028&amp;amp;postID=2294142346330802551&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;a href=&quot;http://www.e68club.com/&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;e68Club 漁郎工坊&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;a href=&quot;http://www.e68club.com/&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;- 數位生活札記&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;所有原創內容之版權屬&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/profile/13673618888707394032&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;東港漁郎&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;所有，請尊重智財權，未經同意勿抄襲或轉載。&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;應該就不會有事了咧 @_@。但是，拜託嗎幫幫忙，我都沒蓋浮水印了，你們卻強壓自個兒站的浮水印，搞的好像變成漁郎盜用你們的圖似的‧‧‧‧‧‧&amp;nbsp;真是啞巴吃黃蓮‧‧‧‧‧‧‧ @_@&lt;br /&gt;
&lt;br /&gt;
以下是未經漁郎同意就將圖抓去用的網頁：&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.sogi.com.tw/newforum/article_list.aspx?Topic_id=6125899&quot;&gt;sogi.com 手機王&lt;/a&gt;&amp;nbsp;(圖有強壓浮水印)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.android-hk.com/news/tw-htc-hero-android-2-1-update/&quot;&gt;android-hk.com&lt;/a&gt;&amp;nbsp;(圖有強壓浮水印)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.hksilicon.com/kb/articles/5048/1/HTC-HeroAndroid-21/Page1.html&quot;&gt;hksilicon.com&lt;/a&gt;&amp;nbsp;(圖沒強壓浮水印, 但漁郎網誌上的圖全抓了 @@)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.techorz.com/smartphones/htc-hero-android-2-1-2/&quot;&gt;htchorz.com&lt;/a&gt;&amp;nbsp;&amp;nbsp;(圖沒強壓浮水印, 但漁郎網誌上的圖全抓了 @@)&lt;br /&gt;
&lt;br /&gt;
真是無言 ~~ 誰叫人家是大網站，咱們的流量還可沾沾光咧 @@ .... 還是那句老話：哈哈 ~ 大家開心就好 ^__^ \\\&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/2294142346330802551/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/06/blog-post.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2294142346330802551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2294142346330802551'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/06/blog-post.html' title='【哇咧】- 領教了天下圖文一大抄的厲害'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-197316248567550466</id><published>2010-06-19T10:53:00.000+08:00</published><updated>2010-06-19T10:53:46.402+08:00</updated><title type='text'>【分享】- 終於收到 Google AdSense PIN 的郵件</title><content type='html'>算一算日子，從 AdSense 上看到說 2010/05/28 已寄出 PIN 郵件，到收到信 (2010/06/17)，大約是經過了 20 天，其中包含了 7 個星期例假日 (含端午節)，距 AdSense 上推估的信件抵達時間 (2010/06/20) 早了 3 天 ( 還真是令人提心吊膽 @@ )，漁郎在此註記一下日期，也給大夥兒參考參考 ^__^ \\\ 。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibfTEcP9AiJ2RifabFpj7Sv-bGQUq8ytLgxCiCNw_u0BTAx-_A50gMC3scUbiKOOdVEsSnkojPV3fXXfBXgBE4jU1WRdTfpmyBEr1Tvq2tIsl2axgqbfPZHd6Nt9p2du2lETAK2KNRkxw/s1600/DSCF0368.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibfTEcP9AiJ2RifabFpj7Sv-bGQUq8ytLgxCiCNw_u0BTAx-_A50gMC3scUbiKOOdVEsSnkojPV3fXXfBXgBE4jU1WRdTfpmyBEr1Tvq2tIsl2axgqbfPZHd6Nt9p2du2lETAK2KNRkxw/s400/DSCF0368.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/197316248567550466/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/06/google-adsense-pin.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/197316248567550466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/197316248567550466'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/06/google-adsense-pin.html' title='【分享】- 終於收到 Google AdSense PIN 的郵件'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibfTEcP9AiJ2RifabFpj7Sv-bGQUq8ytLgxCiCNw_u0BTAx-_A50gMC3scUbiKOOdVEsSnkojPV3fXXfBXgBE4jU1WRdTfpmyBEr1Tvq2tIsl2axgqbfPZHd6Nt9p2du2lETAK2KNRkxw/s72-c/DSCF0368.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-1059982128573471312</id><published>2010-06-18T10:06:00.004+08:00</published><updated>2010-06-19T22:24:36.058+08:00</updated><title type='text'>【分享】- 如何在網頁中安裝新版的 Google Analytics 追蹤程式碼？</title><content type='html'>新舊版 Analytics 的差異，除了追蹤碼本身不一樣外，另一不同點在於追蹤碼置放的位置：&lt;br /&gt;
&lt;br /&gt;
在&lt;a href=&quot;http://www.e68club.com/2010/03/google-analytics-google-blogger.html&quot;&gt;舊版的設定方式&lt;/a&gt;中，Google 建議將追蹤程式碼放在位於網頁最尾端 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #38761d;&quot;&gt;&lt;b&gt;&amp;lt;BODY&amp;gt;&amp;lt;/BODY&amp;gt;&lt;/b&gt;&lt;/span&gt; 標記區段內的底端 (詳情可參閱 Google Analytics 官網說明&amp;nbsp;&lt;a href=&quot;http://www.google.com/support/analytics/bin/answer.py?hl=b5&amp;amp;answer=66983&quot;&gt;http://www.google.com/support/analytics/bin/answer.py?hl=b5&amp;amp;answer=66983&lt;/a&gt;&amp;nbsp;)，而&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;新版&lt;/span&gt;的追蹤程式碼 (非同步追蹤程式碼)，Google 則建議放入位於網頁最頂端的 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;b&gt;&amp;lt;HEAD&amp;gt;&amp;lt;/HEAD&amp;gt;&lt;/b&gt;&lt;/span&gt;&amp;nbsp;標記區段內的底端 (詳情可參閱 Google Analytics 官網說明&amp;nbsp;&lt;a href=&quot;http://www.google.com/support/analytics/bin/answer.py?answer=174090&quot;&gt;http://www.google.com/support/analytics/bin/answer.py?answer=174090&lt;/a&gt;&amp;nbsp;) 。&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
舊版追蹤程式碼範例：&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;document.write(unescape(&quot;%3Cscript src=&#39;&quot; + gaJsHost + &quot;google-analytics.com/ga.js&#39; type=&#39;text/javascript&#39;%3E%3C/script%3E&quot;));&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;try{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;var pageTracker = _gat._getTracker(&quot;UA-xxxxxx-x&quot;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;pageTracker._trackPageview();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;} catch(err) {}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
新版追蹤程式碼範例：&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: &#39;Courier New&#39;, Courier, mono; white-space: normal;&quot;&gt;&amp;lt;&lt;/span&gt;script type=&quot;text/javascript&quot;&amp;gt;
&amp;nbsp; var _gaq = _gaq || [];
&amp;nbsp; _gaq.push([&#39;_setAccount&#39;, &#39;UA-XXXXX-X&#39;]);
&amp;nbsp; _gaq.push([&#39;_trackPageview&#39;]);
&amp;nbsp; (function() {
&amp;nbsp; &amp;nbsp; var ga = document.createElement(&#39;script&#39;); ga.type = &#39;text/javascript&#39;; ga.async = true;
&amp;nbsp; &amp;nbsp; ga.src = (&#39;https:&#39; == document.location.protocol ? &#39;https://ssl&#39; : &#39;http://www&#39;) + &#39;.google-analytics.com/ga.js&#39;;
&amp;nbsp; &amp;nbsp; var s = document.getElementsByTagName(&#39;script&#39;)[0]; s.parentNode.insertBefore(ga, s);
&amp;nbsp; })();
&amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/1059982128573471312/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/06/google-analytics.html#comment-form' title='0 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/1059982128573471312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/1059982128573471312'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/06/google-analytics.html' title='【分享】- 如何在網頁中安裝新版的 Google Analytics 追蹤程式碼？'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-2016255300533259000</id><published>2010-06-06T16:21:00.008+08:00</published><updated>2011-04-30T17:55:02.334+08:00</updated><title type='text'>【分享】- 如何在 Android 程式中置入 AdMob 廣告？</title><content type='html'>試試 AdMob for Mobile 吧 ！^__^&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;夥伴們請參考此篇文章，在申請好 AdMob 帳號後，就直接&lt;a href=&quot;http://www.e68club.com/2011/04/android-sdk-eclipse-google-admob-ads.html&quot;&gt;參考這裡的文章&lt;/a&gt;吧！Google Admob 的程式寫法又大翻修了！ @@&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1. 先到 &lt;a href=&quot;http://zhtw.admob.com/&quot;&gt;AdMob 網站&lt;/a&gt;申請一個廣告發佈商帳號。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghViJT3El2YWTm5ursFRCb9aTkDtpoSeoQ8kthr4TdqU7vs6Ua6DZkxl1KkQB_ZiSPpctN8aj3usnlNVbuN7XF67rdLArcO_fXB8UuIj__Lj35u6KZTL-Qt9mzrzQH9f_IyWGA-1fGaH8/s400/1.+admob+site.JPG&quot; width=&quot;400&quot; /&gt;&lt;a href=&quot;http://zhtw.admob.com/&quot;&gt;http://zhtw.admob.com/&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
2. 依指示步驟申請完成後，登入 AdMob，並點選右上角你剛登入的帳號連結(電子郵件地址)或&amp;nbsp;&lt;a href=&quot;http://zhtw.admob.com/my_sites/&quot;&gt;http://zhtw.admob.com/my_sites/&lt;/a&gt;。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTSV4dvablGfzvchIngHfMSe01GJj-luV5GKKEysFagjphyQ4zFvkWQ86lOit24XuKNArX6Rxt6htvM3WBMdCgMNsU8wJTRRHDamby58uE53RHEztJR7QD-QOe_1jpzS0gJNgDwH8hWN4/s1600/2.+logon.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;235&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTSV4dvablGfzvchIngHfMSe01GJj-luV5GKKEysFagjphyQ4zFvkWQ86lOit24XuKNArX6Rxt6htvM3WBMdCgMNsU8wJTRRHDamby58uE53RHEztJR7QD-QOe_1jpzS0gJNgDwH8hWN4/s400/2.+logon.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. 點選選單中的『網站與應用程式』下的『新增網站/應用程式』。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvgl9VXed2yZFPaIhCXP04qBq3K5QRiFMWpmNd1cayZ-WKEjjmGL6QDUp5tJzZjXVCK8tjvOLq8Z1JL7R34fSX49U83v7hTsaowD2n4eN2faRWLajIti21I4DXKnIMxhOyeeNW2yVwt3c/s1600/3.+newapp.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvgl9VXed2yZFPaIhCXP04qBq3K5QRiFMWpmNd1cayZ-WKEjjmGL6QDUp5tJzZjXVCK8tjvOLq8Z1JL7R34fSX49U83v7hTsaowD2n4eN2faRWLajIti21I4DXKnIMxhOyeeNW2yVwt3c/s400/3.+newapp.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
4. 選擇『Android 應用程式』&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7t6V0QI5WVQ4zCq0BxCO8AfAl5oNTCADnpf50BNd2iyhXwE2JT8oVdyy1OCC22V1k2QjEMnU7l9gA_ciQFeDND9wngs910tsdv-V4iS8-1KPfrlUsf7Wej0jiLyESJ0if49xkG_6E8wY/s1600/4.+new_android.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;301&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7t6V0QI5WVQ4zCq0BxCO8AfAl5oNTCADnpf50BNd2iyhXwE2JT8oVdyy1OCC22V1k2QjEMnU7l9gA_ciQFeDND9wngs910tsdv-V4iS8-1KPfrlUsf7Wej0jiLyESJ0if49xkG_6E8wY/s400/4.+new_android.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
5. 填入你的應用程式資料，建立新的應用程式 ID：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl0bttmCSh9-gauz9XEnzq1touDJuJjNi8uWheQWkakqCwjdaWKP3_Urk-Okh5AQm4bncDFTK71po0lGcxQW4j_DwK1_4y0Lz8c2VHrLrles_RlmmTiQzb0a1-BGBiTnzSwqd3k7ttswE/s1600/4.+addapp.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl0bttmCSh9-gauz9XEnzq1touDJuJjNi8uWheQWkakqCwjdaWKP3_Urk-Okh5AQm4bncDFTK71po0lGcxQW4j_DwK1_4y0Lz8c2VHrLrles_RlmmTiQzb0a1-BGBiTnzSwqd3k7ttswE/s400/4.+addapp.JPG&quot; width=&quot;293&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
6.&amp;nbsp;取得程式碼與 SDK：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9-Bw8YWkV57WNKctnVPU2HH0buxE199tpVTdcjivXWxJOflRB4UIyrQTwtBNJbn4D8z244DhCjdnpXdqOpUQApUimNxT540p_RkvI6n5bGCx60G2PPe7hl7lea71w6EUgQlNHuIrZY84/s1600/6.+get+sdk.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;217&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9-Bw8YWkV57WNKctnVPU2HH0buxE199tpVTdcjivXWxJOflRB4UIyrQTwtBNJbn4D8z244DhCjdnpXdqOpUQApUimNxT540p_RkvI6n5bGCx60G2PPe7hl7lea71w6EUgQlNHuIrZY84/s400/6.+get+sdk.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
7. 檢視廣告發佈狀態：&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH_-Ei3DkhfB-n7CgdFWyio1_gN3v-ZIU3WPr0giWxzEI5YkxIQpnwsR2p3zzvT3Lae-Ne8fu7sCKLdTJuEAJX1mXZGAo2nTsJUNSO0u7YyocOWfiZ35Hj5AMnlV_qKR_VPh5TojqVGBg/s1600/7.+admob+status.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH_-Ei3DkhfB-n7CgdFWyio1_gN3v-ZIU3WPr0giWxzEI5YkxIQpnwsR2p3zzvT3Lae-Ne8fu7sCKLdTJuEAJX1mXZGAo2nTsJUNSO0u7YyocOWfiZ35Hj5AMnlV_qKR_VPh5TojqVGBg/s400/7.+admob+status.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
8. Android 程式中置入 Admob for mobile (android) 程式：&lt;br /&gt;
&lt;br /&gt;
(1) 解壓縮 Admob SDK 檔後複製解壓縮目錄內的 admob-sdk-android.jar 到專案的 libs 目錄中, 如沒 libs 目錄請自行新增)&lt;br /&gt;
&lt;br /&gt;
(2) 將&amp;nbsp;admob-sdk-android.jar 加到專案的編譯的設定中 (Project--&amp;gt;Properties--&amp;gt;Java Build Patch--&amp;gt;Libraries--&amp;gt;Add JARs...--&amp;gt;選擇在專案目錄中 libs 目錄下的&amp;nbsp;admob-sdk-android.jar&lt;br /&gt;
&lt;br /&gt;
(3) 在 res/values 中新增一個 attrs.xml 檔案，並填入以下內容：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;resources&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;declare-styleable name=&quot;com.admob.android.ads.AdView&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;attr name=&quot;backgroundColor&quot; format=&quot;color&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;attr name=&quot;primaryTextColor&quot; format=&quot;color&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;attr name=&quot;secondaryTextColor&quot; format=&quot;color&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;attr name=&quot;keywords&quot; format=&quot;string&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;attr name=&quot;refreshInterval&quot; format=&quot;integer&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;/declare-styleable&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;/resources&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(4) 在 res/layout/main.xml 中加入以下內容 (&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;注意紅色部份要改成你自己的 App 名稱&lt;/span&gt;)：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;lt;LinearLayout&amp;nbsp;xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;xmlns:myapp=&quot;http://schemas.android.com/apk/res/&lt;/span&gt;&lt;b&gt;com.test.android.YourAppName&lt;/b&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;android:orientation=&quot;vertical&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;android:layout_width=&quot;fill_parent&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;android:layout_height=&quot;fill_parent&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;android:layout_gravity=&quot;center&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;!-- 320x50 px AdMob --&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;com.admob.android.ads.AdView&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;android:id=&quot;@+id/ad&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;android:layout_width=&quot;wrap_content&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;android:layout_height=&quot;wrap_content&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myapp:backgroundColor=&quot;#000000&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myapp:primaryTextColor=&quot;#FFFFFF&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;myapp:secondaryTextColor=&quot;#CCCCCC&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&amp;lt;/LinearLayout&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
(5) 在 AndroidManifest.xml 中放入以下內容 &amp;nbsp;(紅色部份記得改成你的 Admob App ID)：&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;................... &amp;nbsp;略 ...................................&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;lt;activity android:name=&quot;.TaiwanGirlPictureCopyRun&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;nbsp;&amp;nbsp;android:label=&quot;@string/str_auto_run&quot;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;nbsp;&amp;nbsp;android:screenOrientation=&quot;sensor&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;lt;/activity&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;!-- The application&#39;s publisher ID assigned by AdMob --&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;meta-data android:value=&quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;a1234567890abc&lt;/span&gt;&quot; android:name=&quot;ADMOB_PUBLISHER_ID&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;lt;/application&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&amp;lt;uses-sdk android:minSdkVersion=&quot;3&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;uses-permission android:name=&quot;android.permission.INTERNET&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;uses-permission android:name=&quot;android.permission.ACCESS_COARSE_LOCATION&quot; /&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;lt;uses-permission android:name=&quot;android.permission.ACCESS_FINE_LOCATION&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&amp;lt;/manifest&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
(6) &amp;nbsp;重新編譯 android 程式&#39;上載 Android Market 即可，但廣告會好久之後才放送 @@ ...&lt;br /&gt;
&lt;br /&gt;
(7) 如要在還沒放上 Android Market 上之前做測試，看廣告效果，可在主程式中加入以程式段：&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;@Override&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;public void onCreate(Bundle savedInstanceState) {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;super.onCreate(savedInstanceState);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;setContentView(R.layout.main);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;TextView010 = (TextView) this.findViewById(R.id.TextView010);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;TextView010.setText(&quot;AdMob Mobile 連網測試&quot;);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;AdManager.setTestDevices( new String[] {&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;AdManager.TEST_EMULATOR, // Android emulator&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Your_EMEI_number&lt;/span&gt;&quot;, // My HTC Hero Test Phone (IMEI number)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;} );&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #cccccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(8) 報告完畢</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/2016255300533259000/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/06/android-admob.html#comment-form' title='12 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2016255300533259000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/2016255300533259000'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/06/android-admob.html' title='【分享】- 如何在 Android 程式中置入 AdMob 廣告？'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghViJT3El2YWTm5ursFRCb9aTkDtpoSeoQ8kthr4TdqU7vs6Ua6DZkxl1KkQB_ZiSPpctN8aj3usnlNVbuN7XF67rdLArcO_fXB8UuIj__Lj35u6KZTL-Qt9mzrzQH9f_IyWGA-1fGaH8/s72-c/1.+admob+site.JPG" height="72" width="72"/><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-924613899133572028.post-848007522687732090</id><published>2010-06-06T13:31:00.005+08:00</published><updated>2010-06-09T11:01:43.278+08:00</updated><title type='text'>【疑惑】- Google AdSense 說明論壇的警告訊息</title><content type='html'>&lt;b&gt;今日在&amp;nbsp;Google AdSense 說明論壇中，看到一則由 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;Google&lt;/span&gt; 在 &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;2010/06/04&lt;/span&gt; 發出的&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;b&gt;的警告訊息&lt;/b&gt;&lt;/span&gt;：&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;a href=&quot;http://www.google.com/support/forum/p/adsense/thread?tid=292caae85831bdef&amp;amp;hl=zh-TW&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;AdSense for Mobile廣告不允許放置在Mobile APPS中&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;，由於不知是何意，只是覺得背脊涼涼的 @@ ~~ ，於是漁郎就先將 Android App 中的廣告都先撤了下來，改用 AdMob for mobile&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;，不知 Google 的說法是否跟漁郎在『&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; line-height: 18px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.e68club.com/2010/03/eclipse-google-app-engine-android.html&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;如何將 Google AdSense Mobile (行動廣告) 崁入 Android 程式中&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;』的作法是一樣的？如是的話，請夥伴們先撤了廣告喔！&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;(原來阿，Google 員工指的案例在這兒 &lt;a href=&quot;http://www.google.com/support/forum/p/adsense/thread?tid=45e195135813e77f&amp;amp;hl=zh-TW&quot;&gt;http://www.google.com/support/forum/p/adsense/thread?tid=45e195135813e77f&amp;amp;hl=zh-TW&lt;/a&gt; (同一天發佈的))&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;Google 也真是的，AdMob 都早就有 for Mobile Apps 的廣告版了&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;，他們怎還只限制在美加才能用 AdSense for Mobile Apps 呢？或限制要有大量下載的 Apps 才能使用？也不開放 Android Market 在台灣的付費下載？一直在潑開發者的冷水，不是要跟 iPhone 拼嗎？&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;如要撤下廣告只要將&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;『&lt;/b&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Verdana, Arial, sans-serif; line-height: 18px;&quot;&gt;&lt;a href=&quot;http://www.e68club.com/2010/03/google-adsense-mobile-android.html&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;如何將 Google AdSense Mobile (行動廣告) 崁入 Android 程式中&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: arial, &#39;san serif&#39;;&quot;&gt;&lt;b&gt;』一文中，上載 App Engine 的 index.html 中那段廣告程式碼刪除，再重新上載到 AppEngine 就行了。真是晴天霹靂。&lt;/b&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.e68club.com/feeds/848007522687732090/comments/default' title='張貼留言'/><link rel='replies' type='text/html' href='http://www.e68club.com/2010/06/google-adsense.html#comment-form' title='2 個意見'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/848007522687732090'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/924613899133572028/posts/default/848007522687732090'/><link rel='alternate' type='text/html' href='http://www.e68club.com/2010/06/google-adsense.html' title='【疑惑】- Google AdSense 說明論壇的警告訊息'/><author><name>東港漁郎</name><uri>http://www.blogger.com/profile/13673618888707394032</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0vJfgr1CylOGSEG96F6R-yC3L6JkhEOhmCJeLVhTpVxJPxEo9VB0aec1qzDDmnJD4xonegZWUdIgDRvJA9DV8tvso4MhOOUJZQ6ObaKsfO87VsDonJ4kDVDQblf-11M/s220/%E6%9D%B1%E6%B8%AF%E6%BC%81%E9%83%8E.jpg'/></author><thr:total>2</thr:total></entry></feed>