Hi good afternoon.
i wanted to try bbcsdl basic with my smartphone.
how does this magic actually work?
what do you have to do with the magic wand?
can you please explain everything in detail until a bccsdl program works on the smartphone?
but please explain slowly step by step.
I'm running bbcsdl on win10.
the bbc2apk.exe is the load
Thanks.
greeting
i wanted to try bbcsdl basic with my smartphone.
-
- Posts: 30
- Joined: Sun 12 Feb 2023, 10:16
Re: i wanted to try bbcsdl basic with my smartphone.
I do not advise diving straight in at the deep-end by using BBC2APK to create an Android app. Although this may work if you are lucky, especially if the BASIC program is relatively simple, there are pitfalls. If the app you created doesn't work, it may not be obvious why.
Rather, I would recommend that you first run your program in the Android edition of BBC BASIC for SDL 2.0. That will give you the opportunity to check that it works, debug it, and make any necessary changes. When the program is running exactly as you want, then you can use BBC2APK with confidence.
Although the approach you adopt to writing, testing and debugging your code is up to you, one particularly nice way is to connect your Android phone to your Windows 10 PC using a USB cable. Then you can mount BBC BASIC's @usr$ folder so it can be seen from Windows, and you can save and edit your program on the phone itself!
If you want to try that method, the Android directory corresponding to BBC BASIC's @usr$ folder will appear in Windows as something like Android/data/com.rtrussell.bbcbasic/files.
-
- Posts: 30
- Joined: Sun 12 Feb 2023, 10:16
Re: i wanted to try bbcsdl basic with my smartphone.
Hello thanks for the information.
I'll get to work.
I'm sure I'll have more questions.
greeting
I'll get to work.
I'm sure I'll have more questions.
greeting
-
- Posts: 30
- Joined: Sun 12 Feb 2023, 10:16
Re: i wanted to try bbcsdl basic with my smartphone.
Hi good afternoon.
my bbcbasic is now running on the smartphone.
why are the bars all gray and not working with bbc2apk.exe?
Thanks
greeting
my bbcbasic is now running on the smartphone.
why are the bars all gray and not working with bbc2apk.exe?
Thanks
greeting
You do not have the required permissions to view the files attached to this post.
-
- Posts: 30
- Joined: Sun 12 Feb 2023, 10:16
Re: i wanted to try bbcsdl basic with my smartphone.
Hi, Thank You.
a file is now being compiled.
but the file dwjavusans.bbc is missing
I can't find it.
where is the file?
and
-----------------------------
\release.keystore
-----------------------------
not found.
greeting
a file is now being compiled.
but the file dwjavusans.bbc is missing
I can't find it.
where is the file?
and
-----------------------------
\release.keystore
-----------------------------
not found.
greeting
You do not have the required permissions to view the files attached to this post.
Re: i wanted to try bbcsdl basic with my smartphone.
There's no such file, the file you want is DejaVuSans.ttf (it's a TrueType font file).
The error message happens because you are relying on the automatic scan for embedded files, which in this situation doesn't know what the correct extension is.
Either change your FONT command to include the .ttf extension, or use REM!Embed directives to specify the embedded files explicitly.
Generally, using REM!Embed directives gives you more control.
-
- Posts: 30
- Joined: Sun 12 Feb 2023, 10:16
Re: i wanted to try bbcsdl basic with my smartphone.
Hi good afternoon.
where is the file please :
release.keystore ?
thanks
greeting
-----------------------------------------------
Keystore password for signer #1:
Failed to load signer "signer #1"
java.io.FileNotFoundException: C:\Users\pebi\AppData\Roaming\BBC2APK\release.keystore (Das System kann die angegebene Datei nicht finden)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCertsFromKeyStore(ApkSignerTool.java:603)
at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCerts(ApkSignerTool.java:546)
at com.android.apksigner.ApkSignerTool$SignerParams.access$200(ApkSignerTool.java:500)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:236)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:93)
Drücken Sie eine beliebige Taste . . .
-----------------------------------------------
where is the file please :
release.keystore ?
thanks
greeting
-----------------------------------------------
Keystore password for signer #1:
Failed to load signer "signer #1"
java.io.FileNotFoundException: C:\Users\pebi\AppData\Roaming\BBC2APK\release.keystore (Das System kann die angegebene Datei nicht finden)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCertsFromKeyStore(ApkSignerTool.java:603)
at com.android.apksigner.ApkSignerTool$SignerParams.loadPrivateKeyAndCerts(ApkSignerTool.java:546)
at com.android.apksigner.ApkSignerTool$SignerParams.access$200(ApkSignerTool.java:500)
at com.android.apksigner.ApkSignerTool.sign(ApkSignerTool.java:236)
at com.android.apksigner.ApkSignerTool.main(ApkSignerTool.java:93)
Drücken Sie eine beliebige Taste . . .
-----------------------------------------------
Re: i wanted to try bbcsdl basic with my smartphone.
Wherever you chose to store it! The default location is %appdata%\BBC2APK\release.keystore but if you changed it I can't help.

However I don't fully understand the question; BBC2APK remembers the location, so you should not need to know it.
-
- Posts: 30
- Joined: Sun 12 Feb 2023, 10:16
Re: i wanted to try bbcsdl basic with my smartphone.
if this comes up when compiling with bbc2apk.exe :
-----------------------
Keystore password for signer #1: ?????
-----------------------
I don't know what to write there?
Thanks.
greeting
-----------------------
Keystore password for signer #1: ?????
-----------------------
I don't know what to write there?
Thanks.
greeting