Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restore VCF via adb #1074

Open
JOHNFFFEE opened this issue Jun 4, 2024 · 1 comment
Open

restore VCF via adb #1074

JOHNFFFEE opened this issue Jun 4, 2024 · 1 comment

Comments

@JOHNFFFEE
Copy link

hi there , i am trying to do some app automation ,

i would like to run restore - push into the phone a vcf file i have , via adb , automatically .

at the moment i was able to pop up the windows to import the contact , and have a selection of where to restore the imported file (phone storage / phone storage not visible by other apps)

however even i press ok manually it fails to fine the file , no matter what , i am not sure why (i am thinking about permisions, but if i select to import vcf manually it doesnt require any aditional permissions )

i've tried to run

adb shell am start -t "text/x-vcard" -d "file:///storage/emulated/0/contacts_20240604190946.vcf" -a android.intent.action.VIEW com.simplemobiletools.contacts.pro

or

adb shell am start -t "text/x-vcard" -d "file:///sdcard/contacts_20240604190946.vcf" -a android.intent.action.VIEW com.simplemobiletools.contacts.pro

neither of them worked , error was java.io.filenotfoundExecption : /sdcard/...... .

i would like to know how to automatically do that via ADB . (to phone storage , that IS visible to other apps)

thank you .

@Maxitendo1
Copy link

@JOHNFFFEE SimpleMobileTools apps were sold to ad and spyware company. Fork is here:

https://github.com/FossifyOrg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants