I got a question about where do I need to get my AuthenticationToken for the Map services on WP8 (and 8.1). I'm using the following namespace for my map
xmlns:maps="clr-namespace:Microsoft.Phone.Maps.Controls;assembly=Microsoft.Phone.Maps"
and this map
<maps:Map x:Name="map"> ... </maps:Map>
When I now run the app in the simulator I get a nice red message "Warning: No authentication ID and/or token specified". When I run the app in my test device no message is shown at all.
My question is the following, where do I get the ID and token? Because I found the following and it's getting me all confused.
Option 1:
On the www.bingmapsportal website I made a free account and token. But they don't give me any ID only a token. And since I don't see any references in my code to Bing I think this is a wrong key :)
Option 2:
I found this post on MSDN How to add a Map control to a page in Windows Phone 8. If you scroll down to "Adding the ApplicationID and AuthenticationToken" there is another way to create a token and ID for the map. But it seems I need a dev account for that :)
Thanks in advance! :)
You will have to generate it directly inside the Windows Store App portal, see the procedure here:
https://msdn.microsoft.com/en-us/library/windows/apps/jj207033(v=vs.105).aspx#BKMK_appidandtoken
Related
I have just followed the tutorial video here:
https://www.youtube.com/watch?v=QOm0dHgwvbM
And after starting a trial on a newly-activated Forge account, have I thought followed every step in the .NET instructions to the letter.
However, when I run the application, and attempt to upload a file, I receive the following error on the Console:
An unhandled exception has occurred while executing the request.
Autodesk.Forge.Client.ApiException: Error calling GetManifest: { "developerMessage":"The client_id specified does not have access to the api product", "moreInfo": "https://forge.autodesk.com/en/docs/oauth/v2/developers_guide/error_handling/", "errorCode": "AUTH-001"}
Does anyone have any suggestions on how to remedy this?
Thanks,
Alex.
Did you select the Model Derivative API while creating an app in https://forge.autodesk.com/myapps? If not, please go there, then edit the app, select Model Derivative API, and save the change. Afterward, restart your .NET app to fetch a new access token.
ref: https://petrbroz.github.io/forge-samples-docs/#provision-access-in-other-products
So, it turns out my issue stemmed from having previously setup a FORGE_CLIENT_ID and FORGE_CLIENT_SECRET system variables on a previous, unsuccessful trial of Forge. This meant that the Visual Studio solution I created was reading those values instead of the ones I had input in code. Thanks to Cyrille Fauvel of Autodesk for helping me figure this out.
Cyrille says he is going to feed back to the rest of the Forge team that they ought to report back on the console the details of both ID and SECRET to prevent this happening in future.
This is driving me nuts. I've successfully followed the Android Management API Quickstart to create a project/enterprise/policy and install it on a device.
I stupidly didn't write down the enterprise or policy IDs. I tried to create a new set, but the non-enterprise email now gives an error that it's already part of another EMM.
Is there a place in the console where I can see a list of the enterprises and/or policies that I've created? Where are these stored?
Edit: I found the enterprises.get method in the API but if I put enterprises/* in the name field (per the validation) I get a 400 error indicating Invalid enterprise id. Provide a valid id. so I'm unsure how to move forward.
You can find the enterprise you created by logging into play.google.com/work with the account that was used to create it.
Click on Admin Settings to see the Organization name and Organization ID
And to find the policies of all the devices you have enrolled to this enterprise, you can simply call the API - enterprises.devices.list entering the parent in the form enterprises/{enterpriseId} [ enterpriseId here is the OrganizationID that you get from the above steps ]
This would list all the devices attached to the enterprise and in the response you can find policyName of each device.
I want to integrate facebook login in my app for registration i am following this link but not able to understand how to get the Windows Store ID in step 1.2.. can anyone please help..
Have you tried to put the code
Uri _callbackUri = WebAuthenticationBroker.GetCurrentApplicationCallbackUri();
somewhere in your app, for example at the end of App.OnLaunched() method, then put a breakpoint after it, run the app and examine the returned value.
So the windows store id can be retrieved in two ways. One is programatically by calling this method
Uri _callbackUri = WebAuthenticationBroker.GetCurrentApplicationCallbackUri();
And the other way is to login to your microsoft account which you would have registered in dev.windows.com then perfom the following steps
Navigate to dashboard.
Select the app for which you want to integrate the FB login.(If you haven't registered an app in this account yet then I recommend you do it. Because once you do that and login via Visual studio the above mentioned URI method will return same store Id)
Then navigate to that app and on the left you will see a options like Acquistions,Analytics etc. there click on App Management and inside that click on App Identity.
In the app identity page you can find a field name Package SID which is your store id.
Hope this helps!
I am pretty new to Windows phone development. I want to create an application that will be displayed as an option to the user, when the user dial a number or select 'call' option from a saved contact, for routing the call through that application. The application first dial some number to connect to a specific service provider and then dial the number on the selected contact or the number that the user dials to make the call. I had an experiment with the PhoneCallTask but not succeeded. Any help will be appreciated.
First, there is no way to put your app's shortcut in Phone app. I assume what you are looking for is a call interceptor app. Currently, the builds till WP8.1 don't support it. There are possibilities of such API in the final Windows 10 build though.
Please use a search engine to look for API limitations first and then ask a question in SO.
My windows phone 8 App requires the end user to get notified or alerted when a destination has reached.
I found some links on how to use service API's, but most of them have only searching the destination. Can we extend the functionality of notifying the user on reaching the destination.
Any suggestive links or API's or code snippets available for the same?.
Thanks In Advance!!..
Subscribe to the position changed event from the GeoLocator. Once the position you get from this API is within a small distance of the destination, handle accordingly.
http://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.geolocation.geolocator.positionchanged
Nokia has a nice article about all your options here.
http://developer.nokia.com/Community/Wiki/Get_Phone_Location_with_Windows_Phone_8