[Q] Win Phone 8 Simulator and launching native apps - Windows Phone 8 Q&A, Help & Troubleshooting

I'm writing some automation software against the Windows Phone 8 simulator. I'm able to launch the simulator using the
Microsoft.SmartDevice.Connectivity.Interface.dll , and I can boot the simulator and install third party .xaps no problem.
However what I really want is to be able to natively run the Windows Phone 8 mail client, and load up a message on a device, then screencap the device. I'd prefer to launch the app via the SmartDevice framework but I'm also open to running my own custom xap if that's possible. I know you can use intents with a URI to launch a compose window but I don't see how you can launch the email application itself and view a specific message; likely there's no valid URI syntax you could use.
Any help is appreciated!

Related

[Q] and maybe [REQ] : use phone to launch apps on Windows PC through WiFi

Hey all,
So basically what I want to do is have shortcuts on my phone that launch a specific app on my windows pc.
Since without some background info this might sound malicious, here's the case in point:
I want a shortcut to launch XBMC on my htpc. XBMC already have an awesome remote app for android which includes WOL, so I can already turn on my pc with my phone and use my phone as remote once XBMC is launched, however, I don't have a way of launching it through my phone.
I'd want a more elegant/direct solution than having to use vnc. I cannot set XBMC to autolaunch at startup on my pc because it's a shared pc in my home and not everyone uses it as an htpc, it's also a gaming box.
Any ideas? I'd imagine using an android phone to run a script on a PC or launch an app wouldn't be too complicated, but I'm no developer so I pose my question to all the gurus out there!
Thanks a lot!
SSL shell script would be your best bet.
Thanks for the suggestion!
I actually kept on looking and found some like minded peeps on the xbmc's forum, and user grajen3 made a launcher for it specifically.
Here's the link to the thread in case anyone else here ever wants to launch xbmc from the phone: http://forum.xbmc.org/showthread.php?t=78167&highlight=android

SAPI in WP

Hi Guys,
Just curious about if WP8 will open sapi for developer. I think sapi has been included in WP7.5 since tellme service indicating it on the device. But developer cannot use it....
How about WP8?
Thanks.
There are speech APIs in the leaked SDK. Also you might want to have a look at the Video from Microsoft's Windows Phone event when they first presented WP8. There will be a conversation functionality which is aiming at allowing Apps to well execute speech commands but also initiating those Convos themselves when certain events occur (e.g. Navigation system might ask if the route should be changed due to traffic and then waiting for confirmation from the user (by speech).

[Q] WP8 Noob Thinking about switching from android

