tag:blogger.com,1999:blog-72386855013225666.post633658810565929213..comments2023-04-18T05:16:02.299-04:00Comments on Simon Mac Donald: What's New in PhoneGap Android 2.4.0Simon MacDonaldhttp://www.blogger.com/profile/14749383583517044214noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-72386855013225666.post-561536087620305522013-11-10T11:55:30.174-05:002013-11-10T11:55:30.174-05:00@jcaesar
Yes, definitely broken with the new Chro...@jcaesar<br /><br />Yes, definitely broken with the new Chromium WebView. <br /><br />https://issues.apache.org/jira/browse/CB-5294Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-75595793449345364862013-11-08T07:41:09.652-05:002013-11-08T07:41:09.652-05:00Hi Simon,
I think the input type=file support is ...Hi Simon, <br />I think the input type=file support is broken on android 4.4.<br /><br />Can you check it?jcesarhttps://www.blogger.com/profile/16064873580685713642noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-59328609784751844402013-05-15T13:52:57.793-04:002013-05-15T13:52:57.793-04:00@Arvind Menon
Not yet, hoping to some good news w...@Arvind Menon<br /><br />Not yet, hoping to some good news with the Google IO going on right now.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-91615336149216019092013-05-14T12:23:57.209-04:002013-05-14T12:23:57.209-04:00Hi Simon,
Thanks for adding the file input featur...Hi Simon,<br /><br />Thanks for adding the file input feature.<br /><br />Is there a way for this to respect the "accept" attribute?<br /><br />input id="photo-load" type="file" accept="image/jpeg" capture="camera"<br /><br />The intent that is fired seems to be a generic file intent and ignores the mime type specified.<br /><br />I also noticed that cordova does not provide the camera as an option for file input. Is there a way to get around that without using the camera plugin?<br /><br />Thanks!Anonymoushttps://www.blogger.com/profile/14133292239357363592noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-35512104365771238662013-03-04T11:36:22.952-05:002013-03-04T11:36:22.952-05:00@Gjoko Grkov
You need to have apps installed tha...@Gjoko Grkov <br /><br />You need to have apps installed that can handle that mime type and are registered to view them.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-81988858248844401272013-03-04T11:28:41.487-05:002013-03-04T11:28:41.487-05:00Hello Simon
Thank you for your reply.
I tried wh...Hello Simon<br /><br />Thank you for your reply.<br /><br />I tried what you suggested but I received this error message:<br /><br />No Activity found to handle Intent<br />{act=android.intent.action.VIEW dat=file:///mnt/sdcard/file.pdf}<br /><br />Do I need to change or add something in the ActivityManifest.xml ?<br /><br />PS: I am also trying to open ppt files as well.Anonymoushttps://www.blogger.com/profile/10458301993474188386noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-2790100815741861352013-03-03T23:44:37.141-05:002013-03-03T23:44:37.141-05:00@Gjoko Grkov
Try using:
window.open('file:/...@Gjoko Grkov <br /><br />Try using:<br /><br />window.open('file:///mnt/sdcard/file.pdf','_system');<br /><br />instead. The InAppBrowser doesn't have the facility to view PDF files.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-81693545820157364212013-03-03T23:40:54.322-05:002013-03-03T23:40:54.322-05:00@arjun t raj
Reproduction scenario?@arjun t raj<br /><br />Reproduction scenario?Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-76606320554071364412013-02-28T23:40:47.367-05:002013-02-28T23:40:47.367-05:00hi, Android Back button not working when we open I...hi, Android Back button not working when we open INAppBrowser in Android ICS tablet... <br /><br />Plz help meArjunhttps://www.blogger.com/profile/07701724925680155932noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-59516938631951972042013-02-27T17:49:05.681-05:002013-02-27T17:49:05.681-05:00Hello Simon,
I am using cordova 2.4.0. I am tryin...Hello Simon,<br /><br />I am using cordova 2.4.0. I am trying open pdf/ppt/doc files that are stored in my Android phone filesystem through a phonegap application using the InAppBrowser, but no success there. Is it actually possible to do it this way?<br /><br />The code line I use for this is:<br /><br />window.open('file:///mnt/sdcard/file.pdf','_blank','location=yes');<br /><br />Any suggestions of how to do this?<br />Thank you in advance.<br /><br />BR,<br />Gjoko Anonymoushttps://www.blogger.com/profile/10458301993474188386noreply@blogger.com