Skip to content

Commit

Permalink
Issue 5: Add bookmark feature.
Browse files Browse the repository at this point in the history
Issue 11: Add delete functionality.
Issue 18: Add overlay for note taking.
Issue 20: If NowPlayingConnection is revoked sometimes app restarts from
the beginning.
Issue 21: Listen to MediaKey changes to toggle between play/pause when
physical keys are pressed.
Issue 22: Stop playback upon app destruction.
Issue 24: Remove magic numbers from database lookups/inserts.
Issue 26: Allow auto-enable Bluetooth functionality
Issue 27: Allow saving bookmarks to plain-text format.
Issue 28: After playback is complete cannot load a new file unless app
is restarted.
  • Loading branch information
ragaeeb committed Oct 26, 2013
1 parent 7140260 commit 72d1476
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 47 deletions.
45 changes: 4 additions & 41 deletions .cproject
Original file line number Diff line number Diff line change
Expand Up @@ -79,44 +79,6 @@
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="com.qnx.qcc.toolChain.924167612">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.924167612" moduleId="org.eclipse.cdt.core.settings" name="Device-Profile">
<externalSettings/>
<extensions>
<extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.924167612" name="Device-Profile" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="com.qnx.qcc.toolChain.924167612.1076078643" name="/" resourcePath="">
<toolChain id="com.qnx.qcc.toolChain.1472167838" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
<option id="com.qnx.qcc.option.os.1416996680" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
<option id="com.qnx.qcc.option.cpu.1002405430" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
<option id="com.qnx.qcc.option.compiler.204680767" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
<option id="com.qnx.qcc.option.runtime.1037409504" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
<targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1503989314" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
<builder autoBuildTarget="Device-Profile" enableAutoBuild="true" id="com.qnx.qcc.toolChain.924167612.1377059267" incrementalBuildTarget="Device-Profile" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
<tool id="com.qnx.qcc.tool.compiler.1635639028" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
<option id="com.qnx.qcc.option.compiler.optlevel.990101461" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
<inputType id="com.qnx.qcc.inputType.compiler.598559069" superClass="com.qnx.qcc.inputType.compiler"/>
</tool>
<tool id="com.qnx.qcc.tool.assembler.880169972" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
<inputType id="com.qnx.qcc.inputType.assembler.1400529703" superClass="com.qnx.qcc.inputType.assembler"/>
</tool>
<tool id="com.qnx.qcc.tool.linker.1892810693" name="QCC Linker" superClass="com.qnx.qcc.tool.linker"/>
<tool id="com.qnx.qcc.tool.archiver.1558823236" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
</toolChain>
</folderInfo>
<sourceEntries>
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
</sourceEntries>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
<cconfiguration id="com.qnx.qcc.toolChain.476587687">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.476587687" moduleId="org.eclipse.cdt.core.settings" name="Simulator-Debug">
<externalSettings/>
Expand All @@ -128,17 +90,17 @@
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildProperties="" id="com.qnx.qcc.toolChain.476587687" name="Simulator-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
<configuration artifactName="${ProjName}" buildProperties="" description="" id="com.qnx.qcc.toolChain.476587687" name="Simulator-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
<folderInfo id="com.qnx.qcc.toolChain.476587687.766000837" name="/" resourcePath="">
<toolChain id="com.qnx.qcc.toolChain.1659452492" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
<option id="com.qnx.qcc.option.os.648704288" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
<option id="com.qnx.qcc.option.cpu.1084544621" name="Target CPU:" superClass="com.qnx.qcc.option.cpu"/>
<option id="com.qnx.qcc.option.compiler.166769900" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
<option id="com.qnx.qcc.option.runtime.752128768" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
<targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1887661243" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
<builder autoBuildTarget="Simulator-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.476587687.1167515090" incrementalBuildTarget="Simulator-Debug" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
<builder autoBuildTarget="Simulator-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.476587687.1167515090" incrementalBuildTarget="Simulator-Debug" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
<tool id="com.qnx.qcc.tool.compiler.1542548095" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
<option id="com.qnx.qcc.option.compiler.optlevel.708042449" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
<option id="com.qnx.qcc.option.compiler.optlevel.708042449" name="Optimization Level" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
<inputType id="com.qnx.qcc.inputType.compiler.1355499365" superClass="com.qnx.qcc.inputType.compiler"/>
</tool>
<tool id="com.qnx.qcc.tool.assembler.617702335" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
Expand Down Expand Up @@ -175,4 +137,5 @@
</scannerConfigBuildInfo>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope"/>
</cproject>
1 change: 0 additions & 1 deletion assets/BookmarksTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ NavigationPane

onCreationCompleted: {
sql.dataLoaded.connect(onDataLoaded);
console.log("forcing fetch all bookmarks!!!");
app.fetchAllBookmarks(true);
}

Expand Down
5 changes: 5 additions & 0 deletions assets/PlaybackTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ NavigationPane
if (player.active) {
delegateActive = true;
player.activeChanged.disconnect(onActiveChanged);

if ( persist.getValueFor("tutorialCount") < 2 ) {
persist.showToast( qsTr("Double-tap anywhere in this empty space to bookmark a specific section of the media. You can also quickly double-press the Voice Action key (in between the Vol Up/Down buttons) to make a quick bookmark of the media (the app does not even need to be in the foreground)!"), qsTr("OK") );
persist.saveValueFor("tutorialCount", 2);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion assets/RecentTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ NavigationPane

contextActions: [
ActionSet {
title: sli.description
title: sli.title
subtitle: sli.status

DeleteActionItem {
Expand Down
3 changes: 0 additions & 3 deletions assets/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ TabbedPane

onSidebarVisualStateChanged: {
if (SidebarVisualState.AnimatingToVisibleCompact) {
console.log("fetching bookmarks!!!");
app.fetchAllBookmarks();
console.log("fetching recent!!!");
app.fetchAllRecent();
}
}
Expand Down Expand Up @@ -104,7 +102,6 @@ TabbedPane
if (id == QueryId.FetchRecent) {
recent.unreadContentCount = data.length;
} else if (id == QueryId.FetchBookmarks) {
console.log("================ FETCHED BOOKMARKS", data.length);
bookmarks.unreadContentCount = data.length;
}
}
Expand Down
2 changes: 1 addition & 1 deletion bar-descriptor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
An updated version of application must have a versionNumber value higher than the previous version. Required. -->
<versionNumber>1.8.0</versionNumber>
<versionNumber>1.9.0</versionNumber>

<!-- Fourth digit segment of the package version. First three segments are taken from the
<versionNumber> element. Must be an integer from 0 to 2^16-1 -->
Expand Down

0 comments on commit 72d1476

Please sign in to comment.