I would like to use the camera from my android device with phonegap and jquery mobile.
I read the api : http://docs.phonegap.com/en/3.3.0/cordova_camera_camera.md.html#Camera
But they use cordova.js file : i don't use this file for my application. If someone had already done this configuration or can help me it will be great.
Thanks in advance.
Related
Problem
Greetings Stack Overflow community.
I have an issue with the iOS.
Currently, I am working in a web application with a mobile skin full responsive.
In the PC version everything works fine, same happening with android. Everything run's without any problem. But with the iOS I have some issues.
First, I had a bug with the file upload. I couldn't upload any file. I searched everywhere and then i find out that the version i was currently using had some serious problems with the file upload (iOS 8.0).
So I updated and now I have the 8.1.2 version. File upload its just working fine but now I can't see the pictures that I upload. The app returns me this:
Open file;
Open file with...;
I click in the options but nothing happens...
Could you please help me?
In advance thank you!
PS: It's an app with PHP/HTML/CSS. The normal web app style with a mobile skin.
Solution
I found out the solution and I forgot to post.
The safari mobile browser and chrome mobile browser doesn't read pdf files however the desktop browser reads. So, I've made a new File Reader PHP Class and everything is now fixed. If anyone needs help please let me know, I'll have all pleasure to help.
Thanks anyway :)
I'm developing a Flex Mobile Project for iPad (iOS) and I need to open a PDF document in the native PDF reader.
I think I need integrate with a Native Extension.
Someone did something like that?
Thanks for your suggestions.
Have you tried this?
var myFileName:String = 'myFile.pdf';
var localFile:File = File.documentsDirectory.resolvePath('myAppFolder/'+myFileName);
localFile.openWithDefaultApplication()
Maybe this can help you!
Can I open external links with Phonegap Cordova (1.8.1) in iOS without the Childbrowser plugin?
Most of the tutorials that talk about this topic are outdated.
Any solution?
Thanks.
Actually, using
a link like this
Or
window.location.href="my-external-url"
Will open the external URL in the Phonegap webview, not in a browser. If you have this working as you claim, you have solved a really big issue for all phonegap users. Some literature on this topic.
http://community.phonegap.com/nitobi/topics/make_links_use_external_broswer_consistently
https://build.phonegap.com/blog/access-tags
http://docs.phonegap.com/en/2.0.0/guide_whitelist_index.md.html#Domain%20Whitelist%20Guide
You can use window.open with "_system" as the window name (InAppBrowser)
I am creating app using jquery Mobile and Phonegap 1.6.0, and I want to upload files to server, is there any way to explore/browse the IOS directories to select file and upload that file using Phonegap API?
Thanks
Found this with a 10 second search of the docs: http://docs.phonegap.com/en/1.6.0/cordova_file_file.md.html#File Is this what you want?
I'd like to integrate a FastPdfKit Reader into my PhoneGap application. That is, the PDF reader should be opened within the PhoneGap app, so that the application-related navigation is still visible.
Where do I best start?
Do you know about any publicly available code that gives an example on how to achieve this?
It sounds like what you are looking for is creating a PhoneGap plugin.
http://wiki.phonegap.com/w/page/36752779/PhoneGap%20Plugins
Here are some tutorials on making plugins for PhoneGap:
http://hiediutley.com/2011/04/15/phonegap-tutorial-series-6-writing-your-own-plugin/