[android-beginners] How to set minimum value for SeekBar?
Hello I am using SeekBar in my application, currently seek bar minimum value is zero, but as per application requirement seek bar value should not be zero. how to set minimum value for SeekBar. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] how to create dynamic views
Hello i am creating one quiz application, for question page i have created one view by using Linear layout in that i have added four TextAreas, first TextArea for question and reaming three are for answer cell. so now, when user select the answer cell i want to show next question screen for that i am thinking of creating new view. means some questions may have two answers so i want to create that run time. how to create new view at run time and how to switch for new view. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] XML Dom parser throws error input source needs either stream or reader
Hello I am new to android development, right now i am doing a simple project that receive data from XML and display on screen. for retrieving data from XMl file I have used Dom parser but at run time it will throw an error. The SAX Exceptioninput source needs either stream or reader Document dom; DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); dom = db.parse(assets/myfile.xml); This code is working fine with out side android or other java project. I have tried for File f = new File (assets/myfile.xml); InputStream str = f.toURL().openStream(); dom = db.parse(str); and same for by using reader. but sill i got same kind of error, Please tell me what is correct way to use Stream or Reader. Thanks in advance :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---