This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| # xcode-build-bump.sh | |
| # @desc Auto-increment the build number every time the project is run. | |
| # @usage | |
| # 1. Select: your Target in Xcode | |
| # 2. Select: Build Phases Tab | |
| # 3. Select: Add Build Phase -> Add Run Script | |
| # 4. Paste code below in to new "Run Script" section | |
| # 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
| # 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |
| async Task GetResourceFile (string fileStorageName, string directory, string fileName) | |
| { | |
| var storageInstance = CloudStorageAccount.Parse (Settings.AzureKey); | |
| var fileClient = storageInstance.CreateCloudFileClient (); | |
| var share = fileClient.GetShareReference (fileStorageName); | |
| if (!await share.ExistsAsync ()) | |
| { |
| /// <summary> | |
| /// Gets files name in an Azure shared file storage | |
| /// </summary> | |
| /// <param name="fileStorageName">File storage name. Como fue llamado en Azure</param> | |
| /// <returns>An array with the files name</returns> | |
| async Task<string []> GetSharedFiles (string fileStorageName) | |
| { | |
| // Necesitas un objeto de Microsoft.WindowsAzure.Storage.File.FileContinuationToken en el nuevo metodo | |
| // En la primera llamada lo pasas null y el te retornara uno nuevo en el resultado de la llamada. | |
| // sigues haciendo llamadas al mismo metodo mientras este sea diferente de null (esto significa que ya no ya mas archivos). |
| using(var client = new HttpClient()) | |
| { | |
| // tuObjeto representa la data que vas a enviar en el post | |
| // Y estamos usando json.net para convertirla de una entidad C# a Json (string). | |
| // imaginate que quieres enviar un {"nombre":"jose perez", "edad": 45, "activo":true} | |
| // tuObjeto debe ser una instancia de una clase que contenga almenos esos campos | |
| var json = JsonConvert.SerializeObject(tuObjeto); | |
| //aqui el json lo convertimos a lo que el metodo Post esta esperando | |
| // Indicando el tipo de Encoding y tambien el tipo de contenido que estamos enviando |
| using Android.App; | |
| using Android.Widget; | |
| using Android.OS; | |
| using Android.Content; | |
| using Android.Appwidget; | |
| using Android.Runtime; | |
| using Android.Views; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Threading; |
| using Android.App; | |
| using Android.Widget; | |
| using Android.OS; | |
| using Android.Content; | |
| using Android.Appwidget; | |
| using Android.Runtime; | |
| using Android.Views; | |
| using System.Net.Sockets; | |
| using System.Text; | |
| using System.Threading; |
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.Test"> | |
| <uses-sdk android:minSdkVersion="16" /> | |
| <uses-permission android:name="android.permission.CAMERA" /> | |
| <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> | |
| <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> | |
| <uses-feature android:name="android.hardware.camera" /> |
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.Test"> | |
| <uses-sdk android:minSdkVersion="16" /> | |
| <application android:allowBackup="true" android:icon="@mipmap/icono" android:label="@string/app_name"> | |
| </application> | |
| <uses-permission android:name="android.permission.CAMERA" /> | |
| <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| Button addTextBoxButton; | |
| LinearLayout textBoxHolder; | |
| List<EditText> _myEditTexts; | |
| protected override void OnCreate (Bundle savedInstanceState) | |
| { | |
| base.OnCreate (savedInstanceState); | |
| // Set our view from the "main" layout resource |