Hello all, I have one question:
Hello all, I have one question:
in my case i want use google maps api in IOS and Android i thought its posible by TWebBrowser but i can't call javascript function or i want use WFS service,
if someone decided this problem please tell me how i can decide this task.
in my case i want use google maps api in IOS and Android i thought its posible by TWebBrowser but i can't call javascript function or i want use WFS service,
if someone decided this problem please tell me how i can decide this task.
Perhaps you have to go into Internet settings in Control Panel (or in IE internet options), to allow javascript in the Security tab. TWebBrowser is a com object into IE, so it'll probably use the IE settings.
ReplyDelete:) in IOS isn't IE browser.
ReplyDeleteOk, I didn't notice the "iOS" in your message. oops. I didn't realize they had a TWebBrowser component for iOS.
ReplyDeleteOn iOS TWebBrowser uses UIWebView. So i don't see a problem with executing java script content from page. But For running custom javascript outside UIWebView we should to get acces to UIWebView, because TWebBroser doesn't provide this function.
ReplyDeleteThanks,
ReplyDeleteif you know is in IOS platform WMS service component ?
Merab Chikvaidze You means Maps?
ReplyDeleteyes
ReplyDeleteI'm also looking for the same mapping functionality. I've managed to get something working with iOS, but I haven't really had time to investigate in any real depth. Perhaps we can work on it together? PM me if you would like the source.
ReplyDeleteЯрослав Бровин
ReplyDeleteand how i can use that Map Kit framework in delphi just use units?
Merab Chikvaidze
ReplyDelete1. You should translate ObjctiveC classes from MapKit like a iOSapi.CoreAudio.pas (in RTL) or other ios api units in RTL. (look at the rules, which used in trl units for ios api (iOSapi.*.pas))
2. Include this translated unit to your project
3. And after you can use translated units in your project.
P.S. Not necessarily to translate all methods in classes. You can translate only required methods and class for you
Ярослав Бровин
ReplyDeleteCan you tell me route where i can find that files?
Merab Chikvaidze
ReplyDeletePlease, look at C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\source\rtl\ios
Ярослав Бровин
ReplyDeleteThere i must past translated Map Kit files?
Merab Chikvaidze - Would like my source? It already contains the translated map kit API.
ReplyDeleteMerab Chikvaidze
ReplyDeleteNo, there you can look on how As it was done.
You translated unit you can create in you delphi project as simple unit.
Paul Thornton
ReplyDeleteYes i want it merabi777@gmail.com send me please.
Paul Thornton
ReplyDeletesend me ok?
Merab Chikvaidze I just need to remove a few dependencies, then I will send it :)
ReplyDeletePaul Thornton
ReplyDeleteThanks i received it and now i am trying use it.