webview

Android WebView shows a blank page

Trying to create a WebView but it only shows a blank/white page. I have followed several examples and they all say that work with this code... Here is my code: import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public class PostenWebView extends Activity { public void onCreate(Bundle savedInstan...

Is it possible to pull a webpage or content from the web into a widget on the android home screen

Hi there. I have a php web page that will randomize an image that is 158x154. I was able to get the android application to work, but would also like to get it to work as a widget. How the heck can I get a widget to pull information from the net? I got the widget to work and layout correctly with a black sample image. I have tried to...

Is it OK , from a product perspective, to write an iPhone app completely in WebView?

This just saves time. Since I already have a web applciation. I can just stick it inside a webview. The question is: Does it turn off many users? How many users will be disgusted that the entire iPhone app is written in WebView? ...

UIWebView(DataDetectorsCore) Crash only in Simulator.

Hi Guys. I found a crash only in iphone simulator while loading the webpage but not in iphone,and i am not able to find the reason of the crash in my app. Here i am attached the crash log. Can any one please suggesting the fix regarding these crash. Process: Matador [28671] Path: /Users/chethan/Library/Application ...

How can I use back button while loading a page in an Android WebView?

I have a link in my application that triggers a webview to open from webview.loadUrl(...). Sometimes it's takes quite a while to load the page, and in these cases I want to be able to use the built in back button on the phone to cancel the loading and go back to my application. How do I do this? Is there some way I can listen to the ...

open mp3 or apk file from webview

Hi guys, I would like to know how I can open a Mp3 file from within a webview, basically a link that points to an MP3 file which would then open up the standard media player. Is this possible? I know it is because it works on the default webbrowser so I was wondering why I can't get it to work on a standard webview. Any help would be mu...

Get a QWidget to take up the entire QMainWindow

I have a class that inherits QMainWindow and I just want it to have a webview widget and nothing else, so here's what I tried doing for constructor: MyWindow::MyWindow(QWidget *parent) : QMainWindow(parent) { this->_webView = new QWebView(this); this->setCentralWidget(this->_webView); } This didnt work do I have to use some k...

Stop Images from loading in UIWebView

I have a website that I wish to load in a UIWebView, but it is full of images and takes ages to load. The images are useless, and only serve to reduce the usability on the iPhone. I dont own the website so I cannot change the site's actual code. The webpage is heavily linked in to the web with ASP.NET and AJAX (needs external files), so...

Can I make the webview take only a port of the screen?

I am trying to make a webview to open on the bottom of the application to display little information but it keeps taking the whole screen and covering other widgets with information. Is there a way to make it have a certain size and place on the application? ...

@Android display /res/viewable in WebView

I am throwing HTML to a webview to render. In the HTML I need to load an image that I have in /res/drawable. I have /res/drawable/my_image.png and code such as this: final WebView browser = (WebView) findViewById(R.id.my_webview); String html = new MyHelper(myObject).getHtml(); browser.loadDataWithBaseURL("", html, "text/html", "UTF-8"...

problem in display image with loadDataWithBaseURL() in Android

Hi. In my Application, I display data in webview but it can't display the images in the webview. I used loadDatawithBaseURL() method. This is my code.. webview.loadDataWithBaseURL("file:///059600656X/", data, "text/html", "UTF-8", "about:blank"); // here data is a string object which contain html parsing data. I think it cant find ...

Replicate behavior of Android browser

Hi all, I am writing for Android, and I can't figure out how to replicate the effect of the Android browser where the progress bar is at the top of the screen, with the webview below it, yet when you scroll down, the bar scrolls with the page. I've tried placing both the webview and the progress bar into a scrollview, but when I do th...

Need help with android WebView

Hello, I am new to Android and java development. I create a WebView object in the OnCreate function. Now I need to be able to pass this same object to other functions in the code, such as the onOptionsItemSelected function. I currently have it where I just create a new WebView object in each function where I need it, but this slows down ...

JQTouch android webView configuration

I'm developing an application which is mainly a webview and will display a JQTouch UI. Two of the 3 views work just fine, however, I have a view which loads another page with a form which does not work at all. This view loads up just fine but when I click the link to go to the form the link just stays highlighted and nothing happens. ...

How to put overlay NSImageView and keep it at the top of a WebView?

How to put overlay view (NSImageView) and keep it at the top in front of a WebView ( which runs core animation or )? Standard ordering in interface builder does not help.. imageview is shown in front of the webview but when i load the contents of webview with a tag or only just an html opacity animation, suddently webview takeovers t...

How to resize WebView according to its content?

Hi all, I want to set simple html contents within a web view and then resize it according to its content. To set simple html contents within web view I used this code and it is working fine: [[myWebView mainFrame] loadHTMLString:webViewContents baseURL:baseURLFramed]; Right now, if content is more than its actual size then it appear...

can we purchase book via paypal mobile checkout from within iphone application ?

in connection to one iphone project i need to ask that if i purchase ebooks from webview of iPhone (from with in application) application using paypal mobile check out of paypal () then Apple will approve this app or not ? do you know any on this by any statement from apple or by personal experience or so ? please suggest, i am stuck ...

Trouble using Titanium's webview to fire an API event

I'm trying to fire an event from an external HTML page opened inside of Titanium's webview. app.js file... var group, now, tab, view, window; now = new Date(); view = Titanium.UI.createWebView({url: 'http://MYWEBSITE.com/index.htm?time=' + now.getTime()}); window = Titanium.UI.createWindow({tabBarHidden: true, navBarHidden: true}); w...

How to use Web-View as page by page while scrolling or Flinging/swiping?

Hi, I want to convert an .docx/.doc file to html and displaying in emulator with help of Web- view. But i am displaying entire data into webview as Single page(we need to scroll many times). So, i want to match the content of .docx file with webview as pages or put some buttons or gestures to get next page.But i unable to display text as...

WebView inside Tab hiding the tabWidgets

I'm having trouble with a WebView always filling the full screen and thus covering my tabs. Here is my code for the tabhost.. public class tabNZBMobile extends TabActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); Resources re...