-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TIMOB-9546: BlackBerry: Implement Platform elements needed for KitchenSink #87
TIMOB-9546: BlackBerry: Implement Platform elements needed for KitchenSink #87
Commits on Jun 28, 2012
-
TIMOB-9546: BlackBerry: Implement Platform elements needed for Kitche…
…nSink Reviewers: DavidC, JP ChangeLog: - Update Platform.yml apidoc. - Added NativePlatformInterface to support native platform stuff. - Implemented batteryLevel, batteryState, osname, name, runtime properties. - Added constants describing battery states. - Added TiPlatform class storing all Platform properties. - Added methods to TiPropertyMapObject for adding properties with getter callback. Test Cases: - Run tibbtest. - Make sure implemented properties: batteryLevel, batteryState, osname, name, runtime (as well as their getters) works succesfully. - Use the following app.js snippet: //////////////////////////////////////// var win1 = Titanium.UI.createWindow({ backgroundColor:'#F00' }); var label1 = Ti.UI.createLabel({ font: {fontSize:12}, color:'green', top: 200 }); label1.text = Ti.Platform.batteryLevel.toString(); // label1.text = Ti.Platform.getOsname(); // label1.text = Ti.Platform.runtime; // label1.text = Ti.Platform.getName(); // label1.text = Ti.Platform.getBatteryState().toString(); win1.add(label1); // open window win1.open(); //////////////////////////////////////// #Some more info....
unknown authored and unknown committedJun 28, 2012 Configuration menu - View commit details
-
Copy full SHA for 7c4f473 - Browse repository at this point
Copy the full SHA 7c4f473View commit details
Commits on Jul 4, 2012
-
TIMOB-9546: BlackBerry: Implement Platform elements needed for Kitche…
…nSink ver2 Reviewers: DavidC, JP ChangeLog: - Update Platform.yml apidoc. - Address comments. Test Cases: - Run tibbtest. - Make sure implemented properties: batteryLevel, batteryState, osname, name, runtime (as well as their getters) works succesfully. - Use the following app.js snippet: //////////////////////////////////////// var win1 = Titanium.UI.createWindow({ backgroundColor:'#F00' }); var label1 = Ti.UI.createLabel({ font: {fontSize:12}, color:'green', top: 200 }); label1.text = Ti.Platform.batteryLevel.toString(); // label1.text = Ti.Platform.getOsname(); // label1.text = Ti.Platform.runtime; // label1.text = Ti.Platform.getName(); // label1.text = Ti.Platform.getBatteryState().toString(); win1.add(label1); // open window win1.open(); ////////////////////////////////////////
Configuration menu - View commit details
-
Copy full SHA for cd0e7eb - Browse repository at this point
Copy the full SHA cd0e7ebView commit details
Commits on Jul 6, 2012
-
TIMOB-9546: BlackBerry: Implement Platform elements needed for Kitche…
…nSink ver3 Reviewers: DavidC, DavidL ChangeLog: - Address comments. - Make BatteryInfo class member. - Rename TiPlatform to TiPlatformObject. Test Cases: - Run tibbtest. - Make sure implemented properties: batteryLevel, batteryState, osname, name, runtime (as well as their getters) works succesfully. - Use the following app.js snippet: //////////////////////////////////////// var win1 = Titanium.UI.createWindow({ backgroundColor:'#F00' }); var label1 = Ti.UI.createLabel({ font: {fontSize:12}, color:'green', top: 200 }); label1.text = Ti.Platform.batteryLevel.toString(); // label1.text = Ti.Platform.getOsname(); // label1.text = Ti.Platform.runtime; // label1.text = Ti.Platform.getName(); // label1.text = Ti.Platform.getBatteryState().toString(); win1.add(label1); // open window win1.open(); ////////////////////////////////////////
Configuration menu - View commit details
-
Copy full SHA for 893c34c - Browse repository at this point
Copy the full SHA 893c34cView commit details -
TIMOB-9546: BlackBerry: Implement Platform elements needed for Kitche…
…nSink ver4 Reviewers: DavidC, DavidL ChangeLog: - Address comments. Test Cases: - Run tibbtest. - Make sure implemented properties: batteryLevel, batteryState, osname, name, runtime (as well as their getters) works succesfully. - Use the following app.js snippet: //////////////////////////////////////// var win1 = Titanium.UI.createWindow({ backgroundColor:'#F00' }); var label1 = Ti.UI.createLabel({ font: {fontSize:12}, color:'green', top: 200 }); label1.text = Ti.Platform.batteryLevel.toString(); // label1.text = Ti.Platform.getOsname(); // label1.text = Ti.Platform.runtime; // label1.text = Ti.Platform.getName(); // label1.text = Ti.Platform.getBatteryState().toString(); win1.add(label1); // open window win1.open(); ////////////////////////////////////////
Configuration menu - View commit details
-
Copy full SHA for 4a59adc - Browse repository at this point
Copy the full SHA 4a59adcView commit details
Commits on Jul 9, 2012
-
TIMOB-9546: BlackBerry: Implement Platform elements needed for Kitche…
…nSink ver5 Reviewers: DavidC, DavidL ChangeLog: - Address comments. Test Cases: - Run tibbtest. - Make sure implemented properties: batteryLevel, batteryState, osname, name, runtime (as well as their getters) works succesfully. - Use the following app.js snippet: //////////////////////////////////////// var win1 = Titanium.UI.createWindow({ backgroundColor:'#F00' }); var label1 = Ti.UI.createLabel({ font: {fontSize:12}, color:'green', top: 200 }); label1.text = Ti.Platform.batteryLevel.toString(); // label1.text = Ti.Platform.getOsname(); // label1.text = Ti.Platform.runtime; // label1.text = Ti.Platform.getName(); // label1.text = Ti.Platform.getBatteryState().toString(); win1.add(label1); // open window win1.open(); ////////////////////////////////////////
Configuration menu - View commit details
-
Copy full SHA for 9fb9d60 - Browse repository at this point
Copy the full SHA 9fb9d60View commit details -
Merge branch 'platformBranch', remote-tracking branch 'upstream/black…
…berry' into platformBranch #Some more info....
Configuration menu - View commit details
-
Copy full SHA for 4b54011 - Browse repository at this point
Copy the full SHA 4b54011View commit details -
Merge branch 'platformBranch', remote-tracking branch 'upstream/black…
…berry' into platformBranch Conflicts: blackberry/tibb/TiTitaniumObject.cpp
Configuration menu - View commit details
-
Copy full SHA for c68fbe7 - Browse repository at this point
Copy the full SHA c68fbe7View commit details -
TIMOB-9546: BlackBerry: Implement Platform elements needed for Kitche…
…nSink ver5 Reviewers: DavidC, DavidL ChangeLog: - Fix conflicts with GET_PROPERTY_CALLBACK. Test Cases: - Run tibbtest. - Make sure implemented properties: batteryLevel, batteryState, osname, name, runtime (as well as their getters) works succesfully. - Use the following app.js snippet: //////////////////////////////////////// var win1 = Titanium.UI.createWindow({ backgroundColor:'#F00' }); var label1 = Ti.UI.createLabel({ font: {fontSize:12}, color:'green', top: 200 }); label1.text = Ti.Platform.batteryLevel.toString(); // label1.text = Ti.Platform.getOsname(); // label1.text = Ti.Platform.runtime; // label1.text = Ti.Platform.getName(); // label1.text = Ti.Platform.getBatteryState().toString(); win1.add(label1); // open window win1.open(); ////////////////////////////////////////
Configuration menu - View commit details
-
Copy full SHA for 7eaf82d - Browse repository at this point
Copy the full SHA 7eaf82dView commit details