Δημιουργώντας ελληνικές εφαρμογές στο Windows Phone

Σήμερα μου ανέφερε ένας γνωστός ότι η ελληνική του εφαρμογή “κόπηκε” λόγω γλώσσας κατά τη διαδικασία του ελέγχου από την ομάδα του Windows Phone marketplace, παρότι είχε επιλέξει να γίνει publish μόνο στο ελληνικό marketplace, είχε βάλει ελληνική περιγραφή, ελληνικό user interface κ.λ.π. Τι συνέβη;

Ο λόγος που κόπηκε είναι γιατί το default language της εφαρμογής του ήταν Αγγλικά. Για να το αλλάξετε αυτό, θα πρέπει να κάνετε δεξί κλικ στο project, properties, assembly information στην καρτέλα application και από εκεί να αλλάξετε το neutral language της εφαρμογής σας, θέτωντας το σε ελληνικά Greek (Greece) από το English, που είναι το default και φαίνεται στην εικόνα. Με αυτό τον τρόπο, η ελληνική εφαρμογή σας θα φαίνεται ότι υποστηρίζει την ελληνική γλώσσα και θα γίνει δεκτή στο marketplace!

 

image

[Tutorial + Video] Creating a small Angry Birds clone for Windows Phone in 5 minutes

In this post, we are going to show hot to create a small Angry Birds clone for Windows Phone 7 in 5 minutes using Expression Blend and zero (yes, zero) lines of code. Of course, the game that we will create is far from finished but it can serve as a start for your new awesome game.

Check the video explaining the tutorial

(Please visit the site to view this video)

We will use Windows Phone developer tools (they include Expression Blend for Windows Phone) which you can download from http://create.msdn.com and the free/open source Physics Helper library (download here: http://physicshelper.codeplex.com). Physics Helper is a helper library for the popular physics engine Farseer (http://farseerphysics.codeplex.com/). Basically, it adds some Behaviors inside Expression Blend in order to use the engine without writing any code at all!

First of all, you download the Physics Helper library, extract the dlls. Then you open Expression Blend and create a new Windows Phone Application. Pay attention so that the version is 7.0 (haven’t tested the library with 7.1 projects, but it might work).

image

Delete everything on the page, and change the layout of LayoutRoot element to Canvas (in order for it to work with the Farseer library).

imageRead More »

Creating a ringtone in Windows Phone 7.5 (Mango)

So, you just updated your beautiful Windows Phone device with Mango and you want to create a custom ringtone. Well, you can use any music file you want, if it fits the following requirements

    • 39 seconds or shorter
    • smaller than 1 megabyte (MB)
    • saved in MP3 or WMA format
    • not copy-protected (i.e. DRM free)

Of course, your favorite songs are over 39 seconds. I found this great online service (no need to download anything to your PC) to cut an mp3 file. It’s called “MP3 cut” and it’s URL is http://mp3cut.net/ (however, you can use any online or offline software you wish)

Let’s check the procedure.

1. First, you select to upload your favorite mp3 file

image

2. After a few minutes (even more, if your song is lengthy) you will presented with the following screen

image

3. Simply select the part of the song you want (you can even preview it!) and…

image

4. Click Split and Download!

image

5. Download, save the file and open Zune. It’s time to add the file to your collection (you can use a simple drag and drop operation to accomplish that). When you add it, find it (if you have lots of music, try the search box on the upper right of the Zune software). Then, right click on the song and select “Edit”. You will be presented with a screen with the metadata of the song. The only thing you need to do is click on the “Genre” option and select “Ringtone” as the Genre. If you can’t find a Ringtone genre, just write it yourself.

image

6. Last, sync the song with your device, go to settings, ringtones + sounds and the song you added will be on top of the list (on the “custom” section). You’re done!

 

Don’t forget to check kids' apps for WP7 that I have co-developed here: http://www.windowsphone.com/en-US/search?q=anlock

First Words: Learning Animals

 

First Words: Learning Animals at Elearning Expo 2011

