Skip to content

Commit fbf7b47

Browse files
committed
Subiendo repositorio
0 parents  commit fbf7b47

42 files changed

Lines changed: 1593 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/androidstudio,kotlin,java,windows
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=androidstudio,kotlin,java,windows
3+
4+
### Java ###
5+
# Compiled class file
6+
*.class
7+
8+
# Log file
9+
*.log
10+
11+
# BlueJ files
12+
*.ctxt
13+
14+
# Mobile Tools for Java (J2ME)
15+
.mtj.tmp/
16+
17+
# Package Files #
18+
*.jar
19+
*.war
20+
*.nar
21+
*.ear
22+
*.zip
23+
*.tar.gz
24+
*.rar
25+
26+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
27+
hs_err_pid*
28+
replay_pid*
29+
30+
### Kotlin ###
31+
# Compiled class file
32+
33+
# Log file
34+
35+
# BlueJ files
36+
37+
# Mobile Tools for Java (J2ME)
38+
39+
# Package Files #
40+
41+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
42+
43+
### Windows ###
44+
# Windows thumbnail cache files
45+
Thumbs.db
46+
Thumbs.db:encryptable
47+
ehthumbs.db
48+
ehthumbs_vista.db
49+
50+
# Dump file
51+
*.stackdump
52+
53+
# Folder config file
54+
[Dd]esktop.ini
55+
56+
# Recycle Bin used on file shares
57+
$RECYCLE.BIN/
58+
59+
# Windows Installer files
60+
*.cab
61+
*.msi
62+
*.msix
63+
*.msm
64+
*.msp
65+
66+
# Windows shortcuts
67+
*.lnk
68+
69+
### AndroidStudio ###
70+
# Covers files to be ignored for android development using Android Studio.
71+
72+
# Built application files
73+
*.apk
74+
*.ap_
75+
*.aab
76+
77+
# Files for the ART/Dalvik VM
78+
*.dex
79+
80+
# Java class files
81+
82+
# Generated files
83+
bin/
84+
gen/
85+
out/
86+
87+
# Gradle files
88+
.gradle
89+
.gradle/
90+
build/
91+
92+
# Signing files
93+
.signing/
94+
95+
# Local configuration file (sdk path, etc)
96+
local.properties
97+
98+
# Proguard folder generated by Eclipse
99+
proguard/
100+
101+
# Log Files
102+
103+
# Android Studio
104+
/*/build/
105+
/*/local.properties
106+
/*/out
107+
/*/*/build
108+
/*/*/production
109+
captures/
110+
.navigation/
111+
*.ipr
112+
*~
113+
*.swp
114+
115+
# Keystore files
116+
*.jks
117+
*.keystore
118+
119+
# Google Services (e.g. APIs or Firebase)
120+
# google-services.json
121+
122+
# Android Patch
123+
gen-external-apklibs
124+
125+
# External native build folder generated in Android Studio 2.2 and later
126+
.externalNativeBuild
127+
128+
# NDK
129+
obj/
130+
131+
# IntelliJ IDEA
132+
*.iml
133+
*.iws
134+
/out/
135+
136+
# User-specific configurations
137+
.idea/caches/
138+
.idea/libraries/
139+
.idea/shelf/
140+
.idea/workspace.xml
141+
.idea/tasks.xml
142+
.idea/.name
143+
.idea/compiler.xml
144+
.idea/copyright/profiles_settings.xml
145+
.idea/encodings.xml
146+
.idea/misc.xml
147+
.idea/modules.xml
148+
.idea/scopes/scope_settings.xml
149+
.idea/dictionaries
150+
.idea/vcs.xml
151+
.idea/jsLibraryMappings.xml
152+
.idea/datasources.xml
153+
.idea/dataSources.ids
154+
.idea/sqlDataSources.xml
155+
.idea/dynamic.xml
156+
.idea/uiDesigner.xml
157+
.idea/assetWizardSettings.xml
158+
.idea/gradle.xml
159+
.idea/jarRepositories.xml
160+
.idea/navEditor.xml
161+
162+
# OS-specific files
163+
.DS_Store
164+
.DS_Store?
165+
._*
166+
.Spotlight-V100
167+
.Trashes
168+
169+
# Legacy Eclipse project files
170+
.classpath
171+
.project
172+
.cproject
173+
.settings/
174+
175+
# Mobile Tools for Java (J2ME)
176+
177+
# Package Files #
178+
179+
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
180+
181+
## Plugin-specific files:
182+
183+
# mpeltonen/sbt-idea plugin
184+
.idea_modules/
185+
186+
# JIRA plugin
187+
atlassian-ide-plugin.xml
188+
189+
# Mongo Explorer plugin
190+
.idea/mongoSettings.xml
191+
192+
# Crashlytics plugin (for Android Studio and IntelliJ)
193+
com_crashlytics_export_strings.xml
194+
crashlytics.properties
195+
crashlytics-build.properties
196+
fabric.properties
197+
198+
### AndroidStudio Patch ###
199+
200+
!/gradle/wrapper/gradle-wrapper.jar
201+
202+
# End of https://www.toptal.com/developers/gitignore/api/androidstudio,kotlin,java,windows

