android

Chat and VOIP Application

Hi, I have successfully installed the Openfire XMPP server and built an Android app to text chat, How can I implement VOIP functionality to my application? Can this be done by connecting openfire with a SIP server? Can someone guide me? ...

Google Prettify - Android / Eclipse Java colours

Hey, I'm using Google Prettify which works really well, but are there any colour schemes which match the Android Eclipse colours? Thanks ...

Android-Eclipse: Why do I get this exception while running this Hello Aplicattion?

I got the Hello Android Book and I'm at the beginning of the book, where the author explain how to run a simple hello application. When I run the application, instead of receiving an "Hello, Android", the screen shows the word "Android" and before that I receive this message. http://img838.imageshack.us/img838/1381/99167767.jpg ...

Image in different screen size.

Hi I am looking for an optimized solution to display image in different screen size. I have a image in server which I would like to display in different handled devices like iPhone, iPad ,Android based tablets or mobiles etc. Some of the solution I have thought of are Have different images in server for each screen size. Have a sin...

Android; are there any disadvantages to using XML parsing frameworks over SAX/DOM?

I'm experimenting with REST and XML on an Android application, primarily to create a REST client For handling XML returned from a given REST service, I'm tempted to use a simple framework such as XStream. This allows me to easily map an object onto XML and vice versa, it doesn't come with the memory overhead like DOM, and requires consi...

Progressbar dialog Without Border

I am displaying a Progress bar in Android, which is as below: but there is a white border around the progress-bar, what if i dont want to display any border? i.e. Only progress-bar circle and text should be shown in progress-bar dialog. How do i display below progress bar? (How do i display progress dialog as Searching in below imag...

Arduino IDE on Android tablet

Hi am wondering if anyone knows of a IDE for my Android tablet that I can edit compile and upload sketches to my Arduino board via USB? ...

How to disable hardware keyboard for a particular EditText ?

HI.. This is my code in xml <EditText android:longClickable="false" android:layout_marginLeft="5dp" android:id="@+id/txt" android:width="150dp" android:singleLine="true" android:text="@string/value" android:inputType="none" android:cursorVisible="false" /> I have manually dis...

Android. Autocompletetextview and sqlite

Hello folks, I'm trying to find a solution for following thing. Autocompletetextview with filtering on sqlite side. I guess, I should write custom CursorAdapter, which implements Filterable, but I have no idea, where to start. Did anybody see any examples / tutorials for that? Mur ...

Cannot access the internet while i debug android on device

Hi, I'm trying to develop an android application that uses network connection. The server is up and running, but when i am trying to access it from the device that runs the android app (in debug mode-using eclipse) it outputs a message that 'cannot find the server' after a UnknownHostException occurs! I have tested the server with a jav...

Restrictions on resource name or how to do generic internationalisation

Hi. Currently porting an iPhone application to Android. I've encountered an issue that I haven't been able to overcome. On the iPhone, translating your text is trivial. Put all your strings/text in Localizable.strings in the format: "sentence to translate" = "sentence translated" The original string can contain any characters of any t...

Overriding OnDraw() for a SlidingDrawer

Hi! I have two questions: What is the function of dispatchDraw()? The documentation says that it draws the children for the widget. Is this called after the onDraw() of the widget or is it totally unrelated. I saw the source code for the SlidingDrawer widget on the Android website. They have not overridden onDraw() for it. I tried ...

How do I programmatically assign an id such as 'android:id/tabcontent''?

I'm looking for the Java equivalent to the XML assignment for assignments such as 'android:id="@android:id/tabcontent"'. thnx ...

Not able to download eclipse 3.5

Hi All, I am new to android development. I am tried installing android sdk with eclipse 3.6, but i later found that there some issues with eclipse 3.6 through http://developer.android.com/sdk/eclipse-adt.html. So i am headed towards getting eclipse 3.5. But i am not able to download it from the official website.(http://www.eclipse.org/...

how to implement captcha in android

can anybody tell how to implement captcha or security test in android give example Thanks ...

How to use the feature provided in Pinyin IME?

I try to use some features provided in Pinyin IME. For example, In contacts, I want to know each Chinese character's spelling. I already made one API at PinyinIME service. How can I access InputMethodService in contacts ? through InputMethodManager? I can get InputMethodManager in contacts program. But I cannot get the handle or i...

Problem with camera........

Hi all, I have one activity in which i have opened device camera and taking pictures after 1 min each.This is working without any problem.Now my camera is always on.When i press either home screen key or call key,my camera activity is going to background.When i again clicking on my application,ideally my camera activity should come to f...

question on getView()

Can anyone possible explain what the following code does? public View getView(int position, View convertView, ViewGroup parent) { // TODO Auto-generated method stub View myView = null; try { myView = convertView; if (null == myView) { LayoutInflater li = (LayoutInflater) getSystemService(Context.LAYOUT_INFLATER_...

What versions of Android are unsupported with Twitter4J?

Does the Twitter4J library for Android work for all Android versions? I cannot find anything regarding this issue on twitter4j's website, or anywhere else. twitter4j.org ...

Reading contacts in Android

Hi, I am writing the program for reading contacts from android.when i am executing the following code it successfully gets the name but failed to get phone number and showing the ArrayIndexoutofBoundException....The code is Cursor people = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null); whil...