Today I had the pleasure to present at Elearning Expo 2011, the premium conference/exhibition for e-learning in Greece. I presented at a session titled "Interactive Games" and the presentation was about the game I have codeveloped with Anlock Ltd, "First Words: Learning Animals". People really liked our game and wished us good luck! Worth to mention here is that Greek and Spanish version will hit the Windows Phone marketplace in a few days, whereas "Vehicles" version is under heavy development!

Check the presentation on slideshare here http://www.slideshare.net/dt008/first-words-learning-animals-at-elearning-expo-2011

And, of course, check the First Words games series on the marketplace here: http://www.windowsphone.com/en-US/search?q=anlock Don't forget to leave a review when you download them!

Don’t forget to check kids' apps for WP7 that I have co-developed here: http://www.windowsphone.com/en-US/search?q=anlock

First Words: Learning Animals

 

How to deal with payout setup on the Windows Phone Marketplace (Getting a Tax Identification Number (TIN) and Submitting the W-8 form)

[Update: (that's what happens when you prepare the blog post for many days, things can change!) Microsoft has confirmed that ITINs are NO longer needed for publishers outside the US (link: http://forums.create.msdn.com/forums/t/92840.aspx). It is unclear though if this also holds true for TINs in general (namely SSNs and EINs) since the “Certification Instructions” in the App Hub have yet to be updated. However, you still need to send the W-8 form, so instructions for the form still apply, and of course read on to learn all about these terms and what they mean]

[This is a guest post from George Karavias of Anlock Ltd. creators of the Windows Phone 7 educational game First Words: Learning Animals]

So you’ve gotten over the hoopla of Geotrust and you have been registered as a Windows Phone developer. You are anxious to start submitting your applications. Hoping that Nokia and Microsoft get it together in the meantime and start selling smartphones, so the money starts rolling in! One thing is left though, filling out your “payout setup” …

And that is when you come across some rather unclear and quite disturbing “Certification Instructions” about contacting the IRS and getting a US Taxpayer Identification Number. Otherwise you are subject to an automatic 30% US tax withholding, say what? 30%?, US Taxing? Why? Harsh truth is that if you are not based in the US and if you do not figure out the “Certifications Instructions”, Microsoft is going to withhold 30% of your sales, on top of the 30% commission to give to the IRS in the US.

Fear not, we have been through it successfully (we have 0% Tax withholding) and we will give you some pointers on how we did it. But before we start we will quote Microsoft: “Note that Microsoft does not provide tax advice and that the following information is only to provide guidance. For more information, see the United States Internal Revenue Service website or your tax professional”, and emphasize that this is also true with us. All we are going to do is give you a few pointers, hoping that they will help. We are in no position to offer any further advice whatsoever, keep that in mind! Plus, we make no warranties about this, we are just mentioning our personal (but successful) experience.

Your Goal:

In a nutshell, acquire a Taxpayer Identification Number (TIN) from the IRS (Internal Revenue Service, the US Tax Authority) and submit it to Microsoft using the W-8 (an IRS form) in order to take advantage of the tax treaty between the US and you country .

 

Step 1: Determine if there is a tax treaty between your country and the US and what is the corresponding rate.

Download publication 901: http://www.irs.gov/pub/irs-pdf/p901.pdf , feel free to read through it, but what you are interested in is on Table 1. Find your country and check out the number under column 12/copyrights. Most countries have 0%, and several others, rates that are lower than the 30%. This is the rate that Microsoft will withhold instead of 30%.

Step 2: Determine what Tax Identification Number (TIN) you need.

There are different TINs depending on what type of tax entity the IRS considers you are, here they are:

#

Tax Entity

TIN

1

Individual

SSN/ITIN

2

Sole Proprietorship

SSN (preferred)/EIN

3

Partnership

EIN

4

Corporation

EIN

5

LLC-Class C

EIN

6

LLC-Class E

Owner’s SSN/EIN

7

LLC-Class D

EIN

– SSN, stands for Social Security Number. You need to follow the instructions here: http://www.ssa.gov/online/ss-5.pdf . It did not apply to us so I cannot provide further information, although I am not certain that you can get a SSN if you are not a US citizen or US immigrant.

– ITIN, stands for Individual Tax Identification Number: This applies to individuals (probably individual or student registration, *not* for companies). For an overview of what to do, go to your “Account profile” and then check under the “Payout Setup” tab. The information and the links are under point 1, right bellow point b. Again this did not apply to us (since we are registered as a company) so I cannot provide more information (you may also want to go through http://www.irs.gov/individuals/article/0,,id=96287,00.html .)

– EIN, stands for Employer Identification Number that is for us right there. So I will let you know how we got one.

Step 3. Get your TIN (EIN in our case).

You need to get the TIN, otherwise you cannot send the W-8 form and take advantage of the tax treaty. As I said the TIN we were required to get was the EIN, and here is how we got one. The information can be found here: http://www.irs.gov/businesses/small/article/0,,id=98350,00.html . You can do it online or over the phone: http://www.irs.gov/businesses/small/article/0,,id=97860,00.html . We did it over the phone by calling +1 267 941-1099 (US number); here is how to do it:

1) You must have in front of you the W-8 form: http://www.irs.gov/pub/irs-pdf/fw8ben.pdf filled out according to the instructions: http://www.irs.gov/pub/irs-pdf/iw8ben.pdf. These instructions are rather difficult to read and include Tax and Legal terms but you have to figure it out. The IRS representative that will answer the phone will need this information; otherwise he will not be able to help you.

2) Make the call and be prepared to be on hold for quite some time for the IRS to pick up.

3) The IRS representative will talk fast over the phone, so be prepared for that, and ask them to talk slowly to avoid any mistakes.

Finally some light, if you are successful with this call and provide all the information, the IRS representative will give you the EIN on the spot. That is right with one phone call, difficult as it may be, you will have the much sought after TIN/EIN!!!

Step 4: Validating the W-8 prior to sending it.

Now that you have the TIN, it is time to fill it in the W-8 form (that you have already filled out above), and validate it through Microsoft before sending it out. The W-8 must be dated, stamped and signed and the identification data must be those of your developer account. For more you should definitely read: http://msdn.microsoft.com/en-us/library/hh202925(v=VS.92).aspx , because there are some details that need attention (especially if you are from Canada, France, Italy, or Spain). Scan it and e-mail it to: mplcomm@microsoft.com . They will get back you with their feedback in roughly ten days.

Step 4: Sending out the W-8.

Hopefully by now Microsoft has validated the W-8 form and everything is in order. Now you need to send it out. Pay attention to the following:

1) You must use a courier to have a delivery receipt and to make sure that they get it. This is not mail that you need misplaced or lost.

2) You need to send it to :

Microsoft Windows Phone Marketplace
Attn: Finance Department
29011 Commerce Center Drive
Valencia, CA 91355
USA

3) After your courier confirms that they have delivered it, send Microsoft an e-mail again at mplcomm@microsoft.com, asking them if they actually got it and everything is in order.

That is it you are done, congratulations, you have just saved 30% (if the tax rate that Microsoft has to withhold is 0%).

As a bonus here are some more hints and tips:

1) If you send the W-8 form without the TIN, Microsoft will withhold the 30%, without a TIN you cannot take advantage of the tax treaty between your country and the US
2) Your W-8 form will not be processed until you are eligible for a payout by Microsoft that is why your Payout Details will read that Microsoft has not received the W-8 even if they have.
3) You will only know what tax rate they actually did withhold when you get the first payment report. Microsoft will not confirm anything through e-mail even after confirming that they have received the W-8.
4) A payout is possible when you reach 285$ in sales since the threshold of 200$ mentioned is after deducting Microsoft’s 30%.
5) If your business is in the EU (not Luxemburg) do not forget to also provide your VAT in order to be exempted from VAT as well.
6) Microsoft pays at the end of each month for the sales realized the past two months. Since Microsoft also uses operator billing, meaning that applications are also sold through carriers (Vodafone, etc.) clearing sales through them takes longer. Microsoft will not pay you until they actually collect from the credit card of the user or from the carrier. This clearing takes some time so be prepared that your payments may not match the actual sales realized.

