Use Mobile Broadband API for getting location details - windows-8.1

Can I get cellID, LAC, MNC and MCC by using Mobile Broadband API in Windows 8? I have a Windows 7 Location application which opens SIM serial port and gets the cellID, LAC, MNC and MCC details and sends those details to unwired API and gets location details. So I am trying to replicate the same using Mobile Broadband API as we should not be opening ports.
please help.
Thanks in Advance!

You can get the MCC / MNC from the operator ID, via IMbnRegistration.GetProviderId
The LAC and Cell ID aren't available via Windows Mobile Broadband API.
They also appear not to be included in the standard MBIM interfaces (defined in the MBIM USBIF spec version 1.0: http://caxapa.ru/thumbs/334029/MBIM_v1_0_USBIF_FINAL.pdf and accessible via the MbnDeviceServices interfaces).

Related

actions on google demo code is not working on my android phone

I followed https://developers.google.com/actions/dialogflow/first-app tutorial and built my first google action. The action is working fine on my laptop browser in the test (Followed "Preview the App" section of the tutorial) environment. However, when I am trying to use this action on my phone by saying "OK Google talk to my first app". It's not working. Is it supposed to work on my phone as well? I have logged in with the same Gmail account on my phone also.
PS - I have posted the same question on "actions on google" google plus community google as well but I am not sure if that community is to post such questions or not. Therefore, I am posting it here also.
Thanks in advance!
Once you have enabled testing through the simulator, it should be available on all devices (mobile, speakers like Google Home, etc) with the same account your simulator is running in. Double check to make sure they're the same account.
In your case, however, you may be using the wrong invocation phrase. If you actually said what you did above, you need to say the exact same thing that you typed to invoke it.
If you haven't set a name in the configuration, then that phrase will be
Talk to my test app
Update
As you note in the comments - you also need to make sure you're running the Google Assistant, and not one of the other voice search components. The Google Assistant requires:
Android 6.0 or higher
Google app 6.13 or higher
Google Play services
1.5 GB of memory
720p screen resolution
Phone set to a supported language
As you probably already know you have to enable Web & App Activity, Device Information, Voice & Audio Activity in the Activity controls page.
Then you also have to be sure that the language of your agent is the same used by your google assistant.
I solved thanks this last step.
Hope this helps

nest home simulator -- sample apps

I am looking forward to create a UiMagician binding for NEST users. At present UiMagician have binding for VSCP iot project.
https://sites.google.com/site/uimagician/
Please suggest right path for documentation for gateway agent so that REST communication can be establish to communicate with REST device.
Also if some reference example javascript code is available then please suggest the right link.
NEST home simulator does it create the virtual device or it create a HTML app to controll the devices.
https://developer.nest.com/documentation/cloud/home-simulator
The simulator is to create virtual devices for testing. You login with a new nest account and you can add devices and locations.
Link to Chrome App
There are also Javascript code samples here
What you need to decide is whether you will do REST polling or have a real-time REST Streaming/Firebase.

Use blutetooth API in Firefox OS?

I'm creating an app that needs to connect the firefox os to another dispositive using the bluetooth API, but this API is just allowed to Certified Apps, has somehow to allow an Sandbox mode and allow the installation only in my cellphone?
As Jason said, you can create a certified application, but you won't be able to publish it to the Firefox OS Marketplace: it's good for internal deployment with the App Manager. If you want to use Bluetooth API, and make your application publicly available, it's not possible right now.
You can make use of web activities as well but that will open the Gaia's bluetooth app for file transfer.
I heard before from someone that we will be able to use Bluetooth API in v1.3 but I guess it's still not accessible. Let's wait for v1.4.
What I know is 2.2 will expose Bluetooth API, so you could use it at the end of 2015 when FxOS 2.2 device hit the market...

"The remote server returned an error: NotFound" Translator API Windows phone 8

I'm trying to figure out a way to make working the tutorial from MSDN blog I found on using Microsoft Translator (Azure marketplace) on a Windows Phone 8 app. here it is the link:
http://blogs.msdn.com/b/translation/p/windowsphone8.aspx .
I'm using exactly the same code and sometimes I receive a:
"The remote server returned an error: NotFound"
I really don't understand what I have to do!
Can someone help me to find a stable way to use that translation API on Windows phone ?
thanks.
Per the original poster, the problem was with the credentials that need to be provided to the API service.

Windows Phone 7 Application Sandbox Security (User Context, Home Directory etc..)

I am trying to understand the Windows Phone 7 application sandbox in detail. So I want to understand things such as:
Does each app. run as its on unique user?
Where is the home (installation. data) directory for each app.?
What are the file system permissions on the application home (installation, data) directory etc.?
I am trying to learn this by writing and running sample code (which prints out the current user, current directory etc.) on the emulator. However, the "Security Critical" and "Trusted application" methods within Silverlight are "turned off" for the windows phone 7 applications.
Following are my questions:
Is there a way to print out the current user name, current directory while running the application within the emulator?
Is there a way to run "security critical" code within an app. in the WP7 emulator? Can I somehow configure in the emulator settings to allow these "security critical" api's or make my application a "trusted application"
Is there any documentation out there that details this sandbox architecture?
I have tried searching but I haven't found any in-depth documentation about the WP7 sandbox architecture which would deal with the above detail I want to understand how WP7 sandbox and security works and is implemented per application.
Thanks,
WinPhone7_Developer
The sandboxing model for applications on the phone means that, 3rd party, applications can't run in the background, can only access IsolatedStorage not a shared file system, and can't directly interact with user data or phone functionality.
Details of the account the application is running as cannot be accessed. You can't even get details of the owner of the phone. The nearest you can get is an anonymized Id of the user of the phone http://msdn.microsoft.com/en-us/library/microsoft.phone.info.userextendedproperties.getvalue(v=vs.92).aspx
No, you can only use APIs in the public SDK.
There is extensive and very good documentation at http://msdn.microsoft.com/en-us/library/ff402535(v=vs.92).aspx
You may be particularly interested in the following sections:
Execution Model for Windows Phone
Isolated Storage for Windows Phone
Security for Windows Phone
In terms of learning about the platform I'd start by learning from the many resources available and which explain what you can do on the phone, rather than attempting to do things you can do on other platforms. (Even ones which are "Windows" platforms.)

Resources