Created
December 27, 2013 06:07
-
-
Save vyatri/8143198 to your computer and use it in GitHub Desktop.
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
// di login.js ganti baris yang ini: | |
var udid = Titanium.Platform.id; | |
// ganti dengan ini: | |
var udid = db_user.getVal("udid"); | |
if (!udid){ | |
udid = Titanium.Platform.id; | |
var label_udid = Ti.UI.createLabel({ | |
top: "30dp", | |
textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER, | |
left: "20dp", | |
right: "20dp", | |
text: "Your App UDID: "+udid, | |
color: "#444" | |
}); | |
$.verti.add(label_udid); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment