[android-developers] Problem in multiple web service request using AsyncTask

2013-05-05 Thread Guilherme Bernardi
Hi. I implemented a process that do multiple web service request to fill the tables one by one, but I'm having some problems for example: - The same process on my Razr(Android 4.0.4) the process completed normally, but in a smartphone with Android(2.2) for example, I get errors like

Re: [android-developers] Persistence 3 Tabs (TabNavigation) in action of ActionBar Sherlock.

2012-12-04 Thread Guilherme Bernardi
access them and save them on the way you would like to save them. On Fri, Nov 30, 2012 at 2:30 PM, Guilherme Bernardi gui.ber...@gmail.comjavascript: wrote: Hi I'm using the lastest ActionBar Sherlock version and I'm developing an application with layout with ActionBar and 3 Tabs

[android-developers] How do I pass an ArrayList SherlockFragment type between SherlockFragment's?

2012-12-04 Thread Guilherme Bernardi
Hi Some days ago, I'm post here about a problem to control Tabs at the SherlockActivityFragment. Because I have 3 Tab (SherlockFragment) inside an SherlockActivityFragment and all of them made one object, and I need to have the control about the 3 tabs and doesn't lose the data and change or

[android-developers] Persistence 3 Tabs (TabNavigation) in action of ActionBar Sherlock.

2012-11-30 Thread Guilherme Bernardi
Hi I'm using the lastest ActionBar Sherlock version and I'm developing an application with layout with ActionBar and 3 Tabs for the navigation. These tabs will load two attribute classes: *1st Tab - (Dados): Class Cliente.* *2nd and 3rd Tabs - (Entrega, Cobrança): Class ClienteEndereco.*

[android-developers] Imports cannot be resolved after adding a permission in Manifest.

2012-09-06 Thread Guilherme Bernardi
Hello everyone. My application is separated by package's (Activity, Connection, Attributes, Engine) and their respective classes. In whole application I import the necessary package's and attributes class like this: *import dataplus.application.attributes.Cliente;* and use the objects:

[android-developers] How Can I pass and ArrayList of Object and receive the result to adapter in another activity?

2012-09-04 Thread Guilherme Bernardi
Hello everyone. I'm have an activity that generate an ArrayList of a object: ArrayListPedidoItem list = new ArrayListPedidoItem(); PedidoItem objPedItem = new PedidoItem(); objPedItem.set_Item(item.getText().toString()); objPedItem.set_Produto(produto.getText().toString());

Re: [android-developers] How Can I pass and ArrayList of Object and receive the result to adapter in another activity?

2012-09-04 Thread Guilherme Bernardi
Ok, thank you i'll try convert them to a bundle. I tried to extend Parcelable, but doesn't work on the adapter... Em terça-feira, 4 de setembro de 2012 13h05min49s UTC-3, TreKing escreveu: On Tue, Sep 4, 2012 at 9:24 AM, Guilherme Bernardi gui.ber...@gmail.comjavascript: wrote: But I

Re: [android-developers] How Can I pass and ArrayList of Object and receive the result to adapter in another activity?

2012-09-04 Thread Guilherme Bernardi
public class PedidoItemAdapter extends BaseAdapter{ I can't get the items at the BaseAdapter... Em terça-feira, 4 de setembro de 2012 13h20min24s UTC-3, TreKing escreveu: On Tue, Sep 4, 2012 at 11:12 AM, Guilherme Bernardi gui.ber...@gmail.comjavascript: wrote: I tried to extend

Re: [android-developers] How Can I pass and ArrayList of Object and receive the result to adapter in another activity?

2012-09-04 Thread Guilherme Bernardi
=[dataplus.application.attributes.PedidoItem@44f90e88], null] and when I try to access the extra by the position that is 0. I get null... Em terça-feira, 4 de setembro de 2012 13h41min52s UTC-3, TreKing escreveu: On Tue, Sep 4, 2012 at 11:22 AM, Guilherme Bernardi gui.ber...@gmail.comjavascript: wrote: I

Re: [android-developers] How Can I pass and ArrayList of Object and receive the result to adapter in another activity?

2012-09-04 Thread Guilherme Bernardi
Well I'm already fix it. Thank you. You're right. Now my problem is how can I add items and update an ListView. Em terça-feira, 4 de setembro de 2012 15h15min22s UTC-3, TreKing escreveu: On Tue, Sep 4, 2012 at 12:24 PM, Guilherme Bernardi gui.ber...@gmail.comjavascript: wrote: and when

