IsolatedStorage Error (HTC RADAR) - Windows Phone 7 Apps and Games

Hallo i am new in the forum.I downloaded vNes from windows marketplace from my mob phone.i uploaded some roms in dropbox and when i put the dropbox link to vnes in my phone i get the following error: "An error occurred while accessing isolatedStorage" What can i do about that to fix it?

First ROMs are illegal, second it looks like the developer forgot to add an option to auto expand his ISO store. Nothing you can do.

MJCS said:
First ROMs are illegal, second it looks like the developer forgot to add an option to auto expand his ISO store. Nothing you can do.
Click to expand...
Click to collapse
Incorrect. On WP7 you don't need to expand ISO store (as on desktop). It's (technically) usual exception when author is using regular .NET assembly with file operations using File. not ISF.

Related

Copy-Protected Apps in Market with 3rd Party ROMS

Is there any workaround...?
Whats the problem ?
All the apps i have ever bought / downloaded, via the market work fine.
I believe this is what he's talking about
http://www.google.com/support/forum/p/Android+Market/thread?tid=107185eea74e4005&hl=en
http://androinica.com/2009/02/23/some-paid-apps-unavailable-on-unlocked-phones/
It appears that as of February, Google made it so whenever a developer selects the "Copy Protected" option when listing their application on the marketplace, that application will not appear for any rooted phone or developer phone. Basically it seems they did this because a rooted or developer phone can extract the APK file after purchasing an app, and then return it while still keeping the application.
I recently became aware of this today as I was working with a developer to determine why his application would not appear in the market. It's a shame - the majority of the root community is not out there to STEAL apps, we support our developers, I was trying to find his application on the market so I could BUY it. I really wanted to purchase the application and now I have no way to do it, simply because I wanted to use my phone to it's full extent instead of being stuck on the stock firmware.
rabeatz said:
http://www.google.com/support/forum/p/Android+Market/thread?tid=107185eea74e4005&hl=en
http://androinica.com/2009/02/23/some-paid-apps-unavailable-on-unlocked-phones/
It appears that as of February, Google made it so whenever a developer selects the "Copy Protected" option when listing their application on the marketplace, that application will not appear for any rooted phone or developer phone. Basically it seems they did this because a rooted or developer phone can extract the APK file after purchasing an app, and then return it while still keeping the application.
I recently became aware of this today as I was working with a developer to determine why his application would not appear in the market. It's a shame - the majority of the root community is not out there to STEAL apps, we support our developers, I was trying to find his application on the market so I could BUY it. I really wanted to purchase the application and now I have no way to do it, simply because I wanted to use my phone to it's full extent instead of being stuck on the stock firmware.
Click to expand...
Click to collapse
Any example of apps not showing up on the market for us?
Gilliland12 said:
Any example of apps not showing up on the market for us?
Click to expand...
Click to collapse
Search for the application Accudial on the market. It's copy protected. I get 0 results. Thats the one Example I am aware of but it also could be related to the fact that I'm on a 2.0.1 ROM instead of the older ones, switching back to test again. It's kind of hard to determine whether or not there are apps being hidden from us, if we don't know the app exists how are we gonna know it's hidden from our results?
It's because your on a Eclair rom..just searched on the WG 10 (Donut) and got AccuDial and AccuDial Free
Yeah I'm switching back to the latest CM ROM right now. But when I was running 2.0.1/Eclair, I was trying to download an application designed for 2.0 and it did not appear in the market - the developer said the only requirement he placed on it was that the phone be 2.0 or higher, so we came to the conclusion that it was the copy protection blocking the app.
But regardless of that - what about those links in my first post? Google Employees reply in those articles openly admitting that access to copy protected apps have been blocked from rooted and dev phones. Did Google quietly "undo" this between now and then? I can't find anything that says they did.
rabeatz said:
Yeah I'm switching back to the latest CM ROM right now. But when I was running 2.0.1/Eclair, I was trying to download an application designed for 2.0 and it did not appear in the market - the developer said the only requirement he placed on it was that the phone be 2.0 or higher, so we came to the conclusion that it was the copy protection blocking the app.
But regardless of that - what about those links in my first post? Google Employees reply in those articles openly admitting that access to copy protected apps have been blocked from rooted and dev phones. Did Google quietly "undo" this between now and then? I can't find anything that says they did.
Click to expand...
Click to collapse
I can find all of those apps they mention.
Dunno.
rabeatz said:
Yeah I'm switching back to the latest CM ROM right now. But when I was running 2.0.1/Eclair, I was trying to download an application designed for 2.0 and it did not appear in the market - the developer said the only requirement he placed on it was that the phone be 2.0 or higher, so we came to the conclusion that it was the copy protection blocking the app.
But regardless of that - what about those links in my first post? Google Employees reply in those articles openly admitting that access to copy protected apps have been blocked from rooted and dev phones. Did Google quietly "undo" this between now and then? I can't find anything that says they did.
Click to expand...
Click to collapse
They did lift the "block", I know of at least 2 protected apps that I can use, Nesoid and Mobile Defense (not protected anymore but it ised to be)
Right now, I can only find Accudial Free but not Accudial. I'm on Cyan 4.2.9.1.
Maybe that's because I'm not in the US??? Or that I don't have a Google Checkout account???
Thanks!
rabeatz said:
Yeah I'm switching back to the latest CM ROM right now. But when I was running 2.0.1/Eclair, I was trying to download an application designed for 2.0 and it did not appear in the market - the developer said the only requirement he placed on it was that the phone be 2.0 or higher, so we came to the conclusion that it was the copy protection blocking the app.
But regardless of that - what about those links in my first post? Google Employees reply in those articles openly admitting that access to copy protected apps have been blocked from rooted and dev phones. Did Google quietly "undo" this between now and then? I can't find anything that says they did.
Click to expand...
Click to collapse
That was a long time ago.
supremeteam256 said:
That was a long time ago.
Click to expand...
Click to collapse
The fair labor standards act was passed in 1938. Still in effect today. Just because Google made the change 10 months ago doesn't mean it suddenly was removed.. Whenever I search on the topic all I can find is info that says that access to copy protected apps been disallowed, can't find any article that mentions them removing the block.
I'm not saying it hasn't been removed, but it's kind of hard for me to know whether or not i'm being blocked from applications, I don't know what ones are copy protected and what ones aren't, or if theyre being blocked from me, because they simply wouldn't show up and I wouldn't even know they exist.
If the block has in fact been removed, it'd be nice to see if anyone could find an article that mentions it. Everything online talks about the block being placed
rabeatz said:
The fair labor standards act was passed in 1938. Still in effect today. Just because Google made the change 10 months ago doesn't mean it suddenly was removed.. Whenever I search on the topic all I can find is info that says that access to copy protected apps been disallowed, can't find any article that mentions them removing the block.
I'm not saying it hasn't been removed, but it's kind of hard for me to know whether or not i'm being blocked from applications, I don't know what ones are copy protected and what ones aren't, or if theyre being blocked from me, because they simply wouldn't show up and I wouldn't even know they exist.
If the block has in fact been removed, it'd be nice to see if anyone could find an article that mentions it. Everything online talks about the block being placed
Click to expand...
Click to collapse
Search Nesoid, that is a protected app. If you see the paid version then they lifted the block
Have you ran market enabler?
supremeteam256 said:
Have you ran market enabler?
Click to expand...
Click to collapse
What's that...?
Edit: Got it... http://code.google.com/p/market-enabler/ And it works... Thanks for the tip...!
Edit 2: Market Enabler works by mimicking certain APNs, be sure to backup your current APN first and restore it after getting the apps (it can be done within Market Enabler).
Cheers.

