Skip to content

NaJiwoong/Madcamp_second

Repository files navigation

Madcamp_second: Cleopatra

2019 Winter KAIST

Environments

  • Node v12.14.0
  • Android Studio 29.0.2
  • Express.js
  • MongoDB

Library

  • Glide 3.7.0
  • FFT

Server

Use Express.js as a serverside framework

  • Link Client(Android) - Server(Express) - DB(MongoDB)

Description

    This repository is for madcamp project of second week. In this project, we make an android application with three tabs. Each tab has its own content respectively: Address book, Photo gallery, and Cleopatra game.

Tab1: Address book

    This tab is for address book. We implemented it as getting all phone numbers and names, and show them. Implementing, we used ListView, and adapter to show the contents. To get permission, we implemented a pop-up which requires the user to agree to permit read contacts. Also, we implemented the application to send all information about contacts to the server, then the server saves them on the database(MongoDB)

Tab2: Gallery

    This tab is for Gallery. We implemented it as getting all photos in local gallery and show them as gridview. In the implementation, we used Glide library. To get permission, we implemented a pop-up which requires the user to agree to permit read and wirte external local storage. Also, we implemented the application to send all Bitmap of pictures to the server, then the server saves them on the database(MongoDB)

Tab3: Cleopatra game

    This tab is for Cleopatra game. We implemented as getting all list of game rooms, and users can create new room, or enter the existing room. After the game starts, at one user can speak at one time, after recording finish, another user can record his/her voice, all users have to speak higher than previous voice record(Hz). All users have their own number of victories, defeats, and highscore.


Note

  • permission
        We need permission to access contacts on the phone, and local storage in order to get contacts from the phone for the Tab1, and get photos from the phone album for the Tab2, and also we have to store 'Todo list' in the local storage as txt file.     In addition, we have to request users permissions, so we implemented requesting function(checkVerify()) and overrided function 'onRequestPermissionResult'. After user agree all permission, the function calls a function 'startApp()', which will actually start the actual application.

  • Login and Registeration
         Even an user turn off the application, the user should be able to access the application without login again, until the user logout. For this, we used Shared preferences, which lets the application save login information in the local storage. In the loading screen, the application will check if there is Shared preferences information about id and password, if there does not exists, turn on the login activity, otherwise, turn on the Mainactivity.

Authors

  • Jiwoong Na (NaJiwoong)
  • Seungjun Oh (tmdwns0907)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •