Creating Apps for use on Android mobile phones
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 29
- Joined: Mon Apr 20, 2020 1:00 pm
Creating Apps for use on Android mobile phones
I have been using LiveCode as a hobbyist for a while now and been using Windows 10. I have successfully created .exe programs. I now want to branch out and start creating apps to use on my Android Phone. Real problems here. I can run my project with no problem within the LiveCode environment. However, when I run my project in an Android emulator, or copy the .apk file to my mobile phone. The following problems keep occurring, which I cannot find a way to overcome. To such an extent I am beginning to think that the idea of creating apps for mobile phones is a bad idea. I did think that by using LiveCode would be the best way forward for developing across the different platforms. Sorry I am digressing here. Back to the problems in question.
My problems are (1) That the layout changes (distorts) including the label of command buttons extending past the size of the button. In order to overcome this I have tried reducing the size of the font. But doing this makes the readability to small. This tends to apply to labels as well. (2) Some of the command buttons placed on the card will work fine, as coded. Whilst others did not. Yet they work just fine when run in the LiveCode environment. Indicating that my code is right for the LiveCode environment, but something is missing, which is needed to run within the emulator?
I have successfully installed the Android SDK and Java 8 and in LiveCode preferences, it clearly shows the path.
Any help, guidance or assistance would be greatly appreciated as my research hasn’t helped.
Thanks
My problems are (1) That the layout changes (distorts) including the label of command buttons extending past the size of the button. In order to overcome this I have tried reducing the size of the font. But doing this makes the readability to small. This tends to apply to labels as well. (2) Some of the command buttons placed on the card will work fine, as coded. Whilst others did not. Yet they work just fine when run in the LiveCode environment. Indicating that my code is right for the LiveCode environment, but something is missing, which is needed to run within the emulator?
I have successfully installed the Android SDK and Java 8 and in LiveCode preferences, it clearly shows the path.
Any help, guidance or assistance would be greatly appreciated as my research hasn’t helped.
Thanks
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Creating Apps for use on Android mobile phones
If you're seeing distortion, cropping, or padding, it sounds like you're using fullScreenMode - is that correct?
Are you making a game? If not, what sort of app are you making?
Are you making a game? If not, what sort of app are you making?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 29
- Joined: Mon Apr 20, 2020 1:00 pm
Re: Creating Apps for use on Android mobile phones
Thanks for responding. I used fullscreenmode set to letterbox.
Not building a game. Creating a simple database for maintaining records of members of a club and membership fees. All with normal add, update, delete, view facilities.
Hope that helps.
Thanks
Not building a game. Creating a simple database for maintaining records of members of a club and membership fees. All with normal add, update, delete, view facilities.
Hope that helps.
Thanks
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Creating Apps for use on Android mobile phones
Can you post a screen shot of your layout, or at least a mock-up of it?
I have an idea which will set you and many other newcomers in a good direction...
I have an idea which will set you and many other newcomers in a good direction...
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 29
- Joined: Mon Apr 20, 2020 1:00 pm
Re: Creating Apps for use on Android mobile phones
Sorry. First time of using forum. How do I add a picture to this to post? The icon above shows a picture but does not give me the facility to add a picture.
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Creating Apps for use on Android mobile phones
See Attachments below the form's text entry field.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Creating Apps for use on Android mobile phones
Hi,Dragondos2020 wrote: ↑Sun Apr 26, 2020 1:12 amHow do I add a picture to this to post?
The icon above shows a picture but does not give me the facility to add a picture.
Guess you need 10 posts to be able to do this, same as writing Urls.
Best,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Posts: 29
- Joined: Mon Apr 20, 2020 1:00 pm
Re: Creating Apps for use on Android mobile phones
Sorry to be a pain. Honestly I can see no way of attaching. Using the picture icon literally produces what you see at the top of this message. Can you give me an email address, or is that not protocol.
-
- Posts: 29
- Joined: Mon Apr 20, 2020 1:00 pm
Re: Creating Apps for use on Android mobile phones
I have been responding via my smartphone. Maybe using the desktop computer will give me the option to send pictures/attachments. I will be back home later today so will have another try. Appreciate your patience.
Thanks
Thanks
Re: Creating Apps for use on Android mobile phones
Sorry Dragondos2020, ForthWorld probably forgot, but as Thierry mentioned you need at least 10 posts before posting pictures or links.
You can work around this, though. There are a lot of sites, such as 'post image', where you can upload a picture so it is 'on the web'.
You can then take the link to share it, paste it here, and modify it in a suitable way that someone can re-construct it. As as example, this is an image I uploaded and have the link to.
https://postimg.cc/N25w71dj
However, being under 10 posts, I would have to modify it like this:
/ postimg . cc / N25w71dj
and type something like "Remove spaces" so that someone trying to reach that link will know there are no spaces.
Obviously, if there are spaces in the address naturally, modify it some other way heh
Another example would be something like:
postimg(dot)cc(slash)N25w71dj
I'm sure you get the idea.
You can work around this, though. There are a lot of sites, such as 'post image', where you can upload a picture so it is 'on the web'.
You can then take the link to share it, paste it here, and modify it in a suitable way that someone can re-construct it. As as example, this is an image I uploaded and have the link to.
https://postimg.cc/N25w71dj
However, being under 10 posts, I would have to modify it like this:
/ postimg . cc / N25w71dj
and type something like "Remove spaces" so that someone trying to reach that link will know there are no spaces.
Obviously, if there are spaces in the address naturally, modify it some other way heh
Another example would be something like:
postimg(dot)cc(slash)N25w71dj
I'm sure you get the idea.
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Creating Apps for use on Android mobile phones
Or you can email it to me at ambassador AT fourthworld.com and I'll post it for you.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 29
- Joined: Mon Apr 20, 2020 1:00 pm
Re: Creating Apps for use on Android mobile phones
Thanks for the option of sending images to your email. I have just done that with additional comments.
Many thanks
Many thanks
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Creating Apps for use on Android mobile phones
Try showAll fullscreenmode. If that doesn't work, try noBorder. Those are the two used most on mobile.Dragondos2020 wrote: ↑Sat Apr 25, 2020 11:33 pmThanks for responding. I used fullscreenmode set to letterbox.
Some things on mobile need to be scripted differently from those in the IDE. If you can specify what fails we can help. It's all dependent on what you need to do.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 29
- Joined: Mon Apr 20, 2020 1:00 pm
Re: Creating Apps for use on Android mobile phones
Thank you for your advice. I will change the fullscreenmode as suggested. My other problem involves when I have the menu options added. They work as expected moving from card to card. However, the buttons I have added work as expected when running in Livecode environment. But do not when running within the emulator.
Thank you Jacque.
Thank you Jacque.
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Creating Apps for use on Android mobile phones
Here are the screenshots (thanks for sending those)...
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn