Forum Replies Created
-
AuthorPosts
-
ArthurHucksakeParticipant
Hi Piotr,
Thanks for the response, I have implemented your Precise Locale plugin and will see what results I get 😉
On a side note (wrong forum I know), I already use your InAppBrowser and have recently updated it as I wanted the back and forward button functions. When I run my project on a device in X-Code, the debug info window shows a lot of “Send Message: object InAppBrowserBridge not found!”.
I do not require any J-script call backs so have not included the Bridge in my scene. Everything works fine on the device, can these messages be safely ignored?
Kind regards,
Arthur
ArthurHucksakeParticipantHi Piotr,
No problem, I have also been away 😉
Unfortunately I have not received the email of the Android library ;-(
Kind regards,
Arthur
ArthurHucksakeParticipantHi Piotr,
I have it working on IOS, this was a simple tweak to the “InAppBrowser.cs” file to prevent it from prefixing the “Application.streamingAssetsPath” to the supplied path in the appropriate function.
However, it would seem that this operation is carried out within the “InAppBrowser.jar” plugin when this function is called on Android. A modified “InAppBrowser.jar” which does not prefix the supplied file location with anything would most likely do the trick. So the source for the “In-AppBrowser.jar” should allow me to make the changes I require if you do not have the time to do this.
Kind regards,
Arthur
ArthurHucksakeParticipantHi Piotr,
That would be great, it would be a real bonus for me if I could get this working.
Mail it to arthur@ffs-solutions.com
Kind regards,
Arthur
ArthurHucksakeParticipantHi piotr,
Any news on this, is it possible to view a PDF created at runtime which is saved to the “Application.persistentDataPath” folder?
Kind regards,
Arthur
ArthurHucksakeParticipantHi Piotr,
Thanks for your reply, unfortunately my PDF files are created at runtime and therefore can only be saved into the “Application.persistentDataPath” as the “Application.streamingAssetsPath” is read only from what I believe.
Kinds regards,
Arthur
ArthurHucksakeParticipantHi Piotr,
1, I am trying to open it with the following code
`InAppBrowser.DisplayOptions options = new InAppBrowser.DisplayOptions();
options.displayURLAsPageTitle = false;
options.backButtonText = “<< Back”;
options.pageTitle = “”;
options.barBackgroundColor = “#A8B1B8”;
options.textColor = “#144B8C”;
options.browserBackgroundColor = “#A8B1B8”;
options.loadingIndicatorColor = “#144B8C”;
options.pinchAndZoomEnabled = true;
string FileLocation = Application.persistentDataPath + “/Temp/Temp.pdf”
InAppBrowser.OpenURL(FileLocation, options);`I know the file is created and exists because I can open it fine using:
Application.OpenURL(FileLocation);
2, Yes, it happens to me on all the websites I have tried.
If you have any suggestions, I would be more than happy to give them a try.
Kind regards,
Arthur
-
AuthorPosts