[android-developers] Android Market is broken (server error), can we get confirmation from Google that they are working on this issue?
http://www.google.com/support/forum/p/Android+Market/thread?tid=5f475fcdfcc22233hl=en Our app has been gone from the market since Saturday along with a lot of other apps from other developers, and still we haven't heard anything from Google confirming that there is an issue with the new(?) market. Can anyone shed some light on a timeframe for fixing this? This also affects our free app since the market crashes while loading related apps and causes us to not receive any downloads for any of our version. We have 500-1000 downloads a day so that's 1500-3000 downloads that we will never have thanks to the wonderful marketplace that we have all grown to love. We can live with that as long as someone just confirms the issue and say that they are working on a fix. Please Google, start communicating with your Android developers... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Restricted location in publisher GUI is not working on some devices
Just for the records it was due to the operator using swedish sim- cards in Norway... On Dec 2, 10:00 pm, dan raaka danra...@gmail.com wrote: I am seeing this disappearing issue on some of my apps as well. -Dan On Thu, Nov 25, 2010 at 4:28 AM, Chister Nordvik cnord...@gmail.com wrote: I changed location to All countries and it appeared... so something is amiss here. But now I have all the other problems with apps disappearing, paging not working, screenshots disappearing so guess this issue is low on their list... On 13 Nov, 02:21, dan raaka danra...@gmail.com wrote: market filtering goes beyond geo-restriction go through this onehttp:// developer.android.com/guide/appendix/market-filters.html -Dan On Wed, Nov 10, 2010 at 1:20 PM, Chister Nordvik cnord...@gmail.com wrote: We have an application that is restricted to one country (Norway). But I am sitting here with multiple devices, HTC Wildfire, SE XP10 (after 2.1 upgrade) and SE XP 10 Mini (after 2.1 upgrade) that fails to find the application even though they are registered on a Norwegian network (Tele2). The SE devices found the application before they got the 2.1 upgrade, and I have lots of other devices (Nexus One, HTC Desire, HTC Tattoo, Galaxy Tab) that finds the app without any problems. This is very important for us since we can't enable the app worldwide due to copyright issues, so is there any way to resolve this issue? Is it the operator or the Android device that fails to report the correct country here? Any help would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252Bu nsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: App disappeared from Market Home
Be careful updating now, I just tried and the following happened: - The app disappears - The category changes to games (if you forget that the console changes the category to games when you edit...) - Next time you edit it (by tweaking the URL) you get screenshots and icons from the first time you published it. I got 1 year old icons. So I decided that this is not the weekend to update any apps. I know that Google are updating the market but I really can't understand why they cannot just make the console unavailable instead of developers experiencing buggy behavior like this. -Christer On Dec 18, 8:02 pm, TreKing treking...@gmail.com wrote: On Sat, Dec 18, 2010 at 11:32 AM, Ilya Shinkarenko shin...@gmail.comwrote: Does anybody have an idea what has happened? You published on the Android Market. No, seriously, the Developer Console is extremely buggy. Particularly when they make changes they break A LOT. A there have been quite a few changes going on recently. So ... wait it out. Maybe trying clearing your browser cache or try a different browser altogether. --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Restricted location in publisher GUI is not working on some devices
I changed location to All countries and it appeared... so something is amiss here. But now I have all the other problems with apps disappearing, paging not working, screenshots disappearing so guess this issue is low on their list... On 13 Nov, 02:21, dan raaka danra...@gmail.com wrote: market filtering goes beyond geo-restriction go through this onehttp://developer.android.com/guide/appendix/market-filters.html -Dan On Wed, Nov 10, 2010 at 1:20 PM, Chister Nordvik cnord...@gmail.com wrote: We have an application that is restricted to one country (Norway). But I am sitting here with multiple devices, HTC Wildfire, SE XP10 (after 2.1 upgrade) and SE XP 10 Mini (after 2.1 upgrade) that fails to find the application even though they are registered on a Norwegian network (Tele2). The SE devices found the application before they got the 2.1 upgrade, and I have lots of other devices (Nexus One, HTC Desire, HTC Tattoo, Galaxy Tab) that finds the app without any problems. This is very important for us since we can't enable the app worldwide due to copyright issues, so is there any way to resolve this issue? Is it the operator or the Android device that fails to report the correct country here? Any help would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: High Resolution Application Icon keeps disappearing
I tried adding it back again and it just deleted my whole app. Guess I should have left it alone. What a great console we have for Android Market. Wondering if they have beta-testers for it, or they just treat us as their testers? -Christer On Nov 24, 11:20 pm, Nathan critter...@crittermap.com wrote: Yep, all the new stuff I add keeps disappearing. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Google Maps API hidden maps and opengl
Did you ever figure this one out? I tried to create a very simple map application, but got the stub exception at startup both on device and in emulator: E/AndroidRuntime( 263): Caused by: java.lang.RuntimeException: stub E/AndroidRuntime( 263):at com.google.android.maps.MapActivity.init(Unknown Source) Followed the tutorial from here: http://developer.android.com/guide/tutorials/views/hello-mapview.html with no success. Must be something with the setup? -Christer On Nov 2, 1:48 pm, Adam Hammer adamhamm...@gmail.com wrote: That is the entire error. 2 Line stack trace, I called the function and I get the Stub I've managed to get MapView working in a activity with Opengl and using offscreen rendering. It's actually performing very well. I'll go back and try in a LWP once I iron out all the activity bugs. On Nov 1, 9:41 am, TreKing treking...@gmail.com wrote: On Fri, Oct 29, 2010 at 6:00 PM, Adam Hammer adamhamm...@gmail.com wrote: I get an error java.lang.RuntimeException:stub at com.google.android.maps.MapView.init (Unknown Source) Is that really the entire error? Regardless, read the MapView documentation. It explains where and how the MapView can be used. --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Restricted location in publisher GUI is not working on some devices
We have an application that is restricted to one country (Norway). But I am sitting here with multiple devices, HTC Wildfire, SE XP10 (after 2.1 upgrade) and SE XP 10 Mini (after 2.1 upgrade) that fails to find the application even though they are registered on a Norwegian network (Tele2). The SE devices found the application before they got the 2.1 upgrade, and I have lots of other devices (Nexus One, HTC Desire, HTC Tattoo, Galaxy Tab) that finds the app without any problems. This is very important for us since we can't enable the app worldwide due to copyright issues, so is there any way to resolve this issue? Is it the operator or the Android device that fails to report the correct country here? Any help would be greatly appreciated. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: New countries, but not possible to move existing account?
I would also like to know this. But you may actually want to switch to a US account if you can. A few days ago the SwiftKey app switched from UK£0.60 to US$0.99 because like many non-US developers they were getting a lot of payment declined US orders. Then I would have to setup a US company with a US bank account. I would prefer to keep things simple as paid revenue doesn't amount to much in the Android world. But I couldn't get any answers on the Android Market forums or Google Checkout forums and since Google doesn't offer phone or email support (must be the only company that does this to it's customers?) then we are stuck with the UK company for now. If anyone manages to move their apps to a new account or change the country of their existing account then please let me know! :-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] New countries, but not possible to move existing account?
We have registered a company in the UK to be able to sell on the Android Market. Now that the market is opened in our own country (Norway) it would be great to move the applications so that our income would be in the Norwegian account. Or change our exisiting country to Norway. This is not possible right? Found some old posts on the issue and didn't seem promising: http://www.google.com/support/forum/p/checkout-merchants/thread?tid=6efbe25a772dd7a7hl=en -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Adaptive streaming - any plans for Android implementation?
I am working on a iPhone/Android project where we stream H.264 video from live events. This works great with adaptive streaming on the iPhone but the Android devices doesn't offer this so we have to decide on which stream to offer the user. When the user sits in a car streaming the event the connection quality is very different over time and therefore the video is having problems if we offer too high quality. Is adaptive streaming planned for a future Android release? http://en.wikipedia.org/wiki/Adaptive_bit_rate#Apple_HTTP_Adaptive_Streaming_for_iPhone.2FiPad -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How much money do you make?
But how do you get featured? Our sports app is in top 5 and has been there 6 months. Never been featured. ESPN apps are always featured. Does it favor US sports apps? Ours is a soccer one... Would be great if we knew how they were chosen. On Sep 18, 11:13 pm, Dianne Hackborn hack...@android.com wrote: On Sat, Sep 18, 2010 at 1:43 PM, TreKing treking...@gmail.com wrote: 3 - The system is skewed to the big guys. The only apps I ever see featured are those by big name companies (including Google themselves) that steal all the attention and really don't need the promotional help to begin with. Hm currently featured on my phone... Kids Shape Puzzle by anahoret ESPN Fantasy Footbal by ESPN Inc Glyder 2 by Glu Mobile Deadly Chambers by Battery Powered Games Shanghai Travel Guide by Urban, Inc Radio Ball 3D by Awesome Software Kaplan GRE Exam Vocabulary by gWhiz Mobile On the Go by Five Pumpkins Miami Dolphins by Mobile Roadie Sporting News Pro Football by The Zumobi Network Tumblr by Tumblr Tank Recon 3D by Lone Dwarf Games Inc Amtalee by frostream RD3 - Groovebox by mikrosonic Taylor Swift by Mobile Roadie Granted, most of those companies I've not really heard of, so I can't say for sure whether they are big guys, but it seems reasonably balanced to me. And not a Google app in sight. ;) -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] App icon not working after upgrade, but reboot fixes the problem...
Hi. I have an app with about 200.000 users and recently upgraded it. This has worked fine before but now I suddenly got 30-40 emails and lot of 1* because the app icon didn't work anymore. It said the program wasn't installed. If they went to My Downloads in the Android Market they could open the app just fine from there. I asked the users to reboot and that solved the issue for all of them. Four days later I had to update again and the problem reappeared for the users. 30-40 new emails and I am very concerned about pushing out new upgrades. This problem seemed to affect different devices but at least HTC Desire with 2.1 was affected. Is this an Android bug or related in some way to my Manifest file? I don't believe I have changed anything in the manifest lately to trigger anything like this. Hope someone can provide any assistance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: App icon not working after upgrade, but reboot fixes the problem...
This usually happens if you rename the Activity (or move it to a different package). The system get confused because its cached the old name somewhere. A reboot usually fixes this but not always. The workaround is to add a dummy Activity at the old location (which is a subclass of the new Activity)... Ah. Great. Thanks! I remember now that I added a SplashScreen as the main activity... Hope this is recorded in the bug tracker? I searched but couldn't find it... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is it possible to change colors.xml file at runtime?
I have an application where I would like the users to be able to change the theme. Currently my layout have elements like this: LinearLayout android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:background=@color/background_transparency what I would like to do is to change to a new colors.xml that has a different value for @color/background_transparency if the user selects one of the themes available. Alternatively to be able to change the value of @color/background_transparency in code. Is this possible? Or am I doing this the wrong way :-) -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Is it possible to change colors.xml file at runtime?
Resources cannot be modified at runtime. However, there is nothing preventing you from creating a getCustomColor() method somewhere that looks for your override value and returns it, otherwise returning the color resource value. But then I would need to set all my colors at runtime. Is there no way to override the colors defined in the colors.xml with another resource set? I tried reading up on Themes but I couldn't quite figure out if I could override background colors on specific views. What I would like is to set a theme on specific views and then override the background colors by changing the theme but that didn't seem possible (and I am sure there is a good reason for that). So maybe I should just set the colours in code and be done with it :-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Http connections gives timeouts randomly with DefaultHttpClient
Hi. If I make myself a test downloading data with AsyncTask via the DefaultHttpConnection and run the test in a loop with 20 iterations I always get one or two socket timeouts. Does anyone know the reason for the timeout? Is this related to Http connection management issues? I have tried both the DefaultHttpClient with default connection manager and the pooled connection manager below. I get the same result for both of them. I have changed URLs to various external sites and it seems related to the client and not the server so I guess my code has a flaw somewhere and I would greatly appreciate anyone finding it :-) My code: SchemeRegistry schemeRegistry = new SchemeRegistry(); schemeRegistry.register( new Scheme(http, PlainSocketFactory.getSocketFactory(), 80)); HttpParams httpParameters = new BasicHttpParams(); int timeoutConnection = 15000; HttpConnectionParams.setConnectionTimeout(httpParameters, timeoutConnection); int timeoutSocket = 25000; HttpConnectionParams.setSoTimeout(httpParameters, timeoutSocket); cm = new ThreadSafeClientConnManager(httpParameters, schemeRegistry); httpclient = new DefaultHttpClient(cm, httpParameters); AsyncTask implementation: protected String doInBackground(UrlParams... params) { UrlParams param = params[0]; this.url = param.url.toExternalForm(); HttpGet httpget = new HttpGet(this.url); String responseBody = ; try { // Execute the HTTP GET HttpResponse response = httpclient.execute(httpget); InputStream responseStream = null; if (response.getEntity() != null) { responseStream = response.getEntity().getContent(); } ... responseStream.close(); responseBody = buffer.toString(); } catch (ClientProtocolException e1) { return ; } catch (IOException e1) { return ; } ... } W/System.err( 7281): java.net.SocketTimeoutException: The operation timed out W/System.err( 7281):at org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java: 557) W/System.err( 7281):at org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java: 87) W/System.err( 7281):at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java :103) W/System.err( 7281):at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java: 1 91) W/System.err( 7281):at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java: 82) W/System.err( 7281):at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java: 174) W/System.err( 7281):at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientCon nection.java:179) W/System.err( 7281):at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnecti on.java:235) W/System.err( 7281):at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnA dapter.java:259) W/System.err( 7281):at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java: 279) W/System.err( 7281):at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java: 121) W/System.err( 7281):at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: 410) W/System.err( 7281):at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 555) W/System.err( 7281):at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 487) W/System.err( 7281):at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 465) W/System.err( 7281):at mypackage.AsyncHttp.doInBackground(AsyncHttp.java:67) W/System.err( 7281):at mypackage.AsyncHttp.doInBackground(AsyncHttp.java:1) W/System.err( 7281):at android.os.AsyncTask$2.call(AsyncTask.java: 185) W/System.err( 7281):at java.util.concurrent.FutureTask $Sync.innerRun(FutureTask.java:256) W/System.err( 7281):at java.util.concurrent.FutureTask.run(FutureTask.java:122) W/System.err( 7281):at java.util.concurrent.ThreadPoolExecutor $Worker.runTask(ThreadPoolExecutor.java:648) W/System.err( 7281):at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:673) W/System.err( 7281):at java.lang.Thread.run(Thread.java:1060) -- You received this message because
[android-developers] Re: C2DM example ChromeToPhone, contents of quot;dataMessagingToken.txtquot;
Good luck with the signup. I've been asking google for ac2dmaccount for 2 month now. My application is ready for publishing. But is worthless without thec2dm:( Great, 2 days of coding spent on nothing. All because I didn't see the signup-button. Good thing I didn't promise you 300.000 users push notifications just yet... If Microsoft beats Google to providing push notifications then someone must have done something wrong. But that's for another thread I guess. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Why doesn't this discussion list function properly on Android phones?
Same 401 error here also (Nexus One). I thought I was the only one :-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: WebView / HTTPClient shared cookies ?
An Android app I am building requires web authentication for users to make data calls. In Adobe AIR and later the iPhone, we did this by rendering a login page in a webview-equivalent page and setting a cookie when the user signs in. Subsequent data calls use the same Cookie Jar and so are seen as authenticated. In the Android version, I authenticate the user using a WebView and then once thats done, I make a data call using DefaultHttpClient, however I cant seem to load the data on the second call. Is there some cookie gotcha I am missing? I imagine the HTTPClient and WebView would share the same Cookie space. Am I wrong? Did you get this working? I also want to retrieve an authentication cookie from a webview that has logged in the user, but the CookieManager doesn't return this new cookie. It only returns the JSESSIONID cookie which was present already when making the request. //Called from webview via javascript public void loginSuccess() { final WebView wv = (WebView)findViewById(R.id.webview); CookieSyncManager.getInstance().startSync(); String cookies = CookieManager.getInstance().getCookie(url); Log.d(MyApp, Got cookies from html page: + cookies); } -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] C2DM example ChromeToPhone, contents of dataMessagingToken.txt
Hi. I've been working/struggling with the C2DM examples to get them to work in my setup. I have almost everything in place but I can't send messages to the device because I haven't a ClientLogin Auth token. In the ChromeToPhone example this seems to be stored in dataMessagingToken.txt. It's been a long day struggling with this, so does anyone know how I get the token to store in this file? Will this token never change so it's safe to store it in a textfile? -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: C2DM example ChromeToPhone, contents of dataMessagingToken.txt
I haven't tried getting Chrome2Phone working, but in general, I'd use a text editor. :-) Haven't thought of that! Here's a curl script to get the token: http://github.com/commonsguy/cw-advandroid/blob/master/Push/C2DM/auth.sh Thanks!. You saved me a lot cursing at lacking documentation (or maybe it's just me not finding it, same result) Will this token never change so it's safe to store it in a textfile? It should be good for a couple of weeks. Google is recommending that you not store your account credentials on your server, but arrange to update the Auth value by some other means. They will also send down a replacement Auth value via a custom HTTP header if they think your current one is getting stale. I will find some way of updating this then. Shouldn't examples do this the best practice way and not confuse people like me? :-) Again, thanks a lot Mark. It's really great that you spend time answering all kinds of questions on this forum. -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: C2DM example ChromeToPhone, contents of dataMessagingToken.txt
And just when I thought I had it going for me I got this QuotaExceeded message: com.google.android.c2dm.server.C2DMessaging sendNoRetry: Got error response from Google datamessaging endpoint: QuotaExceeded Any clues to what is wrong this time? I guess the error message says it all, but do I have to sign up for using C2DM? -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: paypal mobile payment allowed?
I think you can distribute your free app through market, and provide paypal financed donwload of paid parts through some other means. This way your paid parts are not served through market. Well, if we only could get Google to confirm this... Spotify - free in the market, but you have to be a subscriber to use to program. OK Program A - free in the market, but to access premium content you have to be a registered user on a website which charges you monthly through a credit card. OK? Program B - free in the market, but to access premium content you have to buy access with PayPal in your application. OK? Program C - free in the market, but to access premium content you have to buy access with a credit card in your application. OK? I can understand that Google wants to prevent developers pushing out free apps that will only prompt for a credit card/PayPal account to be able to use, but if some of the features are free then maybe it's allowed? -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: paypal mobile payment allowed?
The alternative market approach is hopeless in my eyes. Currently we have at least: SlideMe, AndAppStore, AndroidPit, SE PlayNow, Motorola, Lenovo, Handango, Mobihand, OnlyAndroid, GetJar ++ You will not get me submitting screenshotsAPK and descriptions for all of those. And I guess there are lots more not in that list. If an alternative appstore had collected screenshots, apk and description from the Android Market and only needed an OK from the developer, then maybe it would get more people to submit. But I guess the APK collection is a bit on the gray side of what is legal? :-) But back to the point of the discussion, is there any hope in getting answers from Google regarding the various approaches to selling premium content inside a free app? There seems to be nowhere to get support for these kinds of question and Android Market related issues are never commented by Google in these newsgroups :-( -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to make a widget that doesn't drain the battery and updates often
Hi. I want to make (yet another) news widget. Initially I thought it was enough to: 1. Download all the news articles 2. Update the widget every 5 seconds to change the currently displayed article using AlarmManager (AlarmManager.RTC) 3. Update the widget every 30-60 minutes to get new articles This worked great on the first try but battery was quickly drained. I checked the logs and it turned out that the widget did the 5 second updates even if the screen was off. This was a surprise to me since the docs states: ..set an alarm with an Intent that your AppWidgetProvider receives, using the AlarmManager. Set the alarm type to either ELAPSED_REALTIME or RTC, which will only deliver the alarm when the device is awake. I guess the device is considered awake even if screen is off? I found the same issue here: http://groups.google.com/group/android-developers/browse_thread/thread/31d4d66f921b7e4c/8abe098d7d4dac96?lnk=gstq=widget+alarmmanager#8abe098d7d4dac96 I then checked the standard news widget and the other news widgets most popular on the Android Market and I see that they have services running all the time. Maybe because they want to handle the broadcast event when the screen is turned off? So is this really the best solution to have a service running in the background? So if someone downloads 10 different news widgets from different companies they end up with a list of 10 services in the Running services list? Any help is very appreciated. Regards, Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to make a widget that doesn't drain the battery and updates often
Frankly, I don't know why the Genie... service sticks around for the stock News and Weather. It does not appear to be affecting the thoroughly irritating and non-configurable change-the-headline-every-five-seconds feature, as that persists even when I shut down the service via the Settings application. Neither do I, but it seems everyone is taking this approach. I really really miss guidelines on Android development. Both GUI design guidelines (toolbars at the bottom anyone?) and design guidelines for widgets doing more advanced things than updating a clock. It must be 100 different toolbars out there at the moment in various sizes. Why can't we have a proper toolbar in Android? Sorry, off-topic :-) So is this really the best solution to have a service running in the background? Probably not. I would love to see some better suggestions :-) If you are using a WakeLock, double-check to confirm you are releasing it properly. No wake-locks. Only using the following code to make the widget change headline: ... am.set(AlarmManager.RTC, System.currentTimeMillis() + 5000, pendingIntent); ... According to the documentation this should work just brilliant. But my phone is dead every morning with my widget running. Uninstalled! ... to see who is messing up. Well, people will blame my widget even if I try to tell them that they have another application that has wake_locks so I must make my widget behave nicely with the rest of the apps out there. Well I have made a new service that runs all the time and receives broadcast events for screen off and on and that works great, so maybe I'll stick with this. When I have started 10 of my favourite apps I have a lot of services running so I guess people are used to this. Seems like services is a bit overused these days so no wonder everyone complains about battery life with Android... -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get current timezone when user has selected use network-provided values
I am using the function: http://developer.android.com/intl/de/reference/java/util/TimeZone.html#getRawOffset%28%29 to get the GMT offset and use that to display dates in the users timezone. This works great if the users has set a timezone in the settings of Android, but if the user has selected use network- provided values then some(all?) users get wrong time info since the getRawOffset returns 0. Is there a better way of getting the users timezone? I could always include a Choose timezone setting inside my program but I feel this shouldn't be necessary so I would hope to avoid it. Any help is greatly appreciated. -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Device Seeding Program for Top Android Market Developers
Couldn't agree more. How many people in here have contacted Google, FedEx Brightpoint just because of lack of information from Google? A simple mail saying: Sorry, you'll get your phone in May would have been enough. And don't get us started on the Android Market! The petition (http:// www.petitiononline.com/androidm/) has most of it covered I guess. Even though it seems to be ignored by any official comment then we can hope that Google soon launches a brand new marketplace where all our wishes have come through! -Christer On Apr 20, 10:17 am, Ove Olavgaard ove.olavfga...@gmail.com wrote: It is, after all a free gift So what? If only the developers in US got a free phone that would not bother me. I got a mail from Google saying they would give me a free phone in 2-4 weeks! Great Then I dont have to purchase the phone Ive orginally planned, and I can test my new app on yet another device. Well... After 7 weeks, no words and no phone, I had to buy the planned phone anyway. If they know its been problems with delivery of all phones outside US, so send the developers a mail. They got all the e-mail-adresses. Should be an easy task. Ove, i understand your pain, it took a while for paid apps to get here, and as an ex-South African, they don't even have paid app downloads over there, so its bad. Well, its the same same for most European countries. No paid apps available for download. It wouldn't be a problem if Google said that it would support Merchang Accounts and paid apps in 2011. Then we will at least know, and can plan according to that. The situation now is just silence for over 2 years. That is not taking your developers or customers seriously. 2010/4/20 dgoemans dgoem...@gmail.com *stands up* Hi, my name's David, i'm in the Netherlands, and i haven't had a Nexus One for 7 weeks now. Seriously tho, i think we need to be calm and strong. They'll arrive ( hopefully before i move! ) and we just need patience. It is, after all a free gift, which after 2 years as a day job iPhone dev, i can say is more than i've been given before. Ove, i understand your pain, it took a while for paid apps to get here, and as an ex-South African, they don't even have paid app downloads over there, so its bad. That said, it's worth keeping in mind that there are serious region restrictions on these things ( unfortunately - i really hate that ). For example, look at Microsoft's Xbox Live Indie Games, which is only accessible in a small handful of countries to download for, and only a few more than that can dev for it. This is due to (stupid) global financial restrictions. Remember that it took Apple many years to get iTunes working across the globe. On Apr 19, 10:24 pm, JDS jesper.d.svens...@gmail.com wrote: I would be very surprised if they do not arrive. If the intention never was to send any to europe, why would Google confirm that they will arrive over and over again? What is obvious is that they had, or still have, some major issues but I don't think we will never know what kind. In the last response I got, they do confirm they had some issues and that I should (they don't use the word will receive anymore ;-) ) receive my phone in 2 weeks, which will be on April 28 and I will wait patiently until then before I will contact them again. On 19 Apr, 21:05, gambiting gambit...@gmail.com wrote: Well,with each day I'm getting convinced more and more that the phones will not arrive in europe,and it was only for the US. But on the other side, we didn't pay anything for these phones, so it doesn't hurt to wait - maybe one day there we will get them? I just hope that people from europe will share info here if they receive their phones. On 19 Kwi, 18:33, TomTasche tomtas...@gmail.com wrote: -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group athttp:// groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to
[android-developers] Re: Petition: Google, please improve the Android Market.
Just wanted to add my vote to this also. I have submitted our app to: - Ovi Store - Windows Mobile Marketplace - iPhone App Store - Samsung App Store (WM) - Android Market And not to start a riot here, but all of the above has better functionality than the Android Market. Longer descriptions, more screenshots, better reports, possibility to get device ID, multiple versions of the same program ++. Before the summer of 2009 I received emails all the time about the expansion of Android Market but the last 9 months it's been all quiet. No new countries are being added to buy paid apps anymore. I've been hoping that it is due to a massive upgrade of the Android Market but after 9 months I am not so sure anymore. Could it be that Google wants the operators to run their own markets? Like Sony Ericsson (PlayNow) and Motorola are doing? I really hope that Android is not going in a direction where each brand have their own market. -Christer On Mar 15, 2:57 am, JP joachim.pfeif...@gmail.com wrote: I just signed. A must for anybody who has an app out with even just modestly complex functionality. Over the last weeks I've seen a shift to comments that are predominantly negative in nature now. There seems just no way any more to convey to users to visit the accompanying web site and RTFM. So the Market must grow in its ability to effectively present apps and allow to respond to comments. Thank for putting this together, Rob. JP On Mar 14, 5:45 am, Rob Irondad rob.iron...@gmail.com wrote: Hello, fellow developers, Just a quick update on the petition. As of now it has been signed by almost 1000 people. I don't know how many Android developers there are globally, but I think this is a pretty good number It was also mentioned on a few websites, but nothing major. So far, we still have no sign of a reaction from Google, and all the points in the petition remain valid. Petition link:http://petitiononline.com/androidm -- Rob -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Can anyone tell me ONE app that shows up in Android Market on HTC Tattoo
If you have time, could you tell me the names of a few apps that show up on your Tattoo phone? Here is a few apps I can see on the Tattoo: FotMob, a must have app! Sportstap Livescores -Christer, FotMob developer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite
Just wanted to chime in here since there was some negative comments about Android developer programs. We actually got a free Android device about 2 weeks ago from one of these developer programs in exchange for a NDA. It could happen to you :-) -Christer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] MediaPlayer.Create returns null on some Android handsets?
Hi! I have a background service that plays a sound when an event has happened with the following code: 1. MediaPlayer mp = MediaPlayer.create(getBaseContext(), R.raw.theEnd); 2. mp.start(); But sometimes I see from my errorlogs that people are getting a nullpointer on line nr 2 here. My music file is a MP3 file and works great on my G1. The comments on my app says Doesn't work on Hero after update but I am unsure if this is specific to the Hero since I don't have that information in my errorlogs. The app has 5 downloads so this code works for most of the people out there, but do anyone know why it doesn't work for all of them? -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: MediaPlayer.Create returns null on some Android handsets?
No, I only use MediaPlayer. Seems like I have to have a fallback to a built-in sound then, or at least check if the MediaPlayer returns null. This brings back memories from my J2ME development days :-( -Christer On 21 Okt, 07:24, Nikolay Ananiev devuni...@gmail.com wrote: I'm seeing the same problem on the ARCHOS 5 tablet. The app works everywhere else. Do you use SoundPool in parallel to MediaPlayer? On Tue, Oct 20, 2009 at 10:49 PM, Marco Nelissen marc...@android.comwrote: There seems to be a problem with some Hero builds (but not all of them) that causes playback from resources to not work quite right. On Tue, Oct 20, 2009 at 12:29 PM, Chister Nordvik cnord...@gmail.com wrote: Hi! I have a background service that plays a sound when an event has happened with the following code: 1. MediaPlayer mp = MediaPlayer.create(getBaseContext(), R.raw.theEnd); 2. mp.start(); But sometimes I see from my errorlogs that people are getting a nullpointer on line nr 2 here. My music file is a MP3 file and works great on my G1. The comments on my app says Doesn't work on Hero after update but I am unsure if this is specific to the Hero since I don't have that information in my errorlogs. The app has 5 downloads so this code works for most of the people out there, but do anyone know why it doesn't work for all of them? -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] SingleTask, SingleTop how to properly implement a GUI
Hi! Our application which consists of something like this: Main menu = View contacts = Edit contact = View groups = Settings = Browser settings I have then added gestures so that the user can jump between any of these screens with a gesture. But this leads to a huge activity stack that just grows and grows so how should I properly implement this? I thought about the following: Main menu (SingleTask) = View contacts (SingleTop) = Edit contact = View groups (SingleTop) = Settings (SingleTop) = Browser settings (SingleTop) If I do nothing then I end up with something like this (using gestures): Main menu - View Contacts - Main Menu - Browser Settings - View Contacts - Main menu I would guess this would lead to memory issues sooner or later? -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Webview with progress and url overriding
Hi! I would like to add a Webview that both intercepts the URL clicks and shows a progress when loading. URL overriding: myWebView.setWebViewClient(new WebViewClient() { @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { ... Progress: myWebView.setWebChromeClient(new WebChromeClient(){ @Override public void onProgressChanged(WebView view, int newProgress) { ... But is there any way to combine these two? The WebViewClient only offers OnPageFinished and then I can't show any real progress when loading. -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to manage service lifecycle when device kills it due to low memory
Hi! I have a service that polls for data. To indicate this to the user I have a persistent notification in the statusbar. In some cases when the device goes low on memory it destroys the service but OnDestroy is not called. Later when there is available memory OnCreate is called. Is this normal behavior? I had hoped that OnDestroy would be called to I could remove the notification in the statusbar. Now the user thinks that the service is still running, while it has been stopped by the OS. In order to restart the polling how do I know that the OnCreate is really a restart event and not first time creation of the service? I thought about checking for the presence of the notification in the statusbar, but I couldn't find a API to check if a notification was showing or not. I have not tried SetForeground on the service, since the service isn't that important to the user, but maybe that would minimize the problem... -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Stuck in landscape mode after launching YouTube
Hi! 1. User clicks an image in my app 2. The app launches YouTube 3. Screen is rotated in landscape 4. User presses home button 5. User starts my program again 6. My program is launched with the main screen but it's stuck in landscape mode (due to Youtube switching orientation) Nothing I do will make the screen go back normal mode again. Is this a bug? It's only tested on 1.1 device since I can't test YouTube in the emulator. If anyone have a 1.5 device out there I would really appreciate if you could test this for me. Just write me an email :-) Regards, Christer Nordvik www.mobilefootie.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Transparency on Views behaving differently in 1.5
Hi! I have a lot of Views where I have set a background image on the top LinearLayout and then I have nested a new linear layout below with a background that is semi-transparent. This works great in 1.1, but in 1.5 the transparency is just disregarded and this breaks my app as the text on top is now unreadable. Is this a bug or a feature? Is there a better way of doing this? Very grateful for any tips! Code example: LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent android:background=@drawable/ field android:id=@+id/root LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:orientation=vertical android:layout_width=fill_parent android:layout_height=wrap_content android:id=@+id/bg android:background=#aa00 ... -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Market broken? Can't see the new release of my app in the Android Market?!
So where are the support people and the reports on what's happening?? Well, in my opinion almost all market related questions are ignored: http://groups.google.com/group/android-developers/browse_thread/thread/5d9a68b5393e4752?hl=en# http://groups.google.com/group/android-developers/browse_thread/thread/c93e4a61e0310f04?hl=en http://groups.google.com/group/android-developers/browse_thread/thread/6ce2bccdb1a59397?hl=en Hope things get better soon... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android Market - subscription based payment or workarounds?
Hi! 1. Does the Android Market supports subscription based payment? if not 2. Can we sell the application for one year at a time? Or is this against the Android Market rules? 3. Do we get any information when the user purchases the application so we can track who has purchased the application? Regards, Christer Nordvik --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] How to use Webview as a ListItem and have smooth scrolling?
I am showing a RSS feed in my application using Webview as ListItem and it works great except that it is very sluggish at times. Since I don't know the size of the content then I can't set the height of each Webview and therefore I have the following code (this is the code for a single ListItem): WebView android:id=@+id/rss_title android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 style=@style/RssText android:textColor=#FF / But the wrap_content causes the Webview to readjust size when scrolling. The scrollbar-indicator of the listview also has problems knowing the size of the complete list so it changes size when scrolling. All this causes a very jerky experience when scrolling. Is there any better way of doing this? Would really appreciate any help! -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Has anyone succeeded in displaying non latin-1 characters in Webview after RC33?
Thanks! That did the trick :-) Seems like they changed the behavior in RC33, but now it works perfectly again. -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Webview has changed in RC33, problem with touch event and encoding
Just to update anyone interested, then I've posted this as issue 1958 with code that reproduces the problem. I hope someone can answer on this newsgroup since that's usually a lot faster than the issues list! http://code.google.com/p/android/issues/detail?id=1958 Code that breaks on RC33: String xml = html + body + Norwegian chars: æøå + /body + /html; myWebView.loadData(xml, text/html, UTF-8); Output RC33: Norwegian chars: ??? Output before RC33: Norwegian chars: æøå -Christer On Feb 9, 8:06 pm, Chister Nordvik cnord...@gmail.com wrote: The update also broke the polish RSS feed that I've used to display news for soccer (http://ekstraklasa.wp.pl/ver,rss,rss.xml). I would really like to know what happened with the Webview (or XML library) in this release! -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Webview has changed in RC33, problem with touch event and encoding
Hi! I am using the webview to show a RSS feed and it has worked great until RC33. I now have two problems: 1. I am using a OnClicklistener for each item in a ListView where the item consists of a LinearLayout containing an image + a webview. This event is no longer fired when clicking the webview, but it does fire when clicking the image!? This must be a bug or? 2. One of the RSS feeds that I am displaying has norwegian characters. In one of the feeds the norwegian characters are now displayed as ? , but in other feeds it works fine. This feed displays fine in the emulator (1.0r2) but not on the phone with RC33. Anyone encountered similar problems? I would be very grateful for any input! :-) -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Webview has changed in RC33, problem with touch event and encoding
The update also broke the polish RSS feed that I've used to display news for soccer (http://ekstraklasa.wp.pl/ver,rss,rss.xml). I would really like to know what happened with the Webview (or XML library) in this release! -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What determines Android Market popularity ranking
Would you share the percentage of active installs? My app is around 40-50% and while the rating is now 4.40, the app goes lower and lower on the popularity rating. Maybe Google doesn't like my app? :-) -Christer On Feb 2, 4:13 pm, Sundog sunns...@gmail.com wrote: I don't think that's true. I released my app on day one and it's been in the top ten ever since. On Feb 1, 9:39 am, brs bernhard.r.su...@gmail.com wrote: There also seems to be a time aspect to it - newer apps seem to be favored in the ranking even if they have not as many downloads or ratings as an older one. As a suggestion to the Market team: it would be really nice to list the apps by multiple metrics. We already have date and this secret, magic popularity metric. Sometimes I just would like to see which are the most downloaded or most highly rated applications in a particular category. Bernhard On Feb 1, 10:56 am, Chister Nordvik cnord...@gmail.com wrote: Has anyone figured out this magic formula? I have a app that has 15000 downloads, a rating of 4.38(600 ratings), but it is still less popular than a competing app with 1 downloads and a rating of 3.45. How is this possible? My guess is that it is related to the number of uninstalls but then the rating system is all wrong? I think I just have to make a new application with a similar name and start all over again since the app got a lot of uninstalls in the first version. But then I loose 600 ratings which could potentially be very important to have if the rating system changes... So please, Google employees, can you give us any hints on whether you are doing any changes to the rating system in the near future or give us any hints on how the list is decided? -Christer On Dec 18 2008, 3:44 pm, joshv jvanderb...@gmail.com wrote: I've posted this question to theMarkettechnical support forum and received no answer, so I will try here. Does anyone know what metrics are used to determine an application'spopularityin the AndroidMarket? It does not appear to involve just the number of ratings, the download count, or the average rating, as there are applications which are persistently ranked lower bypopularityeven though they have higher download counts, higher total ratings, and higher average ratings than other apps that are more popular in the same category. I don't want to point to specific apps in this post, but it should be easy enough to find examples. If a Google employee is interested in specific examples, contact me directly.- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: What determines Android Market popularity ranking
Has anyone figured out this magic formula? I have a app that has 15000 downloads, a rating of 4.38(600 ratings), but it is still less popular than a competing app with 1 downloads and a rating of 3.45. How is this possible? My guess is that it is related to the number of uninstalls but then the rating system is all wrong? I think I just have to make a new application with a similar name and start all over again since the app got a lot of uninstalls in the first version. But then I loose 600 ratings which could potentially be very important to have if the rating system changes... So please, Google employees, can you give us any hints on whether you are doing any changes to the rating system in the near future or give us any hints on how the list is decided? -Christer On Dec 18 2008, 3:44 pm, joshv jvanderb...@gmail.com wrote: I've posted this question to theMarkettechnical support forum and received no answer, so I will try here. Does anyone know what metrics are used to determine an application'spopularityin the AndroidMarket? It does not appear to involve just the number of ratings, the download count, or the average rating, as there are applications which are persistently ranked lower bypopularityeven though they have higher download counts, higher total ratings, and higher average ratings than other apps that are more popular in the same category. I don't want to point to specific apps in this post, but it should be easy enough to find examples. If a Google employee is interested in specific examples, contact me directly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Updated app not showing up in Market's by date sorting?
There's been multiple posts of this and no answers from Google, so is this a hack that someone has found? It might seem like it since nobody is willing to post examples of how to get their app to the top of the list when releasing an upgrade. I've released multiple upgrades but the by-date sorting isn't changed. -Christer On Jan 24, 5:15 pm, John johndatsera...@gmail.com wrote: Yea you're right, some of them definitely do get pushed to the top when updated. I wonder what they're doing different then you? Maybe changing something in the package to make it seem new to the system? On Jan 24, 10:43 am, Sean E. Russell seaneruss...@gmail.com wrote: That can't be true; I see updates to apps that I have already installed at the top of the the by date list regularly. For example, looking at the list right now, I see a new version of SnapPhoto at #11, and I've had that installed since December. --- SER On Jan 23, 4:41 pm, Sundog sunns...@gmail.com wrote: That's how it works, yes. Otherwise it would be chaos, everyone pushing out trivial updates so they can stay on top. On Jan 23, 1:12 pm, wataru wataru2...@gmail.com wrote: I believe that is the correct behavior. If you update application, it doesn't push it on top of the list. Probably by date, it means the date you initially published your application to Android Market. On Jan 23, 7:56 am, Sean E.Russell seaneruss...@gmail.com wrote: Has anybody else encountered this? I've updated (uploaded a new version) of my app, TimeTracker, twice in the past couple of months, and in both cases, the new upload has not shown up in the by date sorted list of the Market app. When I search for the app, I see the correct version in the Market, and I can find it in the correct category by scrolling down; it is just that the updates aren't being correctly sorted. Any ideas? Has anybody else noticed this happening to their apps? Thanks, --- SER- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Parsing RSS feeds, encoding problems
The issue has still new status so either Google is just ignoring it or they think it's a bug in my code. I tried a little more and I experienced similar problems when fetching XML that has encoded html inside the tags (typically RSS feeds). This code works perfectly when running on the desktop but on android it just refuses to give me the text after it encounters lt; in this node: descriptionTest html chars: lt;bgt;v2.1lt;/bgt; released./ description The full sample code is included below in case someone would like to give it a try or tell me if I am missing something here!? Desktop output: * RSS: Test html chars: bv2.1/b released. Read about the changes here! Android output: Test html chars: Sample code: URI rssurl = URI.create(http://www.hvaerstillingen.no/docs/rss/ test.txt); try { DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = builder.parse(rssurl.toURL().openStream()); NodeList nodes = doc.getElementsByTagName(item); for (int i = 0; i nodes.getLength(); i++) { Element element = (Element) nodes.item(i); NodeList title = element.getElementsByTagName(title); Element line = (Element) title.item(0); Element descEl = (Element) element.getElementsByTagName (description).item(0); Node textNode = descEl.getFirstChild(); System.out.println(* RSS: + textNode.getNodeValue ()); } } catch (Exception e) { e.printStackTrace(); } -Christer On 1 Des 2008, 19:54, Xavier Mathews xavieruni...@gmail.com wrote: Ok Great! Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois xavieruni...@gmail.com¥xavieruni...@hotmail.com¥truestar...@yahoo.com Fear of a name, only increases fear of the thing itself. On Mon, Dec 1, 2008 at 12:58 AM, ChisterNordvik cnord...@gmail.com wrote: It's been added: http://code.google.com/p/android/issues/detail?id=1398 -Christer On 1 Des, 01:55, Xavier Mathews xavieruni...@gmail.com wrote: Same Problem Here. Post It In The Issue Tracker! On 11/30/2008, mobilek...@googlemail.com mobilek...@googlemail.com wrote: Yes, I have also encountered the same problem. Any suggestions? On Nov 30, 10:53 pm, ChisterNordvik cnord...@gmail.com wrote: Hi! Does anyone have a workingRSSparser with Android? I tried doing simple DOM parsing of the XML but the character encoding isn't handled properly so the norwegian characters aren't displayed. I have tried everything but when I get the description element I just get the text until the norwegian character. Any sample code of parsing internationalRSSfeeds would be very welcome! Here is the feed that I am having problems with:http://www.dagbladet.no/rss/fotball/ -Christer Sample code that I started out with (have tried lots of encoding tricks to no avail): Feed feed = createFeed(this, new java.net.URI(http://www.dagbladet.no/rss/fotball/;)); ... public Feed createFeed(Context ctx, URI rssurl) { Feed feed = new Feed(); try { DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = builder.parse(rssurl.toURL().openStream()); NodeList nodes = doc.getElementsByTagName(item); for (int i = 0; i nodes.getLength(); i++) { Element element = (Element) nodes.item(i); NodeList title = element.getElementsByTagName(title); Element line = (Element) title.item(0); String feedTitle = getCharacterDataFromElement(line); String url = getCharacterDataFromElement (element.getElementsByTagName(link).item(0)); Article art = new Article(); art.title = feedTitle; art.url = url; art.description = getCharacterDataFromElement (element.getElementsByTagName(description).item(0)); feed.articles.add(art); } } catch (Exception e) { e.printStackTrace(); } return feed; } public static String getCharacterDataFromElement(Node e) { Node child = e.getFirstChild(); if(child == null) return ?; if (child instanceof CharacterData) { CharacterData cd =
[android-developers] Re: Parsing RSS feeds, encoding problems
I don't know if I am to be happy (since it works) or sad (because I wasted 8+ hours) but thanks! Now the html encoding problems works :-) Guess I have to retry the international RSS feeds and see if it was related to this. I've never used a XML library that behaves this way.. -Christer On 25 Jan, 20:02, Mark Murphy mmur...@commonsware.com wrote: Chister Nordvik wrote: The issue has still new status so either Google is just ignoring it or they think it's a bug in my code. I tried a little more and I experienced similar problems when fetching XML that has encoded html inside the tags (typically RSS feeds). This code works perfectly when running on the desktop but on android it just refuses to give me the text after it encounters lt; in this node: descriptionTest html chars: lt;bgt;v2.1lt;/bgt; released./ description It splits the text into several child text nodes, not just one. Hence, don't just use getFirstChild() -- iterate over all children. Leastways, that worked for amp; when I encountered a similar phenomenon. -- Mark Murphy (a Commons Guy)http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 2.0 Available! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Android browser is really slow/buggy when clicking on checkboxes
Hi! I have made an app that shows a list of RSS feeds at the main screen. One of the reasons is to be able to generate polls for the users and host them on my webserver. The Android browser is close to unusable when clicking checkboxes. At least on my device. The behavior that I am experiencing: - Checking a checkbox can take 1-2 seconds to update. If I just wait then suddenly the check appears. - Checking a checkbox in touch mode takes two touches. One to get the focus square around it and one to check. Standard checkboxes are small so not easy to do this! And it's not standard behavior inside Android itself to click twice on a checkbox... Can anyone of you try to check the checkboxes on this page with your Android browser? http://www.mobilefootie.com/polls/fotmob2.jsp And please let me know if you have a different experience than me! -Christer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market paid-for apps
Seems like I was wrong: http://www.google.com/support/forum/p/checkout-merchants/thread?tid=2e476d7b2a1afb77hl=en You can't register as a merchant outside US/UK at the moment. I know all of you want to promote your website but I guess I'll wait for Googles solution since most users will prefer that. But that's for a different thread! ;-) -Christer On Jan 2, 10:02 am, Al Sutton a...@funkyandroid.com wrote: And just so we're not left out; AndAppStore has always allowed paid-for apps using any method the developer wants (PayPal links, Google Checkout links, Mogees integration, etc.) as opposed to requiring any customisations specific to AndAppStore. Al.http://andappstore.com/ Shane Isbell wrote: SlideME is also launching paid apps next week. We have the int'l tax and US domestic sales tax issues sorted, as well as payment to developers, so you will be able to sell freely on our market. It will be an easy process for developers. We also have some good traction with the user community, with over 6,000 downloads of our client. Thanks, Shane http://slideme.org On Thu, Jan 1, 2009 at 10:13 AM, Faisal Abid faisal.a...@gmail.com mailto:faisal.a...@gmail.com wrote: Andspot.com/blog is launching paid apps this week On Jan 1, 2009 12:47 PM, Al Sutton a...@funkyandroid.com mailto:a...@funkyandroid.com wrote: I'd start packing, the email reads; we will enable priced app support in Q1 for developers operating in these countries in the following order: Note the word operating, not selling to, so my understanding is you need to be based in those countries so that Google can process the necessary taxes and comply with the legal requirements of paying companies and individuals in those countries. I'd be interested to hear what you've formed your view from.. Al. Chister Nordvik wrote: I understood it differently :-) The market will open to different coun... -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market paid-for apps
Quote: But that's for a different thread!. So lets get back to the original question. How are developers in countries like Norway expected to get paid for their application through the Google Marketplace with Google's solution? Are we just going to sit and wait and hope Google will think about us? Or do we have to establish a UK company? Anyone else thought about this? -Christer On 2 Jan, 15:02, Al Sutton a...@funkyandroid.com wrote: We're always open to suggestions for improvements :). Al. Chister Nordvik wrote: Seems like I was wrong: http://www.google.com/support/forum/p/checkout-merchants/thread?tid=2... You can't register as a merchant outside US/UK at the moment. I know all of you want to promote your website but I guess I'll wait for Googles solution since most users will prefer that. But that's for a different thread! ;-) -Christer On Jan 2, 10:02 am, Al Sutton a...@funkyandroid.com wrote: And just so we're not left out; AndAppStore has always allowed paid-for apps using any method the developer wants (PayPal links, Google Checkout links, Mogees integration, etc.) as opposed to requiring any customisations specific to AndAppStore. Al.http://andappstore.com/ Shane Isbell wrote: SlideME is also launching paid apps next week. We have the int'l tax and US domestic sales tax issues sorted, as well as payment to developers, so you will be able to sell freely on our market. It will be an easy process for developers. We also have some good traction with the user community, with over 6,000 downloads of our client. Thanks, Shane http://slideme.org On Thu, Jan 1, 2009 at 10:13 AM, Faisal Abid faisal.a...@gmail.com mailto:faisal.a...@gmail.com wrote: Andspot.com/blog is launching paid apps this week On Jan 1, 2009 12:47 PM, Al Sutton a...@funkyandroid.com mailto:a...@funkyandroid.com wrote: I'd start packing, the email reads; we will enable priced app support in Q1 for developers operating in these countries in the following order: Note the word operating, not selling to, so my understanding is you need to be based in those countries so that Google can process the necessary taxes and comply with the legal requirements of paying companies and individuals in those countries. I'd be interested to hear what you've formed your view from.. Al. Chister Nordvik wrote: I understood it differently :-) The market will open to different coun... -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. -- == Funky Android Limited is registered in England Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---