Então é problema do lado do servidor.
Fazendo a chamado pelo browser retornar o que?
Qualquer coisa faz o monitoramento dos requests com o Fiddler: http://fiddler2.com/
Abraços,
Pedro Subutzki
__________________________________________
Pedro Subutzki
__________________________________________
HADI - Makes SQLite in Android easy and simple
https://github.com/PepeuCps/Hadi
https://github.com/PepeuCps/Hadi
Em 24 de outubro de 2013 15:58, Diego Lopes Marques da Silva <diego.lopes@dce.ufpb.br> escreveu:
Pedro,
Aconteceu o mesmo problema!Em 24 de outubro de 2013 14:13, Pedro Subutzki <Pepeu> <falecompepeu@gmail.com> escreveu:
Tenta fazer o Get assim: https://gist.github.com/PepeuCps/7141243--Abraços,
Pedro Subutzki
__________________________________________HADI - Makes SQLite in Android easy and simple
https://github.com/PepeuCps/Hadi2013/10/24 Diego Lopes Marques da Silva <diego.lopes@dce.ufpb.br>--Pessoal,O que eu recebo de retorno é um algo como:
Estou fazendo um Get e ele não me retorna o conteúdo correto.
Conectando ao Serviço...Seria possível fazer algo como uma espera até que seja redirecionada para a próxima pagina ou estou enganado?
public static String getHistorico(Aluno a){
String res= null;
HttpClient httpClient = new DefaultHttpClient();
HttpGet httpGet = new HttpGet(Constants.URL_HISTORICO+"?ctrl="+a.getCtrl()+"&sess=&opcao=6");
try {
ResponseHandler<String> responseHandler = new BasicResponseHandler();
res= httpClient.execute(httpGet, responseHandler);
Log.d("Http Response:", res);
} catch (ClientProtocolException e) {
// writing exception to log
e.printStackTrace();
} catch (IOException e) {
// writing exception to log
e.printStackTrace();
}
return res;
}
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.






0 comentários:
Postar um comentário