android

Android-With BeagleBoard

Hi, I am trying to boot android in beagleboard.anyone can explain step by step to boot android with beagle board.thanks in advance. ...

File operation in android

Hi All, I am new to android platform. I need to create a text file in android. Please let me know how to perform this task in android. I have written a code that is working fine in java but not in android. Please help me on this....the sample code that ihave written is :- try { DataOutputStream dos = new DataOutputStream(new FileOutp...

Display images on Android using TextView and Html.ImageGetter asynchronously?

I want to set a TextView with SpannableString which is from the method below: Html.fromHtml(String source, Html.ImageGetter imageGetter, Html.TagHandler tagHandler) But the ImageGetter here need to override the method below: public abstract Drawable getDrawable (String source) Because I need to get the drawable from the inte...

need help for setting progressbars for webview clicks.

friend's I wanna need to know how to set progressbars for webview,when i click submenus or links from that webpage. thanks in advance. ...

call a function when phone goes dim?

I want to be notified when the android phone goes dim? How to do that? Please Help ...

Android MailDialog too long to display

Hi, I have a listView on my app which is compose by one ImageView and one Text. When user clic on text, another activity appear. When User clic On ImageView, I display a MailDialog. My problem : I try my app on 2 differents devices. One is LG GW620 (Android os 1.5), and the other is nexus one (Android os 2.1) When I'm on the LG, the M...

Should I use Bitmap or Drawable to store in ImageCache on Android?

I implemented a ImageCache. But I'm curious about what type to store in it will cost less. Now I use BitmapFactory to get the images from the internet, so I get a Bitmap first. Should I convert to a Drawable to store in my ImageCache or just store the Bitmap is fine? Any ideas? Thanks. ...

Android : Is there a way to animate both group and listview of an ExpandableListView ?

Hello, I'm new to StackOverflow and I hope to find some help about ExpandableListView. I'm using an ExpandableListView having several groups but only one child in each group. The child is a custom view (FrameLayout) which contains some ImageViews. Only one group can be expanded at the same time (this is ok). I would like to animate th...

Android: My XML with a selector is not well-formed while styling a button?

I just tried this example. I saved that code in res/color/hover.xml but I always get this error message and Eclipse won't compile my project with this xml. What am I doing wrong? <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"&gt; <item android:state_pressed="true" an...

Layouts on top of each other

Hi! This is an android development question. If I first set the content view to my xml layout using setContentView(R.layout.main); and then add another content view using addContentView(layout, params), the content views overlap each other. I want the second content view to position itself directly under the first one. Is it possible or ...

how to create a custom theme and use it in android application

Hi.......... How to create a custom themes and use it in the code? in menu how to implement theme option and apply for the activity? Please Help. with regards Kavya ...

Android starting application after searching for it

I installed my application through clicking run in eclipse. When I search for my application to start it and click on it I get the following error. Do I have to add some magic phrase to the manifest? 09-21 11:25:33.138: ERROR/AndroidRuntime(23360): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.Questionaire/com.Q...

scroll start point of a HorizontalScrollView

In the method onCreate, I tried to put a series of TextView in HorizontalScrollView and then I tried to set the value of the scroll to a TextView. Not working. When I find the TextView I need, i put it in a class field and when the cycle that inflates the TextViex is over, i ask to my good one TextViev its getLeft(), and it return me alw...

Android Eclipse Hanging

I'm trying to get the ADT working in Eclipse, but I'm getting random hangs where eclipse just locks for no apparent reason, usually requiring a 'killall java' to properly clean it out of the memory. I'm on Ubuntu 10.4 (64bit) Here's the details of my eclipse/android install: eclipse Version: 3.5.2 Build id: M20100211-1343 Android Devel...

Aspect-oriented programming in android

What would be the best way to implement Aspect-oriented programming (AOP) in an Android application? Would it be efficient with the mobile battery? ...

Create Downloadble link of app

hi.. can anyone tell me how could i create a down loadable link for my android app for users. so that i can send them a mail. and as user click on that mail from mobile my app start installation. how could i do this... ...

android launcher home screen

Hi, I don't have the accurate terminology and maybe that's a part of my question. In the android home screen, we have the ability to slide the screen left and right and display multiple pages. Each of these pages has a different set of icons. in the mac world these would be called "spaces". What is it called in the android world. More...

Yahoo messenger on Android

Hi, Does Android Support OpenYmsg Api?....... Thanks in Advance ...

How to display background image in text view

can anybody tell how to display background image in a TextView in android? ...

About making new Activities

Hello! I have an Activity with a listView with few options and a button at the bottom of the screen. The listView is just to configurate some options so, when i click in any of the items in the list its needed to let the user choose between some options (in some cases i'll use another list to show the options, in other cases i'll let th...