Hello,
Is there a way to programatically tell a WebView that certain links have
been visited, and thus should be displayed using dark blue instead of bright
blue?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I found that the preferences XML will break very easily if you store some
Strings containing 'special' characters. I am not sure what exactly those
are, but when I stored things like
putString(someurl, http://xyz/?a=bc=d;)
the preference file becomes empty next time I try to open it.
My
.
On Apr 23, 7:09 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
wrote:
I found that the preferences XML will break very easily if you store some
Strings containing 'special' characters. I am not sure what exactly those
are, but when I stored things like
putString(someurl, http
Have you tried dumping the String that you sent to the WebView into a file?
Try loading that on desktop mozilla. If you still see problems there that
would mean your extraction code definitely has bugs.
On Sat, Apr 18, 2009 at 11:18 PM, Evgeny V evgen...@gmail.com wrote:
Thank you very much for
What error do you see?
On Fri, Apr 17, 2009 at 12:28 PM, EvgenyV evgen...@gmail.com wrote:
Hi all!
I'm trying to get PayPal web page with requested donation parameters.
It works within IE or Firefox.
Can anyone advise whether I'm running some wrong code?
Layout main.xml:
If you're missing images, etc, you should call loadDataWithBaseURL().
On Fri, Apr 17, 2009 at 1:13 PM, Evgeny V evgen...@gmail.com wrote:
I just tried following code. For some reason simple request don't work when
I'm calling loadData. But loadURL( ) is OK
private void ZZZ()
{
How long is your list? And how often does the list items themselves change?
Instead of reformatting the same numbers again and again every time the list
is repainted, how about formatting them once into a list of Strings, and
reuse these strings?
On Tue, Apr 14, 2009 at 2:29 PM, DavidG
I think the margin is probably implemented in C code inside WebKit. I looked
at this in the past as well and couldn't find any Java options to configure
the margins.
What do you mean by accuracy? Do you mean finding the exact position of your
HTML objects inside the WebView?
On Mon, Apr 13, 2009
Not that I do this intentionally :-)
Usually people give ratings only after they use your app. Now, after running
the app, giving ratings is a hassle. The user needs to go into Market, find
your app, and rate it.
But if you push a new update, those users who like your app enough will
You need to do this:
a href=javascript:window.jsinterface.mymethod('parameter') xxx /a
In Java code:
intf = new Object {
public void mymethod(String param) {
}
}
myWebView.addJavascriptInterface(intf , jsinterface);
On Mon, Apr 13, 2009 at 6:13 AM, Roy M
If you want the title most of the time, and only hide it temporarily, you
can use a PopupWindow.
On Mon, Apr 13, 2009 at 7:24 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:
Write your own title-bar.
It's a hassle, but this is a way to do it.
Create a View that looks like a title-bar
There is a hack to do what you want -- make your WebView into a width of 336
-- that way you will have extra 8 pixels on each side. Then, put in
somewhere off screen (use absolute layout), and get a drawing cache from it.
That way, you can use the drawing cache bitmap, and draw that onto the real
, you have the visible areas of the WebView to extend
exactly to where you want it.
On Mon, Apr 13, 2009 at 2:25 PM, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
There is a hack to do what you want -- make your WebView into a width of
336 -- that way you will have extra 8 pixels on each
official pre release, that is :-)
On Mon, Apr 13, 2009 at 6:18 PM, Eric Wong (hdmp4.com) ericwon...@gmail.com
wrote:
Official SDK 1.5 is OUT NOW.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android
Do you have a real phone? If so, have you tried installing a video player
app (from the Market) and play your videos?
If you only have emulator, then probably it won't work. I had a video that
worked fine in a real G1 phone, but shows up as black in the emulator, and
the sound only played for a
Did you try on SDK/emulator, or on real HTC G1? As far as I have tried, I
never got video to work on the emulator.
On Thu, Apr 9, 2009 at 9:34 PM, Nithin Varamballi nithi...@gmail.comwrote:
Thank you sir.. Can you know how live video streaming can be done... I
tried demo
sample But i give
I tried the 'unofficial' cupcake SDK and found that the hardware HOME button
doesn't bring me back to the home screen anymore. Is this a conscious UI
decision? What's the reason behind it?
Also, long-press on the HOME button doesn't bring up the task manager
anymore.
So, if I am in the browser,
it is not
actually a working SDK. If you really want to play around with it, please
don't assume that any random thing you happen to experience is actually
correct. :}
On Fri, Apr 10, 2009 at 12:24 PM, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
I tried the 'unofficial' cupcake SDK
to experience is actually
correct. :}
On Fri, Apr 10, 2009 at 12:24 PM, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
I tried the 'unofficial' cupcake SDK and found that the hardware HOME
button doesn't bring me back to the home screen anymore. Is this a
conscious
UI decision? What's
I don't have an answer :-(
but for a time my sdcard refuse to mount rw, so all the RSS apps that I run
which need to write into sdcard will fail to start.
However, the sdcard can be happily written into by Windows (via USB). This
is the first instance that I ever observe that Windows is superior
Even a beta SDK would be helpful. There are lots of app developers who
don't necessarily know how to build cupcake from the GIT. Given that HTC
Magic (based on cupcake, I heard) is rolling out real soon now, wouldn't it
be nice to give the app developers a chance to test if their app is
compatible
Limited, it's associates, or it's
subsidiaries.
--
*From:* android-developers@googlegroups.com [mailto:
android-develop...@googlegroups.com] *On Behalf Of *Mattaku Betsujin
*Sent:* 09 April 2009 19:22
*To:* android-developers@googlegroups.com
*Subject:* [android
I think the answer is no. If java JavaScript calls Java, and the Java method
throws an uncaught exception, it kills the app process.
Your best bet is to put a try-catch block around every Java method that can
be called by Javascript.
Just curious. What kind of exception are you expecting? I have
I know I can specify an e-mail address using the Intent to invoke gmail. But
how do I give it the initial content (and allow the user to edit the content
if desired)?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
This doesn't make any sense, though. If you're inside in.read(), you should
be sleeping, waiting for the network transfer to complete. So the WebKit
thread *should* have some time to process your loadUrl() requests .
On Mon, Apr 6, 2009 at 1:21 PM, j jac...@gmail.com wrote:
Mark,
I have
I am seeing an annoying bug in WebView on the G1.
I have a WebView that displays an HTML page. When the user clicks on a link,
the link's text is highlighted.
At this point, I call WebView.clearView(), and then
WebView.loadDataWithBaseURL() to load the URL that the user has just clicked
on.
I think you can make the situation a lot better for yourself by
accepting that people generally suck.
There are lots of free loaders who don't want to pay for anything. And there
are lots of people with lots of free time creating free apps, thus
reinforcing the mentality of the free loaders.
What about only limiting to open-source apps?
On Thu, Mar 19, 2009 at 3:58 PM, Ivan Soto ivanso...@gmail.com wrote:
If my application sells for like $.99 and the top seller is selling around
600 to 1000 a month, a lot of developer would be spending $1500 just to make
themselves to the top.
There are a few RSS readers on the Market. You can search under the
Apps/News category:
http://www.cyrket.com/search?t=1c=NEWSs=1
One problem with the generic RSS apps is they can display the text/images
in the RSS feed XML file itself, which is all great. However, many RSS feeds
only have a
I want to do a google search, so I open an HttpURLConnection() to
www.google.com. However, I am getting an error:
url = http://www.google.com/search?q=123
java.io.FileNotFoundException: http://www.google.com/search?q=123
at
the request headers
Map map = http.getRequestProperties();
System.out.println(map);
It shows an empty collection.
What's happening? Does Google really doesn't want me to search? Please, I
beg you, let me search
On Fri, Mar 6, 2009 at 12:06 AM, Mattaku Betsujin
mattaku.betsu
I am getting user feedback for my app closes a lot on HTC magic, one star
Are there any HTC magics out there? Will it be able to get an SDK/emulator
for it?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
Hello,
Has anyone ported Apache C++ Standard Library (STDCXX) onto Android?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello,
Is there a way to launch an activity from the web page? Like a
href=dialer:123456Call me /a?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
Hello,
Is there a way to launch an activity from the web page? Like a
href=dialer:123456Call me /a?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
I just add a logging function to my JavaScript interface object. Something
like
class JSInterface {
public void trace(String s) {System.out.println(s);}
}
Using this allowed me to develop and debug more than 3000 lines of
JavaScript in my app.
On Wed, Mar 4, 2009 at 10:18 AM, Miguel Paraz
, Miguel Paraz mpa...@gmail.com wrote:
Hi,
On Mar 5, 5:23 am, Mattaku Betsujin mattaku.betsu...@gmail.com
wrote:
I just add a logging function to my JavaScript interface object.
Something
like
class JSInterface {
public void trace(String s) {System.out.println(s);}
}
Using
Have you looked into android.webkit.CookieManager?
On Wed, Mar 4, 2009 at 2:02 PM, Derek cram.de...@gmail.com wrote:
Yes, that's I did in the code I've posted before. I don't see the
difference ?
Could this issue come from Cookie management in WebView ? Is there any
option to make sure
I have updated my app about 10 times and I've never run into any problem.
Could you send the error messages when the app fails to run after update?
I'd like to know what the issues are and want to avoid them :-)
Thanks
On Thu, Feb 26, 2009 at 11:59 AM, sagesmith sagesm...@gmail.com wrote:
I
?
On Wed, Feb 18, 2009 at 10:01 AM, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
Hello Google
I want to put up a button on my app for people to donate to my favorite
charity. I could redirect it to a web page, but it will be really easy it
people can just one-click and say donate $5.00
Google, please tell me this is a big foul up. Today my phone number appeared
in the Market listing of my app, and my answering machine is full of
messages by people saying how much they like my app.
I though the phone number will never be listed. How dare you!
, Jean-Baptiste Queru j...@android.comwrote:
http://groups.google.com/group/android-discuss/browse_thread/thread/e3772a897dbb0080/ff4eca3dca2fc7de#ff4eca3dca2fc7de
JBQ
On Fri, Feb 27, 2009 at 4:59 PM, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
Google, please tell me this is a big foul
the thread JBQ has pointed you at. It shows how to remove your
'phone number, and tells you why it's being shown.
Al.
Mattaku Betsujin wrote:
Please take remove the number for ALL apps NOW!
Who in their right mind would think of providing phone tech support
for a .99 app
Download the Android source code and search for *.png. You will find tons of
images.
On Fri, Feb 27, 2009 at 7:57 PM, Edward Falk ed.f...@gmail.com wrote:
From: Anil anil.r...@gmail.com
for example: for error dialogs, confirm dialogs, progress...
I looked in the res/drawable in the
the application profile and entered a number they
wanted to be used and those who uploaded their app, published it, didn't
check the details, and hence have their number on show?
Al.
Mattaku Betsujin wrote:
I have read his thread and changed my number to that of Paris Hilton.
So if anyone wants
It seems like the Market's rating system usings floor() instead of round(),
so if you get 1000 FIVE-STAR ratings, and one FOUR-STAR, your app will be
4.5 star.
Does this feel kind of silly?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I think the best solution to handle very large bitmaps is to be able to
decode only a small chunk of the bitmap at a time and process it.
Does anyone know if the existing Android API can support this?
If not, probably one solution is to write a smart decoder (in Java, so slow
:-( ) that can
I wonder about that too. If I purchased an app, and then delete it due to
lack of space, I suppose I can come back later and reinstall it for free.
But if the publisher pulls the app, I will be out of luck?
Now I want my $.99 back!
On Thu, Feb 26, 2009 at 1:19 PM, Stoyan Damov
are using (or post the code somewhere), that would be very
helpful.
Thanks
Jay
On Feb 18, 8:57 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
wrote:
I have two APK files. One in com.foo.appfull package, the other in
com.foo.applite package.
On Wed, Feb 18, 2009 at 4:36 PM, jarkman jark
This is great! I made a good choice to make my app not only copy-protection
free, but also open source :-)
On Mon, Feb 23, 2009 at 12:35 PM, Mads Kristiansen
mads.kristian...@nullwire.com wrote:
Somehow I'm glad I can't offer paid apps. Thanks for sorting out all the
quirks, guys.. Really
I tried to give my app a little boost, and gave it 5 stars on my phone.
Strangely, I cannot see my own comment, even on cyrket.
http://www.cyrket.com/package/com.nubinews.fullreader
Does Google use some sort of psychic sensing to filter out comments by the
app's writer?
Hello Google
I want to put up a button on my app for people to donate to my favorite
charity. I could redirect it to a web page, but it will be really easy it
people can just one-click and say donate $5.00 to the Church of
Nonflammable Hell through Google checkout than pulling out their credit
I though about this:
Name your apps FooBar2009, FooBar2010, etc
After Dec 31, 2009, FooBar2009 will stop working (you need to put a
time-check in your app). Instead, it will put up a dialog for the user to
install FooBar2010.
If you sign the two apps with the same signature, the new app can
Hi Mariano,
Not directly related to your question, but how do you use regexp? Do you use
the Java API?
I am doing a hobby project that's similar to your app. I use regexp to strip
all the ads from web pages and reformat them for better display. I actually
use a WebView to run the regexp using
What I did was:
Put most of the functionality in a single package, say: com.foo.appcore
Then, each version of the app will be in a different package
com.foo.applite
com.foo.appfull
In development, I put the full version in Eclipse (i.e., appcore and
appfull), so it's easy to build and debug
18, 9:36 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
wrote:
What I did was:
Put most of the functionality in a single package, say: com.foo.appcore
Then, each version of the app will be in a different package
com.foo.applite
com.foo.appfull
In development, I put the full
in the future.
I use Matcher.find() to iterate over the html/stylesheet file.
Unfortunately this can lead to 100% CPU indefinitely
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4771934).
Cheers,
Mariano
On Wed, Feb 18, 2009 at 10:18 PM, Mattaku Betsujin
mattaku.betsu...@gmail.com
on the G1.
On Wed, Feb 18, 2009 at 9:11 PM, Tim Bray timb...@gmail.com wrote:
On Wed, Feb 18, 2009 at 7:56 PM, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
I am not sure how Java's regexp is implemented. If it's implemented in
Java code, that would be quite slow.
I'm not sure which java
I found out that under certain conditions (slow T-Mobile EDGE network), if I
have thread A blocked on an HttpUrlConnection.connect(), and I try to call
HttpUrlConnection.disconnect() in thread B, thread A still gets blocked and
doesn't return.
Has anyone seen this problem?
Hello,
I have two activities in two different packages: com.foo.a and com.foo.b. Is
it possible to create an PreferenceActivity (with the exact same XML file)
so that the preference is shared across the two activies?
Thanks
--~--~-~--~~~---~--~~
You received this
How about charging for the apps using a service model
You could name you apps like
com.foobar.theapp2009q1
com.foobar.theapp2009q2
com.foobar.theapp2009q3 com.foobar.theapp2009q4
When version X expires, the app can launch an Intent to point the user to
the newer version. This way it should be
a CA, the system and user will never know the difference.
On Tue, Feb 10, 2009 at 4:53 PM, Mattaku Betsujin
mattaku.betsu...@gmail.com wrote:
Hi,
If I go cheap and don't pay the $xx or so for a real VerifySign
certificate, and just use a self-signed certificate to sign my app
for app licenses.
On Feb 12, 12:36 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
wrote:
How about charging for the apps using a service model
You could name you apps like
com.foobar.theapp2009q1
com.foobar.theapp2009q2
com.foobar.theapp2009q3 com.foobar.theapp2009q4
When
What will be good is to have some high-level protocol sniffing as well,
built-into the SDK. I am sure most people want to sniff their HTTP traffic,
and have no idea how to use a low-level tool such as WireShark.
On Thu, Feb 12, 2009 at 2:53 PM, David Turner di...@android.com wrote:
not
The problem is you're trying to serialize an inner class of
SerialisiereAndroidActivity, which is not Serializable.
To fix this, you can declar the inner class as
public static class Serialisiere implements
^^^
- Mattaku
On Tue, Feb 10, 2009 at 11:56 AM, dlawogus...@gmail.com
Hi,
If I go cheap and don't pay the $xx or so for a real VerifySign certificate,
and just use a self-signed certificate to sign my app, will it appear as a
second-class citizen on the Android Market?
Specially, will the user get a prompt like this app is signed by a possibly
untrustyworthy
Will there be a way for a paid app to be forward-locked, so that it cannot
be installed on other people's phones?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
67 matches
Mail list logo