I am developing for android on Xamarin (c#), I followed this guide to setup a notification system with Microsoft azure :
http://azure.microsoft.com/en-us/documentation/articles/partner-xamarin-notification-hubs-android-get-started/#register
The thing is that then I tested on both of my devices only one received the notification, and for some reason on the azure hub server I see only one registered device, I thought maybe be there is a problem with my other phone and even tried to install the application on my friend phone and it didn't work either .
I will not post any code here because its exactly like in the guide I posted just with my information (google id, and hub name and so on..)
The first phone (on this one the notification works) is running version 4.2.2, and having a root premonitions if it make any difference.
The second phone (not working) is running version 4.4.2.
Any ideas or suggestions ? Thank's in advance.
Related
I'm facing two different problems with my USB device that uses WINUSB ( Class 0xFF, Subclass 0x00 )
I have three different small apps, the UWP CustomUsbDeviceAccess from Microsoft samples modified to connect to my Custom USB Device, My UWP App i'm tryng to write, and a WPF sample program I wrote too. The three apps were working without problems, in my two computes, connecting to my WINUSB Custom Device, but in the middle of some windows/vs2017 upgrade, the two UWP Apps stopped working on both computers. The problems are different in both computers.
The first computer, with W10 Pro Fall Creators Update. The problem is, after calling this function:
this.device = await UsbDevice.FromIdAsync(devId);
it always returns null. And if I try to run this:
var deviceAccessStatus = DeviceAccessInformation.CreateFromId(devId).CurrentStatus;
it raises the excpetion
the system cannot find the file specified 0x80070002
The second computer, with W10 Home Insider Preview Build 17025.rs_prerelease.171020-1625, the problem here is that boths UWP App, CustomUsbDeviceAccess from Microsoft and my own UWP App, freeze entering this line:
var DeviceWatcher = DeviceInformation.CreateWatcher(DeviceSelector);
These codes were working, i don´t undertand what´s wrong now. My USB device works in both computer with the small WPF Desktop App I wrote. I tested the same three apps with other similar USB commercial device I have in hand ( same class/subclass, winusb too), and I have the same results, so I discarded the problem is in my device or something wrong in the driver installation process.
I saw another user had a similar problem in this post, but sadly, didn't find the solution.
I solved the problem in the second computer: I re-installed the Windows 10 stable version ( Fall Creators ). In this second computer, my UWP App works and connect to my USB Device as expected.
In the first computer, my main wokstation, I think the problem is due to an error in the installation of the driver or in some permission. I would like to know where my error is; I imagine that this could be a problem in the installation in the clients that I would like to avoid
How beta windows phone 8.1 app. Might sound like a newbie question but bear with me. I have written and app like quite a few others but this is the first app where I want to support wp8.1 and wp10. The app side loaded on to a wp8.1 or wp10 device works fine as expected.
If put into the Windows store as beta with the necessary emails will install on wp10 devices but refuses to install on wp8.1 devices no matter what.
If I put into the store as normal it fails testing with an ungraceful shutdown that I cannot replicate.
I can't install beta to get the crash dumps to find out what's going on. So now am completely stuck.
Any help or advice would be much appreciated.
If you want to publish a beta version to a specific group of people, then you'll need to select the following option :
Hide this app and make it available only to the people you specify
below, who can download this app on Windows Phone 8.x devices. A
promotional code may be used to download this app on Windows 10
devices.
Only the people whose email addresses (associated with their Microsoft accounts) that you enter in the box can download your app by using the direct link to its listing. If you want W10 beta testers, then you'll need in addition to generate promotional code and send each promoted link to your W10 beta testers. Check this link to learn more about beta publishing on Windows Store.
If you failed to install beta version on WP8.1 devices, I can see two reasons:
Email addresses defined in the publisher portal do not match with the one activated on the WP8.1 devices
You tried to install the WP8.1 app immediately after defining the list of Email addresses in the publisher portal. In fact you'll to wait couple of hours before beta version becomes available on devices
Thanks for your answers. But after a long protracted process I finally got through to Microsoft. (If you do't have paid for MSDN support is damn near impossible to talk to anyone) Turns out there was a problem with my dev account. safe to say the issue is now fixed and apps are downloading/installing again
I have a Win PC (8.1) and an Android phone (5.1); the phone is locked. I have a C# app on the PC that does sensing, and alerts when one or more of several events occur. I need to see those alerts on my phone, and although some delay is OK, it needs to happen pretty quickly.
I'm not fussy about how the phone handles the alerts - visually, audibly, or whatever - so long as I'm made aware of them somehow. Any thoughts?
Take a look at the app called 'Tasker'. Also, you can connect remotely to your computer using Google's app called Remote Desktop. Hope you find a way, this is very interesting.
I am a wp8 developer and searching for a way to deploy my app on device "without the cable". I have searched over the web and could find nothing helpful. I know about he "Application Deployment" tool in WP8 SDK and my phone is also Developer Unlocked. I know how to simply deploy an app on windows phone. All i am looking for is to know, Is there any way I can deploy my application to my phone without using the phone cable?
Lets say i dont have my cable with me, what options do I have now?
Currently you can't debug an app on your phone without the USB cable. You can do this when developing for Windows 8.x so perhaps with the coming WP8.1 update we'll get the same feature for the phone..
There is the beta testing you could do for a test deployment through the store but the app will run through the cert. process so this is no option for testing while developing and there is no debugging.
You can only use the cable to deploy to your device. If you dont have a cable with you, just use the emulator.
i have a project this year wherein i need to connect windows phone to pc through a wifi connection and perform basic synchronization operation. . .
being new to this application development i have no idea where to start
the problem i am facing is
which protocol and service should i use .
i just want to know a basic code to establish connectivity between emulator and computer and transfer a simple message or something else...
i searched many sites but couldn't find a simple connectivity code.
i am using Microsoft Visual Studio 2010 Express for windows phone
But there are several ways to pull data from within an application to the phone:
Webservices, you create a web service and your application calls the webservice (sample)
Socket based (for example UDP)
If you want to do something without your app running (not being visible to the user) then you might have a look at background tasks. A sample is here. Though you're limited in what can be done in a background task, refer to Microsoft's documentation.