Android Project Development II

Source: Internet
Author: User

Sina Weibo client Development Week study plan
    1. Learn about layout controls and UI design.
    2. Micro-blog verification, learning OAuth-related knowledge.
    3. Read the code of the Microblog Client Development section.
    4. Import the reference code into Android studio and run it successfully.
Actual completion status
    1. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.