Fan4530 / WeLook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This project is for users to post events, search events nearby, comment and give a like to to others.

Click Demo to see the demo.

Here is the code.

  • Login activity
    • In this activity, users can register a new account or login with the existed account.
    • This activity has integrated advertisement.
  • Event activity : for user to post event and search event
    • In report fragment, users can input the description, title and location and select picture for a event and click report to post it to the network.
    • In search fragment, users can search the events nearby and comment, give a like to a event.
    • In the search fragment, user friendly advertisements have been integrated.
  • comment activity:
    • this activity is for user to post comment for a event. Users can also give a like to the selected event.
All the data: including the user information, event and comment are stored in Firebase database and the images are stored in the Firebase storage.

[wpvideo plic9rEk]

Requirements

  • no specific requirement

Installation

  • Install Android studio

Recommended modules

 

Configuration

  • add the following code to build.gradle
  • apply plugin: 'com.android.application'
    android {
        compileSdkVersion 25
        buildToolsVersion "26.0.0"
        defaultConfig {
            applicationId "com.laioffer.eventreporter"
            minSdkVersion 23//must lower than the version of machine ?? what is machine
            targetSdkVersion 25
            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:design:25.1.0'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    compile 'com.google.firebase:firebase-database:9.6.0'
    compile 'com.google.firebase:firebase-auth:9.6.0'
    compile 'com.google.firebase:firebase-storage:9.6.0'
    compile 'com.google.firebase:firebase-ads:9.6.0'
    compile 'com.google.android.gms:play-services-maps:9.6.0'
    compile 'com.android.support:appcompat-v7:25.3.1'
    testCompile 'junit:junit:4.12'
    

    } apply plugin: 'com.google.gms.google-services'

About


Languages

Language:Java 100.0%