android

Global keyboard input listener on Android

Hi, I was wondering if it is possible to intercept keyboard input on a global level on Android. For example a user types in text into an edittext (does not matter which application) I would like to access said text to check for certain words. Is this even possible with Android's security model (yes I am aware this kind of feature coul...

Detecting touch screen devices with Javascript

In Javascript/jQuery, how can I detect if the client device has a mouse? I've got a site that slides up a little info panel when the user hovers their mouse over an item. I'm using jQuery.hoverIntent to detect the hover, but this obviously doesn't work on touchscreen devices like iPhone/iPad/Android. So on those devices I'd like to r...

android expandablelistview can not use notifyDataSetChanged()?

hi all , i want to refresh my expandablelistview , but it seems there is no way to use notifyDataSetChanged()?? how can i refresh my expandablelistview?? thx ...

Tabs in Android 1.5 all styled the same - is there a solution, or can I apply custom styles to tabs in 1.5?

I'm trying to create a simple 2 tab interface for an Android application, and this is proving to be a bigger pain than I would have thought. Testing my application in Android 1.5 (SDK 3), both tabs appear white, as if they are both focused. This problem does not occur in more recent SDK versions. Here is the code I am using: TabbedInt...

maintaining persistent http connection

My android app sends data to a servlet every 10 seconds. the servlet receives the very first request and responds back. but the servlet doesn't receive the second set of data that the client sends after the next 10 seconds. could some one please tel me how do i go about doing this. is it something related to session? ...

android layout problem

I want the row to be scale automatically. The effect of my code is really strange... i can't post images, so image is here: http://i.imgur.com/NQfkO.jpg the code: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizon...

WARN/BackupManagerService(60): dataChanged but no participant pkg='com.android.providers.settings'

i am getting "WARN/BackupManagerService(60): dataChanged but no participant pkg='com.android.providers.settings' uid=10035" getting this warning while moving the seekbar for brightness. i want to change brightness instantlly while incresing or decresing seekbar. ...

adb reboot doesn't complete

Hi, I'm trying to run a few test packages on my device through a shell script which runs every night and for that I need to run the adb reboot command. My problem is that the 'adb reboot' command does make the system reboot, but it never completes (I need to do a keyboard interrupt if I run it manually in order to issue another command)...

Adding events to a calender in android

I want to add events ,ie add remainders to the calender in android. Is that possible? ...

How to hide imagebutton?

Hi, I have 1 imageButton and i want to hide that button after 5sec in oncreate method.Can anyone plz help me Regards Mona ...

How to add listeners to Views inside a listview?

public View getView(int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.listview, null); holder = new ViewHolder(); holder.text = (TextView) convertView .findViewById(R.id.Text...

How to get content of email like as Email ID ,Subject ,Message body text,and Attachment in android ??

I am android fresher pls help me ,Pls gave me optimal solution of that problem.. ...

Get the touch direction on Android

Hi, I want to ask that is that possible do in android catch the in the touch mode catch the scrolling direction ? When user touch on the screen left to right, can I catch the change ? If it is possible which listener can ı use ? I found some of the methods and listeners but I 'm not sure that therse are represent my requirement . http:...

How much HTML5 android browser supports ?

How much HTML5 android 2.2 's browser supports? Is there any place/doc where I can find that what all HTML5 tags are supported by android 2.2 browser. Thanks for help. ...

Android How to change the application title

HI I need to change the application title as when i move to new tab. i tried to change the app_name with varying string in string.xml but that is not actual dynamic change that i want. is there any alternative way of doing this? ...

I want to play any Flash game on Android (as .swf file). How can I pass key events to a SWF app?

Hi stackoverflow. Can you help me play Robot Unicorn Attack on my Android phone? I downloaded the .swf file, put it on my phone and there is this app called SWF Player that can open SWF files from the SDCard. But, since I don't have a hardware keyboard, I can't play the game because I have no chance pressing X or Z (I heard even with a...

Confusion why a magic 1.6 user cannot find app on market

Hi all, I've published an app today mainly for my forum users to use, just a very simple app that displays wallpapers derived from the forum. Problem I'm having is one guy says it doesn't appear in the market, and I've even sent him the APK to install manually but it fails. My minimum SDK version is 4, I created it with the 1.6 SDK sp...

ListView with Alphabet on Android

Hi, I want to do a listview on android and it contains an alphabet near of the list (like iphone application). I couldnt find any way to implement an list and having alphabets, when ı click on c letter list scrolling and start with the c Letter. Thanks ...

Extrakting Zip to SD-Card is very slow. How can i optimize performance?

Hi there, my app downloads a zip with about 350 files. A mix of JPG and HTML files. The function i wrote to do it works just fine but the unzipping takes for ever. At first i thought the reason might be that writing to the sd-card is slow. but when i unzip the same zip with an other app on my phone it works much faster. is there anything...

AdWhirlLayout problem.

I have this in my main.xml <com.adwhirl.AdWhirlLayout android:id="@+id/timer_ads" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" /> And it always results in Binary XML file line #117: Error inflating class com.adwhirl.AdWhirlLayout and another interest...