Re: [android-developers] Resource qualifier bugs in Honeycomb/xoom

2011-04-16 Thread Brill Pappin
Ahh, that explains the missing night mode, although if there is no dock mode (which is obviously a bug since I have it in a doc) when there can't be a car mode. - Brill Pappin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Android 1.5: Service

2011-04-16 Thread Mahavir Jain
Hi, This may be very basic question but I really cannot find any proper solution for this. I was developing app (which have service) on Android 2.2. Then I realize that I should also make it compatible to Android 1.5. But for android 1.5, onStartCommand() method was not there and instead

Re: [android-developers] Action bar through compatibility lib on 1.x, 2.x API

2011-04-16 Thread String
Yes. That's the difference between min-sdk-version and the level specified in Properties, and is how it's always been if you're supporting a range of versions. String -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] app crashes on Android 2.3.3 (RemoteServiceException)

2011-04-16 Thread A.TNG
Hi Guys, I developed a application and put it on Android Market. This application support Android API from level 7 to level 10. It works prefectly on Android 2.1 and 2.2. Recently, it seems many user start to use Android 2.3.3. I start to get a strange crash as following:

[android-developers] Getting current time OR GMT offset for any location.

2011-04-16 Thread Amita Dev
Hi, Is it possible to get current time / GMT offset for any location? For that location I have longitude / latitude but that is not my current location. Thanks, -A -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Android 1.5: Service

2011-04-16 Thread Kumar Bibek
Check this out http://developer.android.com/reference/android/app/Service.html#onStartCommand%28android.content.Intent,%20int,%20int%29 Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Apr 16, 2011 at 12:38 PM, Mahavir Jain vir.j...@gmail.com wrote: Hi, This may be

Re: [android-developers] app crashes on Android 2.3.3 (RemoteServiceException)

