2

Is there a possibility to add Mangofeatures (like secondary live-tiles) and still run the App on an 7.0 Phone without the Mango-Features?

The Ebay App looks like it, but it could be that it has published 2 Versions, one for 7.0 and one for 7.1.

kadir
  • 1,417
  • 11
  • 35

2 Answers2

2

The answer is basically no. You need to publish both a 7.0 and 7.1 version but they don't have to be separate apps as you can have 7.0 and 7.1 published versions of the same app. This was announced on the Windows Phone Developer Blog.

[Edited to explicitly state that I am not advocating faking features]

If you still want to target 7.0 you have some options.

  1. Have separate 7.0 and 7.1 projects.

  2. Have one solution that shares code between two projects using file links, one targeting 7.0 and the other targeting 7.1 You should be able to share a lot of code and perhaps pull visuals out into user controls that could be shared.

  3. If you really want one app, though I don't think it's a good idea, there is a possible workaround using the answer from this question which might let you use secondary tiles.

Along with option 3, you could probably also fake fast app switching by only handling tombstoning in certain situations with something like this (off the cuff, not tested):

bool isNewInstance = false;

public PageConstructor()
{
    isNewInstance = true;
}

override OnNavigatedTo()
{
    if (isNewInstance) 
    {
        // handle page set up as necessary
    }
    else
    {
        // handle tombstoning if necessary
    }


    isNewInstance = false;
}
Community
  • 1
  • 1
Austin Thompson
  • 2,251
  • 1
  • 17
  • 23
  • I am not sure whether prompting "faking" of features is the correct approach due to the number of gains you receive from targetting a single OS version – Paul Diston Apr 16 '12 at 14:12
  • I certainly agree, it would be best to just target Mango. However I like to present alternative options so people can come to the conclusions themselves. – Austin Thompson Apr 16 '12 at 14:25
  • Nice approach but I would agree with you. Better 2 Versions or only with Mango. – kadir Apr 20 '12 at 08:59
0

Why do you want to support 7.0? Mango is mandatory update and all the phones should be running it.

Igor Kulman
  • 16,211
  • 10
  • 57
  • 118
  • My Company still supports 7.0. So all Phones can be targeted. – kadir Apr 16 '12 at 13:03
  • It would be interesting to understand the reason for this as all devices have had upgrades to 7.1 made available and all new devices will have 7.1 by default. Do they have the numbers of devices which haven't been upgraded yet? – Paul Diston Apr 16 '12 at 13:47
  • Yeah I'm curious to see what that number is too – Nico Apr 16 '12 at 14:44
  • Currently there are about 80% Mango Phones and 20% Non-Mango's out there :-) Source: http://tiny.cc/oz21cw – kadir Apr 20 '12 at 08:52