GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
Android kills my background application
Android kills my background application
Iniciado por Homero Montemayor, fev., 20 2015 10:30 PM - 3 respostas
Conecte-se…
Homero Montemayor
#1
Publicado em fevereiro, 20 2015 - 10:30 PM
Hello fellow programmers,
I wrote a GPS application that stays running in the background (using Threadpersistent) to report the GPS coordinates every half an hour. Everything works well, except that Android kills the application every so often.
I have read that it will do that if it needs more memory to run other apps, however I am only running the basic pre-installed programs + my application and the available free memory is 1GB.
Has anybody else had this problem and found a solution for it? I need for the program to always be running.
Thank you in advance,
Homero.
Denunciar
0
0
Victor Hugo Pereyra
#2
Publicado em fevereiro, 22 2017 - 8:45 PM
Hi Homer
I am looking for a similar solution, that my application works in
background, could you solve it?
Victor
Denunciar
0
0
Eric67
#3
Membro registado
637 mensagems
Popularité : +36 (36 votes)
Publicado em fevereiro, 23 2017 - 8:59 AM
I also ThreadPersistent for a GPS application and I don't have this kind of problem...
I would suggest (just for a test) to set 1 minut instead half an hour ans see what happens...
I don't know how exactly works a persistent Thread but - may be - if it's inactive during half an hour android kills the application.
I'm really not sure, it's just a suggestion...
Regards - Eric.
--
Eric DELATTRE
http://www.yoosite.fr
Denunciar
0
0
Victor Hugo Pereyra
#4
Publicado em fevereiro, 25 2017 - 8:22 PM
Thank you, I'll try
victor
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto