Hi all,
Zebra TC75 android
I'm trying to import contacts into the devices automatically.
I can copy a vcf file to sd as package, if I open the file manually in the file explorer it'll ask if I want to import the contacts.
But if I open the file through a script it tries to load them through PDF viewer.
If I open the "Contacts" app and click import/export -> import from SD card. everything works as expected.
What I want is to have a pre/post install script which will update the contacts on the device automatically. But currently the closet to getting what I want is to open contacts, and send a message to the user to import the contacts file.
<code>start activity com.android.contacts/com.android.contacts.activites.PeopleActivity
showmessagebox "Please use the menu in the top right hand corner, press import/export, and click \"Import from Storage\""</code>
This there an intent I can send which will open the import command with no user intervention?
I've looked through the source code and can see the action "com/android.contacts.vcard.ImportRequest" but nothing happens when I try sending it as an intent, am I missing an instruction, as you can import from sdcard or simcard?
<code>sendintent -a "intent://com.andriod.contacts#Intent;action=com.android.contacts.vard.ImportRequest;end"</code>
Thanks for any ideas
Gary