Hope we have shed some light on a rather complex issue.

Don’t forget to check kids' apps for WP7 that I have co-developed here: http://www.windowsphone.com/en-US/search?q=anlock

First Words: Learning Animals

 

Μαθήματα για Windows Phone, προγραμματισμό παιχνιδιών, cloud computing κ.α.

 

Phone

· Windows Phone Programming in C# 8 lessons including labs, ppt, demos, & notes

· Windows Phone 7 Sensors and XNA 5 lessons

· Windows Phone 7 Developer Training Kit 3 lessons includes manual, source files to complete exercises, and links to videos

· Designing for Windows Phone 7 lectures 7 lessons includes PDF file

· Game Development with XNA using C# and XNA Framework Part 1 6 lessons includes roadmap, lesson plans, demo projects, video tutorials, lab assignments with solutions, student activities, assessment tools

· Game Development with XNA Part 2 Games for All 7 lessons

· Introduction to Mobile application Development using Silverlight 3 lessons includes Ppt, video, word and source files for assignments and demos

Gaming

· Game Development with XNA using C# and XNA Framework Part 1 6 lessons includes roadmap, lesson plans, demo projects, video tutorials, lab assignments with solutions, student activities, assessment tools

· Game Development with XNA Part 2 Games for All 7 lessons

· Artificial Intelligence for Computer games 19 lessons

· Programing with C# and XNA Jump start 4-5 week mini-course includes lesson plans, demo projects, video tutorials, lab assignments, student activities and assessment tools

· Gaming in Kodu 7 lessons

Cloud

· Azure for CS101 3 lessons

Other

· Introduction to Computer Programming with C#

· Introduction to Web Design Using Microsoft Expression Studio 4 8 lessons includes lesson plans, PPT, tutorials, student activities and assessment tools

· Visual Studio 2010 C# Programming 24 lessons

· Classes and OO Programming 4 lessons includes PPt, lab and demos

· The .NET Platform 4 lessons includes PPt and demos

· Developing Software using Microsoft Visual Studio 4 lessons includes PPt, lab, demo

· Introduction to C# for the Java Programmer 4 lessons includes ppt, demo source code

Starting with Windows Phone 7 development?

We have arranged to have a 2 day, live, streamed training event about how to build apps for Windows Phone. It is coming up this week.

Registration: http://bit.ly/Mango-Jump

It’s important to note that while this will be delivered live and streamed, but that we will also be posting the recorded version of the videos online shortly after the completion of the training event.

 

 

App Hub

The central repository for all things Windows Phone for developers. This is where you will go to create an account, get the tools, submit and manage your apps, participate in forums, et.c

http://create.msdn.com

Getting Started

Your first stop to get going on dev

http://wpdev.ms/startwpdev

Getting Started

/w DiggTheDrazen

Very good resource for tips and trips with all codes available by @DiggTheDrazen
http://www.DiggTheDrazen.com

Downloads

The dev tools – FREE – are here

http://wpdev.ms/wpdowns

Registration

Some people need a little extra help, and this walkthrough of the developer registration should be useful

http://wpdev.ms/regwalk

Submissions

A little extra help on the submission process.

http://wpdev.ms/subwalk

Certification Requirements

OK, your app is done, but will it pass cert? We aim to give you plenty of visibility into the process and be very transparent on why your apps failed, but please read through this.

http://wpdev.ms/certreq

Jump Start

A video series sponsored by Channel9, our developer focused online video destination portal.

http://wpdev.ms/jumpstarts

Design Day

Every developer could probably use a little extra help with their app design. Here are some great tutorials all about the Metro UI design language for Windows Phone.

http://blogs.msdn.com/b/jaimer/archive/2010/08/13/windows-phone-design-day-recordings.aspx

Absolute Beginners

There’s always the possibility that you are big on ideas, but maybe not so much on dev skills. That’s OK. We have a great course which will get you up to speed even if you are an absolute beginner.

http://wpdev.ms/beginvids

Mango Hands On Labs

If you want to dig a little deeper, but prefer the lab walkthrough format, we have some great labs here for you.

http://wpdev.ms/mangohol

Don’t forget to check kids' apps for WP7 that I have co-developed here: http://www.windowsphone.com/en-US/search?q=anlock

First Words: Learning Animals

 

Two new Windows Phone 7 Apps that I co-developed, “First German Words: Learning Animals” and “First French Words: Learning Animals”

Last week, Anlock LLC released two more applications at the Windows Phone 7 marketplace, “First German Words: Learning Animals” and “First French Words: Learning Animals”, both of which I have co-developed.

You can check the two apps at windowsphoneapplist.com here:

German: http://www.windowsphoneapplist.com/first_german_words_3a_learning_animals-a29408.html

French: http://www.windowsphoneapplist.com/first_french_words_3a_learning_animals-a29409.html 

Application UI has been localized to match the current display language on your Windows Phone 7 device. Featuring 30 animals (4 in the Trial/Lite version) with cool animations and sounds, will help your children learn how to spell.

You can download the German version here: http://redirect.zune.net/redirect?type=phoneApp&id=e8a40332-0c01-49bb-9ab2-1a6537d04e5f&source=zTop and the French here: http://redirect.zune.net/External/LaunchZuneProtocol.aspx?pathuri=navigate%3FphoneAppID%3D0cb3a2c0-81f9-457d-b917-28133238fcd1

Screenshots from the German version (first two) and the French (the other two).

imageimageimageimage

 

Don’t forget to check kids' apps for WP7 that I have co-developed here: http://www.windowsphone.com/en-US/search?q=anlock

First Words: Learning Animals

 

First Words: Learning Animals–A new Windows Phone 7 educational application for children

A new application for Windows Phone 7 was uploaded to the Windows Phone 7 marketplace during the previous week. This application was co-developed by Anlock Ltd. and myself. Application’s name is “First Words: Learning Animals” and is an innovative application for children, allowing them to learn the alphabet, spell and read animal names.

The child can select one out of 30 animals (in the full version). For each animal, the child has to try and match the letters to their original positions. Sounds are played throughout the game in order for the whole experience to be more interactive. There are 16 combinations of difficulty so the parent can modify them as the child progresses while playing the game. Application features studio recording of letters and animal names plus exciting animal and background illustrations.

Check a video of the app in action!

(Please visit the site to view this video)


 

Application is available in English language, with more languages and more animals coming in soon to be released updates!

Download the app, rate it and let me know of your thoughts!

Screenshots

imageimageimageimageimageimageimage

WARNING: geeky details ahead!

Since this is mainly a technical blog, I couldn’t resist in posting some hints and tips regarding the development of the app!

Flurry is used for app analytics and bug tracking. Awesome and *free* service!

Toolkit’s WrapPanel is an excellent control used for the display of the animals

– Due to the amount of images in the app, BitmapCache is extensively used for better performance.

BitmapCreateOptions.None during image loading is used so as there is no waiting for animal pictures to be shown

– Transitions use TurnstileForward transitions from the Toolkit

– Navigation was made possible due to the NonLinearNavigationService recipe

– Rating control used some code from the Coding 4 Fun toolkit for Windows Phone. We used the memory control from the same library, during development

– Beware of Panoramas! Yes, they arevery  beautiful but using a Panorama in the start screen (instead of the Pivot we’re using now) caused an increase in the app’s consuming RAM by 20%!

– We did lots of .csproj manual fiddling and have various build configurations to have Lite and Full version contain only the needed assets (images+sounds) (hint: use Condition attribute on ItemGroup elements on .csproj file)

– We also used T4 templates to have different WMAppManifest.xml per build (language and version – full, lite)

 

Don’t forget to check kids' apps for WP7 that I have co-developed here: http://www.windowsphone.com/en-US/search?q=anlock

First Words: Learning Animals

 

Getting started with Kinect SDK

Download now Kinect for Windows SDK!

(links for everything listed can be found at the end of this blog post)

Kinect SDK Beta Launch Content

