Skip to Main Content
Head First Android Development: 개념과 구조를 머릿속에 그려주는 안드로이드 개발 입문서(개정판)
book

Head First Android Development: 개념과 구조를 머릿속에 그려주는 안드로이드 개발 입문서(개정판)

by 우정은, 돈 그리피스, 데이비드 그리피스
July 2018
Beginner content levelBeginner
936 pages
26h 17m
Korean
Hanbit Media, Inc.
Content preview from Head First Android Development: 개념과 구조를 머릿속에 그려주는 안드로이드 개발 입문서(개정판)
840 Chapter 19
OdometerService 코드
OdometerService.java 전체 코드
OdometerService
가 이동한 거리를 반환하도록 기능을 구현했습니다.
여러분의
OdometerService
.
java
코드도 다음처럼 바꾸세요.
package com.hfad.odometer;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.IBinder;
import android.os.Binder;
import java.util.Random;
import android.location.LocationListener;
import android.location.Location;
import android.location.LocationManager;
import android.location.Criteria;
import android.support.v4.content.ContextCompat;
import android.content.pm.PackageManager;
public class OdometerService extends Service {
privat ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Head First C# (개정3판): 상상을 초월하는 객체지향 C# 학습법

Head First C# (개정3판): 상상을 초월하는 객체지향 C# 학습법

최길우, 앤드류 스텔만, 제니퍼 그린

Publisher Resources

ISBN: 9791162240953