FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Android kills my background application
Android kills my background application
Débuté par Homero Montemayor, 20 fév. 2015 22:30 - 3 réponses
Connectez-vous…
Homero Montemayor
#1
Posté le 20 février 2015 - 22:30
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.
Signaler
0
0
Victor Hugo Pereyra
#2
Posté le 22 février 2017 - 20:45
Hi Homer
I am looking for a similar solution, that my application works in
background, could you solve it?
Victor
Signaler
0
0
Eric67
#3
Membre enregistré
637 messages
Popularité : +36 (36 votes)
Posté le 23 février 2017 - 08:59
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
Signaler
0
0
Victor Hugo Pereyra
#4
Posté le 25 février 2017 - 20:22
Thank you, I'll try
victor
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte