Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a website (HTML5,JavaScript) access a mobile device's (android/iPhone) contact list, SDCard files

Can a website (HTML5,JavaScript) access a mobile device's (android/iPhone)
contact list, SDCard files? A website as in one opened in a browser not a phonegap application/webapp.

like image 406
chaitanyad Avatar asked Jun 06 '14 07:06

chaitanyad


2 Answers

There was an attempt at the W3C to create a browser API to access contacts from the browser. This is often mentioned as one of the new HTML5 APIs.

However the attempt never became a real specification and never got implemented by any browser vendors. Now it is officially discontinued:

http://www.w3.org/TR/contacts-api/

like image 142
jbandi Avatar answered Sep 20 '22 17:09

jbandi


You can't access the mobile device file system through a website, it would be a major security problem. You might be able to steal all user files if you can access them through the browser. Hope this helps.

like image 40
Imnl Avatar answered Sep 21 '22 17:09

Imnl