This file has been truncated, but you can view the full file.
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
/** | |
* @fileoverview Generated externs. DO NOT EDIT! | |
* @externs | |
*/ | |
/** | |
* An extension of the [NSURLConnectionDelegate](https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLConnectionDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intf/NSURLConnectionDelegate) protocol to allow users to participate in authentication and resource management for this HTTPClient. | |
* @typedef {{ | |
* }} | |
*/ |
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
04d7ae51c3bfe454368d61404c2da6fc15948872525b24cd6b8f84615f88c0baffffcd8cc8e156c0dd71e07c92972594919166265e62842f8d7d8e05a87c931d97;m1ga |
This file has been truncated, but you can view the full file.
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
/** | |
* @fileoverview Generated externs. DO NOT EDIT! | |
* @externs | |
*/ | |
/** | |
* An extension of the [NSURLConnectionDelegate](https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLConnectionDelegate_Protocol/Reference/Reference.html#//apple_ref/occ/intf/NSURLConnectionDelegate) protocol to allow users to participate in authentication and resource management for this HTTPClient. | |
* @typedef {{ | |
* }} | |
*/ |
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
'use strict'; | |
const path = require('path'); | |
const spawn = require('child_process').spawn; | |
/** The plugin's identifier */ | |
exports.id = 'android.module.hook'; | |
/** The Titanium CLI version that this hook is compatible with */ | |
exports.cliVersion = '>=3.2'; |
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
var window = Ti.UI.createWindow(); | |
var button = Ti.UI.createButton({ | |
title: "Send Intent", | |
}); | |
button.addEventListener("click", function(e){ | |
button.toImage(function(imageBlob) { | |
if (!imageBlob) { | |
return; | |
} | |
var targetFile = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, "image.png"); |
This file has been truncated, but you can view the full file.
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
// Type definitions for non-npm package Titanium 9.0 | |
// Project: https://github.com/appcelerator/titanium_mobile | |
// Definitions by: Axway Appcelerator <https://github.com/appcelerator> | |
// Jan Vennemann <https://github.com/janvennemann> | |
// Sergey Volkov <https://github.com/drauggres> | |
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
// TypeScript Version: 3.0 | |
type _Omit<T, K extends keyof any | undefined> = Pick<T, Exclude<keyof T, K>>; | |
type FunctionPropertyNames<T> = { |