Heh... it seems suspicious to me. I didn't even click the link.
Although, if this is a fishing attempt, it starts out as a very good
one.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Heh... wow... this is complicated. In regular HTML, I can open a new
window with _blank With the WebView, it's a little bit harder! :)
I think that's what bothers me. I think that the WebView should
respect the hyperlink targets, or at least have an option to be set
such... like a webSetting.
I don't think that's right. I'm not trying to do anything crazy here,
just enable a pretty basic HTML function - open a new window.
It goes back to this line...
webview.setWebViewClient(new WebViewClientDemo());
If that line is not there, EVERY link opens in a new window...
including ones on
OK... first... a correction in my previous post.
every link opens in a new window ...the word external should have
been added. Local files can work great. My problem is that I'm trying
to create exceptions. I have to do this to make my advertisers happy.
So OK... I have a fix... it's ugly...
I don't trust your solution.
Heh... I didn't trust it at first either, but I've been playing around
with it today. It seems OK. It also seems similiar to what you
suggested... using an if/else after shouldOverrideUrlLoading. I tried
to understand what you and Mark Murphy posted about Intents
So basically, the Intent line is supposed to replace the line I put in
there. Yet, when I try it, I get lots of angry red squiggily lines in
Eclipse. Heh, I did try the code before, but it didn't work for me.
It's hard to understand the proper formatting on this bulletin board.
There are
OK... so I looked at your posts again. and I looked at the nice page
again. I was able to get rid of the red squiggily lines. The code
looks like this...
mWebView.loadUrl(http://photics.com/games/conquest;);
mWebView.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
that a regular PC browser would do.
I like PHP/MYSQL on the server side and HTML run through the WebView.
I launched Photics: Conquest by using this technology... a text based
multiplayer game.
--~--~-~--~~~---~--~~
You received this message because you
For mobile, a 320x480 screen, why are the images so large?
Perhaps you can optimize your graphics? PNG is a lossless format...
great quality and transparany support... but do you need that?
I don't know what you're developing for, but would another format work
better?
JPEG - smaller file size,
I like this tutorial...
http://developer.android.com/guide/tutorials/views/hello-webview.html
...but it doesn't explain how to handle new windows.
It says, What we've done is create a WebViewClient that will load any
URL selected in our WebView in the same WebView.
...but what if you don't
I tried, but I couldn't get it to work.
mWebView.loadUrl(http://photics.com/games/conquest;);
mWebView.getSettings().setCacheMode
(WebSettings.LOAD_NO_CACHE);
mWebView.setWebViewClient(new WebViewClient() {
public boolean shouldOverrideUrlLoading(WebView
Hi,
This story has a happy ending... somewhat :-)
So, my Google AdSense account was reactivated. Although, my previous
earnings were eliminated as invalid clicks. I received an email
explaining the situation. Apparantly, AdSense for Content and Android
Apps are not supposed to mix. How was I
I've been considering AdMob for mobile advertisements. I'm waiting to
hear back from Google. I figure that I can wait a few more days. If my
AdSense account is reactivated, I then plan to sign up for the AdSense
Mobile Beta. It seems better to use that than regular AdSense, but I
don't think it
account. I don't
feel that they properly explained why and they didn't want to pay me.
I appealed, and I was willing to work with Google to make things
better, but I was denied and told not to email AdSense again.
This is wrong and it makes me an unhappy Android developer. My apps,
Photics: Revisions
Hello Romain,
Your response is encouraging. I'm working on a new app and I'm trying
to fight the discouraging feeling. Android is lots of fun to work
with, but I'm still annoyed at how the AdSense issue was handled.
Would I get burned again by Google if I continued work on Android?
Seeing the
Hi Mark,
This happened in March / April of 2009. I'm not sure if the mobile ads
were ready yet. I'm thinking that I wouldn't be able to use them now.
Should I apply for the beta if my AdSense account has been closed?
(I'm thinking that the answer is no.)
I'm not sure mobile apps would work for
16 matches
Mail list logo