I am a hardcore Google user. I have an android phone and tablet and lots of google stuff online. My phone is getting old, and I was thinking of trying out something new.
Couple questions:
1. Whats the equivalent of "rooting" on wp8, if any?
2. How would you go about "rooting" your phone.
3. Are there any recommend phones for general use+development?
Julian90090 said:
I am a hardcore Google user. I have an android phone and tablet and lots of google stuff online. My phone is getting old, and I was thinking of trying out something new.
Couple questions:
1. Whats the equivalent of "rooting" on wp8, if any?
2. How would you go about "rooting" your phone.
3. Are there any recommend phones for general use+development?
Click to expand...
Click to collapse
1. There is no equivalent of rooting at this time, as Windows Phone is much more locked down than Android (comparable to iOS) and there aren't as many devs working on it
2. Nothing yet, but its very easy to developer unlock it to side load custom made apps
3. You are probably best off getting a Nokia, either a cheap (~$100) Lumia 520 or a higher end like the Lumia 920/925/928 (I'd go with the 1020 if you can afford it). Windows Phone is very efficient, and runs almost as well on lower end hardware like the 520 as it does on higher end.
If you are really a hardcore Google user you are likely to find Windows Phone lacking as Google is intentionally keeping their programs and services off the platform (at least first party, nearly everything can be accessed through third party apps).
I made the switch, and I love it, but Windows Phone is not for people that want to constantly tweak everything because it is locked down. I used to love to tinker, now I love that I can't.
Yeah... WP7 was eventually broken wide open, but WP8's lockdown has been harder to bypass. There's a few devices (Huawei W1?) for which people have reported being able to edit the stock ROM somewhat, which is probably usable for "rooting" the phone, but none of the high-end devices have a known working exploit yet.
Developer-unlock, which will allow sideloading low-permission (no special capabilities, just the standard public ones) apps, is available for free, but you have to use PC tools to do it. Get the WP8 SDK from Microsoft (free, but a big download) and run the Windows Phone Developer Registration tool. Unless you pay for a developer account, there will be a very low limit on the number of apps you can sideload.
I'm actually personally pretty happy with the Samsung ATIV S phones; they have the best hardware in many ways (biggest battery, biggest and nearly highest-resolution displays, biggest internal storage that also has an SD card slot, best currently-available-in-WP8 CPUs) and you can install many of the Nokia apps anyhow (you can also install the Samsung apps on Nokia phones, same for HTC, etc.) using a proxy to modify the store requests. However, for a budget phone, the Nokia Lumia 52x line is hard to beat, and for camera quality, the Lumia 1020 is the best smartphone available, bar none.
There's plenty to do if you like to tinker with the phone... the problem is, you have to find it all yourself. There's not that much, aside from things like using a proxy to get apps intended for different OEMs' phones, that we've found to work so far. I've written a neat app that lets you browse the visible parts of the WP8 file system and registry from your PC (see my signature, it's the webserver app) which I hope will help people find something exploitable to get full Admin privileges on the phone, but so far, that hasn't happened. There's lots of other potential exploit vectors too; people just need to find them and make them usable!
Like GoodDayToDie said, it's NOT rootable. End of story.
As an experience goes, though, I switched iOS -> Android earlier this year because I was firmly in camp Google. I seemed to have problems that most other users did not, but all in all it was a miserable experience. After about 4mo switched to WP8.
For reference, on the phone; I use Google Maps, Google Voice, GMail, Contacts, Calendar, and search.
Contacts, Calendar, and mail all sync smoothly with built-in stuff. Search is an app, and it can't take Bing's place on the search button.
There's not an official Google Maps app, but there are apps in the Store that offer it. After about 6w now, I'm mostly using Nokia's Here stuff for mapping though.
Google Voice is available as a third party app. I was using Metrotalk. It was better than GV on iOS but inferior to GV on Android.
For what it's worth.
Except, you know, the part where it's nothing at all like a desktop OS.
No support for arbitrary applications or running as Admin. No file browser or registry editor. No command prompt or built-in scripting engine. No third-party background services (officially, at least; unofficially it's possible if you can work with the low permissions) or multiple windows at once. No task manager or management console. No device manager or third-party drivers. No user installer or recovery tools. No way to uninstall updates or make disk backups. No way to pass a file directly to another application (it must go through a registered extension handler, which the other app must be selected as the handler for). No multi-user support. None of the standard Windows power management tools. No OpenGL support, or ability to manually update the drivers. No support for external mice (or really for any mice, properly speaking). No support for USB host mode (that I can see, at least not in the base OS). No support for Windows networking or VPNs. No (built-in) support for remote desktop. No printing. The included version of Office is very limited compared to the full thing. No way to change the default web browser, email client, or several other such things. No support for installing new system media codecs or fonts. No way to choose what store a certificate is saved into, to export a saved cert, or to delete a saved cert.Browser has a limit of six tabs, no Flashplayer, and no Tracking Protection [Lists] feature.
Windows Phone 8 has about as much to do with Windows 8 as Android has to do with Ubuntu. In fact, it has significantly less, from the user's perspective.
some Noob's experience with WP8/ Nokia 928
Some other problemsthat i have stumbled on while trying WP8 for past 2 days, Nokia 928.
1. Ringtones and txt messages are changeable but notifications sounds for other programs are not (i.e. metrotalk - client)
2. Using public wifi that requires a comfirmatory click on their acceptable use page - Broken - works first time for me, then every time after it constantly loads up "w w w.msftncsi.com/nsci.txt" and the phone is constantly asking if I want to continue connecting to that wifi hotspot - Annoying.
3. Internet explorer is the builtin browser ( with some 3rd party UC browser, Surfcube 3D browser) but NO chrome nor firefox, - some pages load weird, especially if you choose desktop mode.
Images that appears in the browser search in IE 10 or UC browser, using bing or google comes back blurry, until you choose to open that one pic in full size image , but then you can't scroll through the result of images until you go back, at which time the images will sometimes not load, mind you this is on wifi.
4. No native Google voice apps - Metrotalk is good but you have to go through some hoops to setup push notification (ie having the app be able to notify you of txt and voicemail without actually having that app open), and you can't change the notification sound of Metrotalk as stated above
5. No file browsers
As I said, this is my experience with the phone and WP8 for the last 2 days, YMMV

First week with Windows

Hello
And happy new year to everyone!
This is my first week on Lumia 735 after being 6 years with Android.
I like very much it's desktop, but there are some simple things that I thought until now I would figure out but I cannot find a solution....
1. How can I download a PDF from an email and then attach it to another email?
2. Is there a way to have a shortcut on notification bar for data connection?
3. Is there a way to remove Bing and get Google as default engine?
4. Is there a way to tide up settings? I feel that are randomly scattered...
5. Is there a way to open a new tab in internet explorer, but open in background? Cause we are always transferred to the new tab.
Thanks!
I'm on the same phone since about 4-5 days, so I have not yet answers for you, but another question to add:
- why on some apps the keyboard doesn't turn in landscape mode when I flip the phone? I found it working on some apps only, but in Bing search (just an example) it remains in portrait
EDIT: a bit of googling partially answers to 3: I'm a newbie so I don't know if I can link external sites here, but it seems you can change the default search engine in Internet Explorer in the browser settings (so when you type words in the address bar, it uses Google instead of Bing). Regarding the phone search button, maybe the trick is not so easy...
1. did you see download in email message? click on that link to download file to your phone.
2. with latest WP OS 8.10.14219.341 you can add mobile data shortcut in action center
or use Quick Launch app from store
3. settings - applications - internet explorer, select advanced settings and change to google
4. no... latest updated is always at end of list...
5. not exactly... try UC Browser 8.1, maybe you like it better than IE
Download a app named File attacher,it can help you to attach any files into outlook client.
Sent from my AT&T Nokia Lumia 920 using Tapatalk for Windows Phone
1) Download the file to your phone. You can then open it from the email (which will let you choose what PDF viewer to open it with, if you have more than one installed; some of them directly support sharing) or you can then switch to a file manager app (Files, Pocket File Manager, Aerize Explorer, etc.), go to the Downloads directory, and share the file from there. When "sharing" the file, one option will be to use email; this will attach the file to the email. This approach also works for other file types, by the way.
2) As dxdy says, you need to be on a new OS version (you may need to be using the "Preview for Developers" app) to get the ability to add mobile data specifically to the Action Center (swipe-from-top notification area thing) but there are lots of other ways (tons of free apps, for example) to pin a link to it on your Start screen. You can also have both WiFi and Airplane Mode toggles on the Action Center, even in less-than-newest versions.
3) Not unless you're in Russia, I think? You may be able to change the IE default search engine using the method dxdy posted above, but if you want to change the search button behavior, that's trickier. I think in Russia (or possibly just tell your phone you are), if you have the Google app installed, it may run that... haven't tried, though.
4) Settings are, unfortunately, not directly orderable. The default order for Microsoft-provided settings is basically "what MS has found people use most often", thus things like visual and audio customization are at the top, WiFi is on the first page, and stuff like Backup requires scrolling down a bunch. There's also OEM customizations, which are technically just Store apps that are pre-installed and use the Settings hub instead of the normal app list; those are always listed underneath all the Microsoft settings, and (as dxdy says), the one that was most recently installed/updated is at the top of that section ('top of the bottom of the list' if you will).
5) Doesn't seem to be any such way in IE, but there's lots of other browsers. Most of them just wrap the IE rendering engine, so pages will look the same as on IE but the UI can be totally different. This includes changes to tab management. They won't sync with your other devices, at least not by default, though. There's also a beta of Opera for WP8; it still has some bugs but mostly works and has a very different UI from IE. Annoyingly, though, Microsoft doesn't allow any of those apps to be set as the default browser (you can't change the URI association for http:/https: for example).
@axxel84: It depends on whether the app supports landscape mode. That requires work from the developer, since they have to change the layout of everything, so a lot of apps don't support it. If the app doesn't support it, then it will be locked in one orientation no matter how you turn it, keyboard included. Some apps (mostly games) are also locked in landscape mode only, and don't support portrait.
Hi guys, thanks for the help but I am still finding difficult to compose with windows after coming from fully updated Android phones.
- pdf attachments, not possible. You can see that you download files but no where to be seen in order to attach them in another email! What????
- the option to change Bing to Google was in the past, but they don't have it on new phones. And this is the company that wants to increase market share? With these kind of acts I don't think they will last many years...
- I found a way to have a shortcut on desktop that takes me to settings and there to click on for data. But why don't they include this in notification option? How difficult is this?????
- the other frustrating thing I am feeling, is that most other times when resuming an app when I go out and then in, it starts the"resuming" screen and takes 5 seconds to load... For example viber, I can't chat instantly with someone, I have to leave the program on continuously to do this
- no led notification. I should have known earlier by reading reviews, but there is no led notification!!
- no major apps as official pinterest, dropbox, instagram, sms backup to gmail. My biggest disappointment is Dropbox... I am thinking of selling the phone now and going back to Android. Having two small twins, I take continuously videos and photos, and I don't want to think about backup. I found another application but doesn't sync videos automatically. And also the backup app of windows doesn't do automatically the job... If I was windows I would hire people to help these companies develop the "big" apps...
- notification center doesn't always work. for example when a new app is downloaded, nothing comes app on notification. Or in viber you might get 10 messages on notification, if you click one and then in viber you read all, they remain on notification
Nobody seems to have emailed me a PDF recently, but I can download them from the web and they show up in my Downloads folder (on my SD card, since that's where I told Storage Sense to put new downloads). From there, I can see it in Aerize Explorer, select it, Share it, and choose an email account; a new message is created with the file attached.
Some new phones have the option for Google search, but it's not in all regions.
As you have ALREADY been told, the option to toggle data service from the Action Center is available in the latest version. It's also largely un-needed; Data Sense and related settings should give you enough control over your data usage to make it fairly unimportant. Mind you, I agree that it should have been there from the start, but asking rhetorical questions isn't actually helpful.
The "Resuming..." screen can come up for two reasons (or a combo thereof):
1) Badly-coded app that does a bunch of stuff immediately on resume, before it lets you use the app.
2) Your phone ran low on RAM and removed the app from background execution ("tombstoned" it, sort of like hibernating a laptop), so it needs to be restored from the Flash storage and then resumed.
Lots of phones don't have notification LEDs. That's not a WP8 thing, that's a "if this feature is important to you then you ought to buy a phone with that feature" thing. My HTC has a notification LED, my Samsung did not. Both are/were WP8 devices.
Automatic backup of photos and videos is included in the OS, has been included since WP7 actually, but it goes to OneDrive (formerly SkyDrive) instead of Dropbox. Microsoft software uses Microsoft services; this isn't really surprising.
SMS is automatically backed up as well, just not to Google. Why would Microsoft include a feature to back up your messages to a competitor's service?
Lack of official apps is somewhat annoying/disappointing, but you could have easily enough checked that before buying, and the apps will come in time. In the meanwhile, there's usually third-party versions of those apps.
App downloads are fast, and you know when you started them. Why would you need a notification for that? As for the thing with Viber, it's not the OS' fault that the app doesn't report when a message is read. Notifications are really easy to clear though, just swipe them to the right and all notifications for that app will clear (or hit the "clear all" button to get rid of all of them at once).

[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.

Categories

Resources