Permalink
Browse files

updated change log to reflect latest preview release

  • Loading branch information...
Russ McMahon
Russ McMahon committed Mar 21, 2013
1 parent d6ddf2a commit 869a1f8d3ffcf6858258e1312882d95546d0852b
Showing with 70 additions and 87 deletions.
  1. +50 −1 CHANGELOG.md
  2. +20 −86 test/apps/native/tibbtest/Resources/app.js
View
@@ -1,6 +1,56 @@
Release Notes
=============
+New Features in this Release (3.1.0.v20130320125153)
+----------------------------------------------------
+
+WED MAR 20, 2013 12:51:53 PM PST
+
+* Media - Audio and Sound Support including Data Streaming and File-system Data
+* Titanium Studio Console Logging Support
+* TextArea
+* ScrollView
+* Map Annotation
+* Tab Active Support
+* Locale Support
+
+
+Notes on Upgrading BlackBerry Golden Release for Map Annotation Support
+-----------------------------------------------------------------------
+
+This release has added support for Map Annotations. For developers using the Golden Release build or prior builds there are a few important steps that must be followed to make sure your application builds and runs. This only applies to the BlackBerry 10 release not the BlackBerry 10 Beta.
+
+1) Download and install the latest BlackBerry SDK/NDK from http://developer.blackberry.com/native/downloads/#blackberry10.
+
+2) Make sure to follow the instructions to upgrade the Golden Release builds. We have tested build 10.0.9.2372 but any later builds should be fine. The instructions are located at http://developer.blackberry.com/native/downloads/bb10/releasenotes_nativesdk.html.
+
+3) Download and install the simulator that matches the build number you downloaded. A list of simulators can be found at http://developer.blackberry.com/native/downloads/bb10allsimversions/
+
+4) Edit the bbndk_env.sh file so the QNX_TARGET matched the updated build for example QNX_TARGET_VERSION=${QNX_TARGET_VERSION:=10_0_9_2372}. You can find the file at the root of the BlackBerry NDK folder. On OSX it's typically /Applications/bbndk/bbndk-env.sh, on Windows it's c://bbndk/bbndk-env.bat.
+
+
+Notes on Application Orientation
+--------------------------------
+
+By default your application is fixed in portrait mode. You enable you app to auto rotate to the device orientation add the following to the tiapp.xml file in the project directory:
+
+ <blackberry>
+ <orientation>auto</orientation>
+ </blackberry>
+
+The orientation element can be:
+
+ - auto (allows full programatic control, empty orientation modes array = all orientations supported)
+ - landscape
+ - portrait
+ - default (lock in the device's preferred orientation; phones -> portrait, tablets -> landscape)
+
+Notes on Project Creation
+-------------------------
+
+When selecting multiple deploy targets, do not select Android. If Android is selected the BlackBerry project is not created. You can after project creation add Adroid using tiapp.xml.
+
+
New Features in this Release (3.1.0.v20130305173300)
----------------------------------------------------
@@ -56,7 +106,6 @@ Remaining Functionality for Beta Release
* TableViewSection (TIMOB-8840)
* Geolocation (TIMOB-12234)
-* ScrollView (TIMOB-8832)
* Additional Window/TabGroup/ImageView/Blob and Network functionality (TIMOB-9605, TIMOB-9604, TIMOB-10275, TIMOB-10873, TIMOB-10083, TIMOB-10871)
@@ -1,86 +1,20 @@
-
-/*
-var audioPlayer = Ti.Media.createSound({url:'sounds/moo.wav'});
-audioPlayer.play();
-*/
-
-var win = Titanium.UI.createWindow({
- title:'Audio Test',
- backgroundColor:'#fff',
- layout: 'vertical'
-});
-
-var startStopButton = Titanium.UI.createButton({
- title:'Start/Stop Streaming',
- top:10,
- width:200,
- height:40
-});
-
-var pauseResumeButton = Titanium.UI.createButton({
- title:'Pause/Resume Streaming',
- top:10,
- width:200,
- height:40,
- enabled:false
-});
-
-win.add(startStopButton);
-win.add(pauseResumeButton);
-
-
-var audioPlayer = Ti.Media.createAudioPlayer({
- url: 'http://www.villagegeek.com/downloads/webwavs/adios.wav'
- //url: 'sounds/moo.wav'
-});
-
-
-startStopButton.addEventListener('click',function() {
- // When paused, playing returns false.
- // If both are false, playback is stopped.
- if (audioPlayer.playing || audioPlayer.paused)
- {
- audioPlayer.stop();
- pauseResumeButton.enabled = false;
- audioPlayer.release();
- }
- else
- {
- audioPlayer.start();
- pauseResumeButton.enabled = true;
- }
-});
-
-pauseResumeButton.addEventListener('click', function() {
- if (audioPlayer.paused) {
- audioPlayer.start();
- }
- else {
- audioPlayer.pause();
- }
-});
-
-// progress event not implemented
-/*
-audioPlayer.addEventListener('progress',function(e) {
- Ti.API.info('Time Played: ' + Math.round(e.progress) + ' milliseconds');
-});
-*/
-
-audioPlayer.addEventListener('change',function(e)
-{
- Ti.API.info('State: ' + e.description + ' (' + e.state + ')');
-});
-
-audioPlayer.addEventListener('completed',function()
-{
- Ti.API.info('media completed');
-});
-
-win.addEventListener('close',function() {
-
- audioPlayer.stop();
- audioPlayer.release();
-});
-
-win.open();
+var win = Ti.UI.createWindow({
+ backgroundColor: 'green'});
+
+ win.orientationModes = [
+ Titanium.UI.PORTRAIT,
+ Titanium.UI.UPSIDE_PORTRAIT,
+ Titanium.UI.LANDSCAPE_LEFT,
+ Titanium.UI.LANDSCAPE_RIGHT,
+ Titanium.UI.FACE_UP,
+ Titanium.UI.FACE_DOWN
+ ];
+
+var lbl = Ti.UI.createLabel({
+ text:'Orientation modes',
+ color:'white',
+ font:{fontSize:15}
+});
+
+win.add(lbl);
+win.open();

0 comments on commit 869a1f8

Please sign in to comment.