Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 5 additions & 14 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,30 @@
package="co.umbc.cmsc.simplecollabapp">

<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">

<activity
android:name=".MainActivity">

<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

</activity>

<!-- A child of the main activity -->
<activity
android:name=".InputPageActivity"
android:parentActivityName=".MainActivity">

</activity>

android:parentActivityName=".MainActivity"></activity>
<activity
android:name=".SensorPageActivity"
android:parentActivityName=".MainActivity">

</activity>

android:parentActivityName=".MainActivity"></activity>
<activity android:name=".StorageService"></activity>
</application>

</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public void onClick(View selectedView) {
Intent LocationIntent = new Intent(this,LocationService.class);
startActivity(LocationIntent);
break;
case R.id.button_main_storage:
Intent StorageIntent=new Intent(this,StorageService.class);
startActivity(StorageIntent);
break;
}
}

Expand Down
20 changes: 20 additions & 0 deletions app/src/main/java/co/umbc/cmsc/simplecollabapp/StorageService.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package co.umbc.cmsc.simplecollabapp;

import android.os.storage.StorageManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

public class StorageService extends AppCompatActivity implements View.OnClickListener{

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_storage_service);
}

@Override
public void onClick(View view) {

}
}
30 changes: 30 additions & 0 deletions app/src/main/res/layout/activity_storage_service.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_storage_service"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="co.umbc.cmsc.simplecollabapp.StorageService">

<Button
android:text="Update Storage Values"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="82dp"
android:id="@+id/button2" />

<TextView
android:text="This is where you will be directed when you click the storage button."
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="81dp"
android:id="@+id/textView4"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
</RelativeLayout>