Record a video of your app
Developer options -> Check show touches
adb shell screenrecord /sdcard/video.mp4
adb pull /sdcard/video.mp4| // | |
| // ImagePicker.swift | |
| // manueGE | |
| // | |
| // Created by Manuel García-Estañ on 7/11/16. | |
| // Copyright © 2016 ManueGE. All rights reserved. | |
| // | |
| import Foundation | |
| import UIKit |
| //`UITableViewCell` and `UICollectionViewCell` are `Reusable` by defaut | |
| //Use the extension method to dequeue an instance of the appropriate `Reusable` | |
| class MyVC: UITableViewDataSource { | |
| override func viewDidLoad() { | |
| super.viewDidLoad() | |
| tableView | |
| .registerReusable(FooCell.self) | |
| .registerReusable(BarCell.self) | |
| } |
| <?xml version="1.0" encoding="utf-8"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
| package="uk.co.thewirelessguy.myappname" > | |
| <application | |
| android:allowBackup="true" | |
| android:icon="@drawable/ic_launcher" | |
| android:label="@string/app_name" | |
| android:theme="@style/AppTheme" > | |
| <activity |
| repositories { | |
| mavenCentral() | |
| maven { | |
| url = 'https://github.com/github-username/github-project/raw/master' | |
| credentials { | |
| username 'my-username' | |
| password 'my-password' | |
| } | |
| } | |
| } |
See my technical notes here, which include how to get root on a Drift HD Ghost with no modifications to the unit.
The following is a list of URLs which might be handy if you connect your machine to the Drift HD Ghost's WiFi network.
rtsp://192.168.42.1/AmbaStreamTest
| public class MyApp extends Application { | |
| @Override | |
| public void onCreate() { | |
| TypefaceUtil.overrideFont(getApplicationContext(), "SERIF", "fonts/Roboto-Regular.ttf"); // font from assets: "assets/fonts/Roboto-Regular.ttf | |
| } | |
| } |
| // more information here: http://blog.tomtasche.at/2012/10/use-built-in-feedback-mechanism-on.html | |
| try { | |
| int i = 3 / 0; | |
| } catch (Exception e) { | |
| ApplicationErrorReport report = new ApplicationErrorReport(); | |
| report.packageName = report.processName = getApplication() | |
| .getPackageName(); | |
| report.time = System.currentTimeMillis(); | |
| report.type = ApplicationErrorReport.TYPE_CRASH; |
| // knockout 2.3.0 | |
| ko.utils.addOrRemoveItem = function (array, value, included) { /* .. */ } | |
| ko.utils.anyDomNodeIsAttachedToDocument = function (nodes) { /* .. */ } | |
| ko.utils.arrayFilter = function (array, predicate) { /* .. */ } | |
| ko.utils.arrayFirst = function (array, predicate, predicateOwner) { /* .. */ } |