본문 바로가기

Android45

안드로이드 오픈소스 끝판 https://github.com/wasabeef/awesome-android-uihttp://www.java2s.com/Open-Source/Android_Free_Code/https://android-arsenal.com/free core : https://github.com/wasabeef/awesome-android-libraries 2016. 2. 2.
[Android] ANR 이란? What Triggers ANR? In Android, application responsiveness is monitored by the Activity Manager and Window Manager system services. Android will display the ANR dialog for a particular application when it detects one of the following conditions: No response to an input event (e.g. key press, screen touch) within 5 secondsA BroadcastReceiver hasn't finished executing within 10 seconds ANR 이 발생하는 경.. 2016. 1. 29.
[Android] AlarmManager 일정시간 이벤트 실행 public void registerAlarm(){ Log.e("###", "registerAlarm"); Intent intent = new Intent(this, AlarmService_Service.class); PendingIntent sender = PendingIntent.getBroadcast(this, 0, intent, 0); try { // 내일 아침 8시 10분에 처음 시작해서, 24시간 마다 실행되게 Date tomorrow = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").parse("2012-02-25 08:10:00"); AlarmManager am = (AlarmManager) getSystemService(ALARM_SERVICE); am.s.. 2016. 1. 29.
[Android] Webview url 숨기기 class NoErrorWebViewClient extends WebViewClient { @Override public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) { Log.e(String.valueOf(errorCode), description); // API level 5: WebViewClient.ERROR_HOST_LOOKUP if (errorCode == -2) { String summary = "Unable to load information. Please check if your network connection is working properly or try again la.. 2016. 1. 29.