[android-developers] preference screen background

2009-10-19 Thread amiz
Can the Preference Screen background be changed to white and the text to white? Would that be done through a customized style? How would the style be applied to the Preference Screen xml? Thanks Am. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Sharing code between activities

2009-10-07 Thread amiz
Mark, Before you suggested the utility class, I packaged the code in a jar which I added to the project. Are there any pro/cons for the utility class vs the jar? This will be used within one app and not across apps. Thanks A. On Oct 7, 10:41 am, "Mark Murphy" wrote: > > I have an app with two

[android-developers] Sharing code between activities

2009-10-07 Thread amiz
activities instead of duplicating the code twice? Thanks Amiz --~--~-~--~~~---~--~~ 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 u

[android-developers] GridView and List

2009-09-23 Thread amiz
My app uses a gridview to display a list of values (imagine a calendar). I have a button that forces the list of values to be recalculated. When the apps starts the grid view is correctly displayed and individual cells can be selected and the correct position is displayed (ie position 0 is at the

[android-developers] Change in String.format between 1.1 and .15?

2009-08-09 Thread amiz
I have an app (SDK 1.1) that uses dataOut_str = String.format("%.2f" ,dataOut_d); which converts correctly double (dataOut_d) into a string with 2 decimals. With 1.5, I get a runtime exception: 08-09 17:36:45.717: ERROR/AndroidRuntime(944): Uncaught handler: thread main exiting due to uncaug

[android-developers] Is there Galaxy simulator?

2009-07-29 Thread amiz
A Galaxy user emailed us to report that one of our apps crashes when he perfoms a function, we had over 10k downloads of this app with no similar report. Since the Galaxy is not yet available in the US,is there a simulator to help resolve issues like this? Alain --~--~-~--~~-

[android-developers] Scroll view reset to top

2009-07-29 Thread amiz
My layout has a scroll view, a linear layout, an image view and a button below the image which needs to be scrolled down. I load a new image each time the button is clicked. All of this works, the problem is when a new image is loaded the scroll bar is at the bottom and the user has to scroll u

[android-developers] Unicode support

2009-07-10 Thread amiz
Is there a document that lists the range of unicode codes that Android supports. I am trying to display superscript 9 is \u2079 in a string and I get a block in the emulator. Superscript 3 which is \u00b3 works Thanks --~--~-~--~~~---~--~~ You received this mes

[android-developers] Why does eclipse need internet access to work?

2009-03-17 Thread amiz
Inadvertently, I blocked eclipse from accessing the internet, which prevented the emulator from running (see my other post). Once I removed the block, eclipse and the emulator worked again. Anyone knows why is network access required for eclipse to work? Thanks --~--~-~--~~--

[android-developers] Re: Emulator not starting

2009-03-17 Thread amiz
adb kill-server > adb start-server > > See if that fixes it. > > On Mar 17, 6:48 pm, amiz wrote: > > > I am running Eclipse on XP.  The Emulator was running correctly but > > all of sudden today it hang up. I closed Eclipse, rebooted the XP, > > now when I invo

[android-developers] Emulator not starting

2009-03-17 Thread amiz
I am running Eclipse on XP. The Emulator was running correctly but all of sudden today it hang up. I closed Eclipse, rebooted the XP, now when I invoke eclipse, it displays a ddms alert box with the message: "Failed to initialize monitor thread: Unable to establish loopback connection" and ecli