I wrote a widget that can call numbers directly with one click. It works on the emulator, and it used to work on my nexus one when it had Android 2.1. Now I got the update, and the widget stopped working. I am using Intent.ACTION_CALL, and android.permission.CALL_PHONE. If I change to Intent.ACTION_DIAL it works, and the same code works ...
Hi,
Is it possible to change the color of
the radio button in the android
spinner widget. By default it displays
the green color for the radio button I
need to change it to some other color,
Is it possible
Suggestions and guidance are welcome.
Thanks Vinayak
...
Hello,
I was wondering if there was any way that I could get a hint at the bottom of an Edit Text view -- and then the user to start entering text at the top of the box.
As a bonus question, is there any way I can make the hint NOT disappear once the user starts entering text.
Let me know if you don't understand my question and I w...
Hello all,
In my application....there are some images like temp1.jpg, temp2.jpg .....upto temp35.jpg,
so on button clicking, i want to load one-by-one image in ImageView ....
i want to do like:
cnt=1; imagename="temp" + cnt + ".jpg"; cnt++;
so my confusion is that "is there anyway to load an image in imageview from string(image...
Hi,
I tried to set anchor tag mailto attribute like
<a href='mailto:[email protected]'>[email protected]</a>
in webview. when i run the app on simulator and click on the link it is showing "Unsupported Action .."
How i can set mailto attribute work out in android webview....
Thanks
...
Hi, I have a TextView .I am using it like a link by using
t2.setMovementMethod(LinkMovementMethod.getInstance())
for this textview in .java files so that it blinks when I clicks, but I want the color of textview to be changed when clicked. I used
t2.setLinkTextColor(0xff0000)
but does not work. my code is as follows:
public cl...
Hi,
Im trying to display versionname using below code
PackageManager pkm = getPackageManager();
PackageInfo pki = pkm.getPackageInfo("com.example",PackageManager.GET_CONFIGURATIONS);
String tempCurrentVersion = pki.versionName;
Bt im getting exception at PackageManager.GET_CONFIGURATIONS as Name not found exception
Please tell me how...
Hi is it possible to get bulleted and number lists in android edit text/multiautocomplete textview.
Can any one have a sample Java program to create numbers and bulleted lists with out using applets(android does not support applets)?
And how to use bulleted span to get the bullets? It's not working properly.
Regards,
vani
...
How did you support both landscape and portrait for appwidget? the layout of appwidget will never change when orientate the device from landscape to portrait. by the way, would you please tell me which device support both landscape and portrait for appwidget?
...
I'm trying to set up a style that I'll use for my text entry boxes on forms in my application. I've got a basic style, TextEntry, and extensions such as TextEntry.Name. Here's what I want to do:
<style name="PgoTextEntry">
<item name="android:textAppearance">@style/PingoText.White</item>
<item name="android:layout_width">fil...
Hello....
i have already read some articles and searched on google.....but i am failed to do it.
My problem is regarding the font-face.
In android, there are only 4 attributes in "android:typeface"...which are Normal,Sans, Serif, Monospace...
so what i have to do to use "Verdana" in my application ? pls suggest me a correct way to use...
I need to load, and update image from URL.
Using AsyncTask, Iam able to load image from URL bt i need to reload image from url for every 10 secs.
Please help me how i can solve this issue.
Thanks in advance
...
Im displaying image from URL.
I implemented using a thread to retrieve data from URL for every 10 secs.
Some times my application showing a message Application Not Responding dialog.
When i google for the issue i found that we can use AysncTask for loading image.
Using Async Task im able to get the image, bt what i need is retrieve d...
Im using seek bar to control volume of the device. Im able to change the volume of the device using thumb of the seek bar just by dragging it on touch pad.
But when user presses volume(side) keys i need to set seek bar thumb position accordingly.
Hw i can do this please let me know
Thanks
...
Hey there
I have got an edit text where I want that when someone insert her values it will narrow his option's .
the options are stored in a DB (up to 1200 values to one editbox ).
i cant get the concept of how to do it can someone help me.
...
How can i get rid of the shadow when I scroll ListView.
I have shadows appearing on top and bottom of the list.
...
I'm working on an Android widget that will show the current network state (i.e 1xRTT, EvDo Rev. A, WiMax, etc.). It may seem like a pointless idea, but for whatever the reason, the Evo doesn't differentiate between 1x & EvDo, it just says 3G for both, which is annoying if you're in a fringe 3G area.
Anyways, to the point: I have the wid...
Hello,
I have a button in my application....
I want to change its position by programmatically...
I have created a button in xml as follows:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
andro...
I saw it used in textview and webview
android:id="@+id/textview"
android:id="@+id/webview"
but looks like there is none for DigitalClock widget.
So, when do I have to use it? Just for text and web views?
...
As i have referred some articles and sites, i found that we can also create HTML file and then we can display HTML file using Android WebView..
I have referred at:
http://tinyurl.com/yjona4j
http://tinyurl.com/3xlnjjf
So my question is that - "Is Android provides STYLE/CSS tag to define styles , if yes then there is any way to write...