I wish the new version to

kalarius

Active Member
Licensed User
Longtime User
to have the ability the program to be auto run as the service module.
to have a check and When I tick it the program run after the power of the device automatic
 
This can be achieved in very few steps.

Add a new service module to your project,

With the service module loaded, in the menu goto Project > Service Properties > Start at boot

In your service module add the code to load your main activity.

Done.
 
This can be achieved in very few steps.

Add a new service module to your project,

With the service module loaded, in the menu goto Project > Service Properties > Start at boot

In your service module add the code to load your main activity.

Done.

on the service_start
I have write the follow code

vv.Initialize("vv")

Activity.addview(vv,10dip,10dip,1280dip,800dip)
vv.LoadVideo("mnt/extsd", "myavi.avi")
vv.Play

but I see that there is a proble with the activity but I can not know what
(iam new at basic and 1week with android)

please advice


**** at the coplete event
vv.LoadVideo("mnt/extsd", "myavi.avi")
vv.Play
because I want to play it without stop repat the same over and over again.
is that a better command to avoid the load the file again?

Kalarakis
 
Back
Top