Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
android-client
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
icarus
android-client
Commits
f082196a
Commit
f082196a
authored
Apr 27, 2018
by
Mattia Ducci
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aggiunta dipendenza a Volley, creata struttura base delle classi
parent
64b35c9c
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
152 additions
and
1 deletion
+152
-1
build_file_checksums.ser
IcarusAndroid/.idea/caches/build_file_checksums.ser
+0
-0
gradle.xml
IcarusAndroid/.idea/gradle.xml
+1
-0
.gitignore
IcarusAndroid/icarus/.gitignore
+1
-0
build.gradle
IcarusAndroid/icarus/build.gradle
+36
-0
proguard-rules.pro
IcarusAndroid/icarus/proguard-rules.pro
+21
-0
ExampleInstrumentedTest.java
...rywaretechnologies/it/icarus/ExampleInstrumentedTest.java
+26
-0
AndroidManifest.xml
IcarusAndroid/icarus/src/main/AndroidManifest.xml
+2
-0
EventTrackResource.java
...k/everywaretechnologies/it/icarus/EventTrackResource.java
+4
-0
Icarus.java
...ava/framework/everywaretechnologies/it/icarus/Icarus.java
+28
-0
IcarusResource.java
...ework/everywaretechnologies/it/icarus/IcarusResource.java
+4
-0
ScreenTrackResource.java
.../everywaretechnologies/it/icarus/ScreenTrackResource.java
+4
-0
UserSettingsResource.java
...everywaretechnologies/it/icarus/UserSettingsResource.java
+4
-0
strings.xml
IcarusAndroid/icarus/src/main/res/values/strings.xml
+3
-0
ExampleUnitTest.java
...work/everywaretechnologies/it/icarus/ExampleUnitTest.java
+17
-0
settings.gradle
IcarusAndroid/settings.gradle
+1
-1
No files found.
IcarusAndroid/.idea/caches/build_file_checksums.ser
View file @
f082196a
No preview for this file type
IcarusAndroid/.idea/gradle.xml
View file @
f082196a
...
...
@@ -9,6 +9,7 @@
<set>
<option
value=
"$PROJECT_DIR$"
/>
<option
value=
"$PROJECT_DIR$/app"
/>
<option
value=
"$PROJECT_DIR$/icarus"
/>
</set>
</option>
<option
name=
"resolveModulePerSourceSet"
value=
"false"
/>
...
...
IcarusAndroid/icarus/.gitignore
0 → 100644
View file @
f082196a
/build
IcarusAndroid/icarus/build.gradle
0 → 100644
View file @
f082196a
apply
plugin:
'com.android.library'
android
{
compileSdkVersion
27
defaultConfig
{
minSdkVersion
21
targetSdkVersion
27
versionCode
1
versionName
"1.0"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
}
buildTypes
{
release
{
minifyEnabled
false
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
}
}
}
dependencies
{
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
implementation
'com.android.support:appcompat-v7:27.1.1'
testImplementation
'junit:junit:4.12'
androidTestImplementation
'com.android.support.test:runner:1.0.2'
androidTestImplementation
'com.android.support.test.espresso:espresso-core:3.0.2'
implementation
'com.android.volley:volley:1.1.0'
}
IcarusAndroid/icarus/proguard-rules.pro
0 → 100644
View file @
f082196a
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# 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 *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
IcarusAndroid/icarus/src/androidTest/java/framework/everywaretechnologies/it/icarus/ExampleInstrumentedTest.java
0 → 100644
View file @
f082196a
package
framework
.
everywaretechnologies
.
it
.
icarus
;
import
android.content.Context
;
import
android.support.test.InstrumentationRegistry
;
import
android.support.test.runner.AndroidJUnit4
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
static
org
.
junit
.
Assert
.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith
(
AndroidJUnit4
.
class
)
public
class
ExampleInstrumentedTest
{
@Test
public
void
useAppContext
()
{
// Context of the app under test.
Context
appContext
=
InstrumentationRegistry
.
getTargetContext
();
assertEquals
(
"framework.everywaretechnologies.it.icarus.test"
,
appContext
.
getPackageName
());
}
}
IcarusAndroid/icarus/src/main/AndroidManifest.xml
0 → 100644
View file @
f082196a
<manifest
xmlns:android=
"http://schemas.android.com/apk/res/android"
package=
"framework.everywaretechnologies.it.icarus"
/>
IcarusAndroid/icarus/src/main/java/framework/everywaretechnologies/it/icarus/EventTrackResource.java
0 → 100644
View file @
f082196a
package
framework
.
everywaretechnologies
.
it
.
icarus
;
public
class
EventTrackResource
extends
IcarusResource
{
}
IcarusAndroid/icarus/src/main/java/framework/everywaretechnologies/it/icarus/Icarus.java
0 → 100644
View file @
f082196a
package
framework
.
everywaretechnologies
.
it
.
icarus
;
import
java.util.LinkedList
;
import
java.util.Queue
;
import
java.util.concurrent.locks.Lock
;
import
java.util.concurrent.locks.ReentrantLock
;
class
Icarus
{
private
static
final
Icarus
ourInstance
=
new
Icarus
();
private
Queue
<
IcarusResource
>
pendingResources
;
private
Lock
pendingResourceLock
;
public
static
Icarus
getInstance
()
{
return
ourInstance
;
}
private
Icarus
()
{
pendingResources
=
new
LinkedList
<>();
pendingResourceLock
=
new
ReentrantLock
();
}
public
void
pushResource
(
IcarusResource
icarusResource
){
}
}
IcarusAndroid/icarus/src/main/java/framework/everywaretechnologies/it/icarus/IcarusResource.java
0 → 100644
View file @
f082196a
package
framework
.
everywaretechnologies
.
it
.
icarus
;
public
abstract
class
IcarusResource
{
}
IcarusAndroid/icarus/src/main/java/framework/everywaretechnologies/it/icarus/ScreenTrackResource.java
0 → 100644
View file @
f082196a
package
framework
.
everywaretechnologies
.
it
.
icarus
;
public
class
ScreenTrackResource
extends
IcarusResource
{
}
IcarusAndroid/icarus/src/main/java/framework/everywaretechnologies/it/icarus/UserSettingsResource.java
0 → 100644
View file @
f082196a
package
framework
.
everywaretechnologies
.
it
.
icarus
;
public
class
UserSettingsResource
extends
IcarusResource
{
}
IcarusAndroid/icarus/src/main/res/values/strings.xml
0 → 100644
View file @
f082196a
<resources>
<string
name=
"app_name"
>
Icarus
</string>
</resources>
IcarusAndroid/icarus/src/test/java/framework/everywaretechnologies/it/icarus/ExampleUnitTest.java
0 → 100644
View file @
f082196a
package
framework
.
everywaretechnologies
.
it
.
icarus
;
import
org.junit.Test
;
import
static
org
.
junit
.
Assert
.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public
class
ExampleUnitTest
{
@Test
public
void
addition_isCorrect
()
{
assertEquals
(
4
,
2
+
2
);
}
}
\ No newline at end of file
IcarusAndroid/settings.gradle
View file @
f082196a
include
':app'
include
':app'
,
':icarus'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment