At time i develop an inhouse Application. The App send informations about the position, weight, time, the arrival at a customers adress, the pickup or delivery or the departure from a customers adress to a server.
The Apps sends their Information as a Text File to an FTP Server. Every two minutes the Apps poll a directory on the Ftp Server an retrieves a List of Files to see if there are messages for the Driver or other important things available. During this process the App sends also same status informations.
I do this inside a service, to get not interrupted by the os. This worked fine up to now.
I extendet the App in a way that it now starts Google Maps for Navigation via an intent. So when the pickup or delivery at a customers is finished, the driver presses a button. This sends the information about the departure to our server and starts Google Maps via an Intent to get the driver navigated to the next customer.
As of the moment where google maps is started and became the topmost windows - the sending and retrieving of file via ftp seems to be stopped. The Service i use to handle seems to sleep. It go to live again when i stop the google maps.
I have the same problem if i send the information via an http service or via dropbox, even if i use modified examples of this forum
What can I do ?
Thanks
Ha-Joe
The Apps sends their Information as a Text File to an FTP Server. Every two minutes the Apps poll a directory on the Ftp Server an retrieves a List of Files to see if there are messages for the Driver or other important things available. During this process the App sends also same status informations.
I do this inside a service, to get not interrupted by the os. This worked fine up to now.
I extendet the App in a way that it now starts Google Maps for Navigation via an intent. So when the pickup or delivery at a customers is finished, the driver presses a button. This sends the information about the departure to our server and starts Google Maps via an Intent to get the driver navigated to the next customer.
As of the moment where google maps is started and became the topmost windows - the sending and retrieving of file via ftp seems to be stopped. The Service i use to handle seems to sleep. It go to live again when i stop the google maps.
I have the same problem if i send the information via an http service or via dropbox, even if i use modified examples of this forum
What can I do ?
Thanks
Ha-Joe