• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. I

    Apps how do I get a fading edge in a linearlayouts?

    How do I get a fading edge in a linearlayout? I have a collapsed linearlayout which hides a part of the childviews and I want to make the bottom fade. I have tried setting 'Fading edge' and 'Fading edge length' but those aren't working.
  2. I

    Apps Textview measure problem

    I have encountered a problem with measuring the height of a textview. I can only seem to get the height for a textview with only 1 line of text but I need the height of the textview while wrapped. My TextView's original height is 76dp (1 line of text) My TextView's new height with more lines...
  3. I

    Apps get height of hidden views

    I am trying to make a expand/collapse view animation. For the expanding part I need the total height of the view I am expanding but I don't know how to get it because all height methods/properties seem to return the current (partial) height. How can I get the actual height of the view?
  4. I

    Apps wifi/mobile network switching problem

    I have an application which communictates with a webservice via an URLConnection. When I start my app, then switch from/to wifi or mobile network. The getInputStream() method throws either a FileNotFoundException on mobile network, or a SocketException on wifi. Everytime I make a request...
  5. I

    Apps Scheduled task

    Hi, I have an app which needs to check if reservations you made are available once per day. Currently I am using the Alarm manager and a broadcast receiver to run this task periodically. The problem is, that when the app gets killed (by restarting the phone or releasing from memory, etc.)...
  6. I

    Apps Question regarding database join queries

    I have a sqlite database with multiple tables pointing to eachother. Now I was wondering what would be better to use: 1. A join query - this would require a SQLiteQueryBuilder and some projection mapping. 2. multiple queries - this would be easier because I don't have to worry about...
  7. I

    Help Random calls by 'Unknown' number

    I have my HTC desire a couple of weeks now and I have some weird problem. At random times I get a call by an 'Unknown' number. When I answer the call there's no one there and the other side hangs up. The problem started when I got my new phone so I don't think it's my provider. Also it can't be...
  8. I

    Apps Prevent app from being destroyed when android goes into sleep mode

    I am developing some sort of web image viewer which gets a list of images from the web and shows it to the user. My problem is that when android goes into sleep mode by waiting for the screen to turn black or by pressing the powerbutton, my app gets destroyed and reloads when android awakens...