Windows Phone 7 development

Posts tagged ‘Microsoft’

WP7 constants

I have tried to gather some important ones. I will update this post when I spot something new 🙂

Developing

  1. 3 – devices can be unlocked by one developer(one live ID)
  2. 3 – apps can be deployed by DearmSpark developer per one phone
  3. 5 – free apps per account (next one is 19.99$)
  4. 5 – seconds after launch the app must show something to the user(loading screen f.e.).
  5. 10 – apps can be deployed by developer(paid fee) per one phone
  6. 15 – push notification channels per device
  7. 20 MB – The maximum size of the OTA (over the air) installation file for the application.
  8. 30 – frames per seconds XNA updates the screen.
  9. 60 – frames per second Silverlight updates the screen
  10. 62 x 62 – icon size(PNG)
  11. 90 MB – memory usage for devices with 256 MB ( limit can go up for devices with more than 256MB)
  12. 99  x 99 – Small mobile app tile (PNG)
  13. 173 x 173 – tile size(PNG)
  14. 200 x 200 – Large PC app tile(PNG)
  15. 225 MB – The maximum size of the XAP package file.
  16. 480 x 800 – screenshoot of an app.
  17. 1000 x 800 – Panaroama background for marketplace – not 1440 (PNG)

Money

  1. 0.99$ – mimimum price of an app
  2. 99$ – registration fee
  3. 200$ – payout threshold
  4. 499.99$ – maximum price of an app

The collection time of payment

  1. 15 to 30 days for credit card billing
  2. 90 to 120 days for mobile operator billing

What does not WP7 have.

WP7 missing

  1. Copy and paste text.
  2. Preview of back button stack.
  3. Socekts.
  4. Battery api.
  5. Camera – movie api.
  6. Silverlight integration with XNA.
  7. Exposed MAC address of WIFI.
  8. Tile tap and hold option to unintall the app.

There are rumors that Copy and paste will be fixed on February. Will see.

Free ebook!

Charles Petzold has released ebook about Windows Phone 7 for free!

http://www.charlespetzold.com/phone/

Thanks a lot!

WP7 Reviews Reader

Since Microsoft will not provide any reports till January Tom Verhoeff  on his blog shows the solution how to get some info about your app. The silverlight app gets the atom read from marketplace by ID and shows all the reviews from all marketplaces.

example1 example2

More info:

http://wp7reviews.tomverhoeff.com/


Tips about WP7

A few tips that make your life easer.

General

  1. Run your Visual Studio as an administrator (Right-click -> run as administrator) to get better FPS.
  2. Do not place IsTrial() in a loop. It take 60ms or more to return.
  3. Code generation in the compact framework is not the same as  Windows’ code. Jitter is optimized to run fast, not to produce the fastest code.
  4. Property is just a function for .Net CF.

Emulator

  1. To input text into emulator press Page-up (while editing a texbox f.e.) and then use your keybord to enter some text.
  2. Use F9 and F10 to change the volume

Marketplace

  1. To see app on marketplace if you are not from the country that has own marketplace go to Control Panel -> Location and change it to United States.
  2. Do not use transparent images at all!
  3. http://stackoverflow.com/questions/4141186/tips-for-a-successful-windows-phone-7-marketplace-submission

Silverlight

  1. Take as much as you can from Compositor Thread (for callback animations use BitmapCache).
  2. Use Canvas or custom popup instead of default one (Popup class) – lack of hardware acceleration.
  3. If your app loads very fast get rid off the spash screen.

XNA

  1. Use DXT format for textures and pack them into 1 file (faster loading and fewer GPU texture switches).
  2. For things like game stats avoid using strings( immutable). SpriteBatch.DrawString can take a StringBuilder directly for drawing text.
  3. Avoid using/abusing LINQ and foreach (it may causes garbage).
  4. Use Jagged arrays( arrays of arrays) instead of 2d arrays.

More info

%d bloggers like this: