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
using System.Collections.Generic; | |
using System.Linq; | |
using Android.App; | |
using Android.OS; | |
using SupportDialogFragment = Android.Support.V4.App.DialogFragment; | |
namespace Example.Android.App.Views.Base | |
{ | |
public class ListDialogFragment : SupportDialogFragment | |
{ |
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
firstName.setHint(Html.fromHtml("First Name<font color=#c62126><sup>*</sup></font>")); |
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
adb kill-server | |
adb devices |
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
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:minHeight="70dp"> | |
... | |
</RelativeLayout> |
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
public final static Parcelable.Creator<$CLASS_NAME$> CREATOR = new Parcelable.Creator<$CLASS_NAME$>() { | |
@Override | |
public $CLASS_NAME$[] newArray(int size) { | |
return new $CLASS_NAME$[size]; | |
} | |
@Override | |
public $CLASS_NAME$ createFromParcel(Parcel source) { | |
return new $CLASS_NAME$(source); | |
} |
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
public class OnBootReceiver extends BroadcastReceiver { | |
@Override | |
public void onReceive(Context context, Intent intent) { | |
if ("android.intent.action.BOOT_COMPLETED".equals(intent.getAction())) { | |
// do stuff | |
} | |
} | |
} |
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
public interface QBCallback { | |
public void onComplete(Result result); | |
public void onComplete(Result result, Object context); | |
} |
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
<target name="ftp_copy_files" depends="ftp-remove_folders"> | |
<ftp server="${server.ftp}" | |
userid="${login.ftp}" | |
password="${password.ftp}" | |
remotedir="${remote_root.ftp}/${remote_android.ftp}"> | |
<fileset dir="${javadoc}"/> | |
</ftp> | |
</target> |
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
// perform first request | |
QBAuth.authorizeApp(null); | |
// perform second request | |
QBUsers.signIn("indianajones", "indianapassword", null); | |
// perform third request | |
QBLocations.createLocation(new QBLocation(35.0, 53.0, "I'm inside the Cave"), null); |
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
// by default set as false | |
QBSettings.setSynchronous(true); |
NewerOlder