Idea for general (all phone brands) interop bypass (NOT UNLOCK) - but can it be done?

MOD EDIT: Thread closed by OP's request.
If you have used reker's proxy, you will notice the "by @reker" entry on top of the list with search results. If we could do the same with the SamWP8 tool (and link his app to a similar app page), maybe we could bypass the interop unlock requirement (the error you receive if you try to sideload a app with interop capabilities on a non-interop unlocked phone) because apps installed in the store don't get this check (as compu829 demonstrated by saying the original Microsoft youtube app contained the ID_CAP_MEDIALIB_PHOTO_FULL entry in the WMAppManifest.xml, and how could you install this app on phones without having an interop-unlock, exactly : the app was installed through the store).
Correct me if I'm wrong, I'm still learning how the WP OS is build and how it functions.
To admins, I can't post this in the Windows Phone 8 Development and Hacking thread because I don't have the required 10 posts yet.
Seems like a feasible idea, I'll take a look on how the store works but I think the XAP's still need to be signed by a trusted root to this works.
I'll post any updates here as I can't post on dev section x.x
This idea is older than WP8, and it doesn't work. First of all, the apps themselves (as opposed to the data about them) are delivered over an encrypted channel that uses certificate pinning; we can't intercept or modify it. Second, the Store will only install Microsoft-signed (and probably only DRMed) apps. Unsigned apps failed to install through this channel back on WP7. Third, even if we could install the apps this way, hey would still be unsigned. The OS would thus treat them as developer apps. Developer apps on phones where the MaxUnsignedApp registry value is less than 300 are limited to the standard third-party app capabilities, meaning no INTEROPSERVICES or similar.
By all means, go ahead and poke at it - WP8 has surprised me before with weaknesses it has relative to WP7 - but don't expect this to work even if you get past the first issue (which *does* exist on WP8).
Did someone contact reker? We need to figure out how he did this. I can't tell if he succeeded into linking an app to the custom app page because when I click install, I get an error message : "This app is not available for your region", maybe I need to change my region to China and try again.
@GoodDayToDie : Won't the phone be tricked by the store installation, thinking it's an encrypted app? Does it matter whether the app is encrypted or not if someone manages to link an app to a custom app page, because Windows Phone app weren't always encrypted to my recollection (this may predate the WP8 era, if so we're screwed ). And if it matters, can we encrypt the app ourselves by using a encryption method like AES, SHA, MD5, ... ? Unlikely hypothesis, but if someone would succeed in doing all this, could the SamWP8 tool be used to increase the HKEY_Local_Machine\Software\Microsoft\DeviceReg\Install MaxUnsignedApp value beyond 300 to unlock interop capabilities? Are the EnableAllSideloading.xap and Bootstapper.xap also usable on other WP than Samsung or do they need to be recoded to work on WP of other manufacturers?
EnableAllSideloading.xap and Bootstapper.xap depends on Samsung diagnosis tool and it's RPC server that runs on LocalSystem account that has "unlimited" registry access, it's not available on other manufacturers.
Tonight I will start my experiments on it.
greenboxal said:
EnableAllSideloading.xap and Bootstapper.xap depends on Samsung diagnosis tool and it's RPC server that runs on LocalSystem account that has "unlimited" registry access, it's not available on other manufacturers.
Tonight I will start my experiments on it.
Click to expand...
Click to collapse
I was wondering how you could flash the bootloader of Android on the Ativ S as the Secure Boot made by Qualcomm is locked by a blown fuse (it's a hardware issue, not only a software issue you must deal with).
bruce142 said:
I was wondering how you could flash the bootloader of Android on the Ativ S as the Secure Boot made by Qualcomm is locked by a blown fuse (it's a hardware issue, not only a software issue you must deal with).
Click to expand...
Click to collapse
SecureBoot checks signature of the bootloader by a known public key, the case is that Samsumg uses the *same* key for android and wp8 bootloaders.
greenboxal said:
SecureBoot checks signature of the bootloader by a known public key, the case is that Samsumg uses the *same* key for android and wp8 bootloaders.
Click to expand...
Click to collapse
If this checks out, what does it mean, could we flash android on the Ativ S? Or could you even make a dual-boot scenario possible? Great find by the way, :good:.
bruce142 said:
If this checks out, what does it mean, could we flash android on the Ativ S? Or could you even make a dual-boot scenario possible? Great find by the way, :good:.
Click to expand...
Click to collapse
Yes, it's the same hardware as SGS3 Snapdragon 4 version. But let go back to the topic, if you have some question about it send me a PM or post on my R&D thread
greenboxal said:
Yes, it's the same hardware as SGS3 Snapdragon 4 version. But let go back to the topic, if you have some question about it send me a PM or post on my R&D thread
Click to expand...
Click to collapse
I can't post yet in your R&D thread because I don't have the met the 10 post requirement yet.
Edit : I can install reker's "by @ reker" app when changing the region to China, and this is interesting (pasted directly from his WMAppManifest.xml) :
<?xml version="1.0" encoding="UTF-8"?>
-<Deployment AppPlatformVersion="8.0" xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment">
<DefaultLanguage xmlns="" code="zh-CN"/>
-<Languages xmlns="">
<Language code="zh-Hans"/>
</Languages>
-<App xmlns="" PublisherId="{9b1d1b5b-f206-4b27-a139-89659591061b}" IsBeta="false" PublisherID="{b259af64-2f7d-4a89-983f-836325480629}" Publisher="智机网_WPXAP" Description="智机市场官方版" Author="智机网_WPXAP" Genre="apps.normal" Version="2.0.0.0" RuntimeType="Silverlight" Title="智机市场" ProductID="{59bd999b-496e-4e05-afce-94b67ba6e862}">
<IconPath IsResource="false" IsRelative="true">Assets\ApplicationIcon.png</IconPath>
-<Capabilities>
<Capability Name="ID_CAP_IDENTITY_DEVICE"/>
<Capability Name="ID_CAP_IDENTITY_USER"/>
<Capability Name="ID_CAP_NETWORKING"/>
<Capability Name="ID_CAP_PUSH_NOTIFICATION"/>
<Capability Name="ID_CAP_SENSORS"/>
<Capability Name="ID_CAP_WEBBROWSERCOMPONENT"/>
<Capability Name="ID_CAP_APPOINTMENTS"/>
</Capabilities>
-<Tasks>
<DefaultTask Name="_default" ActivationPolicy="Resume" NavigationPage="MainPage.xaml"/>
</Tasks>
-<Tokens>
-<PrimaryToken TaskName="_default" TokenID="WpXapToken">
-<TemplateFlip>
<SmallImageURI IsResource="false" IsRelative="true">Assets\Tiles\FlipCycleTileSmall.png</SmallImageURI>
<Count>0</Count>
<BackgroundImageURI IsResource="false" IsRelative="true">Assets\Tiles\FlipCycleTileMedium.png</BackgroundImageURI>
<Title/>
<BackContent/>
<BackBackgroundImageURI/>
<BackTitle/>
<DeviceLockImageURI/>
<HasLarge/>
</TemplateFlip>
</PrimaryToken>
</Tokens>
-<Extensions>
<Protocol Name="wpxap" TaskID="_default" NavUriFragment="encodedLaunchUri=%s"/>
</Extensions>
-<ScreenResolutions>
<ScreenResolution Name="ID_RESOLUTION_WVGA"/>
<ScreenResolution Name="ID_RESOLUTION_WXGA"/>
<ScreenResolution Name="ID_RESOLUTION_HD720P"/>
</ScreenResolutions>
</App>
</Deployment>
@bruce142: The store may or may not care about the DRM - that was in place by the time WP8 came out, but WP7 didn't have it for a long time - but it absolutely cares about the signatures. More accurately, actually, the XAP install code (which the store invokes) cares about the signatures. There's no "tricking" it; the signature is quite plainly there, or it's not. You don't exactly have to look hard to find it. The app launch code *also* cares about signatures. Non-sideloaded apps won't have ID_CAP_DEVELOPERUNLOCK, which is a special capability automatically added to sideloaded apps to allow them to launch even though they don't have signatures. Without that capability (or rather, without the SID which the token of an app with that capability gets at chamber creation), the kernel will refuse to load the unsigned executable binaries.
GoodDayToDie said:
@bruce142: The store may or may not care about the DRM - that was in place by the time WP8 came out, but WP7 didn't have it for a long time - but it absolutely cares about the signatures. More accurately, actually, the XAP install code (which the store invokes) cares about the signatures. There's no "tricking" it; the signature is quite plainly there, or it's not. You don't exactly have to look hard to find it. The app launch code *also* cares about signatures. Non-sideloaded apps won't have ID_CAP_DEVELOPERUNLOCK, which is a special capability automatically added to sideloaded apps to allow them to launch even though they don't have signatures. Without that capability (or rather, without the SID which the token of an app with that capability gets at chamber creation), the kernel will refuse to load the unsigned executable binaries.
Click to expand...
Click to collapse
I understand, the app has to be signed before it can be uploaded to the store, but does the developer of an app not sign its app when he assembles it or does the store sign the app itself? I see no threshold here, as signing an app is not a problem, or is it? I still admire that reker managed to make an app page by using a proxy which isn't normally there and successfully linked an app to it, which I was able to download and it contained elevated capabilities, I thought the ID_CAP capabilities were all interop capabilities (correct me if I'm wrong). Could someone make the old version of the Samsung Diagnostic tool available this way which users with other WP than the Ativ S/Ativ S Neo might able to use to modify the MaxAppUnsigned value and unlock more capabilities, or is this impossible? If only we knew how reker did this, ...
bruce142 said:
I understand, the app has to be signed before it can be uploaded to the store, but does the developer of an app not sign its app when he assembles it or does the store sign the app itself? I see no threshold here, as signing an app is not a problem, or is it? I still admire that reker managed to make an app page by using a proxy which isn't normally there and successfully linked an app to it, which I was able to download and it contained elevated capabilities, I thought the ID_CAP capabilities were all interop capabilities (correct me if I'm wrong). Could someone make the old version of the Samsung Diagnostic tool available this way which users with other WP than the Ativ S/Ativ S Neo might able to use to modify the MaxAppUnsigned value and unlock more capabilities, or is this impossible? If only we knew how reker did this, ...
Click to expand...
Click to collapse
ID_CAP's aren't all Interop capabilities, most of them are available for every app, and the ones you posted are, afaik, normal ones that don't need and Interop Unlock.
GoodDayToDie is right. His answer is very detail.
You may replace a xap with homebrew one in theory, but phone will never launch a store app without MS signature. Every single dll is signed by MS, and phone will check it.
Few questions and opinions:
The signature is used only for allowing the app to be installed on the device right?
Is the signature after added to the app a constant for the whole time or is it changing from time to time?
If the signature is used only for allowing an app to be installed, can we somehow make an virtual MS Server (Using FIddler for example), who can clone the real one and give us an offline signing of the app`s when installing them?
Can a signature be pulled off from an original installed app and the be put in to an another one?
cevi said:
Few questions and opinions:
The signature is used only for allowing the app to be installed on the device right?
Is the signature after added to the app a constant for the whole time or is it changing from time to time?
If the signature is used only for allowing an app to be installed, can we somehow make an virtual MS Server (Using FIddler for example), who can clone the real one and give us an offline signing of the app`s when installing them?
Can a signature be pulled off from an original installed app and the be put in to an another one?
Click to expand...
Click to collapse
The signature is checked when running the application, every PE image on the device should have a valid digital signature.
You don't seem to understand how it works, the signature is any kind of hash, let's say, SHA256, of the entire file. This signature is encrypted with the signee private key. If you change one single bit of the file, the hash will change, and so the signature will be invalid.
There are few ways to exploit this kind of security, like generating a hash collision or breaking the private key, both would take million of years.
I do really don't understand the whole process I was just giving some noob suggestions.
It's strange for me that after the app is installed it doesn't require an active network to start.So I am wondering if it could be possible to trick the app to start somehow?
Sent from my Windows Phone 8S by HTC using Tapatalk
While suggestions are always welcome, you really should read up on digital signatures and how they work. @greenboxal's explanation seems like it might have gone over your head a bit... The fact that you didn't understand about ID_CAP_* also means you've probably never looked at WP development, or even looked at the manifest of a WP app, either; you may want to do some of that. Until you do so, it would be only by the sheerest crazy luck that you managed to hit on a solution, because you don't even know what you're actually trying to accomplish!
For example, it's pretty obvious why there's no need for a network connection to start an app, once it's installed. There's a license on WP apps, which is checked when the app is installed (requires Internet access) and is then valid for some time (never checked how long exactly, probably years though). The signatures are different. When the app is installed, the signing certificate (which contains the public key, but not the private key, of the keypair used to sign the app) is extracted from the app and checked to see whether it is trusted by Microsoft (the phone has Microsoft's certificates embedded in the OS; it doesn't need a network connection for this). When you try to launch the app, it checks to see whether the signatures on each binary (which are, as greenboxal mentioned, created by taking the cryptographically secure hash of the binary and then applying something like encryption to it using the private key) are valid (it applies the public key to the signature to get the signing hash back, and checks whether that hash still matches). We (developers) can't fake store signatures ourselves, because we don't have Microsoft's private keys. Therefore the phone wouldn't trust our signatures (make sure you read up on the concept of a "chain of trust" and the concepts of public key cryptography and public key infrastructure in general too) and would refuse to load the binaries. The process of verifying signatures is just a bunch of math once you've already got the public keys, and those are, as I said, extracted from the app at install (for individual apps) and stored in WP8 itself (for the Store-wide signing key); no need to access the network.
Thanks guys for clearing this up for me.I know that it`s not that simple as i say.Anyway, just keep up the good work.We the Noobs depend from you.
If you are not those who you really are i personally know that i will never buy a Windows Phone again.You are the reason for the MS`s profit.
Sorry again for jumping in into this "battle".
This thread is becoming way out of hand, question is asked and answered : adding a app via proxy which may interop-unlock other WP is not possible. Locking thread now.
PS : yay, ten posts.

