Hi Paul,
As I know that we didn't have Web API for this purpose now but just had some
similar but not accurate ones.
Ex:
1. USB Mass Storage. (Need to get result by enabling it)
2. Battery Charging. (Not sure that charging is came from PC or Wall Charger)
Thanks Marco.
Then this is much clear now.
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g
On Friday, December 6, 2013 8:14:05 AM UTC+1, Tank wrote:
Is there any callback available in the gaia layer for detecting the device
connect to PC through USB?
Thanks
Check gaia/apps/settings/js/storage.js
___
dev-b2g mailing list
Jan Jongboom於 2013年12月9日星期一UTC+8下午6時44分50秒寫道:
On Friday, December 6, 2013 8:14:05 AM UTC+1, Tank wrote:
Is there any callback available in the gaia layer for detecting the device
connect to PC through USB?
Thanks
Check gaia/apps/settings/js/storage.js
Thank you
I answered a similar question on SO
http://stackoverflow.com/questions/20464938/the-way-to-detect-usb-connection-via-pc
May be a better way, but you may want to have a look.
- Original Message -
From: Paul mozloverin...@gmail.com
To: dev-b2g@lists.mozilla.org
Sent: Monday, December 9,
I actually have the same question as you answered in SO.
Can I detect the PC usb connection event without enabling USB storage?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g
Hi Jan,
Your approach will only work when enabling USB storage.
My intention is to detect pc usb connection event without enabling USB storage.
Do you have any idea about this?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
Any possible clue?
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g
Is there any callback available in the gaia layer for detecting the device
connect to PC through USB?
Thanks
___
dev-b2g mailing list
dev-b2g@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g
Tank於 2013年12月6日星期五UTC+8下午3時14分05秒寫道:
Is there any callback available in the gaia layer for detecting the device
connect to PC through USB?
Thanks
Be more specific, only the detection of connecting to PC. I dont mean to the
device connects to the charger through USB with adapter.
10 matches
Mail list logo