Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: How launch my apps Firemonkey Tokio.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Jan 11, 2018 3:11 PM Last Post By: Dave Nottage
Berty Cortes Tr...

Posts: 11
Registered: 7/13/16
How launch my apps Firemonkey Tokio.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 10, 2018 6:15 PM
Greetings to all, this time I need to know how I can launch my apps when the tablet is turned on, without using other applications.

thanks to all.
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: How launch my apps Firemonkey Tokio.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 10, 2018 8:31 PM   in response to: Berty Cortes Tr... in response to: Berty Cortes Tr...
Berty Cortes Trujillo wrote:

Greetings to all, this time I need to know how I can launch my apps when the tablet is turned on, without using other
applications.

I've added a demo to the Kastri Free project that does this:

https://github.com/DelphiWorlds/KastriFree/tree/master/Demos/AndroidStartAtBoot

Note that it also requires the dw-multireceiver.jar file, here:

https://github.com/DelphiWorlds/KastriFree/tree/master/Lib

If you implement the same thing in your own apps, you'll need to make the same changes to AndroidManifest.template.xml
as in the demo. They are highlighted in the XML comments with "****", e.g:

    <!-- **** Required for start on boot  **** -->
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />


--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Berty Cortes Tr...

Posts: 11
Registered: 7/13/16
Re: How launch my apps Firemonkey Tokio.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 11, 2018 6:02 AM   in response to: Dave Nottage in response to: Dave Nottage
Thanks Dave N., I'll see how it works and comment.
Berty Cortes Tr...

Posts: 11
Registered: 7/13/16
Re: How launch my apps Firemonkey Tokio.  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 11, 2018 6:02 AM   in response to: Dave Nottage in response to: Dave Nottage
when opening the project, it shows the error:

Unable to load project
AndroidStartBoot.dproj
Error reading
AndroidStartBoot.dproj
Fatal error -

Edited by: Berty Cortes Trujillo on Jan 11, 2018 6:18 AM
Dave Nottage

Posts: 1,850
Registered: 1/7/00
Re: How launch my apps Firemonkey Tokio. [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 11, 2018 3:11 PM   in response to: Berty Cortes Tr... in response to: Berty Cortes Tr...
Berty Cortes Trujillo wrote:

when opening the project, it shows the error:

Unable to load project
AndroidStartBoot.dproj
Error reading
AndroidStartBoot.dproj
Fatal error -

It loads OK for me. What is the Fatal error? What version of Delphi do you have?

--
Dave Nottage [MVP, TeamB]
Find hints, tips and tricks at Delphi Worlds blog: http://www.delphiworlds.com
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02