android

Android: Update single item in list

Hi all, I have a list (ListView) which displays news items. They contain a image, title and some text. The image is loaded in a separate thread (with a queue and all) and when the image is downloaded, I now call notifyDataSetChanged() on the list adapter to update the image. This works, but getView() is getting called way to often now, ...

Json Array inserting to a Android ListView

Hi I am trying to populate a ListView in the android app. I have the data in a JsonArray, But it doesn't work to directly use the JsonArray. Any suggestions How to populate the ListView? JSONObject json = null; try { json = new JSONObject(client.getResponse()); JSONArray nameArray = json.names(); JSONArray v...

In Android how to add a view at particular x-y co-ordinates on the screen

This is what I want to achieve. When ever a user taps at any point on the screen, I would like to show an image at that point for say 2 seconds. Is it possible ? ...

Scrollview to scroll table both horizontally and vertically in android

Hello In my android application i am using a table inside a scrollview but am not able to scroll horizontally if the length of content is more. Could you please let me know any solution for this? Thanks in advance:) ...

How to increase Canvas size in Android?

Is there anyway to increase Canvas size more then my screen size in Android? Like if my screen size is 320 x 480 I want to increase my canvas size 3 times bigger then that. ...

XML Parsing in Android Programming

Hello Team, I am new to Android Programming, I had also asked this question before but didn't got quite satisfactory answers. I need to implement parsing in my particular application. Can any body demistify the Parsing regarding the simple parsing of an XML String with an appropriate example. Hoping I could get something vital this ti...

How to use Intent to launch the satellite application on android ?

Hai Frnds, i want to know to launch a satellite application using Intent, i knew how to launch the map application using Intent, but i want to display satellite view rather than map view, my code is uri = Uri.parse("geo:0,0?q=" + VALUE_baraddress1[0] + ", " + VALUE_baraddress2[0] + ", " + VALUE_bara...

Android - QVGA screen hides some pixels

Hi all, I have a problem with missing pixels on QVGA screen on Android (all versions including 2.2). The original problem was with LinearLayout and margin="1px". It was OK on the normal screen but on QVGA there was sometimes no space between GUI controls, like if margin="0px" and not 1px. So I tried to make the example simple (to be sur...

Custom spinner popup list in android

Is there a way to replace the standard ListView that pops up when opening a Spinner with a custom one? I would like for my Spinner list to be Filterable (and/or even possibly have two tabs with different lists the user could select options from). Is this achievable or do I have to do my own implementation alltogether? ...

android use flash in webview in tabView

i'm trying use some flash objects in webview , and the webview is in a tabview i found when i did this , and started to scroll the webview , the layout became very terrible...... does anyone know why? ...

Developing App To Stream Media to UPnP devices :Android

Hi, I am making an application which Streams media from the Internet,it can be from any source like Youtube,or any url. I am able to stream media from my android device. Now i want to extend it to be streamed to UPnP devices in my network. Any help on how i can find the list of UPnP devices in my network, then share media with that de...

blackberry anroid installation

Hi , How to install and run the android .apk file in blackberry , What are the step i should follow, ...

Android application study

Which is a good android application for study purpose on code.google.com? ...

Send GET HTTPS request but get 403 forbidden response, why?

Below is the URL I send to the WS after the handshake is done "https://ekp.truefriend.com/COVIWeb/gate/AutoAuthentication.aspx?UserID=DP0001&BackUrl=http%3a%2f%2fgw.truefriendtest.com%2fCOVIWeb%2fApproval%2fForms%2fForm.aspx%3fmobileyn%3dY%26piid%3d96482621-6cc4-401c-a6f9-5ba6cb7ce26f%26wiid%3d425a9bc9-8607-4898-9158-ed9170d...

android 2.2 call phone and call logs

Hi all We found an issue in android2.2, when we use ACTION_DIAL or ACTION_CALL,then we hang up the phone, we would get a Call Log interface,In our application, it required us that there will be NO Call Log interface or the Call Log interface would be closed immediatly after it displays. What's your opinions? Do you have any good solutio...

Decode video raw data on Android

Hi, I would like to build a live streaming and viewer. The streaming is H264/MEPG4 raw data. How to decode these raw data on Android? I can not find usable API in Android SDK to do it. And suggestion is welcome. Thanks in advance. Caxton ...

How to crop the parsed image in android?

Hai Frnds, I m parsing the website to display the contents in a url, in that some images are there, i want to crop the images which are parsed from the site. i m really struggling on this, cany any one help me regarding on this Thanks in Advance Sankar Ganesh ...

How to append a string in android?

i'm using a variable:- String[] string; how to append it? ...

What's the state of a pressed Tab in Android

Hi all, I'm trying to get my tabicon to change when a tab is pressed (i.e. when it changes color when you press the tab, but haven't released yet). I've created a selector as follows: <?xml version="1.0" encoding="UTF-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; <!-- Non focused states --> <it...

<solved> (Android 2.1) "onContextItemSelected" and "window already focused, ignoring focus <snap irrelavant rest>"

solved Never mind. It is the onMenuItemSelectedmethod that messed up with the onContextItemSelected method. I am investigating why it screws it up. solved #2 It appears that both methods are actually same in which onMenuItemSelectedmethod is invoked instead of onContextItemSelected (Hence empty response). I must have misread the google ...