It is currently Sat Apr 29, 2017 4:20 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  [ 42 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Zip commands
Unread postPosted: Wed Jun 29, 2016 10:06 pm 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
Of course it's acceptable as long as it is documented :)

So you can remove all my changes in Basic.java and replace the calls to Basic.getZipFile(fileName) in Run.java to "new ZipFile(file)".

Nicolas

[edit] I sent you my files with changes for apk mode removed

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Fri Jul 08, 2016 6:57 pm 
Offline

Joined: Wed Nov 18, 2015 7:25 pm
Posts: 43
include "zip_utils.bas"
list.create s, files
ZipFrom("../../tempdroid/", files,"test_bootstrap.zip", 1)
Result: syntax error zip.open w,fid,zip$


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Fri Jul 08, 2016 10:05 pm 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
post31120.html#p31120

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Sat Jul 09, 2016 1:34 am 
Offline

Joined: Wed Nov 18, 2015 7:25 pm
Posts: 43
I just want to zip the tempdroid content using zipfrom command but error occured: syntax error zip.open w,fid,zip$ how to handle it ?


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Sat Jul 09, 2016 1:38 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
Install a version of BASIC! with support for Zip.* commands, you can download one in the post I pointed to.

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Sat Jul 09, 2016 3:14 am 
Offline

Joined: Wed Nov 18, 2015 7:25 pm
Posts: 43
Thank you mougino it works now....


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Sat Jul 09, 2016 3:55 am 
Offline

Joined: Wed Nov 18, 2015 7:25 pm
Posts: 43
i use quick apk to make .apk file it can produce .apk file but when i run it error occur: error opening include file file_utils.bas


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Sat Jul 09, 2016 4:01 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
You cannot use Quick APK to create a Zip-compatible app for the moment.
Please wait that jMarc releases BASIC! v01.91 then you can update Quick APK to this version of BASIC! that will support Zip.
Until then it won't work.

Concerning your error, you need to attach "file_utils.bas" as a resource of your app in Quick APK.

Nicolas

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Sat Jul 09, 2016 4:02 am 
Offline
User avatar

Joined: Tue Jan 03, 2012 9:31 am
Posts: 5487
Location: Paris, France
...or you can wait for my BASIC! Compiler to be released :mrgreen:

_________________
- Creator of the Android BASIC! Compiler


Report this post
Top
 Profile  
 
 Post subject: Re: Zip commands
Unread postPosted: Sat Jul 09, 2016 4:12 am 
Offline

Joined: Wed Nov 18, 2015 7:25 pm
Posts: 43
How to attach file_utils.bas as a resource in quick apk


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


Who is online

Users browsing this forum: No registered users and 1 guest


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