Skip to main content link. Accesskey S

The useful resource for Titanium and YouAtNotes Domino To Go

Submit Search

Titanium

Page12

Ti: ButtonBar

Julian Buss | November 11, 2011 3:20:13 PM | Tags:

A bar with buttons that can be placed anywhere in the view. == Creation == {code:} App.buttonbar = Titanium.UI.createButtonBar({ labels:[{title:'Button 1', enabled:false}, 'Button 2', 'Button ...

Ti: Camera

Julian Buss | June 1, 2012 6:05:57 PM | Tags:

(work in progress) controling the flashlight Ti.Media.CAMERAFLASHOFF , Ti.Media.CAMERAFLASHON, Ti.Media.CAMERAFLASHAUTO Ti.Media.setCameraFlashMode(Ti.Media.CAMERAFLASHON);

Ti: Charting

Julian Buss | May 31, 2012 8:31:59 AM | Tags:

==Charting via JavaScript== You can use a WebView control to display a HTML page that includes JavaScript charting libraries. Unfortunately, most JavaScript charting libraries are slow in the WebView control. One customer had success with [[http://dygraphs.com|dygraphs]], though. It seems to be ...

Ti: Events

Julian Buss | November 10, 2011 9:04:09 PM | Tags:

==Resume app== When the user changed to another app and then opens your app again, the resume event is fired: {code:} Titanium.App.addEventListener('resume', function (e) { {code} ==Orientation Change== {code:} Ti.Gesture.addEventListener('orientationchange',function(e) /* orientation: ...

Ti: file, URL and HTTP operations

Julian Buss | November 11, 2011 3:33:39 PM | Tags:

== Read a File == {code:} var data; var readFile = Titanium.Filesystem.getFile(Ti.Filesystem.resourcesDirectory, 'template.html'); if(readFile.exists()) { data = readFile.read().text; } else { data = '<html><body>No template found..</body></html>' {code} == Open an URL == {code:} ...

Ti: iPad

Julian Buss | November 10, 2011 9:09:38 PM | Tags:

== hide splitview navigation after click == When you have a splitview and the iPad is in portrait mode, the navigation window is displayed when clicking on the topleft button. If you have for example a tableview with a table of content in that window, you might want to hide the navigation window ...

Ti: Layout

Julian Buss | November 10, 2011 8:36:05 PM | Tags:

== layout property == In Ti.UI.createWindow() or Ti.UI.createView() you can set the 'layout' property to: **none:** All elements are placed in the middle of the screen if you don't use the 'top' property. Does not need 'height' property on elements. **vertical** Elements are placed one after ...

Ti: Network

Julian Buss | December 28, 2011 10:26:19 AM | Tags:

==Change event== You can react on the change of the networks status as follows: {code:} Ti.Network.addEventListener("change", function(e) { // e.networkType -> type of network // e.networkTypeName -> type as a string // e.online -> true if the device has a network // example: run code if ...

Ti: Performance

Julian Buss | November 21, 2011 7:53:22 AM | Tags:

TableView If using TableRows in a TableView, make sure every row and every element in the row has a fixed height. Height 'auto' can lead to performance problems if the table has some hundred entries.

Ti: Settings

Julian Buss | November 10, 2011 8:36:05 PM | Tags:

You can create a settings page for your App that is embedded into the standard iOS settings App. == Creating a setting page == Copy iphone/Settings.bundle of the kitchensink demo App to your App. Make sure "Settings.bundle" in the in the iphone folder. Then edit the Root.plist file (doubleclick ...

Page12
Use  searchlotus.com  for news in the Web related to Lotus Notes and Domino,
and to search those sites.
Check  youatnotes.com  for great Lotus Notes, Domino and XPages software.