ElCondor · Apr 25, 2010 at 03:22 pm

Windows Phone 7 Facts: .xap to Replace .cab

XDA member and moderator Da_G has showed us some interesting facts about Windows Phone 7 in the WP7 Development and Hacking section. In the following weeks, we will be covering the more technical side of the currently unreleased OS by Microsoft. We’ll try to make it as easy to read as possible, so get yourself a cup of coffee, sit back, and read!

Most of you probably know about the .cab files. We’ll be talking about the Cab file used for Windows Mobile. Cab files are nothing more than installation packages that copy the files and registry edits from the package to the desired folder on your device. These ‘cabinet’ files, which originally were called ‘Diamonds’,  were used since the very first Windows Mobile devices.

Well these files seem to get banished from the coming Windows Phone 7, internally still called Windows Mobile 7. The new files to replace the cabinets are called ‘.xap’ files. So what are the exact changes between the two files?

First of all, .xap files are nothing more than renamed .zip files. There are a number of possible .xml files that could be included inside the .xap. These determine things like required security access level, to tell the system which .dll contains the main() for the application, and more setup options. Initially, xap files will only be available for deployment through the Marketplace.

Because of the sometimes bad experiences from users about laggy and slow Stock ROMs, Microsoft added some very strict requirements for preloaded apps:

Originally posted by Da_G

Preloaded App Requirements (which will be distributed as .xap) as follows:

  • Maximum of 6 preloaded applications on the device, not to exceed 60MB
  • All preloaded apps must pass Marketplace submission process (some extended APIs are available to OEM/MO so the process is slightly relaxed in that regard)
  • The application(s) and all future updates must be free of charge.
  • The apps must launch without dependency on network availability.
  • The apps must persist through a “hard reset”.
  • The apps must be updatable and revocable (!!!!) through the Marketplace.
  • The apps must notify the user at first launch of any capabilities to be utilized and get user consent (to access compass, accelerometer, network, etc.)

Most of the requirements aren’t bad at all for the end-user, though I think the OEMs are probably not very happy with these requirements.

You can download an .xap file from the thread to examine it.


_________
Want something on the XDA Portal? Send us a tip!
GermainZ · Jan 30, 2015 at 09:29 pm · no comments

Send Links to Any Nearby Device with CaastMe

There already are many solutions on the Google Play store if you want to send a link to one of your devices -- but what if you wanted to do it quickly without having to install any software or logging in to a website on the recipient end? Most apps require you to do either or both, which can be a hassle (or even a security risk) in some cases. Luckily, XDA Forum Member wyemun has developed CaastMe. Inspired by...

XDA NEWS
Mario Tomás Serrafero · Jan 30, 2015 at 03:39 pm · 2 comments

The Witcher Battle Arena: Hectic Multiplayer MOBA Fun

Do you like MOBAs? Do you like gaming on your phone? Given that MOBAs (multi player battle arenas) have amassed millions upon millions of players, there's a chance you play LoL or DOTA. And here at XDA we love phones, and we spend a lot of time on them, so if you were to like gaming outside of smartphones you probably like some on them too. I personally like neither, and I simply download the latest 3D games to see the progression...

XDA NEWS
Mario Tomás Serrafero · Jan 30, 2015 at 01:37 pm · no comments

LG G4 Could Feature a… 3K Display?

According to myLGphones, a version of the LG G4 will not feature neither a 2K nor a 4K display - but 3K. If you are anything like me, your reaction to this news will be confusion. While we don't have many details about the sources of this leak, it has apparently been confirmed true by a poster at hardare.fr that gave some more details on model names for each version of the upcoming LG flagship. However, these leaks don't point towards all G4...

XDA NEWS