You can watch this now at http://channel9.msdn.com/live and once the event is complete within about 24 hours, it will move to a permanent home at http://channel9.msdn.com/events where you can download all the sessions and slides.

clip_image001

Coding4Fun’s Kinect Project Gallery

clip_image002

Coding4Fun Toolkit

A handy developer API for things like converting a byte[] array to a bitmap for Windows Forms and WPF or getting the distance of a particular pixel in one line of code. 

clip_image004

Kinect for Windows SDK VB Samples

All of the SDK samples have now been ported over to Visual Basic Express using today’s build (ShapeGame shown below)!

clip_image006

Kinect cursor

Brian Peek built an awesome Windows cursor that includes click and click/drag support (see me scrolling the KDK Web site with Kinect)

clip_image008

Kinect Paint

A fun, Metro-esque designed paint with your hands app (Drawing the word “cool” with a “caffeinated” apperance) from Evan Lang and Laurent Bugnion.

clip_image010

Jellybean

Clint’s awesome Kinect-enabled drivable Lounge chair!

clip_image012

Kinect for Windows SDK Quickstarts

Six short and sweet demo heavy videos showing how to use the Kinect for Windows SDK

Installing and using the Kinect Sensor

clip_image013

Setting up your Development Environment

clip_image015

Camera Fundamentals

clip_image017

Working with Depth Data

clip_image019

Skeletal Tracking Fundamentals

clip_image020

Audio Fundamentals

clip_image022

Full List of Content Links

Type

Item

URL

Video

Kinect Beta Launch Live Event

http://channel9.msdn.com/live

Video

Kinect Beta Launch On-Demand Sessions

http://channel9.msdn.com/events/kinect/betalaunch

Blog Post

Coding4Fun Kinect Project Gallery

http://channel9.msdn.com/coding4fun/kinect/

Blog Post

Kinect Project Post – Welcome Post

http://channel9.msdn.com/coding4fun/kinect/Welcome-to-the-Kinect-for-Windows-SDK-Project-Blog

Blog Post

Kinect Project Post – Kinect SDK Beta Now Available

http://channel9.msdn.com/coding4fun/kinect/The-waiting-is-finally-over-the-Kinect-for-Windows-SDK-Beta-is-now-available

Blog Post

Kinect Project Post – Light Saber project

http://channel9.msdn.com/coding4fun/kinect/Of-course-our-first-Kinect-for-Windows-SDK-Project-has-to-involve-a-Light-Saber

Sample

Kinect for Windows SDK VB Samples

http://files.ch9.ms/coding4fun/KinectSDKSamplesVB.zip

Sample

Coding4Fun Kinect Toolkit

http://c4ftoolkit.codeplex.com

Sample

Mouse Cursor Sample Project

http://channel9.msdn.com/coding4fun/projects/kinectcursor

Sample

Kinect Paint

http://channel9.msdn.com/coding4fun/projects/kinectpaint/

Sample

Jellybean

http://jellybean.codeplex.com

Video

Quickstart Samples Download

http://files.ch9.ms/coding4fun/KinectForWindowsSDKQuickstarts.zip

Video

Installing and Using the Kinect Sensor

http://channel9.msdn.com/Series/KinectSDKQuickstarts/Understanding-Kinect-Hardware

Video

Kinect for Windows Quickstarts

http://channel9.msdn.com/series/KinectSDKQuickstarts/

Video

Setting up your Development Environment

http://channel9.msdn.com/Series/KinectSDKQuickstarts/Getting-Started

Video

Camera Fundamentals

http://channel9.msdn.com/Series/KinectSDKQuickstarts/Camera-Fundamentals

Video

Working with Depth Data

http://channel9.msdn.com/Series/KinectSDKQuickstarts/Working-with-Depth-Data

Video

Skeletal Tracking Fundamentals

http://channel9.msdn.com/Series/KinectSDKQuickstarts/Skeletal-Tracking-Fundamentals

Video

Audio Fundamentals

http://channel9.msdn.com/Series/KinectSDKQuickstarts/Audio-Fundamentals