Skip to content

Commit 3fcc34c

Browse files
committed
Initial commit
- Service for MediaRecorder to take default input - Starts HTTP server to send InputStream of audio in AAC stream
1 parent 4d4a118 commit 3fcc34c

36 files changed

+1135
-0
lines changed

.gitignore

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2+
# Created by https://www.gitignore.io/api/android,androidstudio
3+
4+
### Android ###
15
# Built application files
26
*.apk
37
*.ap_
@@ -35,6 +39,130 @@ captures/
3539
# Intellij
3640
*.iml
3741
.idea/workspace.xml
42+
.idea/tasks.xml
43+
.idea/gradle.xml
44+
.idea/dictionaries
45+
.idea/libraries
3846

3947
# Keystore files
4048
*.jks
49+
50+
# External native build folder generated in Android Studio 2.2 and later
51+
.externalNativeBuild
52+
53+
# Google Services (e.g. APIs or Firebase)
54+
google-services.json
55+
56+
# Freeline
57+
freeline.py
58+
freeline/
59+
freeline_project_description.json
60+
61+
### Android Patch ###
62+
gen-external-apklibs
63+
64+
### AndroidStudio ###
65+
# Covers files to be ignored for android development using Android Studio.
66+
67+
# Built application files
68+
69+
# Files for the ART/Dalvik VM
70+
71+
# Java class files
72+
73+
# Generated files
74+
75+
# Gradle files
76+
.gradle
77+
78+
# Signing files
79+
.signing/
80+
81+
# Local configuration file (sdk path, etc)
82+
83+
# Proguard folder generated by Eclipse
84+
85+
# Log Files
86+
87+
# Android Studio
88+
/*/build/
89+
/*/local.properties
90+
/*/out
91+
/*/*/build
92+
/*/*/production
93+
*.ipr
94+
*~
95+
*.swp
96+
97+
# Android Patch
98+
99+
# External native build folder generated in Android Studio 2.2 and later
100+
101+
# NDK
102+
obj/
103+
104+
# IntelliJ IDEA
105+
*.iws
106+
/out/
107+
108+
# User-specific configurations
109+
.idea/libraries/
110+
.idea/.name
111+
.idea/compiler.xml
112+
.idea/copyright/profiles_settings.xml
113+
.idea/encodings.xml
114+
.idea/misc.xml
115+
.idea/modules.xml
116+
.idea/scopes/scope_settings.xml
117+
.idea/vcs.xml
118+
.idea/jsLibraryMappings.xml
119+
.idea/datasources.xml
120+
.idea/dataSources.ids
121+
.idea/sqlDataSources.xml
122+
.idea/dynamic.xml
123+
.idea/uiDesigner.xml
124+
125+
# Keystore files
126+
127+
# OS-specific files
128+
.DS_Store
129+
.DS_Store?
130+
._*
131+
.Spotlight-V100
132+
.Trashes
133+
ehthumbs.db
134+
Thumbs.db
135+
136+
# Legacy Eclipse project files
137+
.classpath
138+
.project
139+
140+
# Mobile Tools for Java (J2ME)
141+
.mtj.tmp/
142+
143+
# Package Files #
144+
*.jar
145+
*.war
146+
*.ear
147+
148+
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
149+
hs_err_pid*
150+
151+
## Plugin-specific files:
152+
153+
# mpeltonen/sbt-idea plugin
154+
.idea_modules/
155+
156+
# JIRA plugin
157+
atlassian-ide-plugin.xml
158+
159+
# Mongo Explorer plugin
160+
.idea/mongoSettings.xml
161+
162+
# Crashlytics plugin (for Android Studio and IntelliJ)
163+
com_crashlytics_export_strings.xml
164+
crashlytics.properties
165+
crashlytics-build.properties
166+
fabric.properties
167+
168+
# End of https://www.gitignore.io/api/android,androidstudio

.idea/compiler.xml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 62 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
mavenCentral()
5+
}
6+
7+
dependencies {
8+
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
9+
}
10+
}
11+
apply plugin: 'com.android.application'
12+
apply plugin: 'com.neenbedankt.android-apt'
13+
14+
android {
15+
compileSdkVersion 24
16+
buildToolsVersion '24.0.3'
17+
18+
defaultConfig {
19+
applicationId "com.schober.vinylcast"
20+
minSdkVersion 21
21+
targetSdkVersion 24
22+
versionCode 1
23+
versionName "1.0"
24+
}
25+
buildTypes {
26+
release {
27+
minifyEnabled false
28+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
29+
}
30+
}
31+
}
32+
33+
dependencies {
34+
compile fileTree(include: ['*.jar'], dir: 'libs')
35+
testCompile 'junit:junit:4.12'
36+
compile 'com.android.support:appcompat-v7:24.2.1'
37+
// Dagger 2
38+
compile 'com.google.dagger:dagger:2.0.2'
39+
apt 'com.google.dagger:dagger-compiler:2.0.2'
40+
provided 'org.glassfish:javax.annotation:10.0-b28'
41+
// Butterknife
42+
compile 'com.jakewharton:butterknife:7.0.1'
43+
// HTTP Server
44+
compile 'org.nanohttpd:nanohttpd:2.3.0'
45+
// Apache Commons IO
46+
compile 'commons-io:commons-io:2.5'
47+
}

app/proguard-rules.pro

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in /Users/Allen/Library/Android/sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}

0 commit comments

Comments
 (0)