Acho que um linear layout com bg transparente e algumas imageviews com
png transparente dão conta, mas, ainda não precisei fazer nada assim!
Abraço,
Ernani
On Sun, Aug 31, 2014 at 10:32 AM, Rogerio Esteves <rolives@gmail.com> wrote:
> Galera, vocês sabem como é feito o tipo de tela que estou anexando. É uma
> tela tipo helper do app. Será uma imagem feita no photoshop mesmo?
>
> --
> 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/d/optout.
--
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/d/optout.
Re: [androidbrasil-dev] Desenhar Tela Helper?
[androidbrasil-dev] Custom Image Android - View.isInEditMode()
Galera fiz um class custom que extends ImageView e mesmo eu usando o seus construtores o isInEditMode()
no arquivo xml ainda continua dando isso:
Tip: Use View.isInEditMode() in your custom views to skip code when shown in Eclipse
Como só consigo ver o resultado do custom quando executo o app fica meio lento o trabalho
pois no xml não tenho como visualizar como tá ficando;
Será que estou esquecendo de alguma coisa?
Obrigado..
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/d/optout.
[androidbrasil-dev] Existe lib de Login estilo Keep Safe?
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/d/optout.
Re: [androidbrasil-dev] [OT] Falando em Gradle
abs
Best Regards,
Luciano Sousa
http://socitrip.com
*CTO & Co-Founder at Socitrip
*Contact: +55 21 979 554 039
Fala Rudson!Confesso que a migração do Eclipse para o Android Studio foi árdua! Tenho muitos projetos Libraries...
Em muitos casos o export Gradle project do Eclipse não funcionou... Tive que copiar src e res para o Android Studio...
Dúvidas posta ai!!!2014-08-30 15:46 GMT-03:00 Rudson Lima <rudsonlive@gmail.com>:
Obg Renan.
Comecei agora a migra meus projeto pro Android Studio no mac o-O...
Então estou tendo que me adaptar ao OS e o Android Studio.
Valeu
--
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/d/optout.
--
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/d/optout.
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/d/optout.
Re: [androidbrasil-dev] QrCode reader
Gorio, esse tutorial eu criei alguns anos atrás. Não lembro 100% do que fiz, mas se não engano tu podes customizar a view de leitura. Ali tu pode mudar a área de leitura.
Boa tarde.O zxinglib caiu como uma luva, porém gostaria de saber se teria como aumentar a área de captura.Como referência estou seguindo este site. http://maicon.strey.nom.br/blog/2012/04/27/utilizando-zxing-para-ler-codigo-de-barras/Obrigado--
Em 30 de agosto de 2014 22:07, Gorio <goriofab@gmail.com> escreveu:Opa Obrigado pela recomendação.Fiz o download dele e de alguns que achei na net..Obrigado mesmo..AbsEm 30 de agosto de 2014 21:22, Maicon Strey <mstrey@gmail.com> escreveu:Gorio,
Eu já usei a zxinglib pra ler código de barras e o usuário não precisa instalar nada além do teu app!Da uma lida melhor na documentação deles.
Em 30/08/2014 19:00, "Gorio" <goriofab@gmail.com> escreveu:----Boa noite a todos,Por acaso alguém aqui já precisou implementar um leitor de QrCode ?Achei a lib zxing, porém a integração dela obriga o usuário a instalar o aplicativo base deles e não poderia ser dessa forma.Tem que ser nativo do meu App ler o código sem precisar instalar qualquer outro app.Alguma indicação ?Obrigado
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/d/optout.
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/d/optout.
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/d/optout.
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/d/optout.
Re: [androidbrasil-dev] QrCode reader
Opa Obrigado pela recomendação.Fiz o download dele e de alguns que achei na net..Obrigado mesmo..AbsEm 30 de agosto de 2014 21:22, Maicon Strey <mstrey@gmail.com> escreveu:Gorio,
Eu já usei a zxinglib pra ler código de barras e o usuário não precisa instalar nada além do teu app!Da uma lida melhor na documentação deles.
Em 30/08/2014 19:00, "Gorio" <goriofab@gmail.com> escreveu:----Boa noite a todos,Por acaso alguém aqui já precisou implementar um leitor de QrCode ?Achei a lib zxing, porém a integração dela obriga o usuário a instalar o aplicativo base deles e não poderia ser dessa forma.Tem que ser nativo do meu App ler o código sem precisar instalar qualquer outro app.Alguma indicação ?Obrigado
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/d/optout.
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/d/optout.
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/d/optout.
[androidbrasil-dev] Desenhar Tela Helper?
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/d/optout.
Re: [androidbrasil-dev] Opinião sobre Livro - Lecheta - Google Android para Tablets
rapaz acho q qualquer pessoa q quer entrar nessa area e já leu/estudou pelo livro do lecheta só fala bem... eu não sou exceção, recomendo!2014-08-29 15:03 GMT-03:00 Felipe Aron <felipearon@gmail.com>:
Recomendo de zóio-fechado!!Tenho, li, reli, aprendi muito... vale a pena!2014-08-27 15:15 GMT-03:00 Elias Neto <eliashhneto@gmail.com>:
--Pessoal,O que me dizem do livro do Lecheta, "Google Android para Tablets" ???http://novatec.com.br/livros/android-tablets/
Recomendam? Alguém já leu / estudou ele?Att,--
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/d/optout.
--Programador--
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/d/optout.
--
All it takes is one bad day to reduce the sanest man alive to lunacy.
That's how far the world is from where i am.
Just one bad day!
--
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/d/optout.
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/d/optout.
Re: [androidbrasil-dev] QrCode reader
Gorio,
Eu já usei a zxinglib pra ler código de barras e o usuário não precisa instalar nada além do teu app!Da uma lida melhor na documentação deles.
Em 30/08/2014 19:00, "Gorio" <goriofab@gmail.com> escreveu:----Boa noite a todos,Por acaso alguém aqui já precisou implementar um leitor de QrCode ?Achei a lib zxing, porém a integração dela obriga o usuário a instalar o aplicativo base deles e não poderia ser dessa forma.Tem que ser nativo do meu App ler o código sem precisar instalar qualquer outro app.Alguma indicação ?Obrigado
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/d/optout.
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/d/optout.
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/d/optout.
Re: [androidbrasil-dev] QrCode reader
Gorio,
Eu já usei a zxinglib pra ler código de barras e o usuário não precisa instalar nada além do teu app!
Da uma lida melhor na documentação deles.
--Boa noite a todos,Por acaso alguém aqui já precisou implementar um leitor de QrCode ?Achei a lib zxing, porém a integração dela obriga o usuário a instalar o aplicativo base deles e não poderia ser dessa forma.Tem que ser nativo do meu App ler o código sem precisar instalar qualquer outro app.Alguma indicação ?Obrigado
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/d/optout.
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/d/optout.
[androidbrasil-dev] QrCode reader
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/d/optout.
Re: [androidbrasil-dev] [OT] Falando em Gradle
Em muitos casos o export Gradle project do Eclipse não funcionou... Tive que copiar src e res para o Android Studio...
Dúvidas posta ai!!!
--
Obg Renan.
Comecei agora a migra meus projeto pro Android Studio no mac o-O...
Então estou tendo que me adaptar ao OS e o Android Studio.
Valeu
--
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/d/optout.
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/d/optout.
Re: [androidbrasil-dev] [OT] Falando em Gradle
Obg Renan.
Comecei agora a migra meus projeto pro Android Studio no mac o-O...
Então estou tendo que me adaptar ao OS e o Android Studio.
Valeu
--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/d/optout.
Re: [androidbrasil-dev] [OT] Falando em Gradle
Vlw Renan.
Já está na lista de itens pra leitura.
Olá devs!--
Publiquei hoje um post falando um pouco sobre Gradle.Se você além de desenvolver Apps no Android Studio também participa do desenvolvimento do BackEnd e precisa fazer um controle de build e dependências de todos os projetos... Bem vindo!Minha idéia é fazer uma sequência de posts ensinando a usar o Gradle em míltiplas plataformas... Começando pelo Android... Claro!Espero que ajude!
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/d/optout.
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/d/optout.
[androidbrasil-dev] [OT] Falando em Gradle
Publiquei hoje um post falando um pouco sobre Gradle.
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/d/optout.
Re: [androidbrasil-dev] Fechar Activity ao terminar a execução do AsyncTask
Cara acredito que estou quase la.Para chamar a primeira Async eu chamo assim:new GeraPDF(context, this).execute(id_pedido);Fiz o teste somente com a primeira e funcionou.Agora não estou sabendo como chamar a segunda de dentro da primeira.eu to tentando assim:new EnviaEmail(context, ??????);O que é que eu passo como parâmetro para a interface para chamar o async enviaEmail?
Em 29 de agosto de 2014 17:31, Felipe Aron <felipearon@gmail.com> escreveu:
Pode ser a mesma interface para as duas Asyncs Willian.
Em 29 de agosto de 2014 17:26, Willian do Amor <willsazon@gmail.com> escreveu:
Bom estou tentando fazer primeiro como o Filipe disse.Nesse caso a interface de resposta deve ser a mesma nas duas asyncs?Em 29 de agosto de 2014 16:53, Jhonatas Martins dos Santos <jhonatas1992@gmail.com> escreveu:Willian,
Se não for um problema você pode usar promises(abstração para programação assíncrona) que permite a execução de tasks em paralelo ou em cadeia com seus respectivos callbacks
Dá uma olhanda no Bolts-Android que ele implementa.
Abs
Em sexta-feira, 29 de agosto de 2014 14h57min42s UTC-3, Felipe Aron escreveu:Eu fiz algo parecido! E usei o esquema que te passei.No caso ambas os Async implementar a interface de resposta, e a mesma activity faz a chamada delas:FLUXO:Activity executa o Async-1, e no seu método de retorno, caso positivo, executo o Async-2. Verifico o resultado do Async-2, e caso positivo, finalize tua Activity (finish).Em 29 de agosto de 2014 14:54, Willian do Amor <will...@gmail.com> escreveu:Bom então eu estou meio sem rumo Marcelo Alves.Eu tentei do modo como o amigo Felipe disse acima, porém preciso saber que terminaram as duas Asynctask para depois fechar a activity.Como eu poderia proceder?2014-08-29 14:45 GMT-03:00 Marcelo Alves <marcel...@gmail.com>:
Receber a Activity na AsyncTask e chamar finish no postExecute() não é uma opção viável para você?
Manter uma referência da Activity na AsyncTask não é uma boa ideia. Ela pode não estar mais visível, o que significa que está somente comendo memória.--To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-...@googlegroups.com.
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-...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.--
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/d/optout.
--
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/d/optout.
--
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/d/optout.
--
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/d/optout.
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/d/optout.
Re: [androidbrasil-dev] Opinião sobre Livro - Lecheta - Google Android para Tablets
Recomendo de zóio-fechado!!Tenho, li, reli, aprendi muito... vale a pena!2014-08-27 15:15 GMT-03:00 Elias Neto <eliashhneto@gmail.com>:
--Pessoal,O que me dizem do livro do Lecheta, "Google Android para Tablets" ???http://novatec.com.br/livros/android-tablets/
Recomendam? Alguém já leu / estudou ele?Att,--
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/d/optout.
--Programador--
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/d/optout.
All it takes is one bad day to reduce the sanest man alive to lunacy.
That's how far the world is from where i am.
Just one bad day!
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/d/optout.
[androidbrasil-dev] Ideia de Aplicativo
Quero encontrar parceiro pra desenvolver, se alguém tiver interesse entre em contato.
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/d/optout.
Re: [androidbrasil-dev] Duvida sobre fragments
Eu te mandei o link do vídeo 25, veja o 26 e se quiser, o 27, etc.
Lá ele explica como usar Loaders e LoaderManagers...
Basicamente vc adiciona à um SimpleCursorAdapter para exibir na lista,
mas, se quiser, pode criar um MatrixCursor também, vai da sua
necessidade!
Abraço,
Ernani
On Fri, Aug 29, 2014 at 12:14 PM, Matheus Silva
<informatheus02@gmail.com> wrote:
> Mas o provider retorna apenas cursor, como eu retorno um cursor dessa
> estrutura?
>
> --
> 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/d/optout.
--
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/d/optout.
Re: [androidbrasil-dev] Relacionamento de tabelas - parse.com
Não tem que passar o Objeto assim como quando faz o insert?Att,
Em 29 de agosto de 2014 12:04, Rudson Lima <rudsonlive@gmail.com> escreveu:
Boa tarde galera..--
Estou em um novo projeto e ele usar o parse.com;
Nunca trabalhei com ele então a cada funcionalidade do app, vou na documentação, aprendo e implemento..
Em relação as consultas até que não tive nenhum problema (até agora :'()
Estou na seguinte situação;
Eu tenho duas tabelas
Ex: (Videos e Modulo) onde em Videos em tenho o id de Modulo e de outra tabela chamada Cursos;
Ao clicar em um curso tenho que mostrar o detalhes do cursos "informação da Videos" e tbm tenho que trazer uma informação da tabela de Modulos;
Como eu faço pra trazer esses dados relacionados(inner) ?
Tentei fazer o que a documentação ensina mas até o momento sem sucesso(To travado);
alguma luz no fim do túnel?
desde de já obrigado....
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/d/optout.
---
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/d/optout.
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/d/optout.
[androidbrasil-dev] [OFF-TOPIC]: Framework para automatização de testes no Android
Robotium
pros:
- support hybrid applications with webViews.
- you can bound your test to unique IDs of tested application whenever with UIatomator to write complicated test cases will need great amount of work from you
- in UIatomator is used UiAutomatorTestCase Instrumentation which doesn't give you possibilities to call current activity and check that loaded appropriate one, you can't call connectivity- or audio- managers for wi-fi or sound tests. In Robotium you can easily call such gems and that is greatly improve efficiency of your tests
- Open source project, so you can modify tool to your needs
cons:
- No possibility to tests multi-process application where
android:process
tag used for different activities.
pros:
- Test case is independent from the process at which tested application works. So it can be used in places where are used additional libraries or activity is run in other process also useful if for test needed switching between several applications.
cons:
Works only on Android version 4.1 or more!
You can't use source IDs when you get ui-object instances. That mean if an application structure changed on one layout you need to refactor your test (this problem can be solved by using tags for each ui-element)
You can't get current activity or Instrumentation. That mean you are limited in development of your tests and not used many of android's api methods for your tests.
Hard to debug, you need to have script for buiding and starting your test fast and see output
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/d/optout.
Re: [androidbrasil-dev] Fechar Activity ao terminar a execução do AsyncTask
Pode ser a mesma interface para as duas Asyncs Willian.
Em 29 de agosto de 2014 17:26, Willian do Amor <willsazon@gmail.com> escreveu:
Bom estou tentando fazer primeiro como o Filipe disse.Nesse caso a interface de resposta deve ser a mesma nas duas asyncs?Em 29 de agosto de 2014 16:53, Jhonatas Martins dos Santos <jhonatas1992@gmail.com> escreveu:Willian,
Se não for um problema você pode usar promises(abstração para programação assíncrona) que permite a execução de tasks em paralelo ou em cadeia com seus respectivos callbacks
Dá uma olhanda no Bolts-Android que ele implementa.
Abs
Em sexta-feira, 29 de agosto de 2014 14h57min42s UTC-3, Felipe Aron escreveu:Eu fiz algo parecido! E usei o esquema que te passei.No caso ambas os Async implementar a interface de resposta, e a mesma activity faz a chamada delas:FLUXO:Activity executa o Async-1, e no seu método de retorno, caso positivo, executo o Async-2. Verifico o resultado do Async-2, e caso positivo, finalize tua Activity (finish).Em 29 de agosto de 2014 14:54, Willian do Amor <will...@gmail.com> escreveu:Bom então eu estou meio sem rumo Marcelo Alves.Eu tentei do modo como o amigo Felipe disse acima, porém preciso saber que terminaram as duas Asynctask para depois fechar a activity.Como eu poderia proceder?2014-08-29 14:45 GMT-03:00 Marcelo Alves <marcel...@gmail.com>:
Receber a Activity na AsyncTask e chamar finish no postExecute() não é uma opção viável para você?
Manter uma referência da Activity na AsyncTask não é uma boa ideia. Ela pode não estar mais visível, o que significa que está somente comendo memória.--To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-...@googlegroups.com.
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-...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.--
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/d/optout.
--
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/d/optout.
--
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/d/optout.
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/d/optout.
Re: [androidbrasil-dev] Fechar Activity ao terminar a execução do AsyncTask
Pode ser a mesma interface para as duas Asyncs Willian.
Em 29 de agosto de 2014 17:26, Willian do Amor <willsazon@gmail.com> escreveu:
Bom estou tentando fazer primeiro como o Filipe disse.Nesse caso a interface de resposta deve ser a mesma nas duas asyncs?Em 29 de agosto de 2014 16:53, Jhonatas Martins dos Santos <jhonatas1992@gmail.com> escreveu:Willian,
Se não for um problema você pode usar promises(abstração para programação assíncrona) que permite a execução de tasks em paralelo ou em cadeia com seus respectivos callbacks
Dá uma olhanda no Bolts-Android que ele implementa.
Abs
Em sexta-feira, 29 de agosto de 2014 14h57min42s UTC-3, Felipe Aron escreveu:Eu fiz algo parecido! E usei o esquema que te passei.No caso ambas os Async implementar a interface de resposta, e a mesma activity faz a chamada delas:FLUXO:Activity executa o Async-1, e no seu método de retorno, caso positivo, executo o Async-2. Verifico o resultado do Async-2, e caso positivo, finalize tua Activity (finish).Em 29 de agosto de 2014 14:54, Willian do Amor <will...@gmail.com> escreveu:Bom então eu estou meio sem rumo Marcelo Alves.Eu tentei do modo como o amigo Felipe disse acima, porém preciso saber que terminaram as duas Asynctask para depois fechar a activity.Como eu poderia proceder?2014-08-29 14:45 GMT-03:00 Marcelo Alves <marcel...@gmail.com>:
Receber a Activity na AsyncTask e chamar finish no postExecute() não é uma opção viável para você?
Manter uma referência da Activity na AsyncTask não é uma boa ideia. Ela pode não estar mais visível, o que significa que está somente comendo memória.--To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-...@googlegroups.com.
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-...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.--
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/d/optout.
--
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/d/optout.
--
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/d/optout.
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/d/optout.