Request a Windows Phone 7.5 Location - c#

I am trying to track 5 windows phone 7.5 for a experiment and I have try using an app (that I am developing for that experiment) but the app must be active and that's not possible for all readings, I was looking online and I find something similar that Microsoft has done with the find my phone service,
https://www.windowsphone.com/en-US/find
Anyone knows how can i call that service outside the website or any other way to accomplish this task
i need GEO position every 15 min

You are not going to be able to locate the phone unless the application is either running in the foreground or the background on the phone. You can't compare what microsoft is able to do with what you are able to do. They have implemented many things in Windows Phone 7.5 and 8 that a normal developer cannot do. Microsoft is not alone in doing this, nearly all mobile operating systems, have features that are not possible to duplicate as a developer.
Doing a quick search on the matter, I see nothing that should prevent you from running an application in the background, so you can report the location of the phone to a web service of some kind.

Related

how to get list of all installed apps and run them in UWP WinRT 8.1

I'm actually creating an UWP 8.1 app for one of my client.And I've got some little issue with it.At some point of my app I've to get all the names of installed app in the device and view it as a list.When the user will click on any of them, I've to launch that certain app.
I've already tried to add restricted capabilities in the app manifest but it shows a blue line when I add,
Morever I can get access to the AppData/Packages by using folderpicker somehow but don't know what to do.
The app is for WinRT surface 3 and it isn't going to store or anything it has only one user. So if anyone know any sort of solution please let me know.
The PackageManager class has the methods to enumerate all installed apps.
However, in 8.1 the PackageManager can only be used in desktop apps (e.g. WPF, Winforms, Win32). It cannot be used from a Store app on that version of the operating system.
On Windows 10 you can use the class from both Store/UWP apps as well as classic desktop apps.

Creating Universal (Or Just For PC) Windows Apps For The App Store C#

I wanted to start creating Windows Applications for the winodws app store, Seems like a fun area to play around with since im getting tired of all the management softwares that i am creating at the moment for schools and what not.
So my question is, How do I start with creating Windows Apps for the App Store.
Do I keep using C#?
What templates do I choose in Visual Studio when starting the project.
Is it easy to distribute to the windows app store?
Im completly new to Windows App development for the app store and I tried looking online for tips but all I could find was places where you coudl manage your apps etc, nothing about how to get started.

Getting custom alerts on Android from Windows PC

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.

Convert Universal app to Windows Phone app only

I am developing an Universal app capable of running on both Windows Phone and Windows. But initially I want it to be available to phones only because I have not made the Windows part of it. So how can I limit the target devices of this Universal app without creating a new app and without removing the Windows Code from it. I want it to be available to phones only for deployment. Can anybody give a solution?
Windows and Windows Phone apps are submitted separately to the Store. The process for submitting Windows apps is outlined here and for Phone here. So you can simply submit one without the other.
You can also stop building the Windows portion of the app using the Configuration Manager if you want to (to save time or avoid compilation errors you don't want to fix yet).

Using TAPI speech in a Windows Service

I have purchased a license of AddTapi.NET to simplify my development using TAPI in a product that runs as a Windows service. I was able to use the TAPI in a Windows GUI and console application and ported the code into my Windows service. At that point, I noted that the code which uses the speech API such as TapiCall.Speak or TapiCall.Play (wavefile) was not generating sound on the phone line and was remaining silent.
There are a couple of previous questions that may relate to my issue.
Question: Playing Voice over a modem from a Windows service indicated a problem using speech that was resolved by spawning a GUI thread in the Windows service. I attempted to do this but was unsuccessful in getting the speech to be heard on the phone.
Question: Access violation with Tapi in Windows service seems to indicate an initial problem with TAPI in a service yet was resolved by using the AddTapi product. The ticket does not explicitly mention the use of the speech API though (SAPI)
I am programming in C# using Visual Studio 2010 and .NET 4.0. I am trying to get this to work on Windows 7. I received an e-mail from AddTapi that indicated that Microsoft changed the security to disallow use of the voice subsystem from services in Win 2008 Server, Windows Vista, and Windows 7. The above articles seem to indicate some success with AddTapi although it may not be on Windows 7.
Given that the main system that I am working with is a Windows service (and child processes), what would seem to be the best approach to getting the speech to work. If I put the SAPI code in a console application, I would like this to be managed without requiring a user to be actively logged onto the computer. There is nothing graphical about my TAPI code. Should I take an approach similar to Article: Launching an interactive process and spawn an interactive process? Have there been any success stories using TAPI speech in a Windows service?
We resolved this problem in AddTapi.NET 5.0. Version 5.0 can use Speech API (TapiCall.Speak and TapiCall.Play) in Windows service applications. There is no need to use a separate process and the service can run under default Local Service account.
For everyone who doesn't use AddTapi.NET, the key is to use SAPI5 SpVoice object speaking to a custom stream. You cannot instantiate SpAudio or SpMMAudioOut objects in Windows service, so you will need to implement your own stream class and set SpVoice's output to that stream.
I had the same requirements as your project (TAPI in a Windows Service using AddTapi.NET). I also received the same response. I tried some of the other posts out there recommending that I run the application in a separate thread so I tool my entire solution and converted it to a WPF Application with a simple page that would never appear but had all the AddTapi configuration happening in the constructor.
NO SUCCESS.
The application would run fine when run from the WPF application but when the WPF page was instantiated in the STAThread enabled thread Play and Speak still would not work. I have been looking all over for an answer on this but there isn't anything but others stating that there really is no solution (no real solution).
Running my application through a seperate process simply won't cut it and since running in a seperate thread won't work either I'm going to have to consider running this application as a regular windows app (will require logon).
Wish I had a solution, sorry.

Categories

Resources