RE: [android-developers] Re: Scrolling broken in 2.2 ?

2010-09-15 Thread Peter Carpenter
Thanks Mike, Yep it's definitely a cross platform framework. At its simplest, I don't think it's too much to expect from a UI to have a scrolling textView within a parent scrollview. I'll delve into the source today and see if I can spot what's messing with the touch events. Cheers,

RE: [android-developers] Re: Scrolling broken in 2.2 ?

2010-09-15 Thread Peter Carpenter
Hi Kumar, I the short term, it would. We're not a consumer application so we do have a reasonable amount of control over the devices that we ultimately deploy on. It's not out of the question for us to say that we don't support 2.2. But obviously it's not in our interests to lock ourselves

Re: [android-developers] Re: OpenGL lockups in 2.2

2010-09-15 Thread Leigh McRae
I don't use GLSurfaceView and I am not really sure why anyone would use it for anything other than a demo. It makes your code less portable and takes control away from you. With that said, I do get people with HTC complaining about freezes. So it would seem that it's not a GLSurfaceView

[android-developers] Re: HttpURLConnection or HttpClient

2010-09-15 Thread cindy
Thanks for all the reply. On Sep 15, 3:39 pm, Filip Havlicek havlicek.fi...@gmail.com wrote: You can do that with URLConnection too of course, although it takes a little bit more effort to make it work. Best regards, Filip Havlicek 2010/9/16 Frank Weiss fewe...@gmail.com For simple

[android-developers] ANR keyDispatchingTimedOut

2010-09-15 Thread Dan
Hi all, I've got an application with an alarming number of users reporting force closes. I've tested multiple devices numerous times and never had this happen, so it's very difficult to test. Luckily, the new stack trace reporting features seem to give me an idea, but I am not familiar with ANR

[android-developers] A hand of cards

2010-09-15 Thread ClarkBattle
Imagine that you had five overlapped playing cards horizontally fanned so that you could see the top card and the right edges of the other four. Now you slide over the top card until its right edge is on the left of the screen, revealing the body of the second card with the right edges of the

[android-developers] Re: Upgrade non-market app with a new market version.

2010-09-15 Thread laminina
Hi psyke, You can perform OTA just following the same requirements Android Market performs. VersionCode greater than the one is already installed, signing certificates need to match.package name needs to match... Later after all the bureaucratic things are done you can publish the app in

[android-developers] shared library so size versus apk size

2010-09-15 Thread pgil
I would like to know why the size of my shared library .so is bigger than my .apk file generated with Eclipse? Approximatly the so size is twice the apk one. What is strange is after having installed it in the device (2.1 firmware) I checked the size of the apk when I uninstalled it from the

[android-developers] How to switch the mobile network in program?

2010-09-15 Thread M.Allam
Peace upon you , I searched more but didn't get the answer. Currently I have 2 mobile networks for my mobile say they are A and B. Is there a way to automatically detect the mobile networks if there are A and B then choose A? Or just simplely choose A no matter whether there is B availible? I

Re: [android-developers] A hand of cards

2010-09-15 Thread Mark Murphy
Use a RelativeLayout (for the overlapping cards) and a TranslateAnimation (for the movement of a card). On Wed, Sep 15, 2010 at 8:33 PM, ClarkBattle clarkbat...@gmail.com wrote: Imagine that you had five overlapped playing cards horizontally fanned so that you could see the top card and the

[android-developers] Re: ANR keyDispatchingTimedOut

2010-09-15 Thread Dan Barnett
I found a fair amount of reading about this in the following links: http://android-developers.blogspot.com/2009/05/painless-threading.html http://android-developers.blogspot.com/2009/05/painless-threading.html http://stackoverflow.com/questions/704311/android-how-do-i-investigate-an-anr

[android-developers] Re: HttpURLConnection or HttpClient