2011-04-16 Thread Dianne Hackborn
As it says, you are trying to post a notification that is invalid. This particular error happens when the notification you give to Service.startForeground() is invalid. (Btw, I really really hope you aren't using com.xxx.xxx as your app package name.) On Sat, Apr 16, 2011 at 12:37 AM, A.TNG

Re: [android-developers] Resource qualifier bugs in Honeycomb/xoom

2011-04-16 Thread Dianne Hackborn
The no dock mode is not a bug. There is no hardware to detect that it is in a dock. All it can see is that it is plugged in to USB power. There are many Android devices that have various ways to plug in to power that hold the device, but don't have hardware to detect if they are actually

Re: [android-developers] Read and write file at same time?

2011-04-16 Thread Dianne Hackborn
Linux allows separate entities to open files and read and write them at the same time. You don't have to do anything special for this. On Fri, Apr 15, 2011 at 10:09 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, I just want to play one file from sdcard which is in encrypted

Re: [android-developers] Re: How to Get List of all Devices Connected to the Same Wi-Fi Network

2011-04-16 Thread Raghav Sood
You could try running a loop that pings each internal ip. Unless there is an Nmap like function for android this method would only return which of the ips have devices connected to them. On Sat, Apr 16, 2011 at 4:05 AM, Robert rloude...@gmail.com wrote: Well the particular devices that I will

Re: [android-developers] Re: How to Get List of all Devices Connected to the Same Wi-Fi Network

2011-04-16 Thread Kumar Bibek
Look at JmDNS library. It works for me. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Apr 16, 2011 at 2:22 PM, Raghav Sood raghavs...@gmail.com wrote: You could try running a loop that pings each internal ip. Unless there is an Nmap like function for android this

[android-developers] Android+Google Docs

2011-04-16 Thread Reptil
How can i develop a Android Application that allow someone to login in his Google Docs account? And which library i much use? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Android+Google Docs

2011-04-16 Thread Nasif Noorudeen
oauth core .jar On Sat, Apr 16, 2011 at 3:31 PM, Reptil christophepeix...@gmail.com wrote: How can i develop a Android Application that allow someone to login in his Google Docs account? And which library i much use? -- You received this message because you are subscribed to the Google

Re: [android-developers] Android 1.5: Service

2011-04-16 Thread Mahavir Jain
Thanks Kumar.. On Sat, Apr 16, 2011 at 1:54 PM, Kumar Bibek coomar@gmail.com wrote: Check this out http://developer.android.com/reference/android/app/Service.html#onStartCommand%28android.content.Intent,%20int,%20int%29 Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com

Re: [android-developers] Action bar through compatibility lib on 1.x, 2.x API

2011-04-16 Thread Mark Murphy
On Sat, Apr 16, 2011 at 3:08 AM, String sterling.ud...@googlemail.com wrote: Yes. That's the difference between min-sdk-version and the level specified in Properties, and is how it's always been if you're supporting a range of versions. Agreed. Your build target (default.properties for Ant,

Re: [android-developers] Getting current time OR GMT offset for any location.

2011-04-16 Thread Mark Murphy
On Sat, Apr 16, 2011 at 4:17 AM, Amita Dev amita.develo...@gmail.com wrote:     Is it possible to get current time / GMT offset for any location? For that location I have longitude / latitude but that is not my current location. You might be able to find some Web service, or possibly a JAR,

Re: [android-developers] Programmatically play DTMF tones during a call

2011-04-16 Thread Takeyuki UEDA
How about ToneGenerator? http://developer.android.com/reference/android/media/ToneGenerator.html - Takeyuki On 2011/04/15, at 23:28, Mark Murphy mmur...@commonsware.com wrote: On Fri, Apr 15, 2011 at 10:16 AM, Keith Fry keith...@gmail.com wrote: Yes, I want it to play tones over the call not

[android-developers] Re: Getting current time OR GMT offset for any location.

2011-04-16 Thread lbendlin
This is extremely complicated as you would need to store all the paths for time zone borders, including the inclusions, double inclusions etc. Most country borders are not straight so it would be a massive amount of data. And then there is Indiana...

Re: [android-developers] Android+Google Docs

2011-04-16 Thread Me
Dear Reptil ; In some past I use smack jar for this .. On Sat, Apr 16, 2011 at 2:01 PM, Reptil christophepeix...@gmail.com wrote: How can i develop a Android Application that allow someone to login in his Google Docs account? And which library i much use? -- You

[android-developers] Re: Display large html content page wise in WebView

2011-04-16 Thread lbendlin
You need to separate the data from its presentation. By its very nature HTML is unable to describe multiple pages. So you need to extract the data, separate it into the required chunks, and then re-render them. -- You received this message because you are subscribed to the Google Groups

[android-developers] Adding Google Maps to Android app

2011-04-16 Thread Neverland
Hello all, I'm developing an app where I use the camera (android 2.2) and in some point I needed to add a google map to the app. As far as I know, Google Maps can only be added through a Google API and a different emulator that also runs on Google API... My question is: how to integrate the google

Re: [android-developers] Adding Google Maps to Android app

2011-04-16 Thread Mark Murphy
On Sat, Apr 16, 2011 at 9:06 AM, Neverland noha.mahmoud2...@gmail.com wrote: My question is: how to integrate the google maps to the module that uses Android SDK? http://code.google.com/android/add-ons/google-apis/index.html http://code.google.com/android/add-ons/google-apis/installing.html

Re: [android-developers] Adding Google Maps to Android app

2011-04-16 Thread lbendlin
Also be aware that there is a second option, especially if you only need maps for certain locations. The Google Maps Static API provides just that, without any of the overhead of the regular MapView API. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Adding Google Maps to Android app

2011-04-16 Thread lbendlin
[rant]The reason I mentioned static maps is that for whatever weird reason Google only allow you to have ONE MapView in your ENTIRE application. So forget about having active maps in different activities, or even different tabs. [/rant] -- You received this message because you are subscribed

[android-developers] MessageBox style Preference

2011-04-16 Thread Peter Webb
My app has a Restore Defaults function in its Preference Activity. I want the user to confirm the selection with a box which says Are you sure, with a OK button and a Cancel button. I built this using a ListPreference with two items and while it works it doesn't look right. Is there some easy way

Re: [android-developers] Facebook and twitter integration

2011-04-16 Thread Mahavir Jain
For Facebook, You will have to login through the FB dialog box but you can post the content through Graph API.. Checkout http://developers.facebook.com/docs/reference/api/ For FB SDK visit http://developers.facebook.com/docs/sdks/ Regards, Mahavir On Sat, Apr 16, 2011 at 11:29 AM, Laxmi Verma

Re: [android-developers] MessageBox style Preference

2011-04-16 Thread Mark Murphy
On Sat, Apr 16, 2011 at 9:37 AM, Peter Webb r.peter.w...@gmail.com wrote: My app has a Restore Defaults function in its Preference Activity. I want the user to confirm the selection with a box which says Are you sure, with a OK button and a Cancel button. I built this using a ListPreference

[android-developers] Re: Getting current time OR GMT offset for any location.

2011-04-16 Thread String
No, there's nothing in the SDK to do it, and yes, it's complicated - though not insurmountable. Trust me, I know: https://market.android.com/details?id=com.polyclock Since Indiana' started using DST, it's really no harder than many other states which split time zones. Arizona's the only really

[android-developers] Re: MessageBox style Preference

2011-04-16 Thread James W
Just use a default Preference item rather than a derived ListPreference. All you need is to manually handle the click on the preference. I have exactly the same functionality.. final Preference reset = (Preference)findPreference(reset); reset.setOnPreferenceClickListener(new

[android-developers] Re: MessageBox style Preference

2011-04-16 Thread James W
Mark's method is also worth considering. I didn't do it that way because in my experience Menu options are not typically used in a Preference activity, so I wanted my users to be able to easily find it. For what its worth, I put it under a Utilities category at the bottom. On Apr 16, 9:55 pm,

Re: [android-developers] Re: MessageBox style Preference

2011-04-16 Thread Mark Murphy
On Sat, Apr 16, 2011 at 10:02 AM, James W jpbwebs...@gmail.com wrote: I didn't do it that way because in my experience Menu options are not typically used in a Preference activity, so I wanted my users to be able to easily find it. Yeah, I hear you. Yet another possibility is to use your own

[android-developers] Global Variable extended Application Class causing ClassCastException

2011-04-16 Thread ArcDroid
Hello all, I have tried everything and can't get past this issue. Here is a my error and the simple code example Using Android 2.2.. java.lang.RuntimeException: Unable to start activity ComponentInfo{com.arcdroid.Vars/com.arcdroid.Vars.HelloApplication}: java.lang.ClassCastException:

Re: [android-developers] Global Variable extended Application Class causing ClassCastException

2011-04-16 Thread Mark Murphy
You have not modified your manifest to say you are using your custom Application class. http://developer.android.com/guide/topics/manifest/application-element.html#nm You also have an erroneous activity element, claiming that MyApp is an activity, when it is not. On Sat, Apr 16, 2011 at 10:16

Re: [android-developers] Global Variable extended Application Class causing ClassCastException

2011-04-16 Thread Nikolay Elenkov
On Sat, Apr 16, 2011 at 11:16 PM, ArcDroid jacobrjohn...@gmail.com wrote: Hello all, I have tried everything and can't get past this issue.  Here is a my error and the simple code example        MyApp appState = ((MyApp)getApplicationContext());           // String state =

Re: [android-developers] Re: MessageBox style Preference

2011-04-16 Thread B Lyon
I just played with tailoring the preference stuff to add a both a Reset All preference, as well as adding a little Reset button next to the checkbox/whatever for the other preference types, so that you can easily just reset a specific preference, with the Reset being visible only if you're not

[android-developers] State of in-app billing

2011-04-16 Thread Nikolay Elenkov
Here's an honest questions to people who have in-app billing in production: Does it work and is it worth the trouble? I've been reading the list and it does seem that there are a number of problems: * it just doesn't work on 1.6/2.1 (some devices only?) * it takes a while for purchases to get

[android-developers] Re: Unhandled algorithm md5 requested

2011-04-16 Thread marten
I've reported this bug: http://code.google.com/p/android/issues/detail?id=16051 also, I've found an easy way to work around this issue. You have to subclass DigestScheme to let getParameter return MD5 if the algorithm was md5: public class FixedDigestScheme extends DigestScheme {

[android-developers] Re: Global Variable extended Application Class causing ClassCastException

2011-04-16 Thread ArcDroid
Thanks for the quick reply and thanks for pointing out my error in my manifest. Here is the new one, but still having the same issue. Also tried getApplication() vs. getApplicationContext(). ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: Global Variable extended Application Class causing ClassCastException

2011-04-16 Thread Mark Murphy
On Sat, Apr 16, 2011 at 10:46 AM, ArcDroid jacobrjohn...@gmail.com wrote: Thanks for pointing that out, but still having troubles...I hope you dont mind the direct email. Yes, actually, I do, which is why I am sending this back to the list. ?xml version=1.0 encoding=utf-8? manifest

[android-developers] Re: Global Variable extended Application Class causing ClassCastException

2011-04-16 Thread ArcDroid
Thanks Mark for helpI finally got it working. Have a nice weekend. ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.arcdroid.Vars android:versionCode=1 android:versionName=1.0 application

Re: [android-developers] Android+Google Docs

2011-04-16 Thread Nikolay Elenkov
On Sat, Apr 16, 2011 at 7:01 PM, Reptil christophepeix...@gmail.com wrote: How can i develop a Android Application that allow someone to login in his Google Docs account? And which library i much use? http://code.google.com/p/google-api-java-client/ -- You received this message because you

Re: [android-developers] State of in-app billing

2011-04-16 Thread Kostya Vasilyev
My experience is as follows (I went live with in-app billing on Monday the 11th). Lost purchase notifications affect about 5% of my orders, and when they do, requesting transactions from Google again fixes it. The good side of this bad thing is that it happens after the user places the

[android-developers] SoftKeyboard with transparent background

2011-04-16 Thread Pradeep
Hi, I have written a new keyboard by extending the SoftKeyboard provided as example. I wanted to have a transparent background so I included a transparent png as background. This worked for some apps but for many others it did not. How can I make it work for all ? Am I missing something ?

[android-developers] Increment field Via Content Values?

2011-04-16 Thread Paul
I have an app that as the user opens 'things' from the ListView, I want to update their view count as they are opened. Currently doing this via raw SQL (...SET views = views + 1...), but would like to run this operation through my content provider's 'update' method, if possible. Does anyone now

Re: [android-developers] Increment field Via Content Values?

2011-04-16 Thread Kostya Vasilyev
ContentProviders are somewhat more abstract than SQL... You could have a special URI that means increment this item's view count, e.g.: authority/item/# - for operations on the entire item authority/item/#/viewcount - updating would increment the view count by one It might also be possible

[android-developers] Re: Increment field Via Content Values?

2011-04-16 Thread Paul
Yeah, I had thought of creating a unique URi, as I am already handling a few different ones in my overridden update method. Thanks for the input! On Apr 16, 1:06 pm, Kostya Vasilyev kmans...@gmail.com wrote: ContentProviders are somewhat more abstract than SQL... You could have a special URI

[android-developers] Re: MessageBox style Preference

2011-04-16 Thread lbendlin
Alternatively you can modify the default select handler. @Override public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { Preference pref = findPreference(key); if (pref.getTitle().equals(Reset)) { ... } } same idea, but maybe a bit

Re: [android-developers] Read and write file at same time?

2011-04-16 Thread lbendlin
And you probably don't want to write to a file anyhow, rather decrypt to memory, and play from memory. -- 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

Re: [android-developers] Ticker

2011-04-16 Thread TreKing
On Fri, Apr 15, 2011 at 7:45 PM, Euphy Zhang euph.zh...@gmail.com wrote: But it is in an android tutorial! So what!? Any joker can add their own class to a tutorial! What can i do with it? Not much! Email the author!? Find a new tutorial!? Thank you in advance! Welcome!

Re: [android-developers] Resource qualifier bugs in Honeycomb/xoom

2011-04-16 Thread Brill Pappin
I believe you, although I think there are at least two points that could detect dock mode. one being the power connections which are independent and the other being the USB connection to the sound output (from the aux jack on the basic dock). I assume this would be Motorola's problem though,

Re: [android-developers] Action bar through compatibility lib on 1.x, 2.x API

2011-04-16 Thread Brill Pappin
That explains a lot for me. I've been trying to make a few of our apps compatible with Honeycomb and was having a very hard time because i was trying to build at the min version. Someone pointed out the API Analysis plugin from http://code.google.com/p/adt-addons/ which has turned out to be a

[android-developers] gamepad events in InputEvent onKeyDown event

2011-04-16 Thread Belani
When I connect my USB logitech gamepad, it gets detected by android. I found that It is listed in the /proc/bus/input/devices file. Also I can see an entry in /dev/input/event6. I also tried cat and evtest on /dev/input/event6 and both show key press data on the screen. However I am not getting

[android-developers] Re: Database shared by Activity and Service. What's the best approach?

2011-04-16 Thread bogde
Thanks for the suggestion. I wasn't clear enough, I'm reading two analog values and store them over time; I store two values every ten seconds, so I need a database. I implemented a content provider and everything seems to work great so far. Actually, it worked pretty well before, except I used

Re: [android-developers] Database shared by Activity and Service. What's the best approach?

2011-04-16 Thread Samson Akisanya
Would a content provider work? On 14 Apr 2011 04:56, bogde bogde...@gmail.com wrote: I'm new here and new to Android development too, so I want to apologize for my ignorance. I'm working on an application that is supposed to gather some data from an external device continuously, display the

[android-developers] Re: onSaveInstanceState(Bundle) onRestoreInstanceState(Bundle)

2011-04-16 Thread Streets Of Boston
For rotating the phone or sliding out the keyboard and such, onSaveInstanceState is not called and the onCreate will have a null value for the 'savedInstanceState' parameter. To handle this, use onRetainNonConfigurationInstance and

[android-developers] Re: Content P

2011-04-16 Thread bogde
I'm new to Android too, but recently wrote a content provider. Make sure the class SubscribeContentProvider.java is in the package com.providers Good luck! Bogdan On Apr 14, 11:39 pm, Android K interconnectt...@gmail.com wrote: Hi, With my one week old knowledge of Android I am trying use

Re: [android-developers] Re: onSaveInstanceState(Bundle) onRestoreInstanceState(Bundle)

2011-04-16 Thread TreKing
On Sat, Apr 16, 2011 at 3:13 PM, Streets Of Boston flyingdutc...@gmail.comwrote: For rotating the phone or sliding out the keyboard and such, onSaveInstanceState is not called and the onCreate will have a null value for the 'savedInstanceState' parameter. Was that a typo? Rotating the phone

[android-developers] Re: Activity#onRetainNonConfigurationInstance vs Fragment#setRetainInstance

2011-04-16 Thread Shri
Good to know that using Fragment#setRetainInstance to reuse (Web)Views is not supported. Since it is actually working for my simple scenario, I was looking at continuing to use it, and it potentially might have run into issues at some point in the future. Will look at using

Re: [android-developers] PendingIntent question

2011-04-16 Thread TreKing
On Fri, Apr 15, 2011 at 7:43 PM, dashman erjdri...@gmail.com wrote: what i'd like to do is to call the activity immediately from the background service Don't do that. The user doesn't need some activity popping up at some random time. Keep your notification scheme to let the user start the

[android-developers] facebook integration

2011-04-16 Thread bob
Does Android support any kind of facebook integration such as posting to someone's wall? Thanks. -- 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

Re: [android-developers] facebook integration

2011-04-16 Thread Kristopher Micinski
No. You can try to look for a facebook library, but there's no built in Android support for it. Type in facebook android in google: https://developers.facebook.com/blog/post/385/ Kris On Sat, Apr 16, 2011 at 6:05 PM, bob b...@coolgroups.com wrote: Does Android support any kind of facebook

Re: [android-developers] facebook integration

2011-04-16 Thread Kristopher Micinski
P.s., http://www.easyfacebookandroidsdk.com/ http://www.easyfacebookandroidsdk.com/Kris... On Sat, Apr 16, 2011 at 6:16 PM, Kristopher Micinski krismicin...@gmail.com wrote: No. You can try to look for a facebook library, but there's no built in Android support for it. Type in facebook

[android-developers] Explanation of CONTACT_ID vs RAW_CONTACT_ID

2011-04-16 Thread Ali Chousein
I wrote a blog explaining a brief study I did on CONTACT_ID vs RAW_CONTACT_ID. It can be found at the following location: @Blogger http://android-contact-id-vs-raw-contact-id.blogspot.com/ @Hyves

Re: [android-developers] Re: high scores

2011-04-16 Thread Filip Havlicek
I think what Dianne was trying to say is that if you, let's say, make a Tetris-like game and want to store a top 10 list, just make ten shared preferences, the data won't be large, they will be fast to access and there is no need for a database table for that. If you make a tower defense game and

Re: [android-developers] Re: high scores

2011-04-16 Thread Kristopher Micinski
Oh really? Thanks, I didn't catch it before, but I do now, all due to your enlightenment :-) Kris On Sat, Apr 16, 2011 at 6:24 PM, Filip Havlicek havlicek.fi...@gmail.comwrote: I think what Dianne was trying to say is that if you, let's say, make a Tetris-like game and want to store a top 10

[android-developers] Re: Monkeyrunner not capturing screenshot correctly

2011-04-16 Thread lsim001
Hi guys, I've actually worked out how to solve the problem. Well...the result of the problem. i am not going to speculate why the screenshots are not correct. Anyway, what I've done is to just take 2 screenshots and compare them until they are the same. This has worked well for me. Here's how

Re: [android-developers] Re: high scores

2011-04-16 Thread lbendlin
How likely is it that ten people will use the same Android device? If you really need a highscore list it should live on your game server, not on the device. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Re: high scores

2011-04-16 Thread Kristopher Micinski
I'd imagine that this is the same as how high scores work on a desktop: most of the time only I use my desktop, but Microsoft Solitaire still keeps track of high scores. Kris On Sat, Apr 16, 2011 at 6:34 PM, lbendlin l...@bendlin.us wrote: How likely is it that ten people will use the same

Re: [android-developers] about single user login in android

2011-04-16 Thread TreKing
On Fri, Apr 15, 2011 at 1:19 AM, Prasanna prasanna.kada...@gmail.comwrote: Hi want to make app for single user.how should i make it. http://www.catb.org/~esr/faqs/smart-questions.html - TreKing

Re: [android-developers] ANDROID IMAGE TRANSMISSION

2011-04-16 Thread TreKing
On Fri, Apr 15, 2011 at 12:29 AM, Raghavaraju K raghavara...@yakshnatechnologies.in wrote: PLEASE HELP ME WITH THE SAMPLE CODE PLEASE STOP YELLING PLEASE READ THE DOCUMENTATION ON ANIMATION PLEASE EXPLAIN WHAT YOU'VE TRIED THAT'S NOT WORKING

Re: [android-developers] Get text to string from website

2011-04-16 Thread TreKing
On Thu, Apr 14, 2011 at 7:16 AM, Rob rb.cu...@gmail.com wrote: I have looked at some samples but just ended up confused. :/ With what? Can you guys help me? Not if we don't know what you're confused about.

Re: [android-developers] Get text to string from website

2011-04-16 Thread Kristopher Micinski
When I clicked on that link, the page didn't exist :-(... Or is that link just an example that isn't meant to be for real. I would expect that if the site doesn't exist, you will get some kind of an exception, error or something like that. Is it possible the when you try to download you simply

[android-developers] is there a way to programmatically restart acore via adb shell after it's crashed?

2011-04-16 Thread eric van tassell
tia -- - evt (Eric van Tassell) twitter: evt_texelsoft linked-in: linkedin.com/in/evttxl -- 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

[android-developers] Prices on Market App vs. Market Website

2011-04-16 Thread Zsolt Vasvari
Am I seeing what I think I am seeing. It's so unbelievable and f-ed up that I think I might be dreaming. The prices shown on the Market App on the phone are the ones that I set in my users local currency, but the Market website is showing the US$ price converted to the local currency. So in the

[android-developers] Re: Get text to string from website

2011-04-16 Thread lbendlin
very early on you will have to decide if you want to do a synchronous or asynchronous web request. That has a big impact on how you will proceed. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: high scores

2011-04-16 Thread Filip Havlicek
You're welcome, Kris, I'm glad you can bath in the light of my knowledge :) Ibendlin, ten people is unlikely, but I can imagine 4-5 people playing games on one device (not everyone has a thousand dollars to buy a new smartphone for every child, but believe me, everyone wants to play with the new

[android-developers] Re: Prices on Market App vs. Market Website

2011-04-16 Thread Mark Carter
I'm not sure how it can possibly work. AFAICT, the currency is determined by the country of the sim card (for Android smartphones). But what happens if (like I do) you have two Android smartphones with different country sims? What currency should the website show then? -- You received this

Re: [android-developers] Re: Activity#onRetainNonConfigurationInstance vs Fragment#setRetainInstance

2011-04-16 Thread Dianne Hackborn
GLSurfaceView can most certainly deal with orientation changes. All this is, if your activity is not being restarted, is a resize of the window. On Sat, Apr 16, 2011 at 1:54 PM, Shri shri.bo...@gmail.com wrote: Good to know that using Fragment#setRetainInstance to reuse (Web)Views is not

Re: [android-developers] Re: onSaveInstanceState(Bundle) onRestoreInstanceState(Bundle)

2011-04-16 Thread Dianne Hackborn
Yes any config change like that involving restarting an activity will save and restore its state like normal. Otherwise the new activity would not match the old one. On Sat, Apr 16, 2011 at 1:37 PM, TreKing treking...@gmail.com wrote: On Sat, Apr 16, 2011 at 3:13 PM, Streets Of Boston

Re: [android-developers] Re: Database shared by Activity and Service. What's the best approach?

2011-04-16 Thread Dianne Hackborn
If you really care about performance, and all you are doing is reading two values and writing them over time, just appending this as binary data to a file would be far, far more efficient than using a SQLite database. On Sat, Apr 16, 2011 at 1:10 PM, bogde bogde...@gmail.com wrote: Thanks for

Re: [android-developers] gamepad events in InputEvent onKeyDown event

2011-04-16 Thread Dianne Hackborn
Game pads are not currently supported. On Sat, Apr 16, 2011 at 12:56 PM, Belani hardikbel...@gmail.com wrote: When I connect my USB logitech gamepad, it gets detected by android. I found that It is listed in the /proc/bus/input/devices file. Also I can see an entry in /dev/input/event6. I

[android-developers] Re: Prices on Market App vs. Market Website

2011-04-16 Thread Zsolt Vasvari
The website should determine my location based on my IP. It does it for me in Singapore, but it sitill showing the US$ price CONVERTED to S $ instead of the S$ as I set on the Market Console. It knows what country I am in, but it's showing the wrong price. On Apr 17, 8:50 am, Mark Carter

Re: [android-developers] SoftKeyboard with transparent background

2011-04-16 Thread Dianne Hackborn
Define did not work. In what way did it not work? On Sat, Apr 16, 2011 at 9:21 AM, Pradeep bhatt.prad...@gmail.com wrote: Hi, I have written a new keyboard by extending the SoftKeyboard provided as example. I wanted to have a transparent background so I included a transparent png as

[android-developers] Re: Progressive download with MediaPlayer

2011-04-16 Thread Doug
MediaPlayer can't do that for you, sorry. You will have to fully implement your own solution. Doug On Apr 14, 6:27 pm, Fernando Valente ferna...@fvalente.org wrote: Hey, I'm using MediaPlayer for audio streaming. I'd like to be able to progressive download the audio and save it to the