On Thu, Oct 25, 2012 at 9:04 PM, Jonas Sicking <[email protected]> wrote:
> > Here is my guess as to what the support would be, but I'd like > confirmation from people who know! I am most interested to specifically > know if any of the APIs I list under "should work" below actually don't. > > > > Should work: > > > > * Idle API > > * TCP Socket API > > * Geolocation API > > * Device Storage API > > * Contacts API > > * Open Web Apps > > * Alarm API > > * Browser API > > * Time/Clock API > > * Web Activities > > * Permissions API > > * Web Payment > > * IndexedDB > > * Archive API > > This sounds great. This should cover almost all of the APIs that > people will want to use. > Yeah, I figured that as well. But do you (or anyone else) know if B2G Desktop actually supports all of these today? I couldn't think of any reason why it wouldn't, but I'd like to actually know if someone has the answer. To be clear, in my original message I wasn't asserting that we *had* these in B2G Desktop, but rather that it seemed reasonable that B2G Desktop *would* have them. > > > Not available (requires hardware or at least needs to be mocked out to > be useful in simulation): > > > > * Web Telephony > > * Vibration API > > * WebSMS > > * Screen orientation > > * Power management API > > * Mobile connection API > > * Wifi Information API > > * Web Bluetooth > > * Battery Status API > > * WebFM API > > * Ambient Light Sensor > > * Proximity Sensor > > It *should* be possible to get the battery status API working on most > desktop platforms. IIRC we're just lacking OSX support. But it doesn't > seem worth spending time on this API as it's relatively unlikely to be > critical for apps. > Yeah, I agree that this is not so critical. > > The orientation API is more unfortunate I think. Could we emulate this > by rotating the emulated on-screen device? I would imagine that this > is something that developers would want to try out. > I don't know if we'll have it in v1, but the ability to rotate on screen is definitely something we'll do. > > Likewise vibration API is probably something that game developers > would want to try out. Would it be possible to write a shim > implementation which blinks the screen or otherwise creates a visual > indicator for when vibration is turned on? > Yes, ultimately, I'd like to see shims that do something useful for all of the phone's behavior so that someone can get make good progress in development without having to pull out a device all the time. Thanks for the feedback! Kevin -- Kevin Dangoor work: http://mozilla.com/ email: [email protected] <[email protected]> blog: http://www.BlueSkyOnMars.com _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
