This file contains hidden or 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
using System; | |
using Android.App; | |
using Android.Content; | |
using Android.Runtime; | |
using Android.Views; | |
using Android.Widget; | |
using Android.OS; | |
namespace MonoDroid.CustomList |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout | |
android:id="@+id/widget28" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:orientation="vertical" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
> | |
<ListView | |
android:id="@+id/listView" |
This file contains hidden or 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
using System; | |
using MonoTouch.Foundation; | |
using MonoTouch.CoreFoundation; | |
using MonoTouch.UIKit; | |
using MonoTouch.ObjCRuntime; | |
namespace MyProject | |
{ | |
public class Http | |
{ |
This file contains hidden or 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
/* | |
* Google OAuth 3-Legged for C# | |
* | |
* Author: Redth | |
* Date: June 1, 2011 | |
* | |
* This class if for Authenticating to Google via 3-Legged OAuth | |
* | |
* Example Use: | |
* |
This file contains hidden or 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
void button_Click(object sender, EventArgs e) | |
{ | |
//Create a new intent for choosing a contact | |
var contactPickerIntent = new Intent(Intent.ActionPick, | |
Android.Provider.ContactsContract.Contacts.ContentUri); | |
//Start the contact picker expecting a result | |
// with the resultCode '101' | |
StartActivityForResult(contactPickerIntent, 101); | |
} |
This file contains hidden or 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
using System; | |
using System.Collections; | |
using System.Runtime.InteropServices; | |
using MonoTouch.UIKit; | |
using MonoTouch.CoreFoundation; | |
using MonoTouch.AVFoundation; | |
using MonoTouch.CoreVideo; | |
using MonoTouch.CoreMedia; | |
using com.google.zxing; | |
using com.google.zxing.common; |
This file contains hidden or 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
public static bool IsTall | |
{ | |
get { return UIScreen.MainScreen.Bounds.Height >= (1136 / 2); } | |
} |
This file contains hidden or 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
static UIImage tableViewBackgroundImage = null; | |
public static UIImage TableViewBackgroundImage | |
{ | |
get | |
{ | |
if (tableViewBackgroundImage == null) | |
tableViewBackgroundImage = IsTall | |
? UIImage.FromFile("Images/[email protected]") | |
: UIImage.FromFile("Images/TableViewBackground.png"); |
This file contains hidden or 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
using System.Drawing; | |
using System; | |
using MonoTouch.UIKit; | |
using MonoTouch.CoreGraphics; | |
using System.Runtime.InteropServices; | |
namespace ZXing | |
{ | |
public partial class RGBLuminanceSource |