This file contains hidden or 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
| (function() { | |
| var win = Ti.UI.createWindow({title:'Test', layout:'vertical',backgroundColor:'Gray'}); | |
| var btn1 = Ti.UI.createButton({title:'Set Tabs 1',top:'100'}); | |
| var btn2 = Ti.UI.createButton({title:'Set Tabs 2',top:'100'}); | |
| win.add(btn1); | |
| win.add(btn2); | |
| btn1.addEventListener('click', function() { |
This file contains hidden or 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 win = Ti.UI.createWindow({backgroundColor: 'white'}); | |
| var plainTemplate = { | |
| childTemplates: [ | |
| { | |
| type: 'Ti.UI.Label', // Use a label | |
| bindId: 'rowtitle', // Bind ID for this label | |
| properties: { // Sets the Label.left property | |
| //left: '10dp' |
This file contains hidden or 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
| We have tested this issue with SDK 6.2.2.GA on device Huawei GR3 2017 android 7. Using the sample code provided by the client does not provide expected output. We also tested the sample API code from [here| the http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Media.AudioRecorder it works as expected in lower android devices (android 6,4) but provides error on android 7 devices. | |
| Test Environment: | |
| Appcelerator Command-Line Interface, version 6.2.4 | |
| Mac OS X 10.12.6 | |
| Architecture 64bit | |
| CPUs 4 | |
| Appcelerator Studio, build: Axway Appcelerator Studio, build: 4.10.0.201709271713 | |
| Appcelerator Command-Line Interface, version 6.2.4, |
This file contains hidden or 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
| /* | |
| Appcelerator Command-Line Interface, version 6.2.3 | |
| Operating System Mac OS X 10.12.3 | |
| Node.js Version 4.7.0 | |
| Titanium SDK 6.0.3.GA | |
| iOS Simulator: iPad Air | |
| */ |
This file contains hidden or 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 win = Ti.UI.createWindow({ | |
| fullscreen:true, | |
| backgroundColor:'red' | |
| }); | |
| var button = Titanium.UI.createButton({ | |
| title: 'Push me', | |
| top: 10, | |
| width: 300, | |
| height: 100 |
This file contains hidden or 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 Geofence = require("ti.geofence"); | |
| var window = Ti.UI.createWindow({ | |
| backgroundColor: 'white' | |
| }); | |
| var titleInWinA = Ti.UI.createLabel({ | |
| text: 'Receiving location ... ', | |
| left: 70, | |
| top: 100, | |
| }); |
This file contains hidden or 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
| $.basicsWindow.addEventListener('click', function(e) { | |
| $.recognizeButton.title="Hello"; | |
| $.recognizeButton.backgroundColor="orange"; | |
| }); | |
| $.basicsWindow.open(); |
This file contains hidden or 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
| Test code: | |
| //////////////////////////// | |
| var win1 = Ti.UI.createWindow({ | |
| backgroundColor: 'blue', | |
| title: 'Blue' | |
| }); | |
| win1.add(Ti.UI.createLabel({text: 'I am a blue window.'})); |
This file contains hidden or 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
| $.index.open(); |
This file contains hidden or 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
| To install appxbundle on windows phone via computer we need to make sure the windows device is unlocked and Microsoft visual studio is installed in the computer. Check the following steps: | |
| Step 1. Connect the windows phone to the computer. Open Microsoft visual studio> Navigate to Tools> Windows Phone 8.1 > Application Deployment | |
| Step 2. Select the target to device and browse the appxbundle from computer. | |
| Step 3. After waiting some time, the application deployment window will provide the app completion status. Then press Deploy button and check in the windows phone device . |