2019/08/27 latest developments

Today the work accomplished as follows:

1. Add Button in the layout file by .setText () method, the content of the output in the interface. Get specific address is: OnLocationChanged () method, call aMapLocation.getAdress () method to get. This enables the user specific geographic location information in the page display (shown in red font):

2. Learning development tutorial android studio, and I understand a sense of activity in the program, and how to create an activity. And today I created a second activity of this program: UserActivity, has been configured in androidManifest second interface, the effect is as follows:

When you click the top left of the home page "user data", will go to the second activity, namely the second interface:

 

 

3 ..... (no ... today more than only a small amount of work)

Tomorrow's plan:

1. Tomorrow will design a second page that the user profile page, referring to the specific design of the model we designed in the blade prototype.

2. Learn how to connect to the database android studio, and design a simple user database, which will involve how to design a database, how to connect to the database program, how to use android studio relevant database.

3. Try a simple database connection, in preparation for the establishment of our user profile database.

Feelings and experiences:

1. Today's problems are still encountered a lot of solutions also find a lot.

2. Learning to approach:

① first I want to output specific address information textView on the map, but I found the map actually overwrites the text, only when I create a Button, output content can be displayed on the Button on the map. I opened the high moral map, find that there is no direct text output on the high moral map, they are suspended in the Button.

② Today I was supposed to find a person to write to address how to convert latitude and longitude information, which it wrote a lot I do not understand there are a bunch of code ... I feel myself do not have access method on github. Originally thought I was going Sike the code, the results I somehow wanted to try from the most simple way: start with a text output in the interface, and then call the high moral map api, did not expect to find the right direction, all without writing very complex code, a specific address can be output in the interface.

3.心得:今天吃了药很困很困,心情也很低落。上午十点半才起床,昨晚也睡得不好。我发现自己是该把java的基础知识再学一遍了,要不然我完全在读天书,代码含义全靠猜,这怎么能行嘛。

 

Guess you like

Origin www.cnblogs.com/love-is-a-deal/p/11420821.html