android

Android Restrictions as Embedded OS

Someone recently told me that there was a licencing constraint that prevented Android from running on anything other than a tablet or mobile phone. I couldn't find any evidence for the constraint. Does such a limitation exist? ...

How to know when an Android ListView is done being populated

I have a child Activity that contains a ListView. This Activity is populated asynchronously from a SQLite cursor. The list items contain a TextView, a RadioButton, and a normal Button. The XML is shown below: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout android:id="@+id/rlCategoryListItemLayout" xmlns:android="http://schemas.a...

hierarchyviewer tool is missing

I'm looking for "hierarchyviewer" tool, but it's missing in my SDK installation. Is "hierarchyviewer" part of Android SDK or there's something else I need to install on top of SDK to get it? ...

Android Appl base dir

In Linux, when a program is running, its base dir will the PWD at the time of starting. Like that, in Android, what will the base dir of application? Is it the application folder or the root folder? ...

animation in android

i have an app with 2 activity. the first one have next button, the second have previous button. I use an animation on activity switching (use overridePendingTransition) and it is ok. But now, I want to edit effect of that animation. My idea is: when i click on next button, app will go to second activity (i dont care about animation). And...

Android Emulator Keyboard dissapears

When I create Android emulator with resolution 480 X 854 (to match Mot Droid ), the onscreen keyboard disappears. Any idea why ? ...

Android: Just Show This, Instead of Don't Show Everything Else

I have many different items on my main.xml layout (30+). I have to constantly throughout an activity I have to use... tv1.setVisibility(View.GONE); tv2.setVisibility(View.GONE); ...for at least 20 of the items. I think it would be easier if some how you could make it so, instead of View.GONE, you can choose what items to show and hide...

Sustaining EditText data through activity changes

I can't seem to use data that is in an EditText box. I have one activity for entering a url and a submit button. When the user clicks submit, a new activity opens as a WebView and should display the url that the user typed in the EditText box. This should be the simplest of tasks but I can't find how to do it anywhere... ...

Alphanumeric View in Android

Hi buddies, I am developing an Android App which gives users an option 'Browse Alphanumerically'. Using this option let users view the list of items starting with a particular letter or number. Problem is that I cannot decide how to implement screen for this, which can work properly on any screen size. Please suggest me the best solution...

Android UI for multiple devices

Is there a way to ensure that my Android UI will display as expected across different phones ? ...

screen adjusting ability feature in android..

I have an application which is designed for a fixed screen size.But when i install the application on a device with different screen size ,i am not able to view the complete application. Is it possible to allow layout adjustments based on variable screen sizes? ... like setting width with some % of screen size which is decided when appl...

Android: creating a custom menu on the bottom

I would like to create a custom made menu on the bottom of the screen, This menu will be as buttons and, it will always be visible first, if the user scrolls down, it will be visible, and scrolls upp. How is this possible? ...

How to draw text on canvas?

Hi, i'm trying to develop a simple pie chart class for android. For now, it can take a map of labels and values and draw the pie chart. I'm yet to add the legends for the pie, which is where i need to place the texts near small rectangles on the screen corner. Any help appreciated, since i'm new to Android dev. Thanks. ...

Android: How can I use the Button background(style)

I want to use the button style on another control. How can I call that bg? ...

Android delete from listview

This is my layout that suppot delete from listview ,the problem is when listview height is higher than screen height it goes under the button , so need a solution for avoding it ...

EditText isn't highlighted when touched

I assumed this feature would be activated by default. How do I set an EditText box to do the normal orange highlighting when a user touches it? ...

Text Parsing in android

I am stuck with text parsing in android. I have to read a textfile from url and display the contents in a listview. The contents of textfile include images and texts which are seperated by delimeters (like ^, ~,|,~^~^~). How can i remove the delimeters and display in a listview with the help of array adapter class? Can anyone help with t...

how can we get network signal strength in android 1.6

how can we get network signal strength in android 1.6 ...

move the image according to trackball

Hi i want to move the image left right,down,up directions according to track ball .for this please give me the some code suggestions.Thanks in advance ...

how to parse this json obj android

i m facing prob in parsing this obj { "id": 1909, "permalink": "http:some url", "title": "Voting begins for third phase of Bihar polls", "excerpt": "some data.", "date": "October 27, 2010 21:23", "tags": [ "bihar", "india-politics" ]...