Keep track of all the latest news and events on developer tools and technologies you care about
This post was originally posted at The Developer Movement, I wanted to share this with UK educators and students to demonstrate how easy it is to get started as a Windows 8 app publisher.
The promise: “Quick, simple and faster than hell”, “You don’t need to be a programmer”
The reality: Yes, a non-programmer can build a useful app in an afternoon.
ZipApp supports creating apps with the following types of content
Not much, you should have an idea for a suitable app and the content you want to include in the app.
When you finish creating your app, the ZipApp tool will send you a .zip file containing the code for your application. You cannot just take that code and publish it to the store. You will need Visual Studio 2012 and the Windows 8 Software Development Kit (SDK) to build the package that you submit to the store. Installing the Windows 8 SDK requires Windows 8. So all that to say, if you plan to publish the app you need
Now let’s dive into the tool and see how it works!
Visit ZipApp and create yourself an account by selecting Register
You can use a Twitter, Facebook, Microsoft, or Google account to log in, or you can just create a local account with a username and password of your choice.
Once you log in you are brought to your application screen. The developer of this tool must have a sense of humour, when you first log in you get a message “Yikes! You don’t have any applications…Click the ‘Create New’ link below to create one.”
As per the instructions, select Create New to create your first application
Next you are asked to enter some basic information about your app: a name and a description.
Select one of the predefined templates, they give you a snapshot so you get a sense of how the application will look with each theme.
Select a pre-defined icon. The icon you select will appear as a logo for your app on tiles, and if you have a blog feed with posts that do not have associated pictures, the icon will appear as a default image.
NOTE: I couldn’t find a way to upload my own icon, which was a little frustrating because I had a logo I wanted to use. If this really bugs you, it is possible to open up the application code after you get the package from the tool and replace the logo. Of course that means if I use the tool to update my app later I’ll have to re-do the work of replacing the icon. Maybe down the road they will add a browse to upload your own icon.
When you have entered your information select Create to continue.
NOTE: You can come back later and change any of these settings and values later if you change your mind.
Now you are back at the application dashboard and you can see your Application in the list. To add content to the application you need to create groups and articles.
Select View Groups to start adding content.
Since you have no content you see an empty list and a suggestion to create a new group.
There are 5 types of groups you can create
NOTE: You can re-order the groups after you create them by clicking on the arrows icon
I want to include a calendar of different races. Sadly, there is no RSS feed for that, but I do have a list of them I can provide as static content
A Static group by itself doesn’t display any content, so now I have to define articles to display in the group. For each article I can include formatted text, images, and hyperlinks.
Select View Articles to start adding content to the group.
Now I can add my first article to the group by selecting Create New on the Articles page.
Now I can specify a name, subtitle, and description for the article. I can also specify an image to display above the article.
If you decide to upload an image. You must browse to the image you want uploaded, then select the image and choose Insert to add it to your article.
NOTE: The image is optional, if you don’t specify one, the app will display the icon you selected when you created the app as an image. Including images for each article makes for a more attractive application.
NOTE: I found uploading images a bit buggy. It always showed the spinning icon as if it was still uploading, but when I selected Cancel and came back to the image screen, the image was in fact uploaded and I was able to select it and add it to my article.
Continue adding all the articles you want in the group. When you are ready to add a new group just click on Groups in the left hand menu.
This is really easy, just create a new group. Select the Facebook tab and then enter the page for the Facebook page whose posts you want fed into the application.
NOTE: You don't enter the entire URL just the page name, so for example if the page is at www.facebook.com/MyGreatPage you would just specify MyGreatPage in the Page field. I made the mistake of putting the entire URL and couldn't figure out why my Facebook group wasn't appearing. I didn't get an error message, I just didn't see the Facebook group in the finished app.
Creating a Twitter group is easy. Create a new group, select Twitter and specify either a twitter handle or a hashtag you want to use as search criteria for tweets to display in your app.
NOTE: Make sure you read the small print here, if you enter a hashtag AND a twitter handle, you will only see tweets from the specified user which use the specified hashtag!
Creating a YouTube group is easy. Create a new group, select YouTube and specify either a Username whose YouTube Playlists you would like listed, or the RSS feed for a YouTube feed.
Creating a RSS Feed group is easy. Create a new group, select RSS and specify the URL for the RSS feed (e.g. a blog feed) whose content you would like listed.
After you have defined all the groups and articles for the content you want to provide in your app, it’s time to download the app. Select Download from the top bar.
At the bottom of your screen (at least in Internet Explorer, that’s where it appears) You will see a pop-up showing a .zip app you can save to your computer.
Save the file to your computer.
Congratulations you have just built an app!
Yeah, I know, seeing a .zip file, or a list of files inside a .zip file isn’t that exciting, so let’s look at how you test and publish the app.
You will need to install Windows 8 and the Windows 8 SDK to test your application and see it running.
Once you have the Windows 8 SDK installed, launch Visual Studio 2012.
If you unzip the .zip file you downloaded, you will see the files that make up your Windows 8 app. The file with the extension .jsproj is the file you want to open from Visual Studio.
In Visual Studio on the top menu select File | Open | Project/Solution and then browse to and select the file ZipApp.jsproj
You may be prompted whether you will allow Visual Studio to open projects from untrusted sources. You cannot open the file in Visual Studio unless you select OK.
The project will now be loaded into Visual Studio. You can see the files listed in the Solution Explorer pane on the right hand side.
There are two ways to test the game.
To test your app, go to the menu and find the drop down arrow beside the play button where it says Local Machine, use that drop down to select either Local Machine or Simulator.
After you select your preferred testing option, select the play button or use <F5> to start the game.
Go ahead and try it!
NOTE: For some reason when I ran my app the first time I got a message telling me “my file content does not conform to specified schema” because my description attribute was invalid. When I double clicked on the error message it opened up the AppxManifest.xml file and when I scrolled over on the line that said started with <VisualElements I noticed some weird characters in the middle of my description string “#A13;D45” stuff like that. When I deleted those extra characters, the error went away.
Once your app is up and running try it out! select different groups and articles to see how it works.
NOTE: Unfortunately Search and Share do not seem to be supported. I suppose that might be difficult to do with all the different content, but it’s a shame, because Search and Share are great features to support in a Windows 8 app. As a programmer I can always add those features after the fact.
When you want to leave the app, return to Visual Studio (<CTRL><D> takes you back to the desktop) and select the Stop button to Stop running the code.
Now that you have seen the app in action, you may wish to go back to the ZipApp website and change the theme, the icon, add additional content, or change titles and subtitles and regenerate a new copy of the app. Do this as often as you want until you are happy with the results.
This How to Publish an app post provides detailed step by step instructions on how to publish your app.