It is currently Sat Apr 29, 2017 10:29 am



Welcome
Welcome to rfobasic

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today. **You are not required to provide truthful information to any registration questions. Be whomever you wish to be.!


Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Include - inject portion of code
Unread postPosted: Thu Mar 23, 2017 8:34 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
Not a bug, read the readme...
Your screenshot shows you have a mess of source (.bas) and resource (.png, .zip...) inn the same folder. This cannot work.
Please follow the instructions in the readme.

Nicolas

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Include - inject portion of code
Unread postPosted: Thu Mar 23, 2017 11:48 am 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1317
Hi coimbras

The key to success is to be tidy and organist

Your main file and your include file needs to be in "rfo-basic/source" in your Quick APK home directory.

It would be better if you moved all the other stuff out.

In "rfo-basic/source", left window highlight 'mainFile.bas'
Then in the right window navigate to 'myIncludeFile.bas' and tick to highlight it.

Then click next and go from there.

See screen shots
Regards Roy

Attachment:
mainFile.zip [490.49 KiB]
Downloaded 3 times

Attachment:
incl1.PNG
incl1.PNG [ 146.56 KiB | Viewed 359 times ]

Attachment:
inc5.PNG
inc5.PNG [ 477.31 KiB | Viewed 359 times ]


Report this post
Top
 Profile  
 
 Post subject: Re: Include - inject portion of code
Unread postPosted: Fri Mar 24, 2017 9:47 am 
Offline

Joined: Mon Oct 10, 2016 6:27 am
Posts: 34
I´m very sorry... but cant do it.

My rfo-basic folder is in "C:\APKs\rfo-basic" and then have two folders, "source" and "data".
Quick APK is installed at "C:\Program Files (x86)\RFO-BASIC! Quick APK".

I´ve tried to put myIncludeFile.bas in one or another (source or data), none give me results.
Already cleaned all other files from projects. Same result...

Ilready instaled in phone memory or card.

It only works in BASIC! on my android phone.

My QuickPAK is v01.88.01 don´t have problem, right?

All works in perfection except this...

:(


Report this post
Top
 Profile  
 
 Post subject: Re: Include - inject portion of code
Unread postPosted: Fri Mar 24, 2017 11:37 am 
Offline
User avatar

Joined: Mon Aug 18, 2014 1:16 pm
Posts: 1317
Well coimbras, I'm at a loss :?

Maybe Nicolas, will have a solution

You should be able to use which ever APK maker you like, so you could try Emile's RFO2APK

rfodesigner-t3869-260.html

Regards Roy


Report this post
Top
 Profile  
 
 Post subject: Re: Include - inject portion of code
Unread postPosted: Mon Mar 27, 2017 6:50 am 
Offline

Joined: Mon Oct 10, 2016 6:27 am
Posts: 34
Hello.
I just can´t understand the folders hierarchy.
If you are in disc C:\ how you build for a apk named "teste" the folders system?
I know need to create a data and a source folder. The main *.bas should be at source, and include files or image should be at data folder.
Any tries i´ve made no files in data folder are replicated to data folder of the phone.

You could be so king that simple put a copy/paste of folder, from root c:\ ?

I saw the manual tha shows a "cats" folder... the quick apk always want a rfo-basic folder...

Sorry and thanks.


Report this post
Top
 Profile  
 
 Post subject: Re: Include - inject portion of code
Unread postPosted: Mon Mar 27, 2017 10:24 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
Hi coimbras, can you show your first screen of Quick APK with the icons of your recent projects ?

This screen shows your Quick APK Home Directory.
From there you should have all your bas in <home_dir>\rfo-basic\source and all your other resources in <home_dir>\rfo-basic\data

Nicolas

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Include - inject portion of code
Unread postPosted: Mon Mar 27, 2017 10:25 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
Or -again- read the readme in the second screen, it tells you exactly in which folders put your programs and resources...

Nicolas

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Include - inject portion of code
Unread postPosted: Tue Mar 28, 2017 3:16 am 
Offline

Joined: Mon Oct 10, 2016 6:27 am
Posts: 34
Hello, again thanks for your time.

In RFO2APK i can put a image "png or so) on a simple screen, with the same code of QuickApk. So it must not be a code problem.

I put the image of various screens so you can analize it.
I´ve already not select the option to create the folder... i think it put the apk always in phone memory, even in phone i send it to SDcard.
I´ve been seen the folder structure created bya tha app, is there a DATA folder, empty.

Image


Report this post
Top
 Profile  
 
 Post subject: Re: Include - inject portion of code
Unread postPosted: Tue Mar 28, 2017 3:10 pm 
Offline

Joined: Mon Oct 10, 2016 6:27 am
Posts: 34
Hello again.

Something strange appens...

In this other pc, win10, i have the same version of quickapk.
It works as butter...

When i select a resource file (secondary to be entered as "included"), in right window, the program autoselect the folders behind it. Also is enabled the button copy files to sdcard at startup, but now i´m not put it active.

As home folder in quick apk i have c:\RFO

The resource file and secondary are in C:\RFO\rfo-basic\source the program itsel are insalled at C:\Program Files (x86)\RFO-BASIC! Quick APK

how to explain the fail, excep on this pc??


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2


Who is online

Users browsing this forum: cavelamb and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred