I received the data of the journey (diary application) in Java and visualized it # 001

Overview

My doctor advised me to keep a record of my life (eat, sleep, time of activity, etc.), so I started by looking over some Journey diary app /details?id=com.journey.app&start=90&hl=ja) However, after continuing for about a month, I noticed that there was no essential function. .. ..

That's right (`・ ω ・ ´)

There is no summary view (`・ ω ・ ´)

So, I decided to write in Java because I was free during the leave period and I was studying with a design pattern book on time (∩´∀ `) ∩


A brief introduction to Journey

There is a free version and a paid version. I bought the paid version of Premium (Is it sold out for 600 yen?).

↓ Journal view (Journey screen) journalView.png

↓ Calendar view calendarView.png

↓ Photo Video Collection Screenshot_2018-04-17-10-45-01.png

↓ Map (holds the recorded GPS position) Screenshot_2018-04-17-10-45-19.png

↓ You can extract by tagging Screenshot_2018-04-17-10-45-30.png

↓ What you can do with the premium version Screenshot_2018-04-17-10-46-04.png

↓ What you can do with the cloud version Screenshot_2018-04-17-10-46-10.png

↓ Setting screen 1 Screenshot_2018-04-17-10-46-31.png

↓ Setting screen 2 Screenshot_2018-04-17-10-46-36.png

↓ Setting screen 3 Screenshot_2018-04-17-10-46-42.png

↓ Search 1 searchView1.png

↓ Search 2 searchView2.png

It's still less than a year's data, but for now it works smoothly and comfortably.


Task

As you can see in the introduction, there is no view that can be presented as a list. I haven't mastered this data because I can't judge at a glance whether or not the rhythm of life has been resolved (where I want you to officially implement the function).


solution

Since it has the following environment, we examined the configuration as shown in the figure.

  1. You can specify the range of data and export it with json
  2. What you have already purchased ... If you don't use it, it's a waste!
  3. Just right for learning Java and object-oriented programming

To summarize briefly, analyze the exported json and make a daily graph It means to make it. I considered what to do with the UI, but chose a browser that can be easily displayed on multiple devices. Therefore, HTML and JavaScript will be used metaprogrammingly (Java will generate the source code). The user expects to manually pass the export and json file to the program and open the output HTML file.

↓ Activity diagram Activity of Journey Visualization.png

↓ Prototype deliverable (output as pie chart) journey-prototype-sample.png


At the end

With that said, you can relax without worrying about the delivery date and completeness (∩´∀ `) ∩ If you handle all of them, the article will be long, so I wonder if I should summarize it by point.

Next time, I think it's a rough class design (`・ ω ・ ´)

Recommended Posts

I received the data of the journey (diary application) in Java and visualized it # 001
I compared the characteristics of Java and .NET
I summarized the types and basics of Java exceptions
I didn't understand the behavior of Java Scanner and .nextLine ().
I tried to summarize the basics of kotlin and java
[Java] I thought about the merits and uses of "interface"
[Java] Get the dates of the past Monday and Sunday in order
I tried to summarize the methods of Java String and StringBuilder
Let's create a TODO application in Java 5 Switch the display of TODO
Graph the sensor information of Raspberry Pi in Java and check it with a web browser
[Java] I participated in ABC-188 of Atcorder.
Web application structure by Java and processing flow in the presentation layer
Get the result of POST in Java
The story of forgetting to close a file in Java and failing
I tried the new era in Java
[day: 5] I summarized the basics of Java
This and that of the implementation of date judgment within the period in Java
How to change the maximum and maximum number of POST data in Spark
I wrote a Lambda function in Java and deployed it with SAM
[Java] Output the result of ffprobe -show_streams in JSON and map it to an object with Jackson
Find the maximum and minimum of the five numbers you entered in Java
The story of writing Java in Emacs
I translated the grammar of R and Java [Updated from time to time]
I actually expressed the older sister problem in code and calculated it
Role of JSP in Web application [Java]
Discrimination of Enums in Java 7 and above
Java: Download the file and save it in the location selected in the dialog [Use HttpClient]
[Java] Is it unnecessary to check "identity" in the implementation of the equals () method?
I can't remember the text file input / output in Java, so I summarized it.
I stumbled on the Java version in Android Studio, so I will summarize it
[Order method] Set the order of data in Rails
Regarding the transient modifier and serialization in Java
The story of low-level string comparison in Java
[Java] Handling of JavaBeans in the method chain
The story of making ordinary Othello in Java
About the idea of anonymous classes in Java
The story of learning Java in the first programming
Measure the size of a folder in Java
[Java] The confusing part of String and StringBuilder
Feel the passage of time even in Java
Basics of threads and Callable in Java [Beginner]
Organized memo in the head (Java --Data type)
I touched on the new features of Java 15
Import files of the same hierarchy in Java
Try the free version of Progate [Java I]
Even if I want to convert the contents of a data object to JSON in Java, there is a circular reference ...
I want to find the MD5 checksum of a file in Java and get the result as a string in hexadecimal notation.
[Android development] Get an image from the server in Java and set it in ImageView! !!
[Android 9.0 Pie Java] Implement setOnTouchListener in the margin of RecyclerView and close the soft keyboard
I want to morphologically analyze the log in the DB and put it in the DB to classify messages 1
[Swift] The process of registering the item selected in "UISegmentedControl" in Realm and displaying the registration data.
Find the maximum and minimum values out of the 5 numbers entered in Java (correction ver)
The part I was addicted to in "Introduction to Ajax in Java Web Applications" of NetBeans
Check the behavior of getOne, findById, and query methods in Spring Boot + Spring Data JPA
Get the URL of the HTTP redirect destination in Java
I tried Mastodon's Toot and Streaming API in Java
Write ABNF in Java and pass the email address
Please note the division (division) of java kotlin Int and Int
[For beginners] DI ~ The basics of DI and DI in Spring ~
The comparison of enums is ==, and equals is good [Java]
Vectorize and image MNIST handwritten digit image data in Java