.idea/.gitignore

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/runConfigurations.xml

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

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# learningApklis
2+
3+
Es una aplicación para ir aprendiendo sobre el api de verificación de compra y actualización de aplicaciones en apklis
4+
5+
## Lenguajes utilizados
6+
7+
Java
8+
9+
## Api's principales
10+
11+
Api para comprobar el pago de una aplicación
12+
13+
Api para comprobar si existen actualizaciones en Apklis
14+
15+
## Librerías Utilizadas en la aplicación
16+
17+
* Api para verificar compra en apklis
18+
19+
https://github.com/yanisgomez/apklis-util
20+
21+
* Para la lista de verificación de compra
22+
23+
https://github.com/baoyachi/StepView.git
24+
25+
* Librería para la creacion del slider
26+
27+
https://github.com/denzcoskun/ImageSlideshow.git

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: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
plugins {
2+
id 'com.android.application'
3+
}
4+
5+
android {
6+
compileSdkVersion 30
7+
buildToolsVersion "30.0.3"
8+
9+
defaultConfig {
10+
applicationId "zaldivar.carlos.learnapklisjava"
11+
minSdkVersion 21
12+
targetSdkVersion 30
13+
versionCode 1
14+
versionName "1.0"
15+
16+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17+
}
18+
19+
buildTypes {
20+
release {
21+
minifyEnabled false
22+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
23+
}
24+
}
25+
compileOptions {
26+
sourceCompatibility JavaVersion.VERSION_1_8
27+
targetCompatibility JavaVersion.VERSION_1_8
28+
}
29+
}
30+
31+
dependencies {
32+
33+
implementation 'com.github.denzcoskun:ImageSlideshow:0.1.0'
34+
implementation 'com.github.baoyachi:StepView:1.9'
35+
36+
implementation 'androidx.appcompat:appcompat:1.2.0'
37+
implementation 'com.google.android.material:material:1.3.0'
38+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
39+
testImplementation 'junit:junit:4.+'
40+
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
41+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
42+
}

app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package zaldivar.carlos.learnapklisjava;
2+
3+
import android.content.Context;
4+
5+
import androidx.test.platform.app.InstrumentationRegistry;
6+
import androidx.test.ext.junit.runners.AndroidJUnit4;
7+
8+
import org.junit.Test;
9+
import org.junit.runner.RunWith;
10+
11+
import static org.junit.Assert.*;
12+
13+
/**
14+
* Instrumented test, which will execute on an Android device.
15+
*
16+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
17+
*/
18+
@RunWith(AndroidJUnit4.class)
19+
public class ExampleInstrumentedTest {
20+
@Test
21+
public void useAppContext() {
22+
// Context of the app under test.
23+
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
24+
assertEquals("zaldivar.carlos.learnapklisjava", appContext.getPackageName());
25+
}
26+
}

app/src/main/AndroidManifest.xml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="zaldivar.carlos.learnapklisjava">
4+
5+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
6+
<uses-permission android:name="android.permission.INTERNET" />
7+
<uses-permission android:name="android.permission.CALL_PHONE" />
8+
9+
<application
10+
android:allowBackup="true"
11+
android:icon="@mipmap/ic_launcher"
12+
android:label="@string/app_name"
13+
android:roundIcon="@mipmap/ic_launcher_round"
14+
android:supportsRtl="true"
15+
android:theme="@style/Theme.LearnApklisJava">
16+
<activity android:name=".MainActivity">
17+
<intent-filter>
18+
<action android:name="android.intent.action.MAIN" />
19+
20+
<category android:name="android.intent.category.LAUNCHER" />
21+
</intent-filter>
22+
</activity>
23+
24+
<service
25+
android:name=".util.ApklisUpdatesJobService"
26+
android:exported="true"
27+
android:permission="android.permission.BIND_JOB_SERVICE" />
28+
29+
</application>
30+
31+
</manifest>
31.9 KB
Loading

0 commit comments

Comments
 (0)