You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 .
The text was updated successfully, but these errors were encountered:
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 .
The text was updated successfully, but these errors were encountered: