Commit d9ffa6a6 authored by Lucas Braz Cunha's avatar Lucas Braz Cunha
Browse files

Initial commit


Signed-off-by: Lucas Braz Cunha's avatarLucas B. Cunha <lbc16@inf.ufpr.br>
parent 52a1c3f4
...@@ -4,16 +4,17 @@ ...@@ -4,16 +4,17 @@
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.CAMERA" />
<uses-permission <uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" /> android:maxSdkVersion="18" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application <application
android:allowBackup="true" android:allowBackup="true"
...@@ -28,46 +29,30 @@ ...@@ -28,46 +29,30 @@
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name=".LoginActivity"></activity>
<activity android:name=".LoginActivity"> <activity android:name=".HomeActivity"></activity>
</activity> <activity android:name=".CepActivity"></activity>
<activity android:name=".CepNotFoundActivity"></activity>
<activity android:name=".HomeActivity"> <activity android:name=".SignupActivity"></activity>
</activity> <activity android:name=".AccountActivity"></activity>
<activity android:name=".ForgotPasswordActivity"></activity>
<activity android:name=".CepActivity">
</activity> <service
android:name=".services.ImageUpdateService"
<activity android:name=".CepNotFoundActivity"> android:exported="false"
</activity> android:permission="android.permission.BIND_JOB_SERVICE">
<activity android:name=".SignupActivity">
</activity>
<activity android:name=".AccountActivity">
</activity>
<activity android:name=".ForgotPasswordActivity">
</activity>
<service android:name=".services.ImageUpdateService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="com.firebase.jobdispatcher.ACTION_EXECUTE" /> <action android:name="com.firebase.jobdispatcher.ACTION_EXECUTE" />
</intent-filter> </intent-filter>
</service> </service>
<activity android:name=".TermActivity" />
<activity android:name=".SchedulingActivity"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|orientation|screenSize" />
<activity android:name=".CitizenActivity"/>
<activity android:name=".TermActivity" />
<activity
android:name=".SchedulingActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="portrait" />
<activity android:name=".CitizenActivity" />
<activity android:name=".ScheduleConfirmationActivity"></activity>
</application> </application>
</manifest> </manifest>
\ No newline at end of file
...@@ -58,8 +58,6 @@ import br.ufpr.c3sl.agendador.agendador.views.AccountView; ...@@ -58,8 +58,6 @@ import br.ufpr.c3sl.agendador.agendador.views.AccountView;
* Created by Horstmann on 02/03/17. * Created by Horstmann on 02/03/17.
*/ */
// TODO: 23/05/17 test "connection failure" dialogs
public class AccountActivity extends AppCompatActivity implements AccountView { public class AccountActivity extends AppCompatActivity implements AccountView {
private EditText et_name, et_cpf, et_rg, et_sus_number, et_birthdate, private EditText et_name, et_cpf, et_rg, et_sus_number, et_birthdate,
...@@ -96,7 +94,7 @@ public class AccountActivity extends AppCompatActivity implements AccountView { ...@@ -96,7 +94,7 @@ public class AccountActivity extends AppCompatActivity implements AccountView {
private final int REQUEST_PERMISSIONS = 1; private final int REQUEST_PERMISSIONS = 1;
private final int LOAD_IMAGE_INTENT = 1; private final int LOAD_IMAGE_INTENT = 1;
private static final int DEVELOPER_MODE = 1; //private static final int DEVELOPER_MODE = 1;
......
package br.ufpr.c3sl.agendador.agendador;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import br.ufpr.c3sl.agendador.agendador.views.ScheduleConfirmationView;
/**
* Created by Lucas B. Cunha on 25/07/17.
*/
public class ScheduleConfirmationActivity extends AppCompatActivity implements ScheduleConfirmationView{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_schedule_confirmation);
}
}
...@@ -321,8 +321,11 @@ public class SchedulingActivity extends AppCompatActivity implements SchedulingV ...@@ -321,8 +321,11 @@ public class SchedulingActivity extends AppCompatActivity implements SchedulingV
btn_confirm.setOnClickListener(new View.OnClickListener() { btn_confirm.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
//call confirmation activity Intent intent = new Intent(SchedulingActivity.this, ScheduleConfirmationActivity.class);
Toast.makeText(getBaseContext(), "Call next activity", Toast.LENGTH_SHORT).show(); //Bundle bundle = getIntent().getBundleExtra(Utils.SECTORS_BUNDLE);
//bundle.putParcelable(Utils.CITIZEN, citizens.get(position));
//intent.putExtra(Utils.SECTORS_CITIZENS_BUNDLE, bundle);
startActivity(intent);
} }
}); });
} }
......
package br.ufpr.c3sl.agendador.agendador.presenters;
import br.ufpr.c3sl.agendador.agendador.ScheduleConfirmationActivity;
/**
* Created by Lucas B. Cunha on 25/07/17.
*/
public class ScheduleConfirmationPresenter extends BasePresenter<ScheduleConfirmationActivity> {
@Override
protected void updateView() {
}
}
package br.ufpr.c3sl.agendador.agendador.views;
/**
* Created by Lucas B. Cunha on 25/07/17.
*/
public interface ScheduleConfirmationView {
}
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="br.ufpr.c3sl.agendador.agendador.ScheduleConfirmationActivity"
tools:layout_editor_absoluteY="25dp"
tools:layout_editor_absoluteX="0dp">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Olá"
tools:layout_editor_absoluteX="151dp"
tools:layout_editor_absoluteY="227dp"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
</RelativeLayout>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment