Skip to content

Commit b94040f

Browse files
committed
Map System
0 parents  commit b94040f

Some content is hidden

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

63 files changed

+2467
-0
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/workspace.xml
5+
/.idea/libraries
6+
.DS_Store
7+
/build
8+
/captures
9+
.externalNativeBuild

.idea/compiler.xml

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 25
5+
buildToolsVersion "25.0.3"
6+
defaultConfig {
7+
applicationId "harshmathur.nic.soi.com.nakshe"
8+
minSdkVersion 19
9+
targetSdkVersion 25
10+
versionCode 1
11+
versionName "1.0"
12+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
13+
}
14+
buildTypes {
15+
release {
16+
minifyEnabled false
17+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18+
}
19+
}
20+
}
21+
22+
dependencies {
23+
compile fileTree(include: ['*.jar'], dir: 'libs')
24+
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
25+
exclude group: 'com.android.support', module: 'support-annotations'
26+
})
27+
compile 'com.google.android.gms:play-services-maps:11.0.2'
28+
compile 'com.google.android.gms:play-services-places:11.0.2'
29+
compile 'com.google.android.gms:play-services-location:11.0.2'
30+
compile 'com.android.support:appcompat-v7:25.3.1'
31+
compile 'com.google.firebase:firebase-database:11.0.2'
32+
compile 'com.github.barteksc:android-pdf-viewer:2.6.1'
33+
compile 'com.sothree.slidinguppanel:library:3.3.1'
34+
compile 'com.github.mancj:MaterialSearchBar:0.7'
35+
compile 'com.android.support:design:25.3.1'
36+
compile 'com.android.support:cardview-v7:25.3.1'
37+
compile 'com.android.support:recyclerview-v7:25.3.1'
38+
compile 'com.android.support.constraint:constraint-layout:1.0.2'
39+
testCompile 'junit:junit:4.12'
40+
compile files('libs/jxl.jar')
41+
}
42+
43+
44+
45+
apply plugin: 'com.google.gms.google-services'

app/google-services.json

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"project_info": {
3+
"project_number": "899198423340",
4+
"firebase_url": "https://nakshe-cc9d7.firebaseio.com",
5+
"project_id": "nakshe-cc9d7",
6+
"storage_bucket": "nakshe-cc9d7.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:899198423340:android:2303a580d63a1728",
12+
"android_client_info": {
13+
"package_name": "harshmathur.nic.soi.com.nakshe"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "899198423340-ri7ip1i74o3hll1kar420k2m499sodb0.apps.googleusercontent.com",
19+
"client_type": 1,
20+
"android_info": {
21+
"package_name": "harshmathur.nic.soi.com.nakshe",
22+
"certificate_hash": "695f358b1c205c125ffd463f0ba381309c6043ae"
23+
}
24+
},
25+
{
26+
"client_id": "899198423340-l6lk5oo6c1ocopb7gspus24if0vnanrq.apps.googleusercontent.com",
27+
"client_type": 3
28+
}
29+
],
30+
"api_key": [
31+
{
32+
"current_key": "AIzaSyBFfJn7XyDSRiVm3bXZuDFDXFU3zDxvEwk"
33+
}
34+
],
35+
"services": {
36+
"analytics_service": {
37+
"status": 1
38+
},
39+
"appinvite_service": {
40+
"status": 2,
41+
"other_platform_oauth_client": [
42+
{
43+
"client_id": "899198423340-l6lk5oo6c1ocopb7gspus24if0vnanrq.apps.googleusercontent.com",
44+
"client_type": 3
45+
}
46+
]
47+
},
48+
"ads_service": {
49+
"status": 2
50+
}
51+
}
52+
}
53+
],
54+
"configuration_version": "1"
55+
}

app/libs/jxl.jar

709 KB
Binary file not shown.

app/proguard-rules.pro

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in G:\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+
#}
18+
19+
# Uncomment this to preserve the line number information for
20+
# debugging stack traces.
21+
#-keepattributes SourceFile,LineNumberTable
22+
23+
# If you keep the line number information, uncomment this to
24+
# hide the original source file name.
25+
#-renamesourcefileattribute SourceFile
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package harshmathur.nic.soi.com.nakshe;
2+
3+
import android.content.Context;
4+
import android.support.test.InstrumentationRegistry;
5+
import android.support.test.runner.AndroidJUnit4;
6+
7+
import org.junit.Test;
8+
import org.junit.runner.RunWith;
9+
10+
import static org.junit.Assert.*;
11+
12+
/**
13+
* Instrumentation test, which will execute on an Android device.
14+
*
15+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
16+
*/
17+
@RunWith(AndroidJUnit4.class)
18+
public class ExampleInstrumentedTest {
19+
@Test
20+
public void useAppContext() throws Exception {
21+
// Context of the app under test.
22+
Context appContext = InstrumentationRegistry.getTargetContext();
23+
24+
assertEquals("harshmathur.nic.soi.com.nakshe", appContext.getPackageName());
25+
}
26+
}

app/src/debug/res/menu/navigation.xml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<menu xmlns:android="http://schemas.android.com/apk/res/android">
3+
4+
<item
5+
android:id="@+id/tehsil"
6+
android:title="TEHSIL"
7+
android:checked="true"
8+
android:checkable="true"/>
9+
10+
<item
11+
android:id="@+id/district"
12+
android:title="DISTRICT"
13+
android:checked="true"
14+
android:checkable="true"/>
15+
16+
<item
17+
android:id="@+id/state"
18+
android:title="STATE"
19+
android:checked="true"
20+
android:checkable="true"/>
21+
22+
</menu>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<resources>
2+
<!--
3+
TODO: Before you run your application, you need a Google Maps API key.
4+
5+
To get one, follow this link, follow the directions and press "Create" at the end:
6+
7+
https://console.developers.google.com/flows/enableapi?apiid=maps_android_backend&keyType=CLIENT_SIDE_ANDROID&r=A7:2E:2A:67:CC:F2:C8:D7:D6:F4:4D:73:46:11:C9:EB:FC:9D:71:4D%3Bharshmathur.nic.soi.com.nakshe
8+
9+
You can also add your credentials to an existing key, using these values:
10+
11+
Package name:
12+
A7:2E:2A:67:CC:F2:C8:D7:D6:F4:4D:73:46:11:C9:EB:FC:9D:71:4D
13+
14+
SHA-1 certificate fingerprint:
15+
A7:2E:2A:67:CC:F2:C8:D7:D6:F4:4D:73:46:11:C9:EB:FC:9D:71:4D
16+
17+
Alternatively, follow the directions here:
18+
https://developers.google.com/maps/documentation/android/start#get-key
19+
20+
Once you have your key (it starts with "AIza"), replace the "google_maps_key"
21+
string in this file.
22+
-->
23+
<string name="google_maps_key" translatable="false" templateMergeStrategy="preserve">YOUR_KEY_HERE</string>
24+
</resources>

0 commit comments

Comments
 (0)