Skip to content

Commit

Permalink
Initial commit :)
Browse files Browse the repository at this point in the history
  • Loading branch information
acomminos committed Jan 27, 2014
1 parent 5783e30 commit 9233fbf
Show file tree
Hide file tree
Showing 344 changed files with 13,329 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Gradle / Android Studio
build/
.idea/
.gradle/
*.iml
signing.gradle

# Android
local.properties

# Java
*.class
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "Plumble/libraries/Jumble"]
path = Plumble/libraries/Jumble
url = https://www.github.com/Morlunk/Jumble.git
[submodule "Plumble/libraries/libonionkit"]
path = Plumble/libraries/libonionkit
url = https://www.github.com/Morlunk/OnionKit.git
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

71 changes: 71 additions & 0 deletions Plumble/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
/*
* Copyright (C) 2014 Andrew Comminos
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/



buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.7.+'
}
}
apply plugin: 'android'

repositories {
mavenCentral()
}

dependencies {
compile project("libraries:Jumble")
compile project("libraries:libonionkit")
compile 'com.android.support:support-v4:19.0.+'
compile 'com.android.support:appcompat-v7:19.0.+'
compile 'com.google.guava:guava:15.+'
}


// Keep my credentials private :^)
signingFile = file 'signing.gradle';
if(signingFile.exists()) apply from: 'signing.gradle'

android {
compileSdkVersion 19
buildToolsVersion "19.0.1"

defaultConfig {
minSdkVersion 9
targetSdkVersion 19
}

productFlavors {
official {
packageName "com.morlunk.mumbleclient"
}

jenkins {
packageName "com.morlunk.mumbleclient.jenkins"
}
}
}

// Add Jumble's built native libs - hack
tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask ->
pkgTask.jniFolders = new HashSet<File>()
pkgTask.jniFolders.add(new File(project("libraries:Jumble").buildDir, 'native-libs'))
}
1 change: 1 addition & 0 deletions Plumble/libraries/Jumble
Submodule Jumble added at 0833aa
1 change: 1 addition & 0 deletions Plumble/libraries/libonionkit
Submodule libonionkit added at 86f802
Binary file added Plumble/src/jenkins/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions Plumble/src/jenkins/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2014 Andrew Comminos
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->

<resources>
<string name="app_name">Plumble Nightly</string>
</resources>
86 changes: 86 additions & 0 deletions Plumble/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
~ Copyright (C) 2014 Andrew Comminos
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.morlunk.mumbleclient"
android:versionCode="53"
android:versionName="3.0.0-beta1" >

<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="18" />

<uses-feature
android:name="android.hardware.microphone"
android:required="false" />

<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.BLUETOOTH" />

<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.Plumble" >

<!--<provider-->
<!--android:name=".channel.ChannelSearchProvider"-->
<!--android:authorities="com.morlunk.mumbleclient.channel.ChannelSearchProvider"-->
<!--android:exported="false" />-->

<activity android:name=".wizard.WizardActivity"/>

<activity android:name=".preference.Preferences"
android:parentActivityName=".app.PlumbleActivity"/>

<service
android:name=".service.PlumbleService"
android:enabled="true"/>

<activity
android:name=".app.PlumbleActivity"
android:label="@string/app_name"
android:launchMode="singleTop"
android:configChanges="keyboardHidden|orientation|screenSize"> <!-- TODO get fragment state preservation into a state where this is unnecessary -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable"/>
<intent-filter>
<action android:name="android.intent.action.VIEW" />

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data android:scheme="mumble" />
</intent-filter>
</activity>
</application>

</manifest>
22 changes: 22 additions & 0 deletions Plumble/src/main/java/com/morlunk/mumbleclient/Constants.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright (C) 2014 Andrew Comminos
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

package com.morlunk.mumbleclient;

public class Constants {
public static final String TAG = "Plumble";
}
Loading

0 comments on commit 9233fbf

Please sign in to comment.