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

Search results

  1. A

    Apps How to do facebook into my app ?

    Hi, I want to registration for Facebook from my APP. Like when I click first time on the facebook button for login then it will ask login id and password, after success login the facebook should be closed and my App should be display back again. During the facebook successfully login the...
  2. A

    Apps OutOfMemoryError when adding photo from gallery ?

    HI, I add photo from gallery after 3 - 4 photos added application is crashing with "OutOfMemoryError: bitmap size exceeds VM budget". I dont know why it is happening. While after used bitmap variable I am recycle that bitmap variable. Example...
  3. A

    Apps How to repeat the alarm for between 1 to 60 days at a particular time ?

    Hi, I have to repeat alarm for between 1 day to 60 days. For example, the user can be able to repeat alarm after every 5 days, 10 days or 60 days (maximum). Option1 ( Implemented Code:) ----------------------------- alarmmanager.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis()+...
  4. A

    Apps How to make single application to support multiple Resolution ?

    Hi, I want to make universal build(application) that should support mentioned resolution devices : like 320X480, 480X800, 480X854 and 540 x 960. I want to use the same Image resources. According to the developer site, I tried both mentioned naming convension for res folder but...
  5. A

    Apps How to find Latitude and Longitude of the given address or City name ?

    Hi, Can u tell me how to get Latitude and Longitude of the given Name of the City or Address? For Example : Suppose, I enter Delhi, then It should return latitude or Longitude of it. Thanks and Regards, Andy
  6. A

    Apps Find the distance between 2 Latitudes and Longitudes ?

    Hi, Below is the code to find distance between 2 Latitudes and Longitudes. But it is not working proper way. //////////////////////////////// public double lanLatDistance(double oldlan, double oldlat, double plan, double plat) { double R = 6371; // earth
  7. A

    Apps Need to Download XML file from URL ?

    Hi All, Please tell me how to download xml file from url and I want to download it first time and make it locally that xml file so that next time my APP will read it locally. I know how to read it locally. Please help me with some pieces of Code. Thanks in Advance, Andy
  8. A

    Apps How to add notification that should come even my APP be closed ?

    Hi, I want to add Time notification into my APP. Suppose I set time 5 days and I want after 5 days one dialog box should open and display "Your time is over" even my APP be closed. Please tell me anyone how to implement it in Android with some piece of code. Thanks and Regards, Andy
  9. A

    Apps How to set the selected Item of the ListView during returning back to ListView ?

    Hi All, I am showing a list of Items using ListView and when I select any item of the list then it is showing the selected item detail. It is fine but when I want to go back from the item detail to ListView again then it is showing all the items from beginning, but I want the selected Item...
  10. A

    Apps can we modify native share menu Item ?

    Hi All, Can we modify native Share Menu according to our requirement. For Example, I need only Twitter, Email and Facebook option only into Share menu rest I don't want. But the Share Menu is showing by default Gmail, Messaging, Picasa and Bluetooth. Any help is greatly appreciated...
  11. A

    Apps How to update Map with the multiple GeoPoint?

    Hi, I am working with Map, I have added search with that, when I search by city then it is drawing new GeoPoint on the Map, it's working fine but I need the Map should show only the new GeoPoint with new search output. And old Geopoint should be removed. For Example: Suppose I am searching...
  12. A

    Apps How to add 3 EditText into Dialogbox ?

    Hi, I have added one EditText into Dialogbox, it's working fine but when i add 3 EditText then it is showing only first one, I dont know why it is happening. Can we add 3 EditText into Dialogbox or it is restricted to add only one for Dialogbox ? Please help me to add 3 EditText into Dialogbox...
  13. A

    Apps How to call main Activity from MapActivity within the same APP ?

    Hi, I am working on Android APP, I want to mention flow first about it. Like : SplashScreen(Activity) >>> MainMenu(FrameLayout) >>> MyMapActivity(MapActivity) But everthing working fine except when I go back from MapActivity to MainMenu(FrameLayout) then the SplashScreen it start again...
  14. A

    Apps How to retrieve key and value from array of HashMap in Android ?

    Hi, Example : private ArrayList<HashMap<String, Object>> myHash = new ArrayList<HashMap<String,Object>>(); for(int i = 0; i<100; i++) { HashMap<String, String> hm = new HashMap<String, String>(); hm.put("ID", id[i]); hm.put("Name", nameList[i]); hm.put("City",cityList[i])...
  15. A

    Apps Can I get Twitter sample example for Android APP ??

    Hi, I am looking Twitter sample example to implement for Android application. If anyone have Twitter Sample example please attach or forward without hesitate. I really need it. :mad: Thanks and Regards, Arthur
  16. A

    How to handle device back key into android App ?

    Hi, I am working on the one application where I used single activity but I have taken multiple classes that extends Framelayout. I am moving from one state to another within application with the help of ViewFlipper. But problem is that when I press BACK KEY(Device) then the view is going...
  17. A

    Taking photo into portrait mode but rotate photo immediately into landscape mode for camera appn

    Hi, I am facing a problem into high end devices. I made "Android camera application" to work portrait mode only, when I am taking photo into portrait mode then immediately the taken photo rotates into landscape mode. But the same application is working fine for low end devices but the problem is...