webOS Nation Forums >  Homebrew >  webOS Patches > [Patch] Fixing/Enhancing vCard (.vcf) Export
[Patch] Fixing/Enhancing vCard (.vcf) Export
  Reply
Like Tree5Likes

 
Thread Tools Display Modes
Old 02/10/2013, 04:16 PM   #21 (permalink)
Member
 
Posts: 1,620
Tip for exporting all contacts via command line in webOSquickinstall when Touchscreen or digitizer is broken:

webOS >2.x:
Code:
luna-send -f -n 1 palm://com.palm.service.contacts/vCardExportAll '{"filePath":"/media/internal/ExportedContacts.vcf"}'
This one also works on Touchpad.

webOS <2.x (1.4.5) Pre1/+/Pixi:
Code:
luna-send -n 1 palm://com.palm.contacts/makeVCardList '{"stripPhoneNumbers":"false","vCardPath":"/media/internal/ExportedContacts.vcf"}'

complete how-to on main blog: http://m.webosnation.com/export-your...-line-homebrew

Last edited by gizmo21; 03/20/2013 at 04:46 AM.
gizmo21 is online now   Reply With Quote
Liked by ArchonAdvisors likes this.
Thanked By: MartinH@webos
Old 02/11/2013, 09:54 AM   #22 (permalink)
Member
 
Posts: 70
Quote:
Originally Posted by gizmo21 View Post
Tip for exporting all contacs via command line in webOSquickinstall when touch Screen digitizer is broken:


Perhaps this also works on Touchpad directly.

Sorry Gizmo,

this is not working on the Pixi+.

First it errors with: -f is a wrong option and i couldnt find out which one is the right one.
Another error occurs with the option -p when it says that it could not find the in the commandline mentionend Process.
The errorcode is:
** Message: serviceResponse Handling: 2, {"serviceName":"com.palm.service.contacts","returnValue":false,"errorCode":-1,"errorText":"com.palm.service.contacts is
not running."}

Huuuuuu?!

Achim

Last edited by achimi; 02/11/2013 at 10:03 AM.
achimi is offline   Reply With Quote
Old 02/11/2013, 10:14 AM   #23 (permalink)
Member
 
Posts: 1,620
Quote:
Originally Posted by achimi View Post
Sorry Gizmo,

this is not working on the Pixi+.

First it errors with: -f is a wrong option and i couldnt find out which one is the right one.
Another error occurs with the option -p when it says that it could not find the in the commandline mentionend Process.
The errorcode is:
** Message: serviceResponse Handling: 2, {"serviceName":"com.palm.service.contacts","returnValue":false,"errorCode":-1,"errorText":"com.palm.service.contacts is
not running."}

Huuuuuu?!

Achim
Hmm looking to 1.4.5 doctor \usr\palm\applications\com.palm.app.monad\app\assistants\main-assistant.js it seems the function is called different there:

Code:
createFile: function(event){
		try {
			Mojo.Log.info ("main.createFile() started ");
			this.spinOn();
			$('createButton').style.display = 'none';
			this.showPrompts ("<h3>" + $L("Step 1: Export File...") + "</h3>");
			var findServiceRequest = this.controller.serviceRequest('palm://com.palm.contacts', {
				method: 'makeVCardList',
				parameters: {
					"stripPhoneNumbers":false,
					"vCardPath": "/media/internal/.temp/PmMigration.vcf",
so perhaps you want to try that one:
Code:
luna-send -n 1 palm://com.palm.contacts/makeVCardList '{"stripPhoneNumbers":"false","vCardPath":"/media/internal/ExportedContacts.vcf"}'
try a "luna-send -?" before to see if the luna parameters are different in 1.4.5
__________________
Patch Enhancing vCard Export -|- Your own cloud with Zarafa (EAS sync) -|-
Tasks-app of 2.x on 3.x incl.EAS sync -|- SYM key in Enyo on phones -|- My hidden webOS Tips and Tricks - like it ?

Last edited by gizmo21; 02/19/2013 at 05:24 PM.
gizmo21 is online now   Reply With Quote
Liked by achimi likes this.
Thanked By: achimi
Old 03/21/2013, 09:56 AM   #24 (permalink)
Member
 
Posts: 70
Quote:
Originally Posted by gizmo21 View Post
Hmm looking to 1.4.5 doctor \usr\palm\applications\com.palm.app.monad\app\assistants\main-assistant.js it seems the function is called different there:

Code:
createFile: function(event){
		try {
			Mojo.Log.info ("main.createFile() started ");
			this.spinOn();
			$('createButton').style.display = 'none';
			this.showPrompts ("<h3>" + $L("Step 1: Export File...") + "</h3>");
			var findServiceRequest = this.controller.serviceRequest('palm://com.palm.contacts', {
				method: 'makeVCardList',
				parameters: {
					"stripPhoneNumbers":false,
					"vCardPath": "/media/internal/.temp/PmMigration.vcf",
so perhaps you want to try that one:
Code:
luna-send -n 1 palm://com.palm.contacts/makeVCardList '{"stripPhoneNumbers":"false","vCardPath":"/media/internal/ExportedContacts.vcf"}'
try a "luna-send -?" before to see if the luna parameters are different in 1.4.5
Hi Gizmo21,

tested with success on my Pixi+.

Thanks for your Work !

Achim
achimi is offline   Reply With Quote
Reply

 

Tags
export contacts, vcard, vcf

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0