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

How we get photo and vedio from Iphone using MobileDevice #3

Open vipinbeni opened 10 years ago

vipinbeni commented 10 years ago

Hi Sir, I want to extract all photo and video and document from application data of application like instagram ,Flickr ,i movie etc on my windows PC using your project as i m not able to run it successfully .tell me detail how can i do the same.

thanks

vipinbeni commented 10 years ago

Hi Sir , I am able to put file in ios devices using this but i can get file from this code help me please.

vipinbeni commented 10 years ago

Hi Sir , please tell me how can i copy instagram file to pc using this library

dmmatson commented 10 years ago

I developed this library while employed at a previous company. I no longer have a desire to maintain/support the codebase. It may have the ability to do what you are asking but you would have to figure it out yourself, sorry.

Regards, David

On Thu, May 22, 2014 at 9:44 PM, vipinbeni notifications@github.com wrote:

Hi Sir , please tell me how can i copy instagram file to pc using this library

— Reply to this email directly or view it on GitHubhttps://github.com/ImagineLearning-Public/MobileDevice/issues/3#issuecomment-43968588 .

vipinbeni commented 10 years ago

Ok Sir ,

Thanks for your reply.. i am trying the same hope so i will get desire output ..

jigarjacks commented 10 years ago

Hello, what you do for put files in IOS device? I am still getting error with this. var remoteFolder = Path.Combine(targetDirectory, new FileInfo(file).DirectoryName.Substring(file.IndexOf(root) + root.Length + 1)).Replace(@"\", "/");

After remove this line when I give static path for folder then also getting error with (!iPhone.CreateDirectory(remoteFolder) not creating folder in device.

And also I have to do for get files from IOS to PC.

Thanks.

jigarjacks commented 10 years ago

Hello,

Can you please tell me how you can able write or put file in IOS device as here I am facing issue with this error "AFCFileRefOpen failed with error 8" when going to write file with this line MobileDevice.AFCFileRefWrite(_phone.AFCHandle, _handle, buffer2, len);

Thanks.

vipinbeni commented 10 years ago

Hi Sir,

can we have a reference for the similar work in c++ . as this code work fine for me but it required dot net dependency on user machine ,so please tell me how can i remove dot net dependency of exe or any c/c++ code for same operation.

if we have then please help me .

jigarjacks commented 10 years ago

Hello,

Ok David Thanks for reply.

And Hello Vipibeni,

Can you please tell me here How you was able to put file in iOS devices using this library. it may help me in further task and we may find solution for this. some tips or any suggestion please for do that Task. As I also want to do same, To get Files from iOS device from specific App with that ("/Documents")document directory.

Thanks.

vipinbeni commented 10 years ago

you have change the line var remoteFolder = Path.Combine(targetDirectory, new FileInfo(file).DirectoryName.Substring(file.IndexOf(root) + root.Length + 1)).Replace(@"\", "/"); replace it with

var remoteFolder = Path.Combine(options.TargetDirectory, "Cashes").Replace(@"\", "/");

and please help me how can we remove dot net dependency of exe .

jigarjacks commented 10 years ago

Hello vipinbeni,

Thanks for reply. First what you have to do please get me some clear description, so I can get idea. And I already remove that line and pass static path Like "/Documents/Test" or "/Documents".

Here I tried also with read file, write file and createdirectory with iPhone object but can't do any operation related to file. Yes I can get true in IsDirectory("/Documents") and IsFile("/Documents/Background.png") method. which is right. if i pass wrong paramter like IsFile("Documents/Background1.png") then return false its also correct. but using iPhone.GetFilles("/Documents") return null array not getting any file. During write file also getting this type of error "AFCFileRefOpen failed with error 8".

Not getting clear idea what I have to do.

Here I am trying with this data : Local = C:\Temp Remote = /Documents/Background.png BundleIdetifier also correct I checked it with my team.

Please help how can I able to do write operation.

Thanks.

jigarjacks commented 10 years ago

Hello, Vipibeni

For remove .net Dependency from EXE : When you add a reference to another assembly (e.g. a third-party DLL) to your C# project, the compiler doesn't add the contents of that assembly into your EXE. It just reference by path.

You need to make EXE file with DLL that needs it, same as we are adding some tool while creating other software, Like Acrobat Adobe we are adding while make application which support pdf viewer for form application.

you can do it by below links may help http://madebits.com/netz/ http://www.microsoft.com/en-us/download/details.aspx?id=17630

Thanks.

vipinbeni commented 10 years ago

Thanks for your reply right now i m on leave so not able to help you wait for few day i will help you

On Mon, Jun 2, 2014 at 11:53 AM, jigarjacks notifications@github.com wrote:

Hello, Vipibeni

For remove .net Dependency from EXE : When you add a reference to another assembly (e.g. a third-party DLL) to your C# project, the compiler doesn't add the contents of that assembly into your EXE. It just reference by path.

You need to make EXE file with DLL that needs it, same as we are adding some tool while creating other software, Like Acrobat Adobe we are adding while make application which support pdf viewer for form application.

you can do it by below links may help http://madebits.com/netz/ http://www.microsoft.com/en-us/download/details.aspx?id=17630

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/ImagineLearning-Public/MobileDevice/issues/3#issuecomment-44805094 .

Thanks Vipin Kumar Beniwal

jigarjacks commented 10 years ago

I think you are on long vacation.

pizixie commented 9 years ago

you can't, MobileDevice only can implements services like 'lockdown', such as

all of these in iTunesMobileDevice.dll.you can reference libimobiledevice project. music\video,photo.these hidden in the AirTrafficHost.dll.

vipinbeni commented 9 years ago

could you help me how can we extract a contacts and insert a new iphone using MobileDevice . any sample or example.

pizixie commented 9 years ago

open libimobiledevice and search 'contacts'. you can find a Evolution project. it's can be used by addressbook but not using MobileDevice.

vipinbeni commented 9 years ago

Hi pizixie , I see the same but how can i build the same on windows pc as i m working on windows os.

pizixie commented 9 years ago

which project? mobiledevice or libimobiledevice-win32? libimobiledevice has 3 port. mac, Linux,window.

--- 原始邮件 ---

发件人: "vipinbeni" notifications@github.com 已发: 2015年1月23日 上午10:54 收件人: "ImagineLearning-Public/MobileDevice" MobileDevice@noreply.github.com 抄送: "spizi X" pizixie@hotmail.com 主题: Re: [MobileDevice] How we get photo and vedio from Iphone using MobileDevice (#3)

Hi pizixie , I see the same but how can i build the same on windows pc as i m working on windows os.


Reply to this email directly or view it on GitHub: https://github.com/ImagineLearning-Public/MobileDevice/issues/3#issuecomment-71140183

vipinbeni commented 9 years ago

i search it from http://www.libimobiledevice.org/ say that this is the code for contact as you tell me .

https://gitorious.org/eds-to-idevice/eds-to-idevice/source/471a0f5f80ed00e60089df8acf0c85e288194d8e: and it i am not find its port with win 32 .

pizixie commented 9 years ago

oh,you are right.

that project has no port on win32. and have not update long time ago.