Skip to content

Instantly share code, notes, and snippets.

Avatar

Motiur Rahman MotiurRahman

View GitHub Profile
View Privacy Policy
Motiur Rahman built the Password Manager app as a Free app. This SERVICE is provided by Motiur Rahman at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Password Manager unless otherwise defined in this Privacy Policy.
Information Collection and Use
View Privacy Policy
Motiur Rahman built the Age Calculator Pro app as a Free app. This SERVICE is provided by Motiur Rahman at no cost and is intended for use as is.
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service.
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy.
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Age Calculator Pro unless otherwise defined in this Privacy Policy.
Information Collection and Use
View app.js
var win = Ti.UI.createWindow({
backgroundColor : 'white'
});
// Create a Button.
var aButton = Ti.UI.createButton({
title : 'Show',
height : "100",
width : "100",
color : "red"
View app.js
var win = Ti.UI.createWindow({
title : "Focus Test",
backgroundColor : 'red',
layout : "vertical"
});
// Create a TextField.
var aTextField = Ti.UI.createTextField({
height : 40,
@MotiurRahman
MotiurRahman / app.js
Last active Dec 12, 2019
AlertDialog Test
View app.js
var win = Ti.UI.createWindow({
title : 'AlertDialog Window',
backgroundColor : 'white',
exitOnClose : true,
fullscreen : false
});
// Create a Button.
var TestDialog = Ti.UI.createButton({
View app.js
var win = Ti.UI.createWindow({
backgroundColor : '#fff'
});
win.open();
//var args = $.args;
var analyticsId = 'SSO - Open';
var webView;
@MotiurRahman
MotiurRahman / app.js
Created Nov 5, 2019
Remote image response data
View app.js
var win = Ti.UI.createWindow({
backgroundColor : '#fff'
});
function getImage() {
var url = "https://tineye.com/images/widgets/mona.jpg";
var response = '';
var client = Ti.Network.createHTTPClient({
// function called when the response data is available
onload : function(e) {
@MotiurRahman
MotiurRahman / app.js
Last active Nov 5, 2019
RemoteImage Test
View app.js
var win = Titanium.UI.createWindow({
className : 'win'
});
var Utils = {
    /* modified version of https://gist.github.com/1243697 */
    _getExtension: function(fn) {
        // CREDITS: http://stackoverflow.com/a/680982/292947
        var re = /(?:\.([^.]+))?$/;
View index.js
$.index.open();
@MotiurRahman
MotiurRahman / app.js
Last active Oct 29, 2019
setUsername and setMetadata Test
View app.js
var win = Ti.UI.createWindow({
backgroundColor : '#fff'
});
// Create a Button.
var ACATest = Ti.UI.createButton({
title : 'ACATest',
color : "red",
height : Ti.UI.SIZE,
width : Ti.UI.SIZE,
You can’t perform that action at this time.