Based on the existing public opinion release system, this period of time developed and perfected his mobile client. Based on the previous blog, the main record of the latest problems encountered and solutions:
1. Get the code for the network data if it is placed directly in the activity of the main thread, it will cause an error, you need to add a declaration. But if you add a declaration or no data to the fragment, you need to open another thread, get the data in the threads, and then draw the interface in handler.
2. For the system to remove the button navigation method, instead of using the navigation bar. Using the top navigation bar and the bottom navigation bar, the bottom navigation bar is a level menu, the top navigation bar is a level two menu.
3. Added left and right swipe toggle pages on the top navigation bar.
4. To go to the page in addition to clicking the ListView entry, add a direct jump to another activity. In another activity, the hyperlinks and headings are obtained, and the contents of the hyperlinks are parsed and the main content extracted, and then displayed in the activity.
See the source code (contains two systems (Picture Navigation and menu navigation):
http://download.csdn.net/detail/u012361418/8743819
Information publishing platform based on public opinion system (Android version)