ImagineLearning-Public / MobileDevice

Allows communication with iDevices. Fork from mobiledevice.codeplex.com, making use of house arrest service (as opposed to AFC) to transfer files to documents directory.
6 stars 9 forks source link

Unable to find bundle with ID #8

Open muhammedk opened 8 years ago

muhammedk commented 8 years ago

Hi,

I am facing an issue while copying a file from PC to iPad. For first three continues time from my c# code, I am able to copy the file to IOS app document folder successfully.But from fourth time on wards I am getting an ERROR as unable to find the bundle with id "com.xxx.xxxx".

First I thought it is because of the same file, but i tried with a set of different files. Same result.

If I am exiting the application and starting again it will work for another 3 transaction.

this is my event function

e.iPhone.ConnectViaHouseArrest("com.samsotech.eregcard"); if (e.iPhone.IsDirectory("/Documents/PDF_Documents/REGCARD")) { // e.iPhone.CopyFile("c:\temp\RegTemplateolold.pdf", "/Documents/PDF_Documents/REGCARD/RegTemplateolold.pdf"); e.iPhone.CopyFile(src_file_box_txt.Text, trgt_file_txt.Text); //done = true; Console.WriteLine("Done"); Console.ReadLine(); //result = 2; } else { //result = 1; }

Can any one help me to solve this.