Closed kapil0408 closed 7 years ago
Again, I am not answering questions about usage of the framework if they go beyond the realm of "does it work as intended" if you are having trouble implementing something on your own with it, I don't have time to help you with this, sorry.
When i try to take backup then it show this error in SDMMD_ServiceSendMessage function.
Please see code: -(void)getMobileBackup { sdmmd_return_t result1 = kAMDInvalidArgumentError; CFDictionaryRef dict = NULL; SDMMD_AMConnectionRef conn = NULL; conn = SDMMD_AMDServiceConnectionCreate(0, NULL, dict); result1 = SDMMD_AMDeviceStartService(device, CFSTR(AMSVC_BACKUP2), NULL, &conn);
}
I am facing problem in this line: " result1 = SDMMD_ServiceSendMessage(SDMMD_TranslateConnectionToSocket(conn), arrDeviceReady, kCFPropertyListXMLFormat_v1_0); " Please suggest any solution.