K kalarius Active Member Licensed User Longtime User Oct 17, 2012 #1 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
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
barx Well-Known Member Licensed User Longtime User Oct 18, 2012 #2 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.
K kalarius Active Member Licensed User Longtime User Oct 18, 2012 #3 barx said: 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. Click to expand... 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
barx said: 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. Click to expand... 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