[android-developers] High resolution icon require to make my app not Mature - What the heck?

2010-12-11 Thread joshv
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 - and

[android-developers] Got my free DROID, who's paying for service?

2010-04-01 Thread joshv
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

[android-developers] Re: Got my free DROID, who's paying for service?

2010-04-01 Thread joshv
it was there)...free for 1 month... On Apr 1, 1:30 pm, joshv jvanderb...@gmail.com 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 activate it and I can make calls

[android-developers] Re: concurrency of AsyncTasks

2009-06-27 Thread joshv
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

[android-developers] Re: Android Dev Phone Battery life

2008-12-29 Thread joshv
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 vkel...@gmail.com wrote: Hi! For how

[android-developers] Re: % character not displayed correctly by WebView?

2008-12-19 Thread joshv
Use loadDateWithBaseURL - pass it a dummy base URL. On Dec 19, 7:43 am, Inderjeet Singh inder...@gmail.com wrote: The following code snippet produces a weird browser error (Web page not available) on WebView:     String message = htmlbodyShow Percent: 38% /body/html;     WebView mWebView =

[android-developers] What determines Android Market popularity ranking

2008-12-18 Thread joshv
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

[android-developers] Re: BaseAdapter getView question

2008-12-18 Thread joshv
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

[android-developers] Re: BaseAdapter getView question

2008-12-18 Thread joshv
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 jvanderb...@gmail.com wrote: 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

[android-developers] Re: Creating reusable components for use across multiple packages

2008-12-17 Thread joshv
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 mark.nuetzm...@gmail.com wrote: If I am interested in creating custom views, services, and

[android-developers] Re: Keeping a Service Alive

2008-12-15 Thread joshv
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

[android-developers] Re: Whose supporting VGA/QVGA at the moment?

2008-12-15 Thread joshv
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

[android-developers] Re: Installation unsuccessful - Package file was not signed correctly

2008-12-15 Thread joshv
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 jvanderb...@gmail.com wrote: I

[android-developers] Installation unsuccessful - Package file was not signed correctly

2008-12-14 Thread joshv
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

[android-developers] Re: Installation unsuccessful - Package file was not signed correctly

2008-12-14 Thread joshv
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 jvanderb...@gmail.com wrote: I am becoming somewhat terrified

[android-developers] Re: market problem

2008-12-03 Thread joshv
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.

[android-developers] Re: market problem

2008-12-02 Thread joshv
: 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 pm, joshv [EMAIL PROTECTED] wrote: Same thing happened to me.  I still have the original app id entry in the developer console, but all

[android-developers] Re: SharedPreferences problem

2008-12-01 Thread joshv
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

[android-developers] Re: SharedPreferences problem

2008-12-01 Thread joshv
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).

[android-developers] Re: G1 detected as 'offline' by Eclipse plugin

2008-12-01 Thread joshv
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

[android-developers] Re: How about making an internet-less GPS system?

2008-11-30 Thread joshv
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

[android-developers] Re: call to determine current context?

2008-11-30 Thread joshv
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

[android-developers] Re: SharedPreferences problem

2008-11-30 Thread joshv
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

[android-developers] Re: Flaky network connections

2008-11-25 Thread joshv
at inopportune times (no data network connectivity) or while a connect/read is timing out, and then throw additional connection attempts at it. Hope this helps. On Nov 24, 5:17 am, joshv [EMAIL PROTECTED] wrote: I am attempting to write an application that regularly polls data from a publicly

[android-developers] Re: Flaky network connections

2008-11-25 Thread joshv
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+Tf=sl1c1p2 It doesn't get much more highly available than this. I could test other URLs, but as I have mentionned before, the exact

[android-developers] Re: Flaky network connections

2008-11-25 Thread joshv
: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 example:http://finance.yahoo.com/d/quotes.csv?s=GOOG+Tf=sl1c1p2 It doesn't get much more highly available than this.  I could test other URLs

[android-developers] Re: Flaky network connections

2008-11-25 Thread joshv
);         view.setText(writer.toString());     } catch (IOException e) {      Log.e(test, connection test failed, e);     } finally {      if (conn != null) conn.disconnect();     } } 2008/11/25 joshv [EMAIL PROTECTED] I can disclose the URL, it's publicly available and always up

[android-developers] Flaky network connections

2008-11-24 Thread joshv
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();

[android-developers] Re: Flaky network connections

2008-11-24 Thread joshv
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 apps is loaded and displayed on screen.  The second the screen turns off or another app is loaded, the polling stops

[android-developers] Re: Flaky network connections

2008-11-24 Thread joshv
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 that I am sitting 3 feet from a stable wi-fi access point and for minutes on end every

[android-developers] Re: Flaky network connections

2008-11-24 Thread joshv
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 wrong or if there is some other API I

[android-developers] Re: Flaky network connections

2008-11-24 Thread joshv
, 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 underlying java networking APIs

[android-developers] Re: Flaky network connections

2008-11-24 Thread joshv
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

[android-developers] Re: unable to see # in webview

2008-11-18 Thread joshv
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

[android-developers] Re: '%' problem in WebView

2008-11-18 Thread joshv
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

[android-developers] Re: Inaccurate comment view in Market?

2008-11-18 Thread joshv
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

[android-developers] Re: working WebView example?

2008-11-18 Thread joshv
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.

[android-developers] Re: JavaMail and Android - Little excursus

2008-11-18 Thread joshv
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 to

[android-developers] Re: Mouse Gesture for Navigation?

2008-11-06 Thread joshv
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