Sina Weibo client Development Week study plan
- Learn about layout controls and UI design.
- Micro-blog verification, learning OAuth-related knowledge.
- Read the code of the Microblog Client Development section.
- Import the reference code into Android studio and run it successfully.
Actual completion status
-
I learned that layout control XML is stored in the form of. XML in Res/layout. is the login interface, this layout takes the LinearLayout control as the top level control, and then uses the ImageView control to implement the version number picture top left-aligned display, software name and icon Picture Center alignment, author name and blog picture bottom right-aligned.
2. Weibo verification
Sina Weibo provides two authentication methods for OAuth and base OAuth (if you don't know what OAuth and base OAuth do for yourself, and the next 2 essays will give you a detailed explanation and implementation), This project is the use of OAuth authentication method, in this way need to have the user's Sina userid, Access Token, Access secret these 3 things to be free and convenient to call Sina's open interface.
SDK Access process:
Fill in the developer information, download the SDK,
3. Read part of the code
This activity is opened when the user's authorization is successful. In this activity, the main is a ListView, each of which is displayed in each entry in the ListView. First, the obtained access_token and Access_token_secret are stored in the sharedpreference, so that users need authorization only when they first use it, and then they can get the data directly:
4. Current operating conditions
A program error occurred
A problem has arisen in the certification section and is currently being addressed.
Progress plan
1. Third week
Debug the code successfully and read the code.
2. Fourth week
According to the teacher's suggestion to add modification function, complete the project report.
3. Fifth week
Tested and optimized.
Android Project Development II