Windows Phone 7 development

Archive for December, 2010

Weather blog/website

Wonder if there is the API that simulates weather condition (insired by wordpress’ snow). User could see weather conditions of place that she/he want to visit.

0.02$

Advertisements

Simple center zoom

To add simple pinch zoom (that I used in my Spirit Level) use the Silverlight Toolkit for WP7 and add the pinch GetureListener to a grid

<toolkit:GestureService.GestureListener>
  <toolkit:GestureListener PinchDelta="GestureListener_PinchDelta" />
 </toolkit:GestureService.GestureListener>

and code in event

 private void GestureListener_PinchDelta(object sender, PinchGestureEventArgs e)
 {
    if (e.DistanceRatio < 1.0 || e.DistanceRatio > 1.4)
    {
      return;
    }
 // Create the animation for pinch
   Storyboard storyboard = new Storyboard();
   DoubleAnimation pinchXAnimation = new DoubleAnimation();
   pinchXAnimation.To = e.DistanceRatio;
   pinchXAnimation.Duration = TimeSpan.FromSeconds(0.3);
   storyboard.Children.Add(pinchXAnimation);
   Storyboard.SetTargetProperty(pinchXAnimation, new PropertyPath("GridScaling.ScaleX"));
   Storyboard.SetTarget(pinchXAnimation, GridScaling);

   DoubleAnimation pinchYAnimation = new DoubleAnimation();
   pinchYAnimation.To = e.DistanceRatio;
   pinchYAnimation.Duration = TimeSpan.FromSeconds(0.3);
   storyboard.Children.Add(pinchYAnimation);
   Storyboard.SetTargetProperty(pinchYAnimation, new PropertyPath("GridScaling.ScaleY"));
   Storyboard.SetTarget(pinchYAnimation, GridScaling);

   storyboard.Begin();

}

New versions of Apps

Spirit Level

Classic Metronome

Tip Calc

njoy!

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.

WP7 Tip

to enter extra sign like < press and hold ( sign.

%d bloggers like this: