Nyde Posted March 31, 2015 at 04:17 PM Report Share #580626 Posted March 31, 2015 at 04:17 PM (edited) Boas eu fiz um webservice e agora estou a tentar chamo-lo na minha outra aplicação para quando o utilizador inserir a matricula, a aplicação envia o código do carro para o webservice e devolve a lista completa de intervenções feita no automóvel só que estou com o seguinte erro: Poderiam dar uma ajuda? Obrigado. Edited March 31, 2015 at 06:32 PM by Nyde Link to comment Share on other sites More sharing options...
bruno1234 Posted March 31, 2015 at 07:15 PM Report Share #580644 Posted March 31, 2015 at 07:15 PM Estás a tentar colocar um array numa string. O teu resultado devia ser um array do tipo Carro. Matraquilhos para Android. Gratuito na Play Store. https://play.google.com/store/apps/details?id=pt.bca.matraquilhos Link to comment Share on other sites More sharing options...
Nyde Posted March 31, 2015 at 09:02 PM Author Report Share #580652 Posted March 31, 2015 at 09:02 PM Já tentei declarar a string resultado como array, continuo sem saber como por a funcionar. Link to comment Share on other sites More sharing options...
Solution bruno1234 Posted April 1, 2015 at 07:26 PM Solution Report Share #580703 Posted April 1, 2015 at 07:26 PM em vez de teres a linha string resultado = ... escreve: var resultado = cod.historico(matricula); depois trata o array resultado como pretenderes. 1 Report Matraquilhos para Android. Gratuito na Play Store. https://play.google.com/store/apps/details?id=pt.bca.matraquilhos Link to comment Share on other sites More sharing options...
Nyde Posted April 1, 2015 at 08:29 PM Author Report Share #580707 Posted April 1, 2015 at 08:29 PM Ok obrigado já pus a funcionar! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now