2015년 12월 13일 일요일

[WebApp] google fit imitation 만들어 보기 - 1

web app 으로 google fit imitation app 을 만들어 만들기로 한다.
다음과 같은 것들을 배우기 위해서이다.

  1. web app 의 전체 구조
  2. java script 의 기본
  3. java script 의 여러 library 사용 방법
  4. js 와 native code 의 연동
  5. google fit rest api

기본 시나리오는 아래와 같다.

1. Main 화면
오늘의 운동량을 pie chart 형식으로 표시한다.
pie chart 하단에 과거의 운동량이 list 형태로 표시된다.
사용자는 list item 을 선택해서 특정 날짜의 detail 정보를 볼 수 있다.
2. Detail 선택 화면
line graph 로 시간대별 운동량을 확인 할 수 있다.
graph 에서 특정 시간대를 선택하면 화면 하단에 해당 시간에 맞는 추가 정보가 text 형태로 표시된다.



Block diagram
Webview : front ui(기본 html)
JavaScript : Jquery/JsChart 를 이용한 기본 UI engine, Data store 의 data  를 가져오는 역할
Data store : google server 에서 가져온 data를 보관한다. 당장은 memory cache.
RestApiAdapter : rest api 를 이용하여 data 를 가져온다.  gson/retrofit 을 이용하여 json data 를 parsing 해서 Data store 에 넘겨준다.

다음에 할 일
- 전체 와꾸 잡기
- sign in 하기
- data 1개 뿌려보기


2015년 2월 27일 금요일

English] Asking a question - 376/377

Dear sjun.
I'm writing to inform you that the product we received from your company yesterday arrived in unacceptable condition. First of all, the fabric is torn in several places. It looks as if ti was damaged during packaging. In addition, there were several missing items. We ordered twelve different fabric patterns, but only seven were shipped. Please take steps to remedy this situation immediately.

Thank you.


Dear sjun.
There is a serious problem with our most recent order. Specifically, it arrived over two weeks late. While we can understand that there are some uncontrollable events that cause delay, two weeks is simply unacceptable. We need assurances that this sort of problem will not happen again.

Thank you for your attention in this matter.

2015년 2월 26일 목요일

English] Asking a question - 459/460

Dear sjun.

I'm writing to get a little information from you. Would you be able to tell me what shipping service you use for overseas delivery?
We have had some problems with our service, so we're looking for alternatives.
If you could give me any recommendations I'd appreciate it.

Thank you.

Dear sjun.

I have a question for you. What is the largest number of products you are capable of shipping at one time? We want to make a rather large order from you, and we weren't sure if we would need to break it up into smaller orders.
I'd appreciate a quick response on this so that we can plan accordingly.

Thank you for your assistance.

2015년 2월 24일 화요일

English] Asking a question - 457/458

Dear Mr.jun

There's somthing I'm not quite clear on(sure about, aware of, keen for, straight with).
Did you say that the price of the G32 had gone up 2% or 3%?
I don't remember what you had told me, and I can't find the original email.
Could you let me know as soon as possible?

Thanks,


Dear Mr.jun
I hope you are doing well.
I was wondering if I could bother you with a quick question.
(귀찮겠지만 간단한 질문 하나 해도 될까요?)
Is the newest line of textiles you are producing going to be ready for distribution this fall, or in the winter?
I'm interested in placing an order soon, and I'd like to know what my options are.

Thank you in advance for your help.

in advance : 미리
distribution : 유통
place an order : 주문하다
I was wondering if : ~한지 궁금했다

English] Asking a question - 456

Dear Mr.jun

I just had a quick question.
Are the sales figures you sent me last week the most recent ones?
I'm trying to put together an order and I need the current figures so I can decide how many units I need.
I'd appreciate it if you could let me know if these are the latest.

Thanks for the help.

sales figures : 판매 수치
put together : 합치다. 정리하다.