This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
E/AndroidRuntime( 2931): FATAL EXCEPTION: main | |
E/AndroidRuntime( 2931): Process: com.android.mms, PID: 2931 | |
E/AndroidRuntime( 2931): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference | |
E/AndroidRuntime( 2931): at com.android.ex.chips.DropdownChipLayouter$ViewHolder.<init>(DropdownChipLayouter.java:519) | |
E/AndroidRuntime( 2931): at com.android.ex.chips.DropdownChipLayouter.bindView(DropdownChipLayouter.java:238) | |
E/AndroidRuntime( 2931): at com.android.ex.chips.DropdownChipLayouter.bindView(DropdownChipLayouter.java:221) | |
E/AndroidRuntime( 2931): at com.android.ex.chips.BaseRecipientAdapter.getView(BaseRecipientAdapter.java:1044) | |
E/AndroidRuntime( 2931): at android.widget.AbsListView.obtainView(AbsListView.java:2346) | |
E/AndroidRuntime( 2931): at android.widget.ListPopupWindow$DropDownListView.obtainView(ListPopupWindow.java:1684) | |
E/AndroidRuntime( 2931): at android.widget.ListView.me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def formatBytes(val): | |
if val >= 1000000000: | |
return "%0.3f Gb" % (val / 1000000000) | |
elif val >=1000000: | |
return "%0.3f Mb" % (val / 1000000) | |
elif val >=1000: | |
return "%0.3f Kb" % (val / 1000) | |
else: | |
return "%0.3f B" % val |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From a04ed65643f6c704caf28f25e19e6ec7d17ab327 Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Sat, 10 Jan 2015 21:08:35 +0700 | |
Subject: [PATCH] WIP: a700: Lollipop bring up | |
Change-Id: Ia62e57b1751c73cf882267e3786dbb90122d759f | |
--- | |
bluetooth/bdroid_buildcfg.h | 7 ++++--- | |
cm.mk | 3 --- | |
prebuilt/ramdisk/init.acer.usb.rc | 36 ++++++++++++++++++------------------ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D/AndroidRuntime( 3038): Shutting down VM | |
E/AndroidRuntime( 3038): FATAL EXCEPTION: main | |
E/AndroidRuntime( 3038): Process: com.android.settings, PID: 3038 | |
E/AndroidRuntime( 3038): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to read from field 'android.content.pm.ServiceInfo com.android.settings.applications.RunningState$ServiceItem.mServiceInfo' on a null object reference | |
E/AndroidRuntime( 3038): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) | |
E/AndroidRuntime( 3038): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) | |
E/AndroidRuntime( 3038): at android.app.ActivityThread.access$800(ActivityThread.java:144) | |
E/AndroidRuntime( 3038): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) | |
E/AndroidRuntime( 3038): at android.os.Handler.dispatchMessage(Handler.java:102) | |
E/AndroidRuntime( 3038): at android.os.Looper.loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b04637db515edbe6ab6006391e223b25712f7a8e Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Tue, 27 Jan 2015 22:29:39 +0700 | |
Subject: [PATCH] recovery: uncrypt: fix compatibility with CWM | |
CWM and other older recoveries do not support block map, so avoid | |
using it when possible | |
Change-Id: I49a04676ca5193db31c87418a5760727648745f0 | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/android/ibrdtn/jni/Android.mk b/android/ibrdtn/jni/Android.mk | |
index d68a1eb..fcb8a75 100644 | |
--- a/android/ibrdtn/jni/Android.mk | |
+++ b/android/ibrdtn/jni/Android.mk | |
@@ -11,6 +11,7 @@ include $(JNI_PATH)/nl-3/android_toolchain/jni/Android_static.mk | |
include $(JNI_PATH)/ibrcommon/Android.mk | |
include $(JNI_PATH)/ibrdtn/Android.mk | |
include $(JNI_PATH)/dtnd/Android.mk | |
+include $(JNI_PATH)/tools/Android.mk | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From bb1dec3b16fd8b1c8ebab6457d33933d134e6151 Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Sat, 31 May 2014 12:34:56 +0700 | |
Subject: [PATCH] telephony: support for RIL that does not send UNSOL_CALL_RING | |
Samsung Broadcom RIL does not send UNSOL_CALL_RING at all, so it | |
needs to be faked or non loop (e.g. Digital Phone) ringtones | |
won't work. | |
Change-Id: Ib7373d32777f6c42ee488972a7aa63ae8e1cd09b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Copyright (C) 2014 Pawit Pornkitprasan | |
# | |
# Script to extract cpio ramdisk from LZMA compressed kernels | |
# Tested on galaxysmtd boot.img from CM11 | |
# Config | |
fileIn = "/path/to/boot.img" | |
fileOut = "whole_disk.cpio" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
date_default_timezone_set('Asia/Bangkok'); | |
require_once "lib/nusoap.php"; | |
// Create SOAP Server | |
$server = new soap_server(); | |
$server->configureWSDL("Test_Service", "http://www.example.com/test_service"); | |
// Example "hello" function | |
function hello($username) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d81e9ae26dc5d3417d1f6d7be4e01f8c32950dd9 Mon Sep 17 00:00:00 2001 | |
From: Pawit Pornkitprasan <p.pawit@gmail.com> | |
Date: Sat, 8 Mar 2014 19:45:44 +0700 | |
Subject: [PATCH] MSimTelephonyManager: set properties in Broadcom-style as | |
expected by RIL | |
Change-Id: I64b37ac34fdec096ea77ccb7afc4b3cfccadcd3d | |
--- | |
.../android/telephony/MSimTelephonyManager.java | 43 +++------------------- | |
1 file changed, 6 insertions(+), 37 deletions(-) |