2010-09-15 Thread Indicator Veritatis
Yes, we know why. Because Apache's HttpClient (and other closely assoc. classes in the org.apache.http package) is a much better API than Sun's own HttpUrlConnection (and the rest of java.net's Http support). You can do far more work with less code, and it reads much better too. So, for example,

[android-developers] Re: Child activity lifetime in background

2010-09-15 Thread joebowbeer
Have you tried adding alwaysRetainTaskState to your Activity declaration? http://developer.android.com/guide/topics/manifest/activity-element.html#always When this attribute is 'true', users will always return to the task in its last state, regardless of how they get there. On Sep 14, 11:40 pm,

[android-developers] Droid Losing Values When I Load Image Picker

2010-09-15 Thread GregAZ
I have an Android app that is mostly a WebView except for a few things. One of them is uploading pictures. After the user picks an image I get the filepath and pass that along with the webview's url to a new method in a new thread. For some reason, in the onActivityResult method I can't get the

[android-developers] Re: shared library so size versus apk size

2010-09-15 Thread Chris Stratton
An apk is a zip file (try opening it as one) so the .so is stored inside it compressed. The savings from removing the apk would count both the compressed apk and any parts of it that get uncompressed during installation, such as shared libraries and the dexopted version of the class file. pgil

RE: [android-developers] ACTION_IMAGE_CAPTURE intent

2010-09-15 Thread lloyd
That is also a part of my problem. I am running in debug mode. I can see the disconnect message in the debug window occur the instant I take the picture. However Activity 3 ( the one that fired the ACTIVITY_IMAGE_CAPTURE gets the result and finishes up nicely. When that task terminates, I get the

[android-developers] Re: ADT master version

2010-09-15 Thread Indicator Veritatis
On Sep 15, 11:28 am, Xavier Ducrohet x...@android.com wrote: On Wed, Sep 15, 2010 at 3:43 AM, Indicator Veritatis mej1...@yahoo.com wrote: Do I really have to explain something so elementary? 8 is not the same as 8.0.0 is not the same as 8(.0.0). So yes, you did make it more confusing

[android-developers] Re: Loading raw resource text file hang...

2010-09-15 Thread Mystique
Right, it was suppose to be: while ((strLine = dataIO.readLine()) != null) { sBuffer.append(strLine + \n); I don't know why it was change. Thanks you guys. On Sep 16, 3:18 am, DanH danhi...@ieee.org wrote: And, of course, DataInputStream.readLine is deprecated. On Sep 15, 1:53 

[android-developers] Re: notification..!

2010-09-15 Thread Indicator Veritatis
As close as possible to a Windows Registry, and not very close, is it? All it has in common with the Windows Registry is that it is a searchable, editable list of properties, i.e., name-value pairs. No system-wide standard for naming keys, no hierarchical organization, no predefined root keys...

[android-developers] Re: Choosing background for Live Wallpaper.

2010-09-15 Thread Joel Duggan
Here's an update on where I am with this. I have to say it's pretty hackish and I'm not proud of it but it works, sorta. I created a Preference in my Settings dialog to choose the background. From the callback I call 'startActivityForResult' with the Intent.ACTION_SET_WALLPAPER. This launches

[android-developers] how do I load an image for a softkeyboard

2010-09-15 Thread Saied
Hi, I am trying to develop a softkeyboard, which uses and image, senses the onTouch events, and sends characters to the input stream. So I have created the essentials of the keyboard and I want to load an image. Here's what I do: public class mekb extends InputMethodService implements

[android-developers] Re: HttpURLConnection or HttpClient

2010-09-15 Thread cindy
How about speed? which one is fast? On Sep 15, 5:59 pm, Indicator Veritatis mej1...@yahoo.com wrote: Yes, we know why. Because Apache's HttpClient (and other closely assoc. classes in the org.apache.http package) is a much better API than Sun's own HttpUrlConnection (and the rest of java.net's

[android-developers] how to list files on SD card

2010-09-15 Thread cindy
Hi all, My application needs to do some clean up. I need to list the files such as ls voice*.amr, and then delete those files. How could I do it in Android? Thanks ! Cindy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Find the location in Android Map

2010-09-15 Thread Dhrumil Shah
Hey Frank, Then you told me what do I do?? ~Dhr On Thu, Sep 16, 2010 at 12:43 AM, Frank Weiss fewe...@gmail.com wrote: I see a couple of issues with your code. 1) The location variable set in the following line does not appear to be used anywher: Location location =

[android-developers] Uploading file through HTTP Post

2010-09-15 Thread perumal316
Hi All, I am writing an application to upload a file from Android phone to a web server. I have tried the example from: http://www.anddev.org/novice-tutorials-f8/doing-http-post-with-android-t492.html But it will only work for SDK 1.0 (why? Not Sure?). Can this be done for Android 2.1? Or is

Re: [android-developers] Find the location in Android Map

2010-09-15 Thread Frank Weiss
I want to help you, but I don't clearly understand what you want to do. I thought you want to to display a mark on a map from the latitude and longitude a user entered in two text fields. But I don't understand if you want to display that on a MapActivity in your app or in another app. One thing

[android-developers] Re: Any way to animate a 2D Game Smooth without OpenGL ?

2010-09-15 Thread Jason
OK.. so the important point in the two-threads theory is that the work IS done concurrently. The GameThread does all the calcs for the next frame WHILE the render thread is rendering the previous frame. So that you don't modify game objects while the render thread is rendering, you separate the

[android-developers] Can we customize spinner dialog

2010-09-15 Thread Karteek N
When we select spinner it shows a display of items which almost the device screen size Can we minimize its width or height, I think this question was already posted by some one. But i am unable to find solution Thanks, Karteek -- You received this message because you are subscribed to the

[android-developers] How to get android version programmtically

2010-09-15 Thread Jiang
Hello, guyes. I need to get android version programmtically dynamically when my application is running on device. I tried android.os.Build.Version, but it doesn't exist in Android sdk 1.6. How to get android version? Thanks. Jiang -- You received this message because you are

Re: [android-developers] Find the location in Android Map

2010-09-15 Thread Dhrumil Shah
I thought you want to to display a mark on a map from the latitude and longitude a user entered in two text fields. But I don't understand if you want to display that on a MapActivity in your app or in another app. - I want to display that on a MapActivity in my app. Not in another activity.

Re: [android-developers] Can we customize spinner dialog

2010-09-15 Thread Shashidhar
Yes, You can do it. While setting the dropdownviewresource for the adapter of your spinner, define your own xml layout instead of the android's inbuilt resource xml. Your xml can simply have a textview with your required layout parameters. -Shashidhar On Thu, Sep 16, 2010 at 9:55 AM, Karteek N

[android-developers] How to do this correctly in SQLite?

2010-09-15 Thread Mystique
Hi, I want to insert a String value call temp but I don't seems to get it working for the INSERT INTO statement. Anything wrong with the code? This is the initialization to create table and insert some default values into the table if the database doesn't exist. Many Thanks. ---code---

<    1   2   3