I'm just started looking at developing apps. I have made some of the tutorials (HelloWorld), but when I try to make a WebView app following the tutorial for that it won't work. Each time I run the app on my phone I get the "Force Close". I use eclipse. I'm sorry that i cannot be more specific - but my point is that my knowledge doesn't go further than failing in a tutorial.
Because of me huge lack of knowledge about developing I would be grateful if anyone would like to help me developing an app for android phones, using webview to show www.lectio.dk.
Christian.
If you're specifying Android 2.3 as the Target Name, the WebView example won't work in the emulator. See http://code.google.com/p/android/issues/detail?id=12987. A workaround is to specify Android 2.2.
Related
This is really weird and I have no clue how to start fixing the problem.
Recently I developed an application using Nodejs, React and Redux.
Once finished I created .xap, .ipa and .apk files using PhoneGap building online service.
After published to every store (iOS, Google Play, Windows Market), everything worked just fine for Android and Apple versions of the app (.ipa and .apk).
But WindowsPhone app only shows a blank screen and then the PhoneGap logo (a cube with eyes).
Android and Apple versions work fine. But in the WindowsPhone version I don't even get to the main screen.
Any idea about how to start tackling this problem?
Have anyone experienced something similar?
Thanks in advance for any help!!
UPDATE:
It seems to be a known issue without solution from PhoneGap.
https://c.getsatisfaction.com/nitobi/topics/windows_8_mobile_blank_screen_on_load?topic-reply-list[settings][page]=1#topic-reply-list
The mobile navigation menu link items disappear or don't show when my website is viewed on a mobile phone. The theme is Tesseract responsive. This only seems to happen in android stock browser and only when google translate plugin is added. There is clearly a clash between the theme and google translate. I've tried to debug it but am getting cross-eyed. I really need the translation plugin to work. Any help would be appreciated. My website is at http://englishteacher.direct
The problem you are having is most likely due to the fact that the android web view is out dated and fragmented. Depending on the version of android and the device itself you will get tons of different problems in the android web view. For example I build hybrid mobile apps. We had to build in a third party web view in order for all of our apps to run the same on different android devices. As of now I am guessing the only way to fix this issue is to alert your users (if they are on a android device) not to use the stock android browser.
I have created an app with PhoneGap 2.0.0 for Android on Eclipse but when I try run the application either on an emulator or my phone(signed application with no errors) it only shows up the static html pages. When I go to a page where I have used iFrame to load another webpage into it, it simply crashes.
This is the screen I get on the emulator and the same message is displayed on my phone as well(SE Xperia X10)
Screenshot of Emulator with The error :
After showing the message the app crashes instantly. Please let me know if I need to add any other permissions or add other settings or make any changes for this to function because the iFrame functions properly outside Phonegap on browser(including phone/desktop browsers)
At least some versions of PhoneGap use an iframe to communicate with the native layer.
I'm most familiar with the iOS version, where there are definite bugs in the browser's support of iframes ( https://issues.apache.org/jira/browse/CB-593 ). I don't know if there is a similar system level issue on android, but there could easily be some part of your code that doesn't expect that second iframe to be there.
I have an Android application working with the latest version of Phonegap and Jquery Mobile. I haven't had any problems on Android 4.0.1 or below, but when I installed the app on Android 4.1, I got one issue. There is a section on the app where I have a XMLHttpRequest to load an external HTML. For some reason, on deviceready, the application gives me an alert telling me that the app cannot load the HTML. I don't know what's wrong. Any idea what's the problem? Why is it only happening on Jelly Bean?
#User1608382,
Like Simon said, show us your code.
If you don't want to show us all your code, just strip out as much of your code as possible, try it again to see if you can reproduce the issue, and give us that minimal test case that still has the problem. A number of us have actual 4.1.1 devices we can test on.
Does DeviceReady even give you access to logcat? Since the service is still by invitation-only, I couldn't immediately browse its documentation.
Also, go to the bug tracker at b.android.com and search for 4.1 webview
As you can see from those results, Android 4.1.x introduced a couple of problems for WebView, so hopefully your problem is listed in there already.
I am developing a mobile application in Flex in Adobe Flash buillder 4.6 that will run on Android and iOS.
I need a way to view PDF files stored in the application storage directory. Searched in several forums and none of the suggestions worked for me.
In iOS'm using a StageWebView but Android still have not found a working solution.
Can be used ANE or not.
It needs to work offline, so I can not use google docs as a proxy.
Any suggestions?
I solved as was mentioned earlier.
Continued using webview in iOS and a ANE made a call to the Android application registered to open PDF.
Sorry for delay in giving feedback.
Thans for all