Skip to content

Instantly share code, notes, and snippets.

View ampersandcastles's full-sized avatar

Tristan ampersandcastles

View GitHub Profile
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 source.
Intent i = new Intent();
i.setClassName("com.twitter.android", "com.twitter.android.ProfileActivity");
i.putExtra("screen_name", "koush");
try {
@ampersandcastles
ampersandcastles / local_manifest.xml
Created March 5, 2012 15:43
CyanogenMod Local Manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="proprietary" fetch="git://github.com/koush/" />
<proejct path="vendor/akm" name="proprietary_vendor_akm" remote="proprietary" />
<project path="vendor/bn" name="proprietary_vendor_bn" remote="proprietary" />
<project path="vendor/commtiva" name="proprietary_vendor_commtiva" remote="proprietary" />
<project path="vendor/broadcom" name="proprietary_vendor_broadcom" remote="proprietary" />
<project path="vendor/geeksphone" name="proprietary_vendor_geeksphone" remote="proprietary" />
<project path="vendor/google" name="proprietary_vendor_google" remote="proprietary" revision="gh-pages" />