File tree 11 files changed +14
-54
lines changed
androidTest/java/com/example/mmeandroid
java/com/lambdaforge/mmeandroid
test/java/com/example/mmeandroid
11 files changed +14
-54
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ android {
6
6
compileSdkVersion 29
7
7
buildToolsVersion " 29.0.2"
8
8
defaultConfig {
9
- applicationId " com.example .mmeandroid"
9
+ applicationId " com.lambdaforge .mmeandroid"
10
10
minSdkVersion 16
11
11
targetSdkVersion 29
12
12
versionCode 1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- xmlns : tools =" http://schemas.android.com/tools" package =" com.example .mmeandroid" >
3
+ xmlns : tools =" http://schemas.android.com/tools" package =" com.lambdaforge .mmeandroid" >
4
4
5
5
<uses-permission android : name =" android.permission.INTERNET" />
6
6
<uses-permission android : name =" android.permission.CHANGE_NETWORK_STATE" />
20
20
21
21
<provider
22
22
android : name =" .AssetProvider"
23
- android : authorities =" com.example .mmeandroid.assetprovider"
23
+ android : authorities =" com.lambdaforge .mmeandroid.assetprovider"
24
24
android : grantUriPermissions =" true"
25
25
android : exported =" true" />
26
26
Original file line number Diff line number Diff line change 1
- package com.example .mmeandroid
1
+ package com.lambdaforge .mmeandroid
2
2
3
3
import android.content.ContentProvider
4
4
import android.content.res.AssetFileDescriptor
@@ -45,12 +45,12 @@ class AssetProvider : ContentProvider() {
45
45
46
46
override fun query (
47
47
uri : Uri ,
48
- projection : Array <String >? ,
48
+ proj : Array <String >? ,
49
49
selection : String? ,
50
50
selectionArgs : Array <String >? ,
51
51
sortOrder : String?
52
52
): Cursor ? {
53
- var projection = projection
53
+ var projection = proj
54
54
if (projection == null ) {
55
55
projection = COLUMNS
56
56
}
Original file line number Diff line number Diff line change 1
- package com.example .mmeandroid
1
+ package com.lambdaforge .mmeandroid
2
2
3
3
import android.content.Context
4
4
import androidx.appcompat.app.AlertDialog
Original file line number Diff line number Diff line change 1
- package com.example .mmeandroid
1
+ package com.lambdaforge .mmeandroid
2
2
3
3
import android.content.ActivityNotFoundException
4
4
import androidx.appcompat.app.AppCompatActivity
@@ -37,7 +37,7 @@ class HomeActivity : AppCompatActivity() {
37
37
38
38
private fun openPDF () {
39
39
40
- val path = Uri .parse(" content://com.example .mmeandroid.assetprovider/manual.pdf" )
40
+ val path = Uri .parse(" content://com.lambdaforge .mmeandroid.assetprovider/manual.pdf" )
41
41
42
42
val pdfIntent = Intent (Intent .ACTION_VIEW )
43
43
pdfIntent.addFlags(Intent .FLAG_GRANT_READ_URI_PERMISSION )
Original file line number Diff line number Diff line change 1
- package com.example .mmeandroid
1
+ package com.lambdaforge .mmeandroid
2
2
3
3
import android.Manifest
4
4
import android.app.DownloadManager
Original file line number Diff line number Diff line change 1
- package com.example .mmeandroid
1
+ package com.lambdaforge .mmeandroid
2
2
3
3
import androidx.appcompat.app.AppCompatActivity
4
4
import android.os.Bundle
Original file line number Diff line number Diff line change 1
- package com.example .mmeandroid
1
+ package com.lambdaforge .mmeandroid
2
2
3
3
import android.Manifest
4
4
import android.content.Intent
@@ -216,7 +216,8 @@ class UploadActivity : AppCompatActivity() {
216
216
fileContent = String (buffer)
217
217
}
218
218
catch (e: Exception ) {
219
- Dialog (this @UploadActivity).showInformation(tag, warningOnImportFailure)
219
+ Dialog (this @UploadActivity)
220
+ .showInformation(tag, warningOnImportFailure)
220
221
throw java.lang.Exception (" Failure while reading media sources file $fileName !" )
221
222
}
222
223
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments