Use blutetooth API in Firefox OS? - bluetooth

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

Related

Hololens Device Portal Kiosk Mode web api

I am building a tool in which I am using windows device portal wrapper in order to connect and access hololen's device portal.
I would like to be able to get/set kiosk mode from my tool so I dont need to go to device portal and do it manually.
Windows device portal wrapper doesnt give any functionality to access kiosk mode though.
Does anyone know the web api path for this?
Thanks in advance
So since it looks like you're building a tool for converting HoloLens into Kiosks, you need to do this at scale. If you are looking to create a different method of converting your HoloLens into Kiosks, I think you should go provisiong packages.
Provisioning packages will let you make a package you can keep applying to multiple HoloLens. Also some companies don't like enabling developer mode, and this is a method that doesn't have a security risk. Also device portal only allows a single app Kiosk, where as you could create a Multi app Kiosk if you wanted using other methods.
https://learn.microsoft.com/en-us/hololens/hololens-kiosk#set-up-kiosk-mode-using-a-provisioning-package-windows-10-version-1803
Do this help things? I know it's not actually what you were looking for, but hopefully it helps. It it doesn't let me know, I might have a different potential solution.
Kiosk Mode can be set via Device Portal’s REST API by doing a POST to /api/holographic/kioskmode/settings with one required query string parameter (“kioskModeEnabled” with a value of “true” or “false”) and one optional parameter (“startupApp” with a value of a package name). Please keep in mind that Device Portal is intended for developers only and should not be enabled on non-developer devices. The REST API is subject to change in future updates/releases.

buildfire.services.bluetooth.ble only returns test data

I am trying to develop using the BLE api.
However no matter what I try, I am only getting useless test data back.
A workaround would be possible using Web Bluetooth, however, I can't append a button outside of the plugin iframe.
What would your suggested way of developing with the bluetooth functionality?
Are you sure you turned on the Bluetooth feature in your plugin.json ? See documentation here https://github.com/BuildFire/sdk/wiki/Low-Energy-Bluetooth-Service
Once that is completed make sure you rebuild your app (hard build) since your app need to request permission to access Bluetooth. If you aren’t prompted when you install the app to allow Bluetooth access, then something isn’t right.

Windows 8/RT + Phone 8 app - sync data

Hi im developing a todo/reminder app for both Windows 8 (RT) and Windows Phone 8.
I want to enable the user to sync their todo-items between these two.
I know there is a roaming application data storage for Windows 8, but is it possible to access it from the phone?
Another idea i had was creating an xml file and uploading it to skydrive, but then i would have no push functionality :(
And there is also Azure which seems to be the most complicated solution..
What way is the best to choose?
Thanks for your help
You can use Live SDK (SkyDrive) and Windows Azure Mobile Services to accomplish this. The Live SDK will allow you to upload and retrieve items from SkyDrive and you can use mobile services for push notifications. Here is an example of what you want to do.
I know that the thread is a bit old, but it still pops up in search results. So, here's the answer.
I had exactly the same problem. So, I have developed a small library which does exactly that - synchronizing the data between Windows Phone and Windows Azure. Code is on GitHub and here is a nicely packed NuGet package. You could easily port it to WinRT and use SQLite as local data storage.
API is very simple. You just call methods to do CRUD operations and when you are done, you call SynchronizeAsync to synchronize data with WAMS. The synchronization goes both ways. In case of conflict, the latest copy gets the preference.
In the meantime Windows Phone 8.1 is released and it changes the answer to your question - today there are universal apps and they share the same roaming storage on both Phone and regular Windows.
You're going to want to use Mobile Services (www.windowsazure.com/mobile) for this scenario. After you login at manage.windowsazure.com, grab the WinStore C# SDK and WP8 SDK. You're going to need to point both to the same SQL db and Mobile Service. Of course, if you need blob or table storage as well, that's supported. You'd just access those through scripts under the DATA tab.
To check out a production app that's already doing this, I'd point your to Slot Machine by the SeeSharpGuys.
Win Store: http://apps.microsoft.com/windows/en-US/app/slot-machine/7c60012a-00bd-4cae-a402-a9885ec11ea1
WP8: http://www.windowsphone.com/en-us/store/app/slot-machine-mobile/9fa24191-d08d-4073-8098-740975e41946

Remote control API for Spotify?

Is there such a thing as a Spotify remote control API? I want to write an app which lets the user control the Spotify desktop client (play, pause, volume, playlists, etc.) but I can't seem to find any documentation anywhere.
There are iOS and Android remote control apps out there so I'm just wondering how they do it if there isn't an API.
On Mac OS X, Spotify can be controlled 'remotely' (i.e. from other apps) using AppleScript, either using the bundled API or the System Events service.
Here's an example of using the bundled API: https://github.com/activars/spotify-applescript/blob/master/spotify_control.applescript
And another one using System Events (it isn't quite as elegant): http://www.jacktams.net/2010/04/28/spotify-applescripts-version-0-4-3/
Official documentation is a bit thin, although you should be able to use the AppleScript editor's library feature to find out more about the methods offered.

Monitoring app launches on an iOS device

While I'm no expert on iOS development, I have read through the API docs on Apple's developer site and I can't find anything on this. Before I presume that it's impossible let me ask here: Can I somehow monitor application launches on a standard iOS device? By "standard" I mean not jailbroken and using only public iOS v4 APIs. Any insight is appreciated. Thanks.
No, there's no access to system-level stuff like that at all. The somewhat-small sandbox makes certain types of apps impossible, but does provide a lot of protection for the user.

Resources