Related
Looking around the IMGFS, I found some undocumented capabilities that can be used in building an app (in addition to the standard ones mentioned in the WMAppManifest.xml file).
These are the extra ones I found, in case anyone is interested (from BasePolicy.xml):
ID_CAP_RINGTONE_ADD:Allows ringtone-marketplace applications to read/write into the Ringtones directory
ID_CAP_MEDIALIB:Access to the media library - read, play-back, etc.
ID_CAP_INTEROPSERVICES:Temporary Interop Service Capability.. To be removed by feature team
ID_CAP_SIMrovides access to SIM manager API
ID_CAP_SMSrovides access to SMS API
ID_CAP_WAProvides access to WAP API
ID_CAP_IDENTITY_USER:Allow an application to use a phone.info.dll to retrieve user properties
ID_CAP_TESTPUBLIC1:Small public test capability
ID_CAP_LOADUNSIGNEDMANAGEDDLL:Capability to load unsigned managed dll into chamber's process space
ID_CAP_LOADUNSIGNEDNATIVEDLL:Capability to load unsigned native dll into chamber's process space
ID_CAP_DEBUG:Allow an application to run in debugging enviorment.
---Edit---
I've tested each of these individually, and some work, and others don't.
ID_CAP_INTEROPSERVICES works
ID_CAP_RINGTONE_ADD works
ID_CAP_MEDIALIB works
ID_CAP_IDENTITY_USER works
ID_CAP_TESTPUBLIC1 works
ID_CAP_SIM ID doesn't work
CAP_SMS doesn't work
ID_CAP_WAP doesn't work
ID_CAP_LOADUNSIGNEDNATIVEDLL doesn't work
ID_CAP_LOADUNSIGNEDMANAGEDDLL doesn't work.
Note that even for the ones that work, Microsoft may still reject them in the app store.
I tested these by entering them in the WMAppManifest.xml in the XAP, and loading them on a windows phone device. This guy suggests that if it loads on the device, you have the permission: http://www.drdobbs.com/windows/227701092 and I think he's right. If you don't have permission, it doesn't actually load, and in every case, if it loaded it ran.
ID_CAP_RINGTONE_ADD - So i guess with next update we will get Custom ringtones that can b installed from an app
off topic can some one create utility that will do something about tuch sensetive buttons, when using camera if u tuch any of then by accident it exit camera, so u have to hold phone very carefully.
also, app to lock screen rotation would be nice.... any of thous features undocumented anywhere
P.S sorry for unrelated message
I think the ID_CAP_RINGTONE_ADD feature will only be enabled for the carriers (who knows what Microsoft really has in mind, though). The Windows Phone has done a good job (or lousy job, compared to what I desire) managing permissions so they can choose what capability to give whom.
Disabling other buttons shouldn't be hard if you can get to the native API. So once the phone is jailbroken......
Actually, Microsofts own Q&A on Windows Phone 7 states to look in the Marketplace for additional ringtones. Here is an excerpt and a link:
To find a ringtone in Marketplace
1
On Start, tap the arrow to go to the App list, then tap Marketplace .
2
Press the Search button.
3
Do one of the following:
•
To browse a variety of ringtones, type ringtones, then tap Enter .
•
To look for a more particular type of ringtone, type something more specific, like Halloween ringtones.
Tip
To hear what a ringtone or alert sounds like, tap Play .
Note
Marketplace may not be available in your country or region.
Click to expand...
Click to collapse
http://www.microsoft.com/windowsphone/en-us/howto/wp7/start/ringtones-and-sounds.aspx
All well and good having that, but why should we purchase a ring tone?
TheDisneyMagic said:
All well and good having that, but why should we purchase a ring tone?
Click to expand...
Click to collapse
Well, I don't see myself buying any, but this means an app could be made to create/add ringtones.
Long press on a song in Zune won't let you set it as the ringtone?
Iridox said:
Long press on a song in Zune won't let you set it as the ringtone?
Click to expand...
Click to collapse
Nope, I asumed this would be how it worked but no option in the list to do so.
Ah, that's a PITA >_>
naplesbill said:
Well, I don't see myself buying any, but this means an app could be made to create/add ringtones.
Click to expand...
Click to collapse
A whole app just to add a ringtone!?
naplesbill said:
Actually, Microsofts own Q&A on Windows Phone 7 states to look in the Marketplace for additional ringtones. Here is an excerpt and a link:
http://www.microsoft.com/windowsphone/en-us/howto/wp7/start/ringtones-and-sounds.aspx
Click to expand...
Click to collapse
To me that excerpt looks like you can download ringtones from the store, not that you can create an app to download ringtones. It would appear that Microsoft has an internal application that can add ringtones (which makes sense). These permissions are enforced by the OS, not the app store (maybe the app store does too). So if they want to be able to install ringtones, they need to give their own app permission to do so.
athompson said:
Looking around the IMGFS, I found some undocumented capabilities that can be used in building an app (in addition to the standard ones mentioned in the WMAppManifest.xml file).
These are the extra ones I found, in case anyone is interested (from BasePolicy.xml):
ID_CAP_RINGTONE_ADD:Allows ringtone-marketplace applications to read/write into the Ringtones directory
ID_CAP_MEDIALIB:Access to the media library - read, play-back, etc.
ID_CAP_INTEROPSERVICES:Temporary Interop Service Capability.. To be removed by feature team
ID_CAP_SIMrovides access to SIM manager API
ID_CAP_SMSrovides access to SMS API
ID_CAP_WAProvides access to WAP API
ID_CAP_IDENTITY_USER:Allow an application to use a phone.info.dll to retrieve user properties
ID_CAP_TESTPUBLIC1:Small public test capability
ID_CAP_LOADUNSIGNEDMANAGEDDLL:Capability to load unsigned managed dll into chamber's process space
ID_CAP_LOADUNSIGNEDNATIVEDLL:Capability to load unsigned native dll into chamber's process space
ID_CAP_DEBUG:Allow an application to run in debugging enviorment.
Visual Studio won't let you add all of them directly, but uncompress your .xap in the build directory, and add it manually.
If anyone is thinking of doing this, the phone rejected my attempts to do so. I tried to give myself ID_CAP_LOADUNSIGNEDNATIVEDLL, but it wouldn't even load on the phone. Oh well.
Click to expand...
Click to collapse
But if someone use these things in an application , I think microsoft doesn`t approve it in the market place!
amir_rafie said:
But if someone use these things in an application , I think microsoft doesn`t approve it in the market place!
Click to expand...
Click to collapse
Ya, not only that, they probably automatically check to make sure you don't try to use them. The phone automatically checks, too.
The main reason I put them here is because I couldn't find them documented anywhere on the web, and I thought it would be good to save someone the time if they started down the same path I did.
hopefully once there is a jailbreak that turns of security/cert checking we can add these capabilities to our apps. Im particularly interested in the p/invoke capability.
indiekiduk said:
Im particularly interested in the p/invoke capability.
Click to expand...
Click to collapse
YES! It would make the world beautiful and skies turn blue.
So I set up VS 2010 and tried debugging an app that had a simple DLLImport in it and ID_CAP_INTEROPSERVICES in the manifest, however it still crashed with a MethodAccessException. It was def a valid dll and method name because I took it from one of the DLLImports in the system.location .net dll decompiled with Reflector.
indiekiduk said:
So I set up VS 2010 and tried debugging an app that had a simple DLLImport in it and ID_CAP_INTEROPSERVICES in the manifest, however it still crashed with a MethodAccessException. It was def a valid dll and method name because I took it from one of the DLLImports in the system.location .net dll decompiled with Reflector.
Click to expand...
Click to collapse
Interesting. If your app installed, it means you were able to get the ID_CAP_INTEROPSERVICES permission, because if the phone rejects your permission, it rejects it at install time. Maybe the DLL path was wrong, like you need to do ..\DLLNAME.dll or something.
indiekiduk said:
So I set up VS 2010 and tried debugging an app that had a simple DLLImport in it and ID_CAP_INTEROPSERVICES in the manifest, however it still crashed with a MethodAccessException. It was def a valid dll and method name because I took it from one of the DLLImports in the system.location .net dll decompiled with Reflector.
Click to expand...
Click to collapse
Try a relative URI path. ./DLLName.dll
On the subject of Native Applications on Windows Phone 7:
A few days ago, an Application called "Network Profile" appeared in the Samsung Zone of my Omnia 7's Marketplace.
This app is the first external app that uses native code - The Marketplace says that it "Requires access to your interop services", and on opening the XAP on my PC, I found it to contain three native COM DLLs, alongside two .NET DLLs and a further native DLL with MUIs that appear to only serve to hold resources.
I'm not sure whether this can be linked to here, so I'm going to describe the interesting parts.
It has not one, but three XMLs - the typical WMAppManifest.xml (pastebin.com/uEJWdTuA), a WMAppPRHeader.xml (pastebin.com/AVcv7JUX) which seems to have something to do with PlayReady DRM, and most interestingly WMInteropManifest.xml (pastebin.com/NCVKP6kM).
There is also the AppManifest.xaml (pastebin.com/rRrB090h).
The NetworkProfile.dll has a number of COM Imports like so:
Code:
[ComImport, InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("F1113B13-AAB8-45E9-91A5-CBE568C29612")]
internal interface INwProfInterface
The Constructor for the class containing all the COM Interfaces:
Code:
ComBridge.RegisterComDll("NwProfDLL.dll", new Guid("4A2580BA-11A3-49AB-AC98-C30B5E72D381"));
this.NwInterface = (INwProfInterface) new CNwProfClass();
ComBridge.RegisterComDll("SecVersion.dll", new Guid("DFE52822-B526-4913-807A-D2AABC7BF911"));
this.SecVerInterface = (ISecVersionInterface) new SecVersionClass();
ComBridge.RegisterComDll("COMRilClient.dll", new Guid("A18F6B1A-924E-4787-AA82-19F98B49CF5D"));
this.SecRILControlInterface = (ISecRilControl) new COSecRilControl();
Happy to answer any questions, and if allowed, either guide people to getting it themselves, or providing a download link to the XAP.
Sweet, good find! I downloaded that app. How did you get it off your phone? If you have a download link to the XAP no one will complain, either.
Hi all
I have purchased a windows Rt and love it. The only thing I can't figure out is I can't access my dvr cameras though internet explorer on my device through my ip address and port number. I can view it on my desktop pc.
Is there any app or way I can view my dvr host on windows rt??
steve.zdravko said:
Hi all
I have purchased a windows Rt and love it. The only thing I can't figure out is I can't access my dvr cameras though internet explorer on my device through my ip address and port number. I can view it on my desktop pc.
Is there any app or way I can view my dvr host on windows rt??
Click to expand...
Click to collapse
BUMP
How is the DVR content presented? If it's HTML(5), that should be no problem at all, so it's probably not. The next most likely is Flash, which RT supports but which may not work when specifying an IP address. You could try using the registry tweak that was previously required for Flash on unknown sites (see the EnableFlash script in my signature). If it's a Java applet, you're screwed (in more ways than one; if you've had the Java browser plugin enabled on your home PC for the last few months, there's an excellent chance that your machine has been infected through it; that thing has atrocious security bugs). If it's some other third-party plugin, for example an ActiveX control from the DVR manufacturer, it's probably not going to work on RT just because RT run on ARM chips and typical ActiveX controls are compiled for x86 (it's possible to make ARM ActiveX, but nobody does and you'd need to "jailbreak" the device before installing the plugin anyhow).
GoodDayToDie said:
How is the DVR content presented? If it's HTML(5), that should be no problem at all, so it's probably not. The next most likely is Flash, which RT supports but which may not work when specifying an IP address. You could try using the registry tweak that was previously required for Flash on unknown sites (see the EnableFlash script in my signature). If it's a Java applet, you're screwed (in more ways than one; if you've had the Java browser plugin enabled on your home PC for the last few months, there's an excellent chance that your machine has been infected through it; that thing has atrocious security bugs). If it's some other third-party plugin, for example an ActiveX control from the DVR manufacturer, it's probably not going to work on RT just because RT run on ARM chips and typical ActiveX controls are compiled for x86 (it's possible to make ARM ActiveX, but nobody does and you'd need to "jailbreak" the device before installing the plugin anyhow).
Click to expand...
Click to collapse
The DVR is set up with its own ip and port forwarding number, and that how I connect to it from other desktop PC's. Or it gives me an option to view it through a program called CMS lite which the Win RT doesn't allow me the download. I have jailbroken my RT as well.
What happens when you connect to that IP and port on your RT device? What do you see in the browser (if anything)? Does it connect, or does it say it couldn't find the site? You haven't actually explained the problem very well at all, even to the point of saying what device it is. We probably don't have your exact setup at home, so you'll need to be very precise describing it so that we know how to fix it.
You also didn't answer my question in the previous post. How is the content normally presented? Flash or HTML5 should be fine, but *might* take some tweaking. Java or a plugin are unlikely to work, although I suppose it's possible that the x86 emulator could be made to work with a plugin.
For that matter, have you tried the x86 emulator with your CMS Lite program? It's unlikely to work, but worth a shot.
GoodDayToDie said:
What happens when you connect to that IP and port on your RT device? What do you see in the browser (if anything)? Does it connect, or does it say it couldn't find the site? You haven't actually explained the problem very well at all, even to the point of saying what device it is. We probably don't have your exact setup at home, so you'll need to be very precise describing it so that we know how to fix it.
You also didn't answer my question in the previous post. How is the content normally presented? Flash or HTML5 should be fine, but *might* take some tweaking. Java or a plugin are unlikely to work, although I suppose it's possible that the x86 emulator could be made to work with a plugin.
For that matter, have you tried the x86 emulator with your CMS Lite program? It's unlikely to work, but worth a shot.
Click to expand...
Click to collapse
my device is a windows rt surface. when I open internet explorer and type in my ip and port number in the search engine it comes up with my login and password which I type in. after that the screen comes to a blank white screen which gives me the option. Webserver or CMS lite setup I always view them from webserver. Once I click webserver the screen just says on a blank white screen.
as for how the content present normally im not really sure.
A simple way to tell is to load the page in a desktop browser where it works, then right-click the video and see what menu comes up. If it's the Flashplayer menu, that's something that RT can handle. If it's something else (Silverlight or Java or a custom ActiveX), that may not be possible. Another way to tell would be to save that blank page to a file (I believe Ctrl+S works for this, at least on the desktop mode of IE, or you can do it from the Tools->File menu, or the File menu on the menu bar that is shown when you tap Alt). Send or post the HTML somewhere that we can read it, and we can tell you what it will take to view the page.
another question.. im still new to the windows rt group I have jail broken the RT surface. Is there any torrent client for downloads.
I wanna download movies from a website. thanks
Free Download Manager (it is in the ported apps thread) can be used as a torrent client. However discussion of piracy is prohibited so might want to zip it on the movies part.
Monotorrent was attempted on RT but I think ended up being buggy.
SixSixSevenSeven said:
Free Download Manager (it is in the ported apps thread) can be used as a torrent client. However discussion of piracy is prohibited so might want to zip it on the movies part.
Monotorrent was attempted on RT but I think ended up being buggy.
Click to expand...
Click to collapse
can u please send me the link
Read the forum rules, especially the first one. Then, read my signature. I don't mind helping people find obscure stuff, but this does not qualify. Please put forth at least a little effort on your own part...
I shouldn't have to share a link having told you where it is. Its easy to find, a) its in the list of ported applications in the RT development and hacking section. b) it has its own thread in that same section. c) it is listed on google. d) it is listed on forum search.
So, I wanna try playing Binding of Isaac on the surface RT when it gets shipped later.
Yes, yes, its a x86 program, but there seems to be an exception with the linux version being bundled with the humble bundle-- its a .swf file.
Is there anyway to play this .swf file, since surface rt supports flash?
Thanx!
Embed it in a local HTML page?
GoodDayToDie said:
Embed it in a local HTML page?
Click to expand...
Click to collapse
I apologize for my ignorance. How do you do that?
Disclaimer: I am not an HTML guru (just a noob actually, googled for this) nor have I tested it with binding of isaac (I did have another swf that worked though on x86 windows).
Open notepad.
Copy and paste this in:
Code:
<html>
<head>
<title>The Binding Of Isaac</title>
</head>
<body>
<object width="800" height="600">
<param name="movie" value="flashmovie.swf">
<embed src="flashmovie.swf" width="800" height="600">
</embed>
</object>
</body>
</html>
Change flashmovie.swf to match whatever the filename is for the binding of isaac is in both line 7 and line 8.
Save it in the same folder as your binding of isaac swf, any name really as long as it ends in .html so will open in internet explorer.
I dont know what the window size is for binding of isaac off the top of my head, I think it is 800x600 though. If not you may have to adjust the width and height parameters in lines 6 and 8.
Should then play from within internet explorer. It might not, I'm not even sure if it plays nicely being embedded into web pages like that.
SixSixSevenSeven said:
Disclaimer: I am not an HTML guru (just a noob actually, googled for this) nor have I tested it with binding of isaac (I did have another swf that worked though on x86 windows).
Open notepad.
Copy and paste this in:
Code:
<html>
<head>
<title>The Binding Of Isaac</title>
</head>
<body>
<object width="800" height="600">
<param name="movie" value="flashmovie.swf">
<embed src="flashmovie.swf" width="800" height="600">
</embed>
</object>
</body>
</html>
Change flashmovie.swf to match whatever the filename is for the binding of isaac is in both line 7 and line 8.
Save it in the same folder as your binding of isaac swf, any name really as long as it ends in .html so will open in internet explorer.
I dont know what the window size is for binding of isaac off the top of my head, I think it is 800x600 though. If not you may have to adjust the width and height parameters in lines 6 and 8.
Should then play from within internet explorer. It might not, I'm not even sure if it plays nicely being embedded into web pages like that.
Click to expand...
Click to collapse
Thanks for the reply, but this doesn't work. Odd because I could just play SWF files on regular windows using the browser simply by opening the file through either internet explorer or Chrome.
Just to make sure: are you fully up to date? You need to have a recent enough version of RT (last ~8 months, I think) that it doesn't have the Flash whitelist any more.
I just gave it a try out of curiosity. First, I didn't see any Linux Humble Bundle download that gave me a swf. I just ran the Windows version and pulled the swf from the temp folder the game creates. Using the same HTML code posted above, the swf runs in desktop IE10. It does not,however, run in Metro IE10. But lastly, it's not worth anyone's time trying this, because even at the lowest details, the game runs so slow as to be unplayable.
jhoff80 said:
I just gave it a try out of curiosity. First, I didn't see any Linux Humble Bundle download that gave me a swf. I just ran the Windows version and pulled the swf from the temp folder the game creates. Using the same HTML code posted above, the swf runs in desktop IE10. It does not,however, run in Metro IE10. But lastly, it's not worth anyone's time trying this, because even at the lowest details, the game runs so slow as to be unplayable.
Click to expand...
Click to collapse
Wow, something I wrote worked???
I just went on my humble bundle account, set platform to linux. It gave me the option of .tar.gz, .deb and flash. Flash being a swf.
SixSixSevenSeven said:
I just went on my humble bundle account, set platform to linux. It gave me the option of .tar.gz, .deb and flash. Flash being a swf.
Click to expand...
Click to collapse
Weird, I see .tar.gz, 32-bit rpm, 64-bit deb, and 32-bit deb, even when I view it on my Surface RT.
jhoff80 said:
Weird, I see .tar.gz, 32-bit rpm, 64-bit deb, and 32-bit deb, even when I view it on my Surface RT.
Click to expand...
Click to collapse
This is what I see on my humble account (I forgot to drop image res before uploading so I wont embed it, not everyone wants a nice big picture): http://imgur.com/I9nqf7g
Better way than IE10
Hey,
I just discovered another Option to Play *.SWF- games on winows rt devices:
Switch to Desktop -> Charm Bar -> Systemsettings -> System & Security -> Flash Player
Go to the advance tab & scroll down,
-> Settings for trustworthy Files or something -> add -> add file -> select *.swf accept and Close everything.
To Launch the game, double clicking the file should do the Job.
Guide might be inaccurat, my surface rt is running with german as Default language. You can see where I am too tierd to fight autocorrect, can't you?.
please report,I think your Idea of running Flash games locally is great.
best regards,
kalle.
Hmm don't know anything about playable fps but what wrote in my first post is working i Desktop mode. You can open the *.swf file with IE10 and then Need to Switch to the Desktop and allow ActiveX to start playing. Fullscreen is not working.
Best regards.
kalle
Ok so I just bought in X-mas a Surface RT for my younger brother, but I'm having some trouble dealing with it... Is there any way to make a windows 8 program work on it? And install apps outside the store ?
nmbbf said:
Ok so I just bought in X-mas a Surface RT for my younger brother, but I'm having some trouble dealing with it... Is there any way to make a windows 8 program work on it? And install apps outside the store ?
Click to expand...
Click to collapse
The Surface RT uses an ARM processor. Windows 8 uses an x86 processor. Simply not compatible with one another so applications in order to run on RT need porting to ARM (and for most software this isn't possible due to lack of source code for software and RT compatible development tools).
To top that off, microsoft insisted on locking windows RT so that it will not run desktop software unless it has a special signature attached and microsoft are the only people who can do that. For windows RT 8.0 there is a jailbreak which bypasses this restriction and allows specially ported software to run on the device, microsoft patched part of the exploit in the RT 8.1 update though so you cannot jailbreak yet. Assuming it is the Surface RT and not the surface 2, it may still have RT 8.0 on it as the default OS and if not you can get an 8.0 recovery image, stick it on USB and then downgrade the tablet to 8.0 yourself (as newer ones tend to come with 8.1 preinstalled). If it is actually a surface 2, they cannot be downgraded to 8.0.
The jailbreak is here: http://forum.xda-developers.com/showthread.php?t=2092158
A list of software available is here: http://forum.xda-developers.com/showthread.php?t=2092348
Otherwise, if you bought it specifically to run windows 8 software, you bought the wrong device.
Sideloading modern apps is possible. (Powershell is preinstalled on the device, search for it from the start screen, then press and hold/right click and select run as admin).
GoodDayToDie said:
Powershell (as Admin): Show-WindowsDeveloperLicenseRegistration (you can type "show-w" and then hit Tab and it will auto-complete).
Hit Enter and follow the instructions. You can use any Microsoft account, even a throw-away created for the purpose, to do the registration.
To install an app package (.APPX file), you can do it manually via Powershell but it's a *lot* easier to run the .PS1 script that should come with the .APPX. That script will take care of all the steps for you, in order, easily.
Click to expand...
Click to collapse
However there isn't really any market in 3rd party .APPX files. We do not condone piracy here and as far as I am aware no-one has managed to rip commercial apps to APPX anyway. Otherwise nobody distributes them publically. I think the same guy I quoted above referenced 1 app existing, but you certainly arent going to find a giant repository like cydia for iOS with a huge listing of appx files you can download and sideload. End result is that to anyone but a developer, sideloading isn't so useful.
Stated in
On Windows Phone 8.1? No more app store for you after December 16, says Microsoft
Windows Phone 8.1 devices will soon have no place to install or reinstall apps.
www.zdnet.com
MS has cancelled the possibility to use the Store App on devices older than W10M, but is there a chance to work around this?
As long as a Windows 10 mobile is still able to access it, would it be possible to fake the device identiy to pretend a WP 8.1 OS and then get the appropriate app XAP-file for this older version?
Probably anyone knows a way, to retrieve a different version of a Store App just by using HTTP requests and access the URL for the XAP/ APPX files directly.
I own three Interop Unlocked Samsung ATIV S devices for each Windows mobile version 8/ 8.1 / 10.
And I want to install this app to my WP 8.x phones too:
Get Rain Gauge from the Microsoft Store
With Rain Gauge you can check at any time of the day how much it's going to rain on your specific location in the next 3 hours! Rain Gauge is also able to give you the current weather, and the forecasts for the upcoming and with the awesome rain-radar you're able to see what's coming up! Live...
www.microsoft.com
Unfortunately, the binaries on W10m are UWP, and therefore cannot be used.
Instead, the store signals, that it is compatible with WP8, so I guess, there must be a plain .NET version available for download.
Can anyone access it and hand out the binaries to me?
THX
zaengi
Home
Winphone Iz Blog shares the offline XAP | APPX | APPXBUNDLE files for Windows 10 Mobile | Windows Phone. Download apps | games free to install manually now.
file.windowsviet.com
https://www.reddit.com/r/windowsphone/comments/e1j49r/_/f8psiae