Skip to content

Commit

Permalink
Merge pull request #38 from BuildmLearn/templates-2016
Browse files Browse the repository at this point in the history
Update master branch after completion of GSoC EndTerm 2016
  • Loading branch information
opticod authored Aug 22, 2016
2 parents 521df3e + 9a3db03 commit 9b7ed9b
Show file tree
Hide file tree
Showing 422 changed files with 15,474 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
before_install: cd InfoTemplate/source/InfoTemplateAppV3
before_install: cd QuizTemplate/source/QuizTemplateAppV3

language: android
sudo: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package org.buildmlearn.comprehension;

/**
* @brief Constants used in comprehension template's app relating databases.
*
* Created by Anupam (opticod) on 31/5/16.
*/
public class Constants {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import java.util.Locale;

/**
* @brief Last Fragment for comprehension template's app.
*
* Created by Anupam (opticod) on 2/6/16.
*/
public class LastActivity extends AppCompatActivity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import java.util.Locale;

/**
* @brief Main Fragment for comprehension template's app.
*
* Created by Anupam (opticod) on 31/5/16.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import java.util.Locale;

/**
* @brief Question Fragment for comprehension template's app.
*
* Created by Anupam (opticod) on 2/6/16.
*/
public class QuestionActivity extends AppCompatActivity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
import org.buildmlearn.comprehension.data.FetchXMLTask;

/**
* @brief Splash intro Fragment for comprehension template's app.
*
* Created by Anupam (opticod) on 31/5/16.
*/
public class SplashActivity extends Activity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import android.provider.BaseColumns;

/**
* @brief Contains database contracts for comprehension template's app.
*
* Created by Anupam (opticod) on 1/6/16.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
import org.buildmlearn.comprehension.data.ComprehensionContract.Questions;

/**
* @brief DatabaseHelper for comprehension template's app.
*
* Created by Anupam (opticod) on 1/6/16.
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
import java.util.Arrays;

/**
* @brief Contains database util functions for comprehension template's app.
*
* Created by Anupam (opticod) on 1/6/16.
*/
public class ComprehensionDb {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import android.os.Parcelable;

/**
* @brief Model class for Comprehension Meta Template Editor data
* Created by Anupam (opticod) on 1/6/16.
*/
public class ComprehensionMetaModel implements Parcelable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import java.util.ArrayList;

/**
* @brief Model class for Comprehension Template Editor data
* <p/>
* Created by Anupam (opticod) on 1/6/16.
*/
public class ComprehensionModel implements Parcelable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import javax.xml.parsers.ParserConfigurationException;

/**
* @brief Contains xml data utils for comprehension template's app.
*
* Created by Anupam (opticod) on 31/5/16.
*/
public class DataUtils {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
import javax.xml.parsers.ParserConfigurationException;

/**
* @brief Used to parse XML and save in database for comprehension template's app.
*
* Created by Anupam (opticod) on 31/5/16.
*/
public class FetchXMLTask extends AsyncTask<String, Void, Void> {
Expand Down
Binary file added DictationTemplate/apk/DictationApp.apk
Binary file not shown.
8 changes: 8 additions & 0 deletions DictationTemplate/source/DictationTemplateApp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
28 changes: 28 additions & 0 deletions DictationTemplate/source/DictationTemplateApp/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
applicationId "org.buildmlearn.dictation"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}

dependencies {
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /home/anupam/Android/Sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.buildmlearn.dictation">

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<activity
android:name=".activities.SplashActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/AppTheme.FullScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name=".activities.MainActivity"
android:theme="@style/AppThemeNoActionBar" />

<activity
android:name=".activities.DetailActivity"
android:configChanges="orientation|screenSize" />

<activity
android:name=".activities.ResultActivity"
android:configChanges="orientation|screenSize" />

</application>

</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<buildmlearn_application type="DictationTemplate">
<author>
<name>Anupam</name>
</author>
<title>Dictation</title>
<data>
<item>
<dictation_title>Dream of the Rarebit Fiend</dictation_title>
<dictation_passage>Dream of the Rarebit Fiend was a newspaper comic strip by American cartoonist Winsor McCay, begun September 10, 1904, that depicted fantastic bizarre dreams. It was McCay's second successful strip after Little Sammy Sneeze secured him a position on the cartoon staff of the New York Herald. Rarebit Fiend was printed in the Evening Telegram, a newspaper published by the Herald. The strip had no continuity or recurring characters.</dictation_passage>
</item>
<item>
<dictation_title>Earthworks</dictation_title>
<dictation_passage>Bill Bruford's Earthworks were a British jazz band led by drummer Bill Bruford. The band recorded several albums for Editions EG, Discipline Global Mobile and Summerfold Records.

Earthworks went through several line-ups: in addition to the band's accomplishments as a unit, Earthworks was a training ground for Django Bates, Iain Ballamy, Patrick Clahar, Mark Hodgson, Steve Hamilton and Gwilym Simcock. The final band line-up featured previously established jazz musicians in the form of Chick Corea sideman Tim Garland and veteran bass player Laurence Cottle. In interviews during the band's earlier years, Bruford sometimes compared his responsibilities within it as being similar to those of Art Blakey with the Jazz Messengers, in that he was providing an environment for young British jazz players to gain attention and experience before going on to become well-known players and bandleaders in their own right.</dictation_passage>
</item>
</data>
</buildmlearn_application>
Loading

0 comments on commit 9b7ed9b

Please sign in to comment.