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

Search results

  1. A

    Apps Handling Rotation

    Hi. I have been working on some apps for a while and I have yet to figure out how to keep my app from resetting each time the screen is rotated. When the screen rotates I want it to just rotate the screen it is on, but instead it rotates and takes you back to the first page. Any help would be...
  2. A

    Apps Decimal removal in calculations

    Hi. I am working on a counting app and when it counts I want it to show a whole number with no decimal place. I'm not sure how to do this so any suggestions are welcome. Thanks.
  3. A

    Apps list view

    does anyone know how to make a list view open a new screen i have a list and such that i believe i know how to implement or whatever but when i click something on the list how do i get it to open a new screen thanks
  4. A

    Apps opening new screen with spinner and such ?

    ok so have something kinda like that i have my main activity and everything working problem is i need to be able to get this screen to show up right when i click the button i want to open this in this case button grams2mol so i want that to open the new screen i designed it in a...
  5. A

    Apps Help listView and onClickListener

    ok so here is what i have so far package list.view; import android.app.ListActivity; import android.os.Bundle; import android.view.View; import android.widget.ArrayAdapter; public class ListView extends ListActivity { /** Called when the activity is first created. */ @Override public void...
  6. A

    Apps ListView

    Ok. going to ask this different. so what i have is my xml layout with a listview in it. i then have that listview tied to a string-array so that i get the items i want threw the string. now i have a list, and the items can be pressed and stuff, but how do i tell each item what to do when i press...
  7. A

    Apps physical back button code

    how do you code the physical backbutton so that it will take you to the last screen you were on in your app ?
  8. A

    Apps application updates

    if i am making a app and it will charge and i come out with an update, will people be able to update without it charging them again or will they be charged? so long as its the same certificates they will be fine right? Thanks
  9. A

    Apps test phone-gmail register screen

    I am looking to get a phone that i can test the app i am developing on. problem is that i will not be using this phone on any network and it will need to be able to access data to register the gmail account right? Is there a way around registering or is there a way to have it register over Wifi...
  10. A

    Apps Main screen

    I have found a way to move around between different screens (xmls) but for some reason whenever i go back to one i was on previously the buttons will not work again. Ex. i have a main screen, like a contact, i click the contact and can view information. I then could push a back button and go...
  11. A

    Apps Won't Upload Apk

    Hi. I am trying to run my app on the emulator and it will never launch. Every time i set this message. [2010-03-07 11:10:39 - Hello android]Failed to upload Hello android.apk on device 'emulator-5554' [2010-03-07 11:10:39 - Hello android]java.io.IOException: Unable to upload file: timeout...
  12. A

    Apps button in second xml

    hi how do i code a button in a second xml so that i can get back to the first xml like from the main screen to the next screen i have that but how and where do i code the button in the second screen so that i can get back to the first screen thanks
  13. A

    Apps Help. Code for new XML

    Hi. I am currently working on an app and am a bit lost. I have my main xml laid out and coded, but when i click on one of my buttons and go to the next screen (xml 2) i can't get the buttons on that screen to work. How/where do i go to code the new xml i have made? thanks.