Skip to content

Commit

Permalink
Site updated: 2024-08-12 23:57:47
Browse files Browse the repository at this point in the history
  • Loading branch information
updatek committed Aug 12, 2024
1 parent 0771ffb commit 7d2c827
Show file tree
Hide file tree
Showing 51 changed files with 1,442 additions and 413 deletions.
2 changes: 1 addition & 1 deletion 2014/10/12/Android Notification blog two/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ <h2 id="Android之Notification的使用(二)"><span class="prefix"></span><s
notificationManager.notify(notificationId, notification);
</code></pre>
<p>和上一个例子不同的是,这一个Notification跳转的位置并不是<code class="inline-code">OtherActiivty</code><br>而是直接跳转到<code class="inline-code">MainActivity</code>.</p>
<p><strong>问题</strong><br>非常不幸的事,他并不能够正常接收么Intent传过来的参数。至于为什么,我也不知道。<br>如您知道这个的具体原因请告知我(邮箱:<a href="mailto:&#x6c;&#x6f;&#118;&#x65;&#x63;&#x6c;&#x75;&#x6f;&#x40;&#103;&#x6d;&#97;&#x69;&#108;&#46;&#99;&#111;&#109;">&#x6c;&#x6f;&#118;&#x65;&#x63;&#x6c;&#x75;&#x6f;&#x40;&#103;&#x6d;&#97;&#x69;&#108;&#46;&#99;&#111;&#109;</a>)。</p>
<p><strong>问题</strong><br>非常不幸的事,他并不能够正常接收么Intent传过来的参数。至于为什么,我也不知道。<br>如您知道这个的具体原因请告知我(邮箱:<a href="mailto:&#x6c;&#x6f;&#118;&#x65;&#x63;&#x6c;&#117;&#111;&#64;&#103;&#x6d;&#97;&#x69;&#x6c;&#46;&#99;&#x6f;&#109;">&#x6c;&#x6f;&#118;&#x65;&#x63;&#x6c;&#117;&#111;&#64;&#103;&#x6d;&#97;&#x69;&#x6c;&#46;&#99;&#x6f;&#109;</a>)。</p>
<p><strong>解决办法</strong></p>
<p>虽然不知道是什么原因造成了这个问题,但是最终还是找到了解决方案:</p>
<p>解决方法如下:</p>
Expand Down
4 changes: 2 additions & 2 deletions 2014/11/03/NullPointException Analysis/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ <h3 id="解决问题"><span class="prefix"></span><span class="content">解决
B constructor method excute
</code></pre>
<h3 id="总结"><span class="prefix"></span><span class="content">总结</span><span class="suffix"></span></h3><p>这一次的空指针的最根本原因是在父类的构造方法中执行了子类实例变量的初始化<br>操作,这是一个非常不合理的举动。如果子类属性中的东西应该在子类中进行初始化,<br>而不是在父类中调用初始化方法。</p>
<h3 id="写在最后"><span class="prefix"></span><span class="content">写在最后</span><span class="suffix"></span></h3><p><del>代码木有上传上来,如果你想看看这个丑陋的代码是怎么写的,你可以邮件联系我:<br><a href="mailto:&#x6c;&#111;&#118;&#x65;&#x63;&#108;&#x75;&#111;&#x40;&#110;&#x69;&#x67;&#104;&#116;&#x77;&#x65;&#x61;&#118;&#x65;&#114;&#x2e;&#x6f;&#114;&#103;">&#x6c;&#111;&#118;&#x65;&#x63;&#108;&#x75;&#111;&#x40;&#110;&#x69;&#x67;&#104;&#116;&#x77;&#x65;&#x61;&#118;&#x65;&#114;&#x2e;&#x6f;&#114;&#103;</a></del></p>
<h3 id="写在最后"><span class="prefix"></span><span class="content">写在最后</span><span class="suffix"></span></h3><p><del>代码木有上传上来,如果你想看看这个丑陋的代码是怎么写的,你可以邮件联系我:<br><a href="mailto:&#x6c;&#x6f;&#118;&#x65;&#x63;&#108;&#117;&#111;&#64;&#x6e;&#x69;&#103;&#104;&#116;&#119;&#101;&#x61;&#118;&#101;&#114;&#46;&#x6f;&#114;&#x67;">&#x6c;&#x6f;&#118;&#x65;&#x63;&#108;&#117;&#111;&#64;&#x6e;&#x69;&#103;&#104;&#116;&#119;&#101;&#x61;&#118;&#101;&#114;&#46;&#x6f;&#114;&#x67;</a></del></p>
<p>更新代码地址:</p>
<ul>
<li><a href="http://pinned.github.io/assets/posts/file-2014-11-4/NullPointProject-bug.tar.gz">Bug版代码</a></li>
Expand All @@ -812,7 +812,7 @@ <h3 id="写在最后"><span class="prefix"></span><span class="content">写在
<div class="post_pre_next">
<div class="post-pre">
<a href="/2014/11/04/eclipse-shutdown/">上一篇: Ubuntu-14.04下Eclipse闪退解决办法</a>
<a href="/2014/11/04/butterknife-useing/">上一篇: Andorid UI注入工具的使用(ButterKnife)</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions 2014/11/04/butterknife-useing/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -823,12 +823,12 @@ <h3 id="参考资料"><span class="prefix"></span><span class="content">参考
<div class="post_pre_next">
<div class="post-pre">
<a href="/2014/11/05/google%20volley%20retry/">上一篇: Google Volley 网络请求框架(一)</a>
<a href="/2014/11/04/eclipse-shutdown/">上一篇: Ubuntu-14.04下Eclipse闪退解决办法</a>
</div>
<a href="/2014/11/04/eclipse-shutdown/">下一篇:
Ubuntu-14.04下Eclipse闪退解决办法
<a href="/2014/11/03/NullPointException%20Analysis/">下一篇:
Android 项目中出现的奇葩bug, 数据NullPointExcption
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions 2014/11/04/eclipse-shutdown/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -886,12 +886,12 @@ <h3 id="参考资料"><span class="prefix"></span><span class="content">参考
<div class="post_pre_next">
<div class="post-pre">
<a href="/2014/11/04/butterknife-useing/">上一篇: Andorid UI注入工具的使用(ButterKnife)</a>
<a href="/2014/11/05/google%20volley%20retry/">上一篇: Google Volley 网络请求框架(一)</a>
</div>
<a href="/2014/11/03/NullPointException%20Analysis/">下一篇:
Android 项目中出现的奇葩bug, 数据NullPointExcption
<a href="/2014/11/04/butterknife-useing/">下一篇:
Andorid UI注入工具的使用(ButterKnife)
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions 2014/11/05/google volley retry/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -897,8 +897,8 @@ <h3 id="写在最后"><span class="prefix"></span><span class="content">写在
</div>
<a href="/2014/11/04/butterknife-useing/">下一篇:
Andorid UI注入工具的使用(ButterKnife)
<a href="/2014/11/04/eclipse-shutdown/">下一篇:
Ubuntu-14.04下Eclipse闪退解决办法
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion 2015/01/23/google-volley-url-cache-key/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ <h1 id="想法"><span class="prefix"></span><span class="content">想法</span><
</code></pre>
<p>就是<code class="inline-code">HttpHeaderParser.parseCacheHeaders(response)</code>实现<code class="inline-code">Response</code><code class="inline-code">Cache.Entry</code>的转换。</p>
<p>当然,你可以实现自己的<code class="inline-code">parseCacheHeaders</code>的方法,来实现你自己的缓存侧略。</p>
<p>到此为止,基本写完了我所读到的<code class="inline-code">Volley</code>中实现<code class="inline-code">Cache</code>的方法。如果你对本文或者我有什么意见或者建议。<br>请骚扰我:<a href="mailto:&#108;&#111;&#x76;&#x65;&#99;&#108;&#x75;&#111;&#x40;&#110;&#x69;&#x67;&#x68;&#116;&#x77;&#x65;&#97;&#118;&#101;&#x72;&#x2e;&#x6f;&#x72;&#103;">&#108;&#111;&#x76;&#x65;&#99;&#108;&#x75;&#111;&#x40;&#110;&#x69;&#x67;&#x68;&#116;&#x77;&#x65;&#97;&#118;&#101;&#x72;&#x2e;&#x6f;&#x72;&#103;</a></p>
<p>到此为止,基本写完了我所读到的<code class="inline-code">Volley</code>中实现<code class="inline-code">Cache</code>的方法。如果你对本文或者我有什么意见或者建议。<br>请骚扰我:<a href="mailto:&#x6c;&#111;&#x76;&#101;&#99;&#x6c;&#x75;&#111;&#x40;&#110;&#x69;&#x67;&#x68;&#x74;&#119;&#x65;&#97;&#x76;&#x65;&#114;&#x2e;&#111;&#114;&#103;">&#x6c;&#111;&#x76;&#101;&#99;&#x6c;&#x75;&#111;&#x40;&#110;&#x69;&#x67;&#x68;&#x74;&#119;&#x65;&#97;&#x76;&#x65;&#114;&#x2e;&#111;&#114;&#103;</a></p>

<hr/>
</div>
Expand Down
2 changes: 1 addition & 1 deletion 2015/04/05/keystore-file-options/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ <h4 id="go-top">目录</h4>
<div class="post_pre_next">
<div class="post-pre">
<a href="/2015/04/06/text-color-selector/">上一篇: Android文字颜色选择器</a>
<a href="/2015/04/06/gradle-rename-apk-file/">上一篇: gradle打包的时候,自动重命名APK文件</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions 2015/04/06/android-snippet-sdcard-size/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ <h4 id="go-top">目录</h4>
</div>
<a href="/2015/04/06/android-string-xml-format/">下一篇:
Android string.xml中的占位符
<a href="/2015/04/06/define-id-in-xml-file/">下一篇:
在`values`中定义id
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions 2015/04/06/android-string-xml-format/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -739,12 +739,12 @@ <h4 id="go-top">目录</h4>
<div class="post_pre_next">
<div class="post-pre">
<a href="/2015/04/06/android-snippet-sdcard-size/">上一篇: SD Card的大小和容量</a>
<a href="/2015/04/06/exit-app-by-press-twice-back/">上一篇: Android 按两次返回键退出应用程序</a>
</div>
<a href="/2015/04/06/define-id-in-xml-file/">下一篇:
在`values`中定义id
<a href="/2015/04/06/text-color-selector/">下一篇:
Android文字颜色选择器
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion 2015/04/06/define-id-in-xml-file/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ <h4 id="go-top">目录</h4>
<div class="post_pre_next">
<div class="post-pre">
<a href="/2015/04/06/android-string-xml-format/">上一篇: Android string.xml中的占位符</a>
<a href="/2015/04/06/android-snippet-sdcard-size/">上一篇: SD Card的大小和容量</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions 2015/04/06/exit-app-by-press-twice-back/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -751,12 +751,12 @@ <h4 id="go-top">目录</h4>
<div class="post_pre_next">
<div class="post-pre">
<a href="/2015/04/06/gradle-rename-apk-file/">上一篇: gradle打包的时候,自动重命名APK文件</a>
<a href="/2015/04/06/format-file-size/">上一篇: 格式化文件容量代码</a>
</div>
<a href="/2015/04/06/text-color-selector/">下一篇:
Android文字颜色选择器
<a href="/2015/04/06/android-string-xml-format/">下一篇:
Android string.xml中的占位符
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions 2015/04/06/format-file-size/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -752,8 +752,8 @@ <h4 id="go-top">目录</h4>
</div>
<a href="/2015/04/06/gradle-rename-apk-file/">下一篇:
gradle打包的时候,自动重命名APK文件
<a href="/2015/04/06/exit-app-by-press-twice-back/">下一篇:
Android 按两次返回键退出应用程序
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions 2015/04/06/gradle-rename-apk-file/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -746,12 +746,12 @@ <h4 id="go-top">目录</h4>
<div class="post_pre_next">
<div class="post-pre">
<a href="/2015/04/06/format-file-size/">上一篇: 格式化文件容量代码</a>
<a href="/2015/04/06/text-color-selector/">上一篇: Android文字颜色选择器</a>
</div>
<a href="/2015/04/06/exit-app-by-press-twice-back/">下一篇:
Android 按两次返回键退出应用程序
<a href="/2015/04/05/keystore-file-options/">下一篇:
Android Keystore 文件的密码修改
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions 2015/04/06/text-color-selector/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -746,12 +746,12 @@ <h4 id="go-top">目录</h4>
<div class="post_pre_next">
<div class="post-pre">
<a href="/2015/04/06/exit-app-by-press-twice-back/">上一篇: Android 按两次返回键退出应用程序</a>
<a href="/2015/04/06/android-string-xml-format/">上一篇: Android string.xml中的占位符</a>
</div>
<a href="/2015/04/05/keystore-file-options/">下一篇:
Android Keystore 文件的密码修改
<a href="/2015/04/06/gradle-rename-apk-file/">下一篇:
gradle打包的时候,自动重命名APK文件
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion 2023/07/11/r8-unoffcial-document/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ <h3 id="The rule [some rule] uses extends but actually matches implements"><span
<div class="post_pre_next">
<div class="post-pre">
<a href="/2023/08/01/android-targetsdk-compilesdk-minsdk%20copy/">上一篇: Android 中compileSdk、minSdk、targetSdk 是干什么用的?</a>
<a href="/2024/08/01/android-targetsdk-compilesdk-minsdk%20copy/">上一篇: Android 中compileSdk、minSdk、targetSdk 是干什么用的?</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ <h4 id="go-top">目录</h4>


<div class="post-meta">
<a class='author' href="/">罗昭成</a> <span id="clipboardbtn">2023年08月01日</span>
<a class='author' href="/">罗昭成</a> <span id="clipboardbtn">2024年08月01日</span>
</div>
<div id="copy-post-content">
<section id="beautiful">
Expand Down Expand Up @@ -767,7 +767,7 @@ <h2 id="targetSdk"><span class="prefix"></span><span class="content">targetSdk</
<div class="post_pre_next">
<div class="post-pre">
<a href="/2023/08/09/java-function-patten-study/">上一篇: 函数式编程:尾调优化</a>
<a href="/2024/08/09/android-jdk-configuration/">上一篇: 你不会到现在还不知道 Android 中的那些 JDK 配置吧?</a>
</div>
Expand Down
Loading

0 comments on commit 7d2c827

Please sign in to comment.