Android discussion

This room is for Android discussion and it is language indepen...
May 22, 2013 10:48
@Sameer Thanks a lot for your patient and support
May 22, 2013 10:48
@Sameer I´m sorry, first of all I´ll try to fix that and then JSON
May 22, 2013 10:29
Eclipse fails
May 22, 2013 10:24
I can´t take the logcat if I export the apk to be used in android 4.2
May 22, 2013 10:22
@Sameer I can´t use my device as emulator
May 22, 2013 10:00
@Sameer I can´t see the problem
May 22, 2013 10:00
@Sameer I read with no problem in android 2.3 and it forces to close in android 4.2
May 22, 2013 09:49
Hi, one quick question is there any problem by reading XML or JSON in Android 4.2?
May 16, 2013 10:16
@OneManArmy yes
May 16, 2013 10:12
@OneManArmy that´s for ViewPager, is the same for ABS?
May 16, 2013 10:11
@OneManArmy thanks, I´ll check it
May 16, 2013 10:06
@Richa is it possible?
May 16, 2013 10:06
@R
May 16, 2013 09:56
Hi everybody,
I have a question: is there any way to disable the swipe between tabs with ABS in one part of the fragment?
 
May 22, 2013 09:52
@Rstar this is my question with XML stackoverflow.com/questions/16674661/…
May 22, 2013 09:50
and forces the close in 4.2
May 22, 2013 09:50
@Rstar I read one of each file and works in 2.3.6
May 22, 2013 09:49
Hi, one quick question is there any problem by reading XML or JSON in Android 4.2?
May 21, 2013 16:06
thanks again
May 21, 2013 16:06
ok
May 21, 2013 16:04
@Yoda how do I import the sample? as existing code?
May 21, 2013 16:01
I´ll check the sample
May 21, 2013 16:01
@Yoda thanks a lot
May 21, 2013 16:00
@Yoda It forces the close in Android 4.2.2 and I have no idea why
May 21, 2013 15:55
Hi everybody!! I have a quick question, I´m reading info from an XML file and it works in Android 2.3.6 but not in 4.2.2. Any idea about it?
May 16, 2013 09:56
Hi everybody,
I have a question: is there any way to disable the swipe between tabs with ABS in one part of the fragment?
May 13, 2013 08:34
Hi everybody!!
I have a quick question: is it possible to change the tab underline in ABS with one color per tab?
Apr 29, 2013 09:27
one question: to implement an image gallery is it a good idea with ViewFlipper? how do I take the image as an ItemOnClick
Apr 29, 2013 09:27
Hi everybody!!
 

 DUST

Authorised
May 21, 2013 15:59
@Yoda and this is XMLParser public class XMLParser {

// constructor
public XMLParser() {

}

/**
* Getting XML from URL making HTTP request
* @param url string
* */
public String getXmlFromUrl(String url) {
String xml = null;

try {
// defaultHttpClient
DefaultHttpClient httpClient = new DefaultHttpClient();
HttpPost httpPost = new HttpPost(url);

HttpResponse httpResponse = httpClient.execute(httpPost);
HttpEntity httpEntity = httpResponse.getEntity();
xml = EntityUtils.toString(httpEntity);
May 21, 2013 15:59
@Yoda this is my main activity public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//LinearLayout layout = new LinearLayout(this);
TextView category[];
//ArrayList<HashMap<String, String>> menuItems = new ArrayList<HashMap<String, String>>();

XMLParser parser = new XMLParser();
String xml = parser.getXmlFromUrl(URL); // getting XML
//Log.d("xml",xml);
Document doc = parser.getDomElement(xml); // getting DOM element
doc.normalize();
//NodeList nl = doc.getElementsByTagName("file");
 

#AndroidDev

Final destination for all AndroidDev across the globe.
May 21, 2013 15:55
Hi everybody!! I have a quick question, I´m reading info from an XML file and it works in Android 2.3.6 but not in 4.2.2. Any idea about it?
May 16, 2013 10:14
@PareshMayani thank you very much
May 16, 2013 10:12
@PareshMayani I have a wheel in the ragment and when I try to make it spin the ragment changes
May 16, 2013 10:10
@PareshMayani I know, it´s quite difficult to explain. I would like to know if when I click on one part of my fragment I can disable the horizontal swipe for ABS tabs
May 16, 2013 10:07
@PareshMayani do you have any idea about that?
May 16, 2013 09:56
Hi everybody,
I have a question: is there any way to disable the swipe between tabs with ABS in one part of the fragment?
 

 Android Era with Kotlin and Java

Important: Read dos and don'ts here: androidera.github.io . Ma...
May 16, 2013 10:22
@rekire ok, sorry
May 16, 2013 10:20
@rekire Hi, I did that question, check it here stackoverflow.com/questions/11794528/…
May 16, 2013 09:56
Hi everybody,
I have a question: is there any way to disable the swipe between tabs with ABS in one part of the fragment?
May 13, 2013 08:39
@Appu that´s what I thought and I´ve seen the same webs, thanks @Appu
May 13, 2013 08:33
Hi everybody!!
I have a quick question: is it possible to change the tab underline in ABS with one color per tab?
Apr 29, 2013 09:28
@victor I would like to have a slider and when click on each one go to another activity
Apr 29, 2013 09:27
one question: to implement an image gallery is it a good idea with ViewFlipper? how do I take the image as an ItemOnClick
Apr 29, 2013 09:27
Hi everybody!!
 

android developerz

Android Curious Developers
May 16, 2013 09:56
Hi everybody,
I have a question: is there any way to disable the swipe between tabs with ABS in one part of the fragment?
May 13, 2013 08:34
Hi everybody!!
I have a quick question: is it possible to change the tab underline in ABS with one color per tab?
Apr 29, 2013 09:39
I´ve seen a gallery example saigeethamn.blogspot.com.es/2010/05/… but it´s not automatic
Apr 29, 2013 09:26
one question: to implement an image gallery is it a good idea with ViewFlipper? how do I take the image as an ItemOnClick
Apr 29, 2013 09:25
Hi everybody!!