Menu
Search




Articles & Documents

Close Tutorials

Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
22 Subscribers
CPDB.Net

Friends News
Visits

   visitors

   visitors online

Webmaster - Infos
forum.gifForum - ppCompiler - Topic #50

Forum - Forum
ppCompiler - ppCompiler


active  Topic # 50  Executable

17/08/2012 @ 14:59
by ukimiku

Anonymous



Hi all,

I am new to this forum and have two questions:

1) How can one run the executable file produced by Pepe from within another folder in the Android file system? I would like to take the executable, put it into another folder and run it there.

Do I have to set permissions for the folder/and or the executable?

2) How can I pass parameters to the executable when calling it?

Thank you.

Regards,
Rectified by ukimiku 17/08/2012 @ 15:00
Write to ukimiku   Post an answer  Top
Answer n° 1
--------
19/08/2012 @ 22:11
by palmipod

palmipod

visitor
Hi, i post response for Philippe (a little problem with his account)
Hi, welcome on this forum,
1) The executable file generated by Pépé needs a loader to beexecuted. The loader in included in the Pépé application. To myknowledge, the only executable memory area available for an application is its own internal storage area. It is easy to modifyPépé in order to call from any folder by copying the executable codein the internal storage.I have some idea to generate standalone applications by including the execution console and the loader in the apk file.
2) For the moment, there is no way to call an executable from acommand line command. To allow parameters to a program need abash-style console.Regards

Philippe

Rectifié par palmipod le 19/08/2012 @ 22:13
Write to palmipod   Post an answer  Top
Answer n° 2
--------
02/09/2012 @ 01:47
by ukimiku

Anonymous

visitor
Hi Phillippe,

thank you for responding.

Can I modify the exe file generated by Pepe so I can move it and put it into another folder (internal storage of an app of mine) and call it there/distribute it with my app and call it after installation of my app on the user's phone?

I will wait patiently for your apk console/loader idea to come true. It sounds great, as I enjoy programming in Pepe a lot.

Regards,
Write to ukimiku   Post an answer  Top
Answer n° 3
--------
03/09/2012 @ 10:26
by Philippe

Anonymous

visitor
Hi,For the moment, an exe file needs the Pépé application to be run. It cannot be redistributed as stand alone application.It can only be run from the internal storage of the Pépé application. It can be modified to run exe files from any folder by doing a temporary copy of the file in internal storage. But this is not yet possible with the current version.This limitation is due to the protection from the Android system. As I have tested, an application cannot allocate executable memory outside of its own internal storage area.
Philippe.
Write to Philippe   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 




^ Top ^