Android :: Disable RadioGroup ?
Feb 19, 2010How can I disable RadioGroup, means all the radio buttons should e disabled.I already tried setEnabled (false) and setClickable(false) but this did not.
View 4 RepliesHow can I disable RadioGroup, means all the radio buttons should e disabled.I already tried setEnabled (false) and setClickable(false) but this did not.
View 4 RepliesI want a group of buttons where a user can choose one of them as option. It has to be a radiobuttongroup like behaviour, but I don't want the radio circle to be present. I just want the user to be able to toggle only one of the buttons.I think I would need someting like a togglegroup.Does something like this exist in Android?
View 3 Replies View RelatedI have a RadioGroup view inside a LinearLayout. The radio buttons are added from dataList. If I call the code below from inside onCreate, the correct button is checked. However the dataList can get updated from time to time and after that happens I call this code again, without destroying the Activity. After that, the view is redrawn but no button is checked. I suspect the RadioGroup checked-button bookkeeping is getting confused by the removeAllViews call. Any ideas what might be going wrong?
View 6 Replies View RelatedI'm trying to place a set of Checkboxes within the same RadioGroup in a tabular fashion.I tried to have a couple of TableRow objects within the RadioGroup, but that removes the "group behaviour" and allows more than one Checkbox can be selected at the same time.I am able to put all the items on a single line (by setting the RadioGroup's "orientation" to "horizontal") but not in a grid like style.
View 1 Replies View RelatedI have a ListView, which has a TextView and a RadioGroup with 4 RadioButtons as Children in each row. Now i can select a RadioButton in each row. But if i scroll the ListView, my Selection is gone or it does not show correctly. For example, i choose the RadioButton A in the first row, if i scroll through the ListView and then go back to the first row again, either none of the RadioButtons in the RadioGroup is checked or RadioButton C is checked instead of A.How can i fix this Problem? I have tried 7 days already, but still i find no solution.
View 1 Replies View RelatedSo i am programming a Quiz app for a school program, The app has 10 pages with a question on each.
On the question pages i have a next button, and back button, a textView and a radioGroup with 4 radioButtons. I want my code to be able to hold the data, so that if say 1 question is answered with the 3rd. radiobutton the app holds this data while i continue to the next page.
This is the Jave code [
public class Question1 extends Activity {
[HIGH]public void onCreate1(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_question1);
[Code]...
How i could make it happend? or general pointers on the app, this is my very first Android and Java protject
It looks right, but the problem is that the radiobuttons doesn't connect between each other, i mean that they can be both on in the same moment.I think it's because even if they're hanging from the same the second one is inside another layout.Does anyone have some idea how could I make this kind of layout (Mainly the [textedit] just right the RadioButton B), getting working also the radiobuttons?
View 1 Replies View RelatedHow can we disable GPS programmatically?
View 2 Replies View RelatedI am developing an application that is used for a sort of tournaments. The requirements are that if the application is running it should be impossible to make and receive phone calls. Can I disable 2G/3G from within my app? (Airplane mode is no option, because I still need GPS).
View 2 Replies View Relatedi want to lock screen,i want to disable the home key only use the back key,how to do?
View 2 Replies View RelatedI'm working on an application that needs to perform recognition algorithms on raw PCM audio captured from the microphone. On all Android devices I've tested, the PCM data is usable (i.e., raw audio data.) This is not the case for the new Sprint EVO. The Sprint EVO has AGC (Auto Gain Control) on the mic, which destroys the data such that our recognition algorithms no longer work. I believe this is a feature that HTC added to the OS for this device (and possibly future devices.) I've tested our application on a few other devices using the same OS version (2.1) and these other devices behave normally. Unfortunately, HTC has not yet posted the code used on this device. I expect that I may have to use JNI in order to bypass this for this specific device, and I'm willing to do this, but without access to the HTC source, I wouldn't know where to begin. There is no way to reverse the effects of AGC, so I'm stuck trying to work around it.
View 1 Replies View RelatedIs it possible to disable the USB port? Even if the device is physically connected to a host computer via USB cable, no logical connection should be established. What are the sources/programmatic way of doing this?
View 12 Replies View RelatedPossible Duplicate:
Disable trackball click in Android
How can I disable the trackball in my app? I only want the buttons to work when you click them using the touchscreen.
I want to create api in android source code to dissable installed android application ( not uninstalled).Is there any pointer for this task? By using this api in system application user can select desired application to dissable and enable when it needed. For example I have installed paid weather application on android phone which is running background thread to get updated report from server over http.which i want to disable on roaming and again unable it when come back.but dont want to uninstall application from phone.
View 3 Replies View RelatedI have implemented GestureListener, and it is working perfectly, but how can I remove GestureListener from my view?
CODE:...........................
Wanted to leave a ImageButton is disabled (not clickable), but have used android: enabled = "false" but does not work
Does anyone know how to disable an ImageButton?
We have a variety of devices for testing purposes, and now that Froyo is being pushed (to the Nexus One so far at least), we have to constantly dismiss upgrade requests. There is no apparent "stop asking me" button.
So, is there any way I can disable OTA OS updates? We want a number of these phones to stay on old OS versions.
I'm fairly new to android development - I'm having trouble finding documentation on how to disable the accelerometer/auto-rotate feature for an app (i.e. when you turn the phone, everything 'corrects' changing the layout). Is it possible to disable in the emulator?
View 2 Replies View RelatedSo this is a response to another thread, that I never got a reaction on. Hopefully someone can give a hand. I have a AutoCompleteTextView with a CursorAdapter with data. I need to be able to set a text in the AutoCompleteTextView programmatically without the autocomplete mechanism kicking in. If I use *setText *on the AutoCompleteTextView it will start the autocomplete. I tried calling *dismissDropDown() after setText, but this dosnt work because the drop down is not shown yet.
View 6 Replies View RelatedI signed up for Google Voice a while back just to see what it did. In the process, I obtained a Google Voice number that I never used. Now I have a droid, and want to use the Voice app to take care of my texting and voice mail. However, when I send a text, it is viewed as coming from my GV number. I want it to still appear as from my actual phone number.
View 3 Replies View RelatedI m making a test application and want to able all keys excluding the back button...... Using below code i am not able to disable HOME key and right soft key..... Please suggest what to do.
@Override public boolean onKeyDown(int keyCode, KeyEvent event) { if(keyCode == KeyEvent.KEYCODE_BACK){ return super.onKeyDown(keyCode, event); } else { return true; }
}
Does anyone know how to disable the pop up text message that comes on the screen when u receive a message thru handcent? i would like it to jus show up in my notification bar so it wont interrupt me doing something else and show in the text big on my screen.
View 3 Replies View RelatedSkype keeps showing up in my task killer window, but I don't ever open it, nor will I ever use it. I thought I turned off any and all ways it could open, but apparently not. I really don't want it sucking up my battery life.
View 1 Replies View RelatedWhen I receive a text message, it displays a gray pop up box with the text and buttons to "close" or "reply". I want to turn this off. It's often slow and sometimes pops up while I'm already typing my reply. I've gone into the messaging settings and turned off everything that I figured could be related to that. I even turned off Auto-retrieve, but I still get those gray popups. I would really like to have them turned off.
View 7 Replies View Relatedin my android application there are number of images in drawable folder. in my layout two buttons:back and forward button.on clicking next and back buttons different-2 image get loaded on the same layout(common for all images).i am able to load images in next/back button click but after reaching to the last image i want to make my next button click disable and same for the back button.As the user is on the first image the back button would be disable.
View 2 Replies View RelatedI am using scrollview. I need to disable scrolling bar on particular time. Is it possible?
View 3 Replies View RelatedDoes anyone know of any apps that can disable the camera? My work does not allow camera phones.
View 8 Replies View RelatedAny app that kills sms texting not just when driving (there's more than one for that) but that disables it period or has a toggle that works to stop texting all the time. Especially receiving texts.
View 1 Replies View Related1- How can i disable multi-tasking? My application is a socket based game, every time i start the app, it MUST load the main page first to start the socket connection? I do not want the user to be able to run my application in background. Is this possible to do? 2- I do not want the user to be able to use the back button, to navigate between pages, users must only use the buttons available in my application to navigate?
View 1 Replies View RelatedI am going to develop one application for android (As per client request). Which starts after booting of device. When device get booted then only this application will be there on screen. No key press will minimise that application. The solution i found on this site is able to block all keys instead of home and end call keys.
View 2 Replies View Related