-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*.iml | ||
.gradle | ||
/local.properties | ||
/.idea/workspace.xml | ||
/.idea/libraries | ||
.DS_Store | ||
/build | ||
/captures | ||
.externalNativeBuild |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
android { | ||
compileSdkVersion 24 | ||
buildToolsVersion "23.0.2" | ||
defaultConfig { | ||
applicationId "com.grapickel.soyuz.utkarsh15" | ||
minSdkVersion 15 | ||
targetSdkVersion 24 | ||
versionCode 1 | ||
versionName "1.0" | ||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile fileTree(dir: 'libs', include: ['*.jar']) | ||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | ||
exclude group: 'com.android.support', module: 'support-annotations' | ||
}) | ||
compile 'com.android.support:appcompat-v7:24.2.1' | ||
testCompile 'junit:junit:4.12' | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Add project specific ProGuard rules here. | ||
# By default, the flags in this file are appended to flags specified | ||
# in F:\android-sdk-windows/tools/proguard/proguard-android.txt | ||
# You can edit the include path and order by changing the proguardFiles | ||
# directive in build.gradle. | ||
# | ||
# For more details, see | ||
# http://developer.android.com/guide/developing/tools/proguard.html | ||
|
||
# Add any project specific keep options here: | ||
|
||
# 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 *; | ||
#} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.grapickel.soyuz.utkarsh15; | ||
|
||
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.*; | ||
|
||
/** | ||
* Instrumentation 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() throws Exception { | ||
// Context of the app under test. | ||
Context appContext = InstrumentationRegistry.getTargetContext(); | ||
|
||
assertEquals("com.grapickel.soyuz.utkarsh15", appContext.getPackageName()); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="6" android:versionName="1.2" package="com.grapickel.utk15" platformBuildVersionCode="19" platformBuildVersionName="4.4.2-1456859"> | ||
<uses-sdk android:minSdkVersion="11" android:targetSdkVersion="21" /> | ||
<uses-permission android:name="android.permission.CALL_PHONE" /> | ||
<uses-permission android:name="android.permission.READ_PHONE_STATE" /> | ||
<application android:theme="@style/CustomActionBarTheme" android:label="@string/app_name" android:icon="@drawable/ic_launcher" android:allowBackup="true" android:logo="@drawable/logo"> | ||
<activity android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:label="@string/app_name" android:name=".Splash"> | ||
<intent-filter> | ||
<action android:name="android.intent.action.MAIN" /> | ||
<category android:name="android.intent.category.LAUNCHER" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".MainActivity"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.MAINACTIVITY" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Intro"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.INTRO" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Events"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.EVENTS" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Register"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.REGISTER" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Location"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.LOCATION" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".About"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.ABOUT" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Contacts"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.CONTACTS" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Sponsors"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.SPONSORS" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Cultural"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.CULTURAL" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Literary"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.LITERARY" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Dexteria"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.DEXTERIA" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
<activity android:label="@string/app_name" android:name=".Altantus"> | ||
<intent-filter> | ||
<action android:name="com.grapickel.utk15.ALTANTUS" /> | ||
<category android:name="android.intent.category.DEFAULT" /> | ||
</intent-filter> | ||
</activity> | ||
</application> | ||
</manifest> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package com.grapickel.soyuz.utkarsh15.grapickel.utk15; | ||
|
||
import android.app.Activity; | ||
import android.app.Dialog; | ||
import android.os.Bundle; | ||
import android.view.View; | ||
import android.view.View.OnClickListener; | ||
import android.widget.Button; | ||
|
||
public class About extends Dialog implements OnClickListener { | ||
private Activity f1c; | ||
private Dialog f2d; | ||
private Button ok; | ||
|
||
public About(Activity a) { | ||
super(a); | ||
this.f1c = a; | ||
} | ||
|
||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
requestWindowFeature(1); | ||
setContentView(C0127R.layout.custom_dialog); | ||
this.ok = (Button) findViewById(C0127R.id.bOk); | ||
this.ok.setOnClickListener(this); | ||
} | ||
|
||
public void onClick(View v) { | ||
if (v.getId() == C0127R.id.bOk) { | ||
dismiss(); | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package com.grapickel.soyuz.utkarsh15.grapickel.utk15; | ||
|
||
import android.os.Bundle; | ||
import android.support.v4.app.Fragment; | ||
import android.text.Html; | ||
import android.view.LayoutInflater; | ||
import android.view.View; | ||
import android.view.ViewGroup; | ||
import android.widget.TextView; | ||
import java.io.BufferedReader; | ||
import java.io.IOException; | ||
import java.io.InputStreamReader; | ||
|
||
public class Aesthetica extends Fragment { | ||
private String text = ""; | ||
|
||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | ||
View android = inflater.inflate(C0127R.layout.aesthetica, container, false); | ||
TextView tvIntro = (TextView) android.findViewById(C0127R.id.tvAes); | ||
try { | ||
BufferedReader br = new BufferedReader(new InputStreamReader(getResources().openRawResource(C0127R.raw.aesthetica))); | ||
StringBuilder sb = new StringBuilder(); | ||
while (true) { | ||
String line = br.readLine(); | ||
if (line == null) { | ||
break; | ||
} | ||
sb.append(line); | ||
} | ||
this.text = sb.toString(); | ||
br.close(); | ||
} catch (IOException e) { | ||
e.printStackTrace(); | ||
} | ||
tvIntro.setText(Html.fromHtml(this.text)); | ||
return android; | ||
} | ||
} |