Socket doesn’t throw exception in Android
Several threads from STACK OVERFLOW: We have a simple client server architecture between our mobile device and our server both written in Java. An extremely simple ServerSocket and Socket implementation. However one problem is that when the client terminates abruptly (without closing the socket properly) the server does not know that it is disconnected. Furthermore, the server can continue to write to this socket
Valine: 独立博客评论系统

Star Issue Follow @DesertsP @云淡风轻 开发了Valine一款极简的评论系统 。我冒昧做了二次修改给自己的博客用上;强迫症使然,这两天又熬夜写了个后台管
使用LeanCloud做评论系统

多说离开也不是一天两天的事情了。怀念 WordPress 自带的评论系统。我一开始就用 Disqus 社会化评论?,现在也彻底富强民主文明了。从 Hexo 换回了 Ghost ,数据库
Android 入门笔记(三):Loader

AsyncTaskLoader is a better choice for Activity-bound thread management, because it handles lifecycle changes correctly, delivering the result to the current active activity, preventing duplication of background threads, and helping to eliminate duplication of zombie activities. Leveraging Loaders Steps: Create a Loader ID Fill-in Loader Callbacks Init Loader with LoaderManager Detail: 1. Create a constant int to uniquely identify the loader; Implement tne LoaderManager.LoaderCallbacks<>
Android 入门笔记(二): Activity

Activity and Intent An activity is a single, focused thing that the user can do. Almost all activities interact with the user, so the Activity class takes care of creating a window for you in which you can place your UI with setContentView(View). While activities are often presented to the user as full-screen windows, they can also be used in other ways: as floating
Android 入门笔记(一): RecyclerView

暑期生产实习选了 Android 开发项目,从未接触过Android开发,对Java也只是略知一二。花了大概一个星期学习 Android 基础知识,完成了Uda