Remove unnecessary files

This commit is contained in:
Daniel Pollithy 2018-01-08 18:59:59 +01:00
parent 14271cce78
commit d8a3fcc56b
4 changed files with 0 additions and 118 deletions

View File

@ -1,7 +0,0 @@
- add toggle button to action bar
- forget networks after discovery
- stop discovery after successful negotiation
- display states in frontend
- p2p discovery active -> stop button
- negotiation sockets active -> stop button
- refactor NegotiationClientTask and NegotiationServerTask ( -> common code base)

View File

@ -1,22 +0,0 @@
package com.flashwifi.wifip2p;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class DesktopActivity extends AppCompatActivity {
private String password;
private String seed;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_desktop);
// get the secrets from the login screen
Intent intent = getIntent();
password = intent.getStringExtra("password");
seed = intent.getStringExtra("seed");
}
}

View File

@ -1,33 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/home_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.flashwifi.wifip2p.DesktopActivity">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/startAP"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/findAP"/>
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/generateITPs"/>
</LinearLayout>
</android.support.v4.widget.DrawerLayout>

View File

@ -1,56 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout 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"
android:fitsSystemWindows="true"
android:id="@+id/main_view">
<android.support.design.widget.AppBarLayout
android:id="@+id/app_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/app_bar_height"
android:fitsSystemWindows="true"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.design.widget.CollapsingToolbarLayout
android:id="@+id/toolbar_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
app:contentScrim="?attr/colorPrimary"
app:layout_scrollFlags="scroll|exitUntilCollapsed">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
app:layout_collapseMode="pin"
app:popupTheme="@style/AppTheme.PopupOverlay" />
</android.support.design.widget.CollapsingToolbarLayout>
</android.support.design.widget.AppBarLayout>
<ListView
android:id="@+id/peer_list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_behavior="@string/appbar_scrolling_view_behavior"/>
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/fab_margin"
app:layout_anchor="@id/app_bar"
app:layout_anchorGravity="bottom|end"
app:fabSize="normal"
app:srcCompat="@drawable/icon_refresh" />
</android.support.design.widget.CoordinatorLayout>