Saturday, March 8, 2014
Rookie on android
Before a picture is similar qq login interface (enter your user name and password before), which contains the updated version. If there are updates to remind the user is updated, this idea is how to achieve? Create an activity and xml? Please expert advice. To the idea of specific points. . .<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Prepare a server-side version of the XML file information, read the configuration QQ start if there are inconsistent versions than the current version of QQ inside the store, the version number of the big. Then update prompt updates.
There are many examples on this feature baidu.
http://www.oschina.net/question/163910_28462
Reply:
1 Check whether the update is communication server and the server returns the information to show whether you updates
2. Login interface requires xml, or write your own view
Reply:
Put an xml file on the server, the client on the server which contains the latest version (version number, version name, the update log, the latest client download link), and every time you open the application to access the xml file and parsing, comparing the local version number and xml file version numbers need to be updated, then go visit the download link inside xml
Reply:
Upstairs are the positive solution, you can use third-party library implementation update feature (I use the Friends of the Union)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment