Git Product home page Git Product logo

projectone's People

Contributors

andaupro avatar hieuhust avatar

Watchers

 avatar  avatar

projectone's Issues

Thống nhât kiến trúc project

Theo tôi project mình nên làm theo mô hình MVP.
Chia thành các các gói chức năng. Mỗi gói chức năng bao gồm các gói nhỏ theo MVP như: view, present, model, dao(tương tác với dữ liệu: từ CSDL or network...).
Ông thấy thế nào?

Dự vào dữ liệu thô, vẽ lại đường đi của xe trên bản đồ.

  1. Dựa vào dữ liệu thô, vẽ lại đường đi của xe trên bản đồ.
  2. Thêm các icon chỉ đánh dấu là tại vị trí đó xe dừng lại. Khi bấm vào icon đó, sẽ hiển thị chi tiết xe dừng tại đó bao nhiêu phút...(Tham khảo app vcomsat)
  3. Mô phỏng xe chạy trên đường đi.
  4. Lưu ý khi zoom in, zoom out

Hiển thị vị trí xe trên bản đồ

  1. Dựa vào kinh đỗ, vị đỗ hiển thị vị trí của xe trên bản đồ. (Lưu ý về sau có thể liên tục nhận dữ liệu realtime từ server nên cần thiết kế cho hợp lý)
  2. Lưu ý hình ảnh của xe khi người dùng zoom in, zoom out bản đồ. (Follow theo app vcomsat)

Thống nhât cách đặt id trong layout

Theo ông cách đặt tên id cho các view trong layout đặt như thế nào thì hợp lý. Vì có nếu không quy định nó rất dễ loạn và Id có thể bị trùng nhau

Hiên thị dữ liệu thô trên hành trình

1.Lấy dữ liệu từ trên server về và hiển thị dữ liệu thô trên màn hình.
2. Có chức năng chọn khoảng thời gian để lấy dữ liệu.
2. Lưu ý khi dữ liệu log quá lớn, nếu lấy hết về và lưu vào memory có thể xảy ra outOfMemory

Hỏi về bài toán nhận dữ liệu quá lớn từ server

#6 , khi dữ liệu log quá lớn, nếu lấy hết về và lưu vào memory có thể xảy ra outOfMemory.
Giải pháp của tôi là lưu vào file rồi khi đọc thì đọc từng phần của file. Ông xem có ý kiến gì đề xuất nhé

FC issue

02-22 10:51:17.062 30173-30173/com.anonymous.carchecker E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NullPointerException
at com.anonymous.carchecker.itinerary.view.VehicleListDialog.search(VehicleListDialog.java:102)
at com.anonymous.carchecker.itinerary.view.VehicleListDialog$1.onTextChanged(VehicleListDialog.java:69)
at android.widget.TextView.sendOnTextChanged(TextView.java:7343)
at android.widget.TextView.handleTextChanged(TextView.java:7402)
at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:9040)
at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:962)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:496)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:435)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:30)
at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:674)
at android.view.inputmethod.BaseInputConnection.setComposingText(BaseInputConnection.java:437)
at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:333)
at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:77)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5299)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
at dalvik.system.NativeStart.main(Native Method)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.