Android imitates Sina Weibo personal information interface and other effects
This tutorial shares the design code of Android microblog personal information interface for your reference. The specific contents are as follows
Interface for obtaining user information according to user ID: http://open.weibo.com/wiki/2/users/show
If you have implemented the above functions, the person information interface is a piece of cake, which is not described here.
supplement
1. Time processing:
The time from the microblog sending time to the present time. It should be easy to understand.
2. Expression processing class in string:
The regular expression matches the corresponding expression field. If it matches, spannablestring will be used to replace the text of the field with an expression picture.
3. Manifest file:
Because the application involves many permissions, you need to declare permissions. Here, you need to apply for additional memory because multiple pictures last time will overflow memory
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.