Re: [android-developers] Re: How Can I pass an ArrayList do another Activity?

2012-09-04 Thread Guilherme Bernardi
between activities.I would use a singleton where I put the data in there and grab it from the next Activity. On Friday, August 31, 2012 12:59:51 PM UTC-7, Guilherme Bernardi wrote: Hi everyone. I'm developing an application that have a composition case. In the first activity

Re: [android-developers] Re: How Can I pass an ArrayList do another Activity?

2012-09-04 Thread Guilherme Bernardi
in there and grab it from the next Activity. On Friday, August 31, 2012 12:59:51 PM UTC-7, Guilherme Bernardi wrote: Hi everyone. I'm developing an application that have a composition case. In the first activity there is an ListView, some fields and a button that call another activity. This activity

[android-developers] Re: How do I append an Xml File?

2012-08-31 Thread Guilherme Bernardi
I got it... I'll post how I did... Thanks Em quinta-feira, 30 de agosto de 2012 16h42min36s UTC-3, Guilherme Bernardi escreveu: Hi. I'm trying to append an Xml Data File. The structure of Xml is: ?xml version='1.0' encoding='UTF-8' standalone='yes' ? clientes cliente4 Empresa1

[android-developers] How Can I pass an ArrayList do another Activity?

2012-08-31 Thread Guilherme Bernardi
Hi everyone. I'm developing an application that have a composition case. In the first activity there is an ListView, some fields and a button that call another activity. This activity will set an ArrayList and then pass to first activity the array it appears in the listview... Can anyone help

[android-developers] How do I append an Xml File?

2012-08-30 Thread Guilherme Bernardi
Hi. I'm trying to append an Xml Data File. The structure of Xml is: ?xml version='1.0' encoding='UTF-8' standalone='yes' ? clientes cliente4 Empresa1/Empresa Codigo5/Codigo Nomegsdf/Nome Enderecoags/Endereco Bairrogasd/Bairro /cliente4 /clientes I need to add

Re: [android-developers] How do I append an Xml File?

2012-08-30 Thread Guilherme Bernardi
Well... I can use DOM parser, but by DOM parser I can get the nodes? remove nodes? and append the records? Em quinta-feira, 30 de agosto de 2012 17h03min10s UTC-3, Jacky Alciné escreveu: Why not use a DOM parser? On Thu, Aug 30, 2012 at 3:42 PM, Guilherme Bernardi gui.ber

[android-developers] Re: How do I append an Xml File?

2012-08-30 Thread Guilherme Bernardi
Ok, I'll start... and post the results. Thank you. Em quinta-feira, 30 de agosto de 2012 16h42min36s UTC-3, Guilherme Bernardi escreveu: Hi. I'm trying to append an Xml Data File. The structure of Xml is: ?xml version='1.0' encoding='UTF-8' standalone='yes' ? clientes cliente4

[android-developers] Re: How do I read an XML Data in Android?

2012-08-28 Thread Guilherme Bernardi
FileInputStream is a good choise? Em segunda-feira, 27 de agosto de 2012 17h06min26s UTC-3, Lew escreveu: Guilherme Bernardi wrote: I'm developing an application that uses XML data... I consumed an wcf web service with SOAP, convert the object to a basic XML and save on sdcard, but now I

Re: [android-developers] Re: How do I read an XML Data in Android?

2012-08-28 Thread Guilherme Bernardi
: these are the same technologies you would use in Java.. kris On Tue, Aug 28, 2012 at 3:38 PM, Guilherme Bernardi gui.ber...@gmail.com javascript: wrote: FileInputStream is a good choise? Em segunda-feira, 27 de agosto de 2012 17h06min26s UTC-3, Lew escreveu: Guilherme Bernardi wrote

[android-developers] Read/Edit XML File External Storage.

2012-08-27 Thread Guilherme Bernardi
Hello... I'm trying to find the best way to read/edit XML File on External Storage... I searched on the internet and the most part of the tutorials told about XStream, but in terms of performance is there any difference? -- You received this message because you are subscribed to the Google

[android-developers] How do I read an XML Data in Android?

2012-08-27 Thread Guilherme Bernardi
I'm developing an application that uses XML data... I consumed an wcf web service with SOAP, convert the object to a basic XML and save on sdcard, but now I need to read this data file to edit, confer and save? How can I do that? Can anyone help me? -- You received this message because you