原创 Android Studio導入項目不正確解決辦法

第一個問題 :AndroidStudio導入項目一直卡在Building gradle project info 轉自 http://blog.csdn.net/wonengxing/article/details/50069287

原创 Window 7安裝和配置Apache2.4服務器

轉載請標註原創地址:http://blog.csdn.net/lsyz0021/article/details/51998848      如果你想搭建window自帶的IIS服務器,可以看這篇文章      Windows 7搭建IIS

原创 報錯sun.security.validator.ValidatorException: PKIX path building failed

在執行webservice的過程中,出現如下異常:  javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path bu

原创 報錯:Context.startForegroundService() did not then call Service.startForeground?

原文鏈接: https://blog.csdn.net/sinat_20059415/article/details/80584487 前言:最近在處理Android O的應用crash和anr問題,其中遇到比較多的就是“Co

原创 RemoteServiceException: Bad notification for startForeground...

原文鏈接: https://blog.csdn.net/dandelionela/article/details/86092293 寫了一個前臺通知,在Android5.0設備上測試沒問題,換到8.0之後報錯: android.

原创 BLE5.0與BLE4.2的區別與新特性

轉發自https://www.jianshu.com/p/b5ff08b987fa 1. 傳輸速率提高2倍 Bluetooth 5把目前的傳輸速度提高了2倍。藍牙4.2最大通訊速度爲1Mbps,而藍牙5.0通訊速度最高爲2Mbps。更快的

原创 String與byte[]字節數組中文轉換亂碼問題

原文地址:http://www.cnblogs.com/hy928302776/archive/2013/04/20/3032728.htmhttps://blog.csdn.net/vipclx/article/details/

原创 java 使用正則表達式統計一個字符串中子字符串出現次數

待匹配字符串爲str,子字符串爲child,使用正則表達式代碼如下: Pattern p = Pattern.compile(child, Pattern.CASE_INSENSITIVE); Matcher m =

原创 【Android 學習】實現仿360懸浮窗

轉載請註明出處:http://blog.csdn.net/guolin_blog/article/details/8689140360手機衛士我相信大家都知道,好多人手機上都會裝這一款軟件,那麼我們對它的一個桌面懸浮窗效果想必都不會