Android Question Fails, download a file using service module

IamTrying

Active Member
Licensed User
I am trying to test service module from Main activity.
But it fails to download a file using service module.

Line in `btnDownload_Click` action module `StartService(DownloadService)` cause the error. For some reason `StartService()` not working?

1. Using service module sample to download a file on my Android Samsung Galaxy.
Complete project as ZIP file: https://www.b4x.com/android/forum/attachments/downloadservice-zip.6974/

2. When i compile/build/run and then hit download button, it fails to complete the complete statements. See below:
2jsWms5.png


What is the reason?
 
Last edited:
Top