Skip to content

golagola2020/hango-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hango-mobile

주의 : GitHub Pages에 대해서 충분히 숙지할 것.
주의 : Collaborating with issues and pull requests을 정독할 것

안내

하드웨어

  1. 아두이노 시작하기를 통해 사물을 감지하고, 라즈베리파이로 감지 데이터를 송신할 수 있습니다.
  2. 라즈베리파이 시작하기를 통해 아두이노의 감지 데이터를 수신하고, 데이터를 가공하여 스피커로 출력할 수 있습니다.

모바일

  1. 안드로이드 시작하기를 통해 hango 자판기를 관리하고, 음료 잔량을 파악하는 등의 데이터를 제공받을 수 있습니다.

웹서버

  1. 웹서버 시작하기를 통해 hango-server와 hango-mysql을 구축하고, API 서버를 통해 클라이언트에게 데이터를 제공하며, 고객 관리 시스템을 이용할 수 있습니다.

소개

'Hango'의 자판기 관리자를 위한 Android Application

  1. 현재 보유 중인 자판기들을 보여 주고 본인의 자판기를 관리 할 수 있습니다.
  2. 각 자판기의 음료 현황(이름, 가격, 남은 양 등)을 관리 할 수 있습니다.
  3. 매출 통계 데이터 조회가 가능합니다

주요 기능

  • SignUp & SignIn
  • 자판기 정보 조회, 수정, 삭제
  • 자판기의 음료 정보 등록, 조회, 수정 기능
  • 매출 통계 데이터 조회 기능

설치

https://github.com/golagola2020/hango-mobile 에 push 권한이 있다면 :

  1. git fetch or pull or clone
$ git clone https://github.com/golagola2020/hango-client.git
$ cd hango-client/mobile/hango

https://github.com/golagola2020/hango-mobile 에 push 권한이 없다면 :

  1. https://github.com/golagola2020/hango-mobile 에서 Fork버튼 클릭하고,
  2. 포크 저장소 계정(maybe 개인 계정) 선택
  3. git fetch or pull or clone
  4. 포크 설정 Configuring a remote for a fork
  5. 포크 동기화 Syncing a fork
$ git clone https://github.com:YOUR_GITHUB_ACCOUNT/hango-client.git
$ cd hango-client/mobile/hango
$ git remote add upstream https://github.com/golagola2020/hango-client.git
$ git fetch upstream
$ git checkout master
$ git merge upstream/master

환경변수 설정

  • 환경변수 설정을 위한 environment package를 /mobile/hango/app/src/main/java/com/hango 경로에 만듭니다.
  • environment package안에 Network Class 를 작성하고, URL 정보를 Setting 하고 Getter 접근합니다.
public class Network {
   private String URL = "http://127.0.0.1";

   public String getURL(){
      return URL;
 }
}

가이드 데모

Watch the video

개발 환경

  • Android Studio @4.0.1

Application Version

  • minSdkVersion : 23
  • targetSdkVersion : 29(API 29: Android 10.0(Q))

Screenshots

의존성

  • Volley
    네트워크 연결에 Volley @1.1.1를 사용
    Volley 사용을 위해 Gradle에 아래의 의존성 문장 추가

    implementation 'com.android.volley:volley:1.1.1'
    
  • EazeGraph
    매출 통계 그래프 생성시 사용
    EazeGraph 사용을 위해 Gradle에 아래의 의존성 문장 추가

    implementation 'com.github.blackfizz:eazegraph:1.2.2@aar'
    
  • NineOldAndroids
    매출 통계 그래프 애니메이션 효과를 위해 사용
    NineOldAndroids 사용을 위해 Gradle에 아래의 의존성 문장 추가

    implementation 'com.nineoldandroids:library:2.4.0'
    

    예시

    dependencies {
             implementation fileTree(dir: "libs", include: ["*.jar"])
             implementation 'com.android.support:appcompat-v7:28.0.0'
             implementation 'com.android.support.constraint:constraint-layout:1.1.3'
             implementation 'com.android.volley:volley:1.1.1'   //Volley 사용을 위한 의존성 추가
             testImplementation 'junit:junit:4.12'
             androidTestImplementation 'com.android.support.test:runner:1.0.2'
             androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
             implementation 'com.github.blackfizz:eazegraph:1.2.2@aar'
             implementation 'com.nineoldandroids:library:2.4.0'
         }
    

기여하기

CONTRIBUTING.md 를 읽으신 후 기여를 해주십시오. 자세한 Pull Request 절차와 행동 규칙을 확인하실 수 있습니다.

개발자

  • 송기수 thdrlcks784 : 자판기 관리자 Application 개발

기여자 목록을 확인하여 이 프로젝트에 참가하신 분들을 보실 수 있습니다.

라이센스

이 프로젝트는 Apache 2.0을 사용합니다 - LICENSE 파일에서 자세히 알아보세요.

About

'Hango' 프로젝트 모바일

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages