So I get a message from google saying that I need to update the
content rating on my apps because otherwise they will default to
mature. So fine, pull up the developer console, check "All", hit
save. "High resolution icon required". Really now? Is it? Haven't
touched my icons in like a year -
t; there)...free for 1 month...
>
> On Apr 1, 1:30 pm, joshv wrote:
>
>
>
> > So as part of the Google device seeding program I recently recieved my
> > free Droid. Great phone, and it appears to have wireless and data
> > service. I've done nothing to activat
So as part of the Google device seeding program I recently recieved my
free Droid. Great phone, and it appears to have wireless and data
service. I've done nothing to activate it and I can make calls and
surf the web over 3G.
My question is, who's paying for it? I tried to activate the phone in
Interesting issue. I can see the need to make this configurable
though. In some cases it would be nice to make sure that these
background tasks do not run concurrently as concurrency issues can
result.
For example, I might have a URL fetch tied to a user interface
button. When the URL returns,
Yeah, I am lucky to go a full day on one charge. 90 minutes of web
surfing (on the bus to and from work) will easily kill an entire
charge. If I just leave the thing in standby, with wi-fi off, it
might last 2 days.
On Dec 19, 10:57 am, Vladimir Kelman wrote:
> Hi! For how long do your Android
Use loadDateWithBaseURL - pass it a dummy base URL.
On Dec 19, 7:43 am, "Inderjeet Singh" wrote:
> The following code snippet produces a weird browser error (Web page not
> available) on WebView:
>
> String message = "Show Percent: 38% ";
> WebView mWebView = (WebView) activity.findViewB
ew. You may or may not use it.
>
> I don't know what google dudes were smoking but I would like to know
> where they get the good stuff.
>
> On Dec 18, 10:37 am, joshv wrote:
>
> > In my adapter code I take the convertView supplied, if not null, and
> > then a
In my adapter code I only ever return a single type of view from
getView(). This view always has a field with an id of R.id.name.
A non-zero percentage of the time I am given a convertView in the
parameters passed to getView() and the code:
convertView.findViewById(R.id.name)
will return null.
In my adapter code I take the convertView supplied, if not null, and
then attempt to do a findViewById for a field I know should be in the
view. If it's there, I use the view, if it's not, I recreate the view
from scratch.
On Dec 18, 8:45 am, loty wrote:
> I have a question about getView method
I've posted this question to the Market technical support forum and
received no answer, so I will try here.
Does anyone know what metrics are used to determine an application's
popularity in the Android Market?
It does not appear to involve just the number of ratings, the download
count, or the
I do not believe there is any way to share code via an apk
deployment. Each application is an island, and can use only the
system libraries, and the code shipped in its own apk.
On Dec 16, 12:28 pm, Mark wrote:
> If I am interested in creating custom views, services, and utilities
> that would
Basically if you are interested in long term persistent state, ignore
the Bundle passed in onCreate - I don't pretend to understand the
reasons for why it is or is not null - perhaps they make sense to the
framework designers, but whatever the rationale, it doesn't make much
sense to store any sta
f generated certificate valid until 2033? If you use the
> default, it will only have a validity of 180 days, use -validity 1
> when generating your cert. Just something to check. Maybe try
> generating a new cert.
>
> M
>
> On Dec 14, 10:46 pm, joshv w
I'd like a way of just being able to say "my app doesn't work at
anything less than X resolution". I've tested with QVGA and honestly
it's just not worth the effort to recode my apps to work well with
half of the screen resolution. It's possible, but the end result
wouldn't be something I'd cons
I am currently researching the way to do this "right" and find the
response below a bit interesting. It would seem that any and all long
lived background services are being heavily discouraged.
What I want to do is periodically check url that returns data. If the
change in data between one requ
perfectly. jarsigner -verify reported this file as signed, but
something about it killed the PackageParser.
Could this be related to this bug?
http://code.google.com/p/android/issues/detail?id=830
-josh
On Dec 15, 12:46 am, joshv wrote:
> I am becoming somewhat terrified of uploading upgrades to
I am becoming somewhat terrified of uploading upgrades to my market
apps, because it always seems to break something.
This time around, I followed the exact same process as I always do,
export the unsigned jar, sign it, verify that its signed with
jarsigner -verify and then upload it as an upgrad
It appears to be back up. I republished and all my ratings and
comments are back in the store. The developer console though shows no
ratings/downloads... Hopefully it catches up.
On Dec 3, 2:51 am, sam <[EMAIL PROTECTED]> wrote:
> It just fixed.
--~--~-~--~~~---~--~
g your app. Right?
>
> On 12/02/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > This is starting to annnoy me. I didnt spend all day coding bug fixes
> > etc to lose my app and not be able to upload a new version.
>
> > On Dec 2, 11:59
Same thing happened to me. I still have the original app id entry in
the developer console, but all of the ratings are gone, I can't
publish it, and it's not in the store any longer. All I tried to do
was upload a newer version with a new icon. Let's hope somebody will
restore my app.
On Dec 2
Make sure "stay awake" in the Application | Development menu settings
is enabled - if I don't have that enabled, adb will regularly crash
when the phone goes to sleep. Sometimes unplugging the phone's USB
cord and plugging it back in will help, but sometimes I've found that
periodically the windo
I did not mean to imply that the termination process called onPause()
- merely that I can safely assume that onPause will be called previous
to process termination - except as you note, in exceptional
circumstances (note that a phone shutdown appears to be one of these
exceptional circumstances).
Ok, then SharePreferences should be ok in multi-threaded applications.
Regarding process death and preferences, I thought the same thing so I
scaled back my persistence code to only save preferences in an onPause
(). It was my understanding that even when a task is killed, the
onPause is called
What exactly do the docs mean when they say 'multiple processes'. Do
they mean different threads in the same application? Or do they mean
for example a background service accessing a shared preference file at
the same time a foreground process is accessing the same shared
preference file?
I am
Can't the calling Activity pass a reference to itself?
On Nov 30, 2:10 pm, Peter Jeffe <[EMAIL PROTECTED]> wrote:
> I can't find any way to determine my current context, I'm hoping I'm
> just missing it, but maybe I'm missing something about contexts. I
> have a singleton object that maintains a
Xavier, I think the point is to have something that works even when
data networks are not available. Google Maps won't work without a
data network.
-josh
On Nov 30, 3:55 pm, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
> But there is also Google Maps on the phones!
>
> Xavier A. Mathews
> Studen
StringWriter writer = new StringWriter();
> for (int c = reader.read(); c >= 0; c = reader.read())
> writer.write(c);
> view.setText(writer.toString());
> } catch (IOException e) {
> Log.e("test", "connection test failed", e);
> } finall
of the underlying
> communications stack (emulator vs. the real thing).
>
> On Nov 25, 5:43 am, joshv <[EMAIL PROTECTED]> wrote:
>
> > I can disclose the URL, it's publicly available and always up - yahoo
> > finance csv stock price download. For
> > exampl
I can disclose the URL, it's publicly available and always up - yahoo
finance csv stock price download. For example:
http://finance.yahoo.com/d/quotes.csv?s=GOOG+T&f=sl1c1p2
It doesn't get much more highly available than this. I could test
other URLs, but as I have mentionned before, the exact
eout
> (int). I've been experimenting with 4s to 8s.
>
> These strategies helped stabilize the action. I am under the
> impression that the data network/TCP stack connectivity gets confused
> if you try to connect at inopportune times (no data network
> connectivity) or while a connec
Proxied via t-mobile even when I am using my own wi-fi network?
On Nov 24, 3:29 pm, "Tom Gibara" <[EMAIL PROTECTED]> wrote:
> From the phone, connections will almost certainly be proxied by T-mobile.
> Perhaps it's the interaction between your server and the proxies that is at
> the root of your
to be expected, but other than that it never errors out in the
emulator. If it worked this well on the actually phone I'd be
perfectly happy.
-josh
On Nov 24, 2:53 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> joshv wrote:
> > I am assuming that HTTPComponents just wraps the
ve written works marvelously in the emulator, and I have other
non-Android projects that use URLConnection, so I am not exactly sure
what's wrong.
On Nov 24, 2:10 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> joshv wrote:
> > That's why I am asking if I am doing something
pm, "Dorn Hetzel" <[EMAIL PROTECTED]> wrote:
> If you sniff the wire just past the wifi access point, how many
> requests/responses do you see during this time?
>
> On Mon, Nov 24, 2008 at 2:59 PM, joshv <[EMAIL PROTECTED]> wrote:
>
> > My issues is t
ns (like constantly striving to maintain a wifi connection) aren't an
> option.
>
> Perhaps a better perspective is to see the various data connections (wifi,
> GPRS, EDGE, 3G etc.) as fallible primitives which you can combine to form a
> more reliable transport suited to your appli
you're seeing on a device
> indeed. Such is the cost of making Android compatible with APIs that
> developers are likely to be familiar with.
>
> JBQ
>
> On Mon, Nov 24, 2008 at 8:51 AM, joshv <[EMAIL PROTECTED]> wrote:
>
> > The polling happens only while the
If your code is going to access a site every 10 seconds, the radio is
> going to, essentially, stay "on" continuously. This is going to have
> a significant impact on your users' battery life. Is this definitely
> what you want to do?
>
> On Mon, Nov 24, 2008 at 5
I am attempting to write an application that regularly polls data from
a publicly available website using a URLConnection. The code is
pretty basic (urlStr contains the URL...)
URL url = new URL(urlStr);
URLConnection urlConn = url.openConnection();
notifyDataSetChanged() will only work on the UI thread. In order to
do this, create a simple Runnable:
// adapter is a reference to your BaseAdapter or ListAdapter
private Runnable updateAdapter = new Runnable() {
@Override
public void run() {
I am not sure why they would need to contact you. They'd need to
merely obey the CDDL - which also requires you to provide the source
code to your modifications. Where can I find the modified source?
On Nov 14, 5:26 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Licence was update. Moved
Try putting the WebView in your layout, assigning it an appropriate
ID, and then in onCreate get a reference to it using:
setContentView(R.layout.webtest); //Or whatever the name of your
layout containing the webview is.
WebView wv = (WebView)findViewById(R.id.webViewID);
This works for me.
-j
I see this as well with my application (Touch Tip). The Android
Market is extremely buggy at the moment. It seems that not much
attention is being paid to it as it appears to be getting worse, not
better. One would think that this would be a little bit more
important to Google.
Android is is a
Use WebView.loadDataWithBaseURL.
On Nov 15, 11:07 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> My HTML file contains '%'. I was trying to use WebView to open it, but
> failed. I then replaced "%" with "\\%", it failed again. Any comments
> on this problem.
>
> Thanks
--~--~-~--~--
Use WebView.loadDataWithBaseURL, use "dummy" for the base URL if your
HTML is locally generated. WebView.loadData, for some bizarre reason,
munges the entire HTML document into a URL using the data: scheme.
The url encoded clobbers %'s and #'s.
On Nov 15, 1:29 pm, "[EMAIL PROTECTED]" <[EMAIL PRO
Actually I've found the following works well:
@Override
public boolean dispatchTouchEvent(MotionEvent ev){
gd.onTouchEvent(ev);
return super.dispatchTouchEvent(ev);
}
calling super.dispatchTouchEvent allows all of the other views to
receive their events.
For some reason,
45 matches
Mail list logo