path to iPhone DCIM Directory
Moderator: Rathinagiri
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: path to iPhone DCIM Directory
Hi jimmy
How do you know the virtual names that Windows assigns to mobile devices?
How do you know the virtual names that Windows assigns to mobile devices?
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- AUGE_OHR
- Posts: 2062
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: path to iPhone DCIM Directory
hi,
i have to say i´m not a Handy User.
it was as Present from my Son who send me Picture of his Baby.
i start on "My Computer" and "see" (in Explorer) that my iPhone are shown as "APPLE IPHONE"
in a FOR / NEXT loop i step down until i found cPhone for next Action. (Internal Storage -> DCIM -> ... )
i made a Listbox of Device so i can change it when not found ... but i have no 2nd Handy to test it
also i`m not sure if DCIM can have "more Sub-Folder" ... i just have 103APPLE on my Handy
i got some Parts of Puzzle, as i have shown, but í´m not sure about hole App
i might be that my Code "just" work with my Handy.
attached lates Source Code. please test it with your Handy if it work. if it work with other than "APPLE IPHONE" please write a Message in "this" Thread, Thx
i have to say i´m not a Handy User.
it was as Present from my Son who send me Picture of his Baby.
i start on "My Computer" and "see" (in Explorer) that my iPhone are shown as "APPLE IPHONE"
Code: Select all
oShell := CreateObject( "shell.application" )
IF NIL <> oShell
oFolder := oShell:NameSpace( CSIDL_DRIVES ) // 0x0011 // My Computer
IF NIL <> oFolder
oItems := oFolder:Items()
iMax := oItems:Count
FOR i := 1 TO iMax
oItem := oItems:Item( i - 1 )
IF !EMPTY( oItem )
cName := UPPER( oItem:name )
SayList( cName ) // add to Listbox
IF cName = cPhone
in a FOR / NEXT loop i step down until i found cPhone for next Action. (Internal Storage -> DCIM -> ... )
i made a Listbox of Device so i can change it when not found ... but i have no 2nd Handy to test it
also i`m not sure if DCIM can have "more Sub-Folder" ... i just have 103APPLE on my Handy
i got some Parts of Puzzle, as i have shown, but í´m not sure about hole App
i might be that my Code "just" work with my Handy.
attached lates Source Code. please test it with your Handy if it work. if it work with other than "APPLE IPHONE" please write a Message in "this" Thread, Thx
have fun
Jimmy
Jimmy
Re: path to iPhone DCIM Directory
In my case your app does nothing.
It only fills log box with found disks and phone.
After that it hangs up
It only fills log box with found disks and phone.
After that it hangs up
- AUGE_OHR
- Posts: 2062
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: path to iPhone DCIM Directory
have you DblClick on "Phone" in Listbox and start again
is your "Phone" a iPhone
does you "Phone" show a Drive Letter
have fun
Jimmy
Jimmy
Re: path to iPhone DCIM Directory
My phone is MI 9T PRO
Clicking on it in ListBox does nothing.
Phone doesn't show Drive letter
Clicking on it in ListBox does nothing.
Phone doesn't show Drive letter
- AUGE_OHR
- Posts: 2062
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: path to iPhone DCIM Directory
hi,
in my App default i use "APPLE IPHONE". when "search Device" and not found look into Listbox
when DblClick on Item in Listbox it will transfer it into Textbox. now press "search Device" again ... you will get same as Explorer show.
---
there are NO Drive Letter as they are "virtual Folder".
you can´t access those Folder with DIR or something else.
so "DragAccept()" function will not work with "virtual Folder"
like OLE-DragDrop you have to get "Stream" what i do with API COPYHERE() function.
you say you "see" Phone in Explorer. can you go inside and what Name does it have
in my App default i use "APPLE IPHONE". when "search Device" and not found look into Listbox
when DblClick on Item in Listbox it will transfer it into Textbox. now press "search Device" again ... you will get same as Explorer show.
---
there are NO Drive Letter as they are "virtual Folder".
you can´t access those Folder with DIR or something else.
so "DragAccept()" function will not work with "virtual Folder"
like OLE-DragDrop you have to get "Stream" what i do with API COPYHERE() function.
have fun
Jimmy
Jimmy
Re: path to iPhone DCIM Directory
You didn''t put your last version.
List of deviceses are placed in this control:
It doesnt' have OnClick.
When I manually enter my phone name in TEXTBOX cDevice, nothing happens
List of deviceses are placed in this control:
Code: Select all
DEFINE EDITBOX Loglist
ROW 20
COL 10
WIDTH 710
HEIGHT 90
VALUE ""
FONTNAME "Arial"
FONTSIZE 9
TOOLTIP ""
TABSTOP .T.
VISIBLE .T.
READONLY .F.
HSCROLLBAR .T.
VSCROLLBAR .T.
END EDITBOX
When I manually enter my phone name in TEXTBOX cDevice, nothing happens
- AUGE_OHR
- Posts: 2062
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: path to iPhone DCIM Directory
hi
uuuuuups ... that happens when under construction and change Concept
hm ... does if work with Explorer to get into Folder "PHONE" and what is "in" that Foldermol wrote:When I manually enter my phone name in TEXTBOX cDevice, nothing happens
have fun
Jimmy
Jimmy
Re: path to iPhone DCIM Directory
I'm typing manually my phone name, then I click [Get Folder] button. I get GetFolder action (on the screenshot):
- AUGE_OHR
- Posts: 2062
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: path to iPhone DCIM Directory
hi,
what do you get when open "MI 9T PRO" ( upper() )
what do you get when open "MI 9T PRO" ( upper() )
have fun
Jimmy
Jimmy