Hi guys,
I'm attempting to get data from http://gdata.youtube.com/feeds/api/standardfeeds/recently_featured?&start-index=1&max-results=15&v=2
and print the titles of the videos, but I get an exception in the line
int responseCode = httpConnection.getResponseCode();
what's the problem? Any other way to get th...
How can i enable my app to be moved to the sdcard?
...
Hey people,
I was wondering if there is a simple way to style a ListView along with it's items like the conversation in android's text message app. There are rounded corners and stuff like that, where I'm not sure how I could implement this myself.
I know that I could look for the source code of it, and try to copy from there, but it'...
Hi everybody,
Im trying to create my own url scheme so my android app can get called via an URL but for now I dont have a success.
Im trying to have this url to work : cedemo://com.cedemo.scan?X=toto
Here is part of my manifest file :
<activity android:name=".Gallery1" android:label="@string/app_name" android:launchMode="singleTask" a...
Friend's
I need help on setting the data content showing from DropDownlist of auto complete text box to another string,when i click the particular content from dropdown list.
Help me.
thanks in advance.
...
I am writing a small game for the android platform (HTC Desire) and i am trying to implement a simple scripting language, mostly to set variables and check if conditions are met.
So I thought maybe there was a runtime parser in the android library, that way I can put some of the logic in scripts, instead of in the engine.
It's quite ba...
hiii..i m developing an app in which as user click on a link it should prompt the user to open link in myAppbrowser (which i will create) or default browser(like activity chooser do).
as user click on default browser app prompt again that, 'this page cant open in default browser'.
after that the browser which i make should run...
how to...
Hi, below is a sample structure of the xml I'm trying to parse using the Android SAX parsing approach in this tutorial (http://www.ibm.com/developerworks/opensource/library/x-android/index.html#list8).
<root>
<parent>
<id> </id>
<name> </name>
<child>
<...
HI,
I want to create a table in android, should contains a lot of rows. Each row has 4 columns, and if i click any view, i want to integrate onClick event for the view.
I have developed something similar to the requirement,But didn't got the click view, Here is my code :
LinearLayout lLayout1= null;
LinearLayout main_lLayout= null...
Hello
In my android application i am using a webview to display apage of contents .
What i require is like if the user longpress on a word then that particular word should be highlighted and should be highlighted even if the user reloads the app again.
Is there any way that i can get this done in android.
Please forward your valuable s...
Hi friends,
Whenever user presses the Search hard key on device, Android it brings out the Quick Search Bar. I want to disable QSB. How to do it, please help.
Thanks in advance.
Updates: Solution
I override the method onSearchRequested() and returned true from there. This completely disabled the Quick Search Bar (QSB).
...
Hi,
Im trying to determine if data was successfully sent to the server through a TCP socket using the OutputStream object. for testing purposes i disable network communications in the phone and OutputStream.write(); doesn't throw an exception, all the methods in the socket class return as though the socket is active and working. Is there...
javax.activation cannot be resolved, why?
...
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1200000, 200, ll);
My assumption is that it gets the location every 120000ms if it has changed more then 200 meters.
At least this is what I am experiencing anyway....which is what I want. But what happens if the phone ends up in a metal building where there is NO GP...
Hi All,
Is there way in Android to know before PDP goes down. While phone is shutting down I need to do some operations with PDP. On receiving ACTION_SHUTDOWN, I am calling some methods on PDP. Those methods are failing as PDP is getting deactivated.
So is there a way that I can get notification before PDP starts shutting down?
...
I have created an android app with a dynamic scrolling interface. When a user scrolls the first tap is not registered.
Just a guess, but it seems like the first tap is considering the tap to stop the scrolling, even if the user already reached the bottom of the scrollview.
Any help is greatly appreciated.
...
Basically I have created a Blackjack app that uses several methods that get called and pass a long the information that is needed (about cards and actions). I have 2 buttons displayed on screen that are click able (hit and stand). Now I have a method called player turn... and this is when I (through static ints) have if a button is sel...
http://stackoverflow.com/questions/2403632/android-show-soft-keyboard-automatically-when-focus-is-on-an-edittext/2403977#2403977
I've read this post that automatically shows the virtual keyboard when a dialog box is shown. however, it's not working for me. any ideas why? eventhough the edit text is automatically on focus when the dialog...
How can I pass a multidimensional array from one activity to another?
...
Hi All,
I have two activities A & b.
in A i have one button which takes me to the activity B. in Activity B i have one edit text. when user enter some values in edittext i m getting the value in some variable. and i want to pass this value back to activity A. i applied the Bundle concept bt it is force closing my app.
pls anybody can ...