Cause
Because I bought a WP mobile phone, I still like Microsoft's WP system very much, but the software quality is not high. before the Chinese New Year, I bought a WP developer account, which is not very expensive, I also want to make some contributions to the WP ecosystem. You have no chance to do this because you are busy. However, I always want to make at least one simple one, so that I can familiarize myself with the development process of WP. Right, this time was the world cup. I probably searched for some existing applications, which were terrible. The user experience was extremely poor and super difficult to use. So I came up with the idea of preparing for the World Cup application.
Preparation
Now that you are ready to start, you have probably planned the functions to be done.
- Main functions: View information in three ways
- Country
- Time
- Group
- Group points
- Knockout
- The screen is divided into four pages: country, time, site, and personal attention.
After determining the main functions, I began to prepare data. The data in the group stage was originally intended to capture Netease pages using python. However, I was eager to obtain data and was not proficient in using python. Therefore, manually create two XML files, one storing the correspondence between the country and the national flag, and the other storing the competition content.
As soon as all the data is complete, you can start to write applications.
Development
The first time I came into contact with WP development, I was still very unfamiliar with all aspects of the system, and there was a shortage of information on the Internet, finally, I selected a Pano page template in WP to start the initial setup of the program.
Because there is no big difficulty, mainly File Reading and storage, so two nights, we probably finished the prototype of the application, leaving some simple configuration. However, we still encountered a pitfall. After the evening, I was so happy to upload the application to the WP store. Microsoft's review was very fast, but it was very irresponsible. Soon the application passed the review and went online the next day, after the download, I suddenly found that the application could not be opened. Now I am in a hurry and I will go offline first. Then I found a variety of problems (here I spoke to Microsoft, why can't I open the Application?). I tested it locally, but it didn't work after it was passed in, after a variety of questions in the group, some people gave suggestions, saying that there may be problems with my file reading method, so after half a day, I finally got it done. I would like to remind you that developers who want to be WP should take a look at Microsoft's official instructions. Microsoft has done many things different from other systems in terms of storage. I am very happy to have launched the application, which is also the first of my own. I am adding nine secluded advertisements. Haha, I want to earn some advertising fees. As a result, they are recommended by micro-crazy customers and applications. More than 500 downloads on the same day.
Update
Version 1st is released and many problems need to be solved. First, we need to add a dynamic magnet to update today's competition. I need to get the results of the daily competition and know the two sides of the knockout match. As a result, I started the development of the next version. This time, I thought that the data had to be crawled from the Internet, so I decided to use Bae to build crawlers. A Python script is hosted in Bae to obtain webpage data at intervals. Then the data is stored in MySQL provided by BAE, and a web interface is used in PHP to provide data query. The Python script learns and completes the background data set in about two nights. The rest is much simpler. The client requests data and then displays it. Another time-consuming part is that the background agent updates the magnet and finally finds the official demo. None of them are complete online. Http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202941 (V = vs.105). aspx
Although it is full of English, it is very easy to understand. Haha, just do it right away.
Death
After the second version is updated, the World Cup is approaching the knockout round, and the download volume is also dropping sharply every day, and there is a better application in the store (Haha, I have to admit it, by now, downloads are almost negligible. Although there is no large download volume, I am familiar with a set of WP development processes through the production of this small application, laying a good foundation for the next application. Haha, I have already thought of several applications during this period. Please stay tuned.
Snow Wolf's blog