Certification failed for valid app

I developed an app and I sent it to processing submission but every time get certification failed.
this is an errors list
https://dev.windowsphone.com/FileVendor/FileAsset?fileid=b66b4fae-c1d6-48e8-802b-86afa07a56f6
MS told that app crashes when they press the button, but for me on my device everything works well. I don't know what could be wrong?
Try it on both phone and emulator. Using the emu, try it on different resolutions, try it on different amounts of RAM , etc.
Did they give you any exception details? Use those to try and track down where it could be coming from (example: if it's a NPE, check everything that *could* be null, even if it *shouldn't* be).
I dont have emulator because my pc dont support slat.
I really dont know how to test my app because on my device works well and i dont have another wp8 device
cro.dev said:
I dont have emulator because my pc dont support slat.
I really dont know how to test my app because on my device works well and i dont have another wp8 device
Click to expand...
Click to collapse
Try using Nokia Remote Device Access. They pretty mush have two or three of every Lumia device available.
Its free too!
Sent from my Lumia 928 (RM-860) using Tapatalk
Today my app finally submited to store but when I install it and open, when I try to log in it terminates. That was same error when my app certification failed. Microsoft told me that my app terminates when try to log in.
When I deploy my app on deployer it works like charm. But I dont know why same app not work when I install it from Store.
This is C# code in action when I press Log in button and app terminates
Code:
string zap;
if (cbZap.IsChecked.Value)
zap = "1";
else
zap = "0";
if (File.Exists("X.dat"))
File.Delete("X.dat");
using (StreamWriter sr = File.CreateText("X.dat"))
{
sr.WriteLine(string.Format("{0};{1};{2}", tbIme.Text, tbLozinka.Password, zap));
sr.Close();
}
//NavigationService.GoBack();
NavigationService.Navigate(new Uri("/MainPage.xaml", UriKind.Relative));
cro.dev said:
Today my app finally submited to store but when I install it and open, when I try to log in it terminates. That was same error when my app certification failed. Microsoft told me that my app terminates when try to log in.
When I deploy my app on deployer it works like charm. But I dont know why same app not work when I install it from Store.
This is C# code in action when I press Log in button and app terminates
Code:
string zap;
if (cbZap.IsChecked.Value)
zap = "1";
else
zap = "0";
if (File.Exists("X.dat"))
File.Delete("X.dat");
using (StreamWriter sr = File.CreateText("X.dat"))
{
sr.WriteLine(string.Format("{0};{1};{2}", tbIme.Text, tbLozinka.Password, zap));
sr.Close();
}
//NavigationService.GoBack();
NavigationService.Navigate(new Uri("/MainPage.xaml", UriKind.Relative));
Click to expand...
Click to collapse
go to the DEBUG menu >exceptions...
Tick al the check-boxes under "thrown";
uninstall the app from your device. Debug the app again, look for any unhandled exceptions.
mcosmin222 said:
go to the DEBUG menu >exceptions...
Tick al the check-boxes under "thrown";
uninstall the app from your device. Debug the app again, look for any unhandled exceptions.
Click to expand...
Click to collapse
Looks like everything works well. There is no problem in app when I deploy it with deployer. Only with app downloaded from Store I've got problems.
I actually have a guess about that...
You're writing files to the app's install folder. This works (bizarrely enough) on sideloaded apps. However, it's entirely possible that store apps might *not* have the required permissions to write to their install folders. In that case, your code would be throwing Access Denied errors, and (since you aren't handling exceptions, apparently...) crashing.
Also, you should always set the global exception handler (in App.xaml.cs, for C# XAML apps) to do something useful.
GoodDayToDie said:
I actually have a guess about that...
You're writing files to the app's install folder. This works (bizarrely enough) on sideloaded apps. However, it's entirely possible that store apps might *not* have the required permissions to write to their install folders. In that case, your code would be throwing Access Denied errors, and (since you aren't handling exceptions, apparently...) crashing.
Also, you should always set the global exception handler (in App.xaml.cs, for C# XAML apps) to do something useful.
Click to expand...
Click to collapse
thank you for your tip. So where I would be able to write files then, because my app is based on writing and reading file.
... really? The isolated storage folder, like all the documentation around file handling on WP tells you. Writing files to an application's install directory has been a bad idea (and often not possible, unless you are running with more privileges than you should be) since before modern smartphones even existed.
You can do it using the normal System.IO classes, but there's actually an entire collection of classes (in System.IO.IsolatedStorage, see http://msdn.microsoft.com/en-us/library/System.IO.IsolatedStorage(v=vs.95).aspx) explicitly for managing files in WP (and other Silverlight) apps. The IsolatedStorageFile class is the one with most of the info you'll be interested in.
GoodDayToDie said:
... really? The isolated storage folder, like all the documentation around file handling on WP tells you. Writing files to an application's install directory has been a bad idea (and often not possible, unless you are running with more privileges than you should be) since before modern smartphones even existed.
You can do it using the normal System.IO classes, but there's actually an entire collection of classes (in System.IO.IsolatedStorage, see http://msdn.microsoft.com/en-us/library/System.IO.IsolatedStorage(v=vs.95).aspx) explicitly for managing files in WP (and other Silverlight) apps. The IsolatedStorageFile class is the one with most of the info you'll be interested in.
Click to expand...
Click to collapse
I forget to write that I found solution few hours ago. I found my answers here
http://www.c-sharpcorner.com/Upload...-to-save-and-read-text-file-from-windows-pho/
thanks. Everything works well now.

[Q&A] [HOW TO] Install Android apps on Windows 10 Mobile

Q&A for [HOW TO] Install Android apps on Windows 10 Mobile
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [HOW TO] Install Android apps on Windows 10 Mobile. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Hello, I was giving this a try but when I try to connect my phone to the PC it says "Error connecting to ADBD. Error code = 7", any suggestions on what to do?
Thanks.
Sorry for some reason this went to the incorrect place, please delete this thread.
I seem to be getting "Error 14: Cannot boot Astoria platform" on my Lumia 925, even though its supported. Windows 10 and 8.1 SDKs installed on desktop, latest build of W10m, developer settings on and discovery on. I tried unregistering from 8.1 registration too but that didn't help.
I fixed Developer Menu crashed
I just tested Kingdom Rush, it works fine. Some fps drop from time to time, but totally playable.
problem while using project astoria tool
after entering wconnect.exe usb in command prompt i got this error
The procedure entry point EventSetInformation could not be located the dynamic link library ADVAPI32.dll, what should I do?
I tried to do all these instructions but got an error with "IpOverUsb", which did not manage to solve. In task manager this service is running, but crashes constantly. Does anyone knows, how to solve this issue?
So, tried this on my testing device (Lumia 830), but am getting Error Code 14 which suggests my device isn't supported?
Did anyone else get this, of anyone got it working on a Lumia 830?
APK to W10M Tool
Hi everyone!
I'm Antonio de la Iglesia from Microsoft Insider, a Microsoft fan spanish website. I've released a tool to do everything for you, one install, no command lines, etc. Only you have to drag an drop the apk in the box:
Download link is on: bit dot ly 1MddHUK (I can't post links or images, sorry)
Applications I tested and are working: Angry Birds 2, Plants vs. Zombies 2, Impossible Road, Facebook Messenger (head chat only works inside the app), Facebook, Whatsapp, Fruit Ninja, Dumb Way to Dies 2.
Apps that have not worked: Never Alone (stuck on a black screen), Prince of Persia Shadow and Flame (not start), The Room Two (eternally in the loading screen), Storm Rush (missing textures), Heartstone ( forever on the pub entrance screen ).
And I wanted to talk with yours about Snapchat. Currently it is impossible to use the official due to check with the services google, put the Casper can be installed. I can login and view snaps, but the native Casper camera does not work (is a black image). It is possible to make the camera work going in the settings and switching to the native camera phone however it does not help much. With this option activate the camera opens and I shot the photo but when I confirm, the application simply returns to the home screen without letting me post. If I enable the "Chose document chooser", when trying to choose a photo in the gallery I will have access to Windows applications choice of menu and I can get there in the gallery, camera or drive but it does not help much because that:
The Android has no access to the Windows file system and Windows also does not have access to Android file system . You do not need to activate the Blackbary option for camera work, it will open even without this option . The problem is that when you take the picture it is saved in a Windows directory and then when he tries to send to Casper, HERE IS ERROR . The camera does not have access to android files . The same applies to the gallery. If you enable the " Chose document chooser ", by clicking on the gallery you will be brought to application choice screen. Here you can choose the camera and the phone's own gallery. Again , when you select a photo from gallery an error occurs saying that was not possible use the file. This is again because the gallery can not send the file to Casper . Here is the whole problem.
My girlfriend is pissed me off to make this application work and I can not . I am in contact with Caster developer also to try to fix the problem. if we can bypass this issue of access to the file system , I'm sure it would work. You guys have any idea ? Sorry for my bad English. It is not my first language .
For Developers mode on Windows 10 Mobile crashing
Hey guys. I'm new to software development on Windows Phone but I've been using my Lumia devices for more than a year and a half now. Lately, I've been testing the builds for Windows 10 Mobile. I am currently on build 10166 running on my Lumia 1520. Due to the recent development, I tried to install APK files on it via the leaked Project Astoria porting tool and it worked great until the "For Developers" option started to crash and I am unable to install the APKs anymore since I can no longer pair my device to the sideloading app on my PC.
I've downloaded the Windows Phone 8.1 SDK as they said that I can "unregister" my device from there and it will regain access to the "For Developers" settings on my Windows 10 Mobile. After the installation, I plugged my phone in to my laptop and then I tried to hit Connect from the SDK, but I ran into an error that says "Waiting for Update Pack" wherein it prompts me to install an update. After i click update, an error code 0x80004003 - Object reference not set to an instance of an object. Says something about Phone Tools Update Pack. How can i get through this?
Adelaiglesia said:
Hi everyone!
I'm Antonio de la Iglesia from Microsoft Insider, a Microsoft fan spanish website. I've released a tool to do everything for you, one install, no command lines, etc. Only you have to drag an drop the apk in the box:
Download link is on: bit dot ly 1MddHUK (I can't post links or images, sorry)
Click to expand...
Click to collapse
As great as this is, is there anyway to get it in English?
Mine is 1520. =.= Im a student and dont have laptop or pc to do this solution. Is there any solution which is allow me to install directly?
Server error. Error Code=1?
So not matter what method I do or what version of windows my PC is running(I've tried 8.1, and 10) I keep getting the same error "Creating session... Server Error. Error Code=1" and that goes for APK Deployment Application a trying it with the wconnect.exe through CMD.
Anyone got a clue as to how to fix this error, I haven't ran crossed it yet on any of the sites covering this. I'd hate to have update my Lumia 1520 to 10 just to find out my only reasoning for doing so was a bust...
how?
How did you guys do this deactivate developer tools using Windows Phone 8.1 SDK. Can someone post a direct link the download. Every time I search for it, it pulls up Visual Studio. I'm sure that where it is but I've played around with visual studio and I'm not seeing this deactivate developer mode......
Keyboard problem
Hi Everyone!
I tried a lot of android applications in my Lumia 930 (build 10166) - for example: german dictionaries, dumb ways to die 2 game, lumosity, outlook web app... and so on- and everything was just perfect. Hovewer, when I get the windows 10 update 10512 my applications become useless, because I can not use the keyboard in the applications (not come up), so I cant fill in the necessary field, for example to log in to my account. I tried to delete and install apps again, but it doesnt help.
Does anybody has an idea to solve my problem?
Thanks for your help!
AFter upgrade my Lumia 1520 to latest build 10512 then I cannot active keyboard in Android app.
keyboard problem
hey my keyboard doesn't shows up while using android apps , please tell me how to resolve this
---------- Post added at 12:40 PM ---------- Previous post was at 12:37 PM ----------
ariltonsama said:
Applications I tested and are working: Angry Birds 2, Plants vs. Zombies 2, Impossible Road, Facebook Messenger (head chat only works inside the app), Facebook, Whatsapp, Fruit Ninja, Dumb Way to Dies 2.
Apps that have not worked: Never Alone (stuck on a black screen), Prince of Persia Shadow and Flame (not start), The Room Two (eternally in the loading screen), Storm Rush (missing textures), Heartstone ( forever on the pub entrance screen ).
And I wanted to talk with yours about Snapchat. Currently it is impossible to use the official due to check with the services google, put the Casper can be installed. I can login and view snaps, but the native Casper camera does not work (is a black image). It is possible to make the camera work going in the settings and switching to the native camera phone however it does not help much. With this option activate the camera opens and I shot the photo but when I confirm, the application simply returns to the home screen without letting me post. If I enable the "Chose document chooser", when trying to choose a photo in the gallery I will have access to Windows applications choice of menu and I can get there in the gallery, camera or drive but it does not help much because that:
The Android has no access to the Windows file system and Windows also does not have access to Android file system . You do not need to activate the Blackbary option for camera work, it will open even without this option . The problem is that when you take the picture it is saved in a Windows directory and then when he tries to send to Casper, HERE IS ERROR . The camera does not have access to android files . The same applies to the gallery. If you enable the " Chose document chooser ", by clicking on the gallery you will be brought to application choice screen. Here you can choose the camera and the phone's own gallery. Again , when you select a photo from gallery an error occurs saying that was not possible use the file. This is again because the gallery can not send the file to Casper . Here is the whole problem.
My girlfriend is pissed me off to make this application work and I can not . I am in contact with Caster developer also to try to fix the problem. if we can bypass this issue of access to the file system , I'm sure it would work. You guys have any idea ? Sorry for my bad English. It is not my first language .
Click to expand...
Click to collapse
bro my keyboard doesn't shows up while using android apps how to resolve this. please help.
Keyboard problem since 10512
Since my update to 10512 the keyboard doesn't open in sideloaded apks
Anyone with a similar problem?
Sadly, I will need to report that Sideloading APK's on the latest build 512 (At least on the 1520) is causing the windows keyboard to not load. This means you cannot type at all in the app. Will continue working on this and report a solution if found.

can we have an alternate store for windows phones this 2020?

I know the Store has shut down since last 2 months and most of the Microsoft services for Windows Phone are already dead or cut off. We all know that we can no longer download and install apps in the Store and now we depend on cracked and/or deployable XAP files and APPX/Bundle files on the Internet. But can we share our "surviving" installed marketplace apps thru one app? Like maybe making an ALTERNATE store for WP...
Well, Microsoft would (maybe) not care if we do this since Windows Phone is dead so why not give it a try? Sharing our installed apps (by extracting it from their Installation Folder and zipping it/recompile it) to others would help a lot, especially for users who don't have time to bother buying a new non-Windows smartphone.
Also can someone make or share a "Tap the tile to lock phone screen" app? I desperately need one because my power button is broken.
I would share my installed software if I would know how to retrieve them.
Microsoft Lumia 640 LTE @ WindowsPhone 8.1
djinni111 said:
I would share my installed software if I would know how to retrieve them.
Microsoft Lumia 640 LTE @ WindowsPhone 8.1
Click to expand...
Click to collapse
You can (for XAP files) using this method from this YT video: https://www.youtube.com/watch?v=buWOsHd6jdg
The method works for SD card apps.
For Internal, boot phone into Mass Storage Mode (you need to root your phone using WPI). Then, in your PC, go to MainOS > Data > PROGRAMS. Copy either everything or a specific app (via GUID), and do as what the video also show how.
For APPX or APPXBundle apps, go to WINDOWSAPPS folder whilst in PROGRAMS (internal) or WPSystem\Apps (SD) directory. Then, copy the app files.
For APPX, those without any similar names of the app.
For APPXBundle, those with similar names of the app plus the cpu architectures "arm", and "neutral" (there may be two more of those "neutral" ones, but join them also).
Then create (on your PC) a self-signed certificate, pack each package (for APPXBundle, pack them app but put into a seperate folder so that they wont join in the others), sign them one by one, (for APPXBundle, pack them into a bundle, and sign them (again? idk)), and your done.
To check if they're deployable, i recommend deploying them one by one on an emulator or on a separate device. If you deploy one but fails, the tendency of the app with the same app GUID installed on your phone being uninstalled is high.
I know many people still using Wp 8.1 and still need install App for Wp, but Store closed. Waiting for help ! Can some great devoloper do that ? Sorry my bad English !
CreativeGamer03 said:
I know the Store has shut down since last 2 months and most of the Microsoft services for Windows Phone are already dead or cut off. We all know that we can no longer download and install apps in the Store and now we depend on cracked and/or deployable XAP files and APPX/Bundle files on the Internet. But can we share our "surviving" installed marketplace apps thru one app? Like maybe making an ALTERNATE store for WP...
Well, Microsoft would (maybe) not care if we do this since Windows Phone is dead so why not give it a try? Sharing our installed apps (by extracting it from their Installation Folder and zipping it/recompile it) to others would help a lot, especially for users who don't have time to bother buying a new non-Windows smartphone.
Also can someone make or share a "Tap the tile to lock phone screen" app? I desperately need one because my power button is broken.
Click to expand...
Click to collapse
use android :good:
Did anyone try to look how far we can get in replicating the original App Store's backend? Might hit a road block sooner or later with signing etc., but I was surprised to see at least the initial communication is HTTP only:
Code:
GET /v9/catalog/storePages?typeId=DynamicHub.Main&os=8.10.15148.0&cc=DE&lang=de-DE&hw=520190980&dm=RM-984_1001&oemId=NOKIA&moId=&cf=99-1&Flight=&SEG0=%3B&SEG1=&SEG2=&SEG3=&SEG4=&SEG5=&optedOut=true HTTP/1.1
Connection: Keep-Alive
Accept: */*
Accept-Encoding: gzip
User-Agent: ZDM/4.0; Windows Mobile 8.1
X-WP-Client-Config-Version: 81001
X-WP-Device-ID: ******
MUID: *******
X-WP-StorePage-Cookie: *******
Host: cdn.marketplaceedgeservice.windowsphone.com
That request then times out after a while since it goes via akamai and probably tries to hit backend servers that no longer exist (504 Gateway Time-out).
Unfortunately I never captured the traffic while the store was still working, so the question is how to figure out what to reply to this.

Categories

Resources