This is how to REAL install Remix OS on VirtualBox. rootfs could be writable!!!
- any linux liveCD iso file (Xubuntu here)
- Remix OS iso file ("Remix_OS_for_PC_Android_M_32bit_B2016092201.iso" here)
- VirtualBox
import android.graphics.Bitmap; | |
import android.graphics.Bitmap.Config; | |
import android.graphics.BitmapShader; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.graphics.RectF; | |
import android.graphics.Shader; | |
// enables hardware accelerated rounded corners | |
// original idea here : http://www.curious-creature.org/2012/12/11/android-recipe-1-image-with-rounded-corners/ |
diff --git a/packages/apps/Contacts/src/com/android/contacts/TwelveKeyDialer.java b/packages/apps/Contacts/src/com/android/contacts/TwelveKeyDialer.java | |
index 5219d99..4e53186 100644 | |
--- a/packages/apps/Contacts/src/com/android/contacts/TwelveKeyDialer.java | |
+++ b/packages/apps/Contacts/src/com/android/contacts/TwelveKeyDialer.java | |
@@ -67,6 +67,10 @@ import android.widget.ImageView; | |
import android.widget.ListView; | |
import android.widget.TextView; | |
+import java.util.regex.Matcher; | |
+import java.util.regex.Pattern; |
try { | |
packman.getPackageInfo("com.twitter.android", 0); | |
builder.setNeutralButton(R.string.follow_koush, new OnClickListener() { | |
public void onClick(DialogInterface dialog, int which) { | |
// this is the intent you actually want. | |
// grabbed this by hooking a debugger up to twitter and debugging into android framework source. | |
// this let me inspect the contents of the intent. | |
Intent i = new Intent(); | |
i.setClassName("com.twitter.android", "com.twitter.android.ProfileActivity"); | |
i.putExtra("screen_name", "koush"); |
# Push media to sdcard and run mediascanner | |
adb shell am start -n com.android.development/.MediaScannerActivity |
/* | |
* ATTENTION: | |
* | |
* This layout is now maintained in the `iosched' code.google.com project: | |
* | |
* http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/widget/DashboardLayout.java | |
* | |
*/ | |
/* |