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
[WARN] : dalvikvm: VFY: unable to resolve static field 918 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string; | |
[WARN] : dalvikvm: VFY: unable to resolve static field 918 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string; | |
[WARN] : dalvikvm: VFY: unable to resolve static field 913 (common_google_play_services_install_title) in Lcom/google/android/gms/R$string; | |
[WARN] : dalvikvm: VFY: unable to resolve static field 909 (common_google_play_services_enable_title) in Lcom/google/android/gms/R$string; | |
[WARN] : dalvikvm: VFY: unable to resolve static field 923 (common_google_play_services_update_title) in Lcom/google/android/gms/R$string; | |
[WARN] : dalvikvm: VFY: unable to resolve static field 920 (common_google_play_services_unsupported_title) in Lcom/google/android/gms/R$string; | |
[WARN] : dalvikvm: VFY: unable to resolve static field 917 (common_google_play_services_network_error_title) in Lcom/google/android/gms/R$string; | |
[WARN] : dalvikvm: V |
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
<Alloy> | |
<Window splitActionBar="true"> | |
<Menu> | |
<!-- Action Items --> | |
<MenuItem icon="/images/ic_action_edit.png" showAsAction="Ti.Android.SHOW_AS_ACTION_ALWAYS" /> | |
<MenuItem icon="/images/ic_action_important.png" showAsAction="Ti.Android.SHOW_AS_ACTION_ALWAYS" /> | |
<MenuItem icon="/images/ic_action_labels.png" showAsAction="Ti.Android.SHOW_AS_ACTION_ALWAYS" /> | |
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
function TestView() { | |
var self = Ti.UI.createWindow({ | |
backgroundColor:'white', | |
title: 'Test' | |
}); | |
var cards = []; | |
for( var i=0; i<=10; i++){ | |
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
// ALPHABYTES | |
// Facebook like menu window | |
var leftMenu = Ti.UI.createWindow({ | |
backgroundColor: 'red', | |
top: 0, | |
left: 0, | |
width: 150, | |
zIndex: 1 | |
}); |
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
toasty.show({ | |
title: 'Confirm', | |
message: 'This is a confirmation.', | |
type: 'confirm' | |
}); |
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 loading = require('loading'); | |
loading.start(); | |
setTimeout( function(){ loading.stop(); }, 2000 ); |
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
/* | |
* This is how I notify users about errors, confirmations etc. | |
* e.g.: "Wrong password", "Registration complete", ... | |
* | |
*/ | |
module.exports = (function(){ | |
var notification, | |
OS_IOS = 'iPhone OS' === Ti.Platform.name, | |
OS_ANDROID = 'android' === Ti.Platform.name; | |
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
/** | |
* Underlines a single word of a label | |
* @param {Ti.UI.Label} _label | |
* @param {String} _word | |
*/ | |
function underline(_label, _word) { | |
if (Ti.Platform.name === 'iPhone OS') { | |
var text = _label.getText(); | |
var attr = Titanium.UI.iOS.createAttributedString({ | |
text : text, |
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
// Forked from https://gist.github.com/2417902 to fix a small bug | |
// ----- | |
function PagingControl(scrollableView){ | |
var pages = []; | |
var page; | |
var numberOfPages = scrollableView.getViews().length; | |
// Configuration | |
var pageColor = "#c99ed5"; | |
var container = Titanium.UI.createView({ |
OlderNewer