do you need an Android device to develop for android?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
do you need an Android device to develop for android?
Hi,
I have just successfully compiled and iOS app and been able to test on my iPad.
It doesn't use any iOS specific calls, in fact as it simply displays text from some custom properties, it doesn't use any mobile controls.
It has 3 SVG icons I use as buttons (shuffle, next and info) and some text fields (read only).
If I install the required tools for android I will be able to build the android app.
My question is "can I assume it will run on an android device" without actually having one myself?
If not, do I have any volunteers to try it out?
I have just successfully compiled and iOS app and been able to test on my iPad.
It doesn't use any iOS specific calls, in fact as it simply displays text from some custom properties, it doesn't use any mobile controls.
It has 3 SVG icons I use as buttons (shuffle, next and info) and some text fields (read only).
If I install the required tools for android I will be able to build the android app.
My question is "can I assume it will run on an android device" without actually having one myself?
If not, do I have any volunteers to try it out?
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: do you need an Android device to develop for android?
Not as far as I am aware, but it might not be a bad idea to have an Android emulator of some sort to hand.
I have run one or two rather simplistic LiveCode-for-Android standalones via BlueStacks:
https://www.bluestacks.com/
I have run one or two rather simplistic LiveCode-for-Android standalones via BlueStacks:
https://www.bluestacks.com/
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: do you need an Android device to develop for android?
Thanks Richmond,I will check it out.
Re: do you need an Android device to develop for android?
Hi James,
I can make a quick test!
Send the stack to klaus AT major-k.de
When you install Android Studio for Mac, you can also create some virtual devices in Android Studion!
Best
Klaus
I can make a quick test!
Send the stack to klaus AT major-k.de
When you install Android Studio for Mac, you can also create some virtual devices in Android Studion!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: do you need an Android device to develop for android?
Thank you Klaus,
I will take you up on that once I negotiate the app building process.
I will take you up on that once I negotiate the app building process.
Re: do you need an Android device to develop for android?
No doubt it will run on "an" android device subject to the specified (by you, by LiveCode and by Google) minimum version and subject to screen layouts and density etc. There are a proliferation of devices and there may be "some" for which it would not work - but I don't think anyone could guarantee to code and test for every specific combination.
I heard that Samsung models might have had a few oddities but I think pretty much you can take it that LiveCode builds ok for most and if it works on one, then you'd be unlucky to have a problem on another. All you could do is try on as many as possible and listen to any error reports and feedback from your users. Most likely any problems would be to do with screen layouts.
I have a couple of Samsung phones and some emulators preconfigured that I can try out for you if you like.
Re: do you need an Android device to develop for android?
@JamesHale: The Android emulator is a 'true' emulator in that it actually runs a full Android device on your desktop (i.e. actual android ROM images are used) [ this is in contrast to the iOS Simulator, which uses versions of iOS system libraries compiled for macOS - essentially ].
This means testing on an Android emulator gives you a really faithful experience - I would suggest using an x86 or x86-64 one, however, because if you use an ARM/ARM64 emulator then it actually has to emulate the CPU as well. [ i.e. They are painfully slow unless you have an exceptionally fast machine! ]
However, what @SparkOut has said is important to note - even with testing on an emulator, it is still important to do some testing on a real device (or indeed who have people who are willing to do so) because Android devices come in all kinds of variations (the emulators are, IIRC, pretty much 'stock' google device images from their phones for example).
[ And, yes, Samsung devices are the ones which do seem to cause us the most 'surprise' in terms of things which work slightly differently - fortunately, they tend to be quite widely used so over the years we have fixed the 'issues' people have found with those odd deviations! ]
This means testing on an Android emulator gives you a really faithful experience - I would suggest using an x86 or x86-64 one, however, because if you use an ARM/ARM64 emulator then it actually has to emulate the CPU as well. [ i.e. They are painfully slow unless you have an exceptionally fast machine! ]
However, what @SparkOut has said is important to note - even with testing on an emulator, it is still important to do some testing on a real device (or indeed who have people who are willing to do so) because Android devices come in all kinds of variations (the emulators are, IIRC, pretty much 'stock' google device images from their phones for example).
[ And, yes, Samsung devices are the ones which do seem to cause us the most 'surprise' in terms of things which work slightly differently - fortunately, they tend to be quite widely used so over the years we have fixed the 'issues' people have found with those odd deviations! ]
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: do you need an Android device to develop for android?
@Lcmark thanks for the info, @sparkout thanks for the offer.
Watch this space.
Watch this space.
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: do you need an Android device to develop for android?
After a bit of fiddle (and getting the app simply working) I have compiled an Android build.
I have placed it on my site <ftps://thehales.id.au/thehales.id.au/public_html/respite/Respite.apk>
It is not certified or anything just straight from LC.
If there is any kind soul wishing to install and test this for me I would appreciate the feedback.
It does not have a splash screen so on launch the screen goes black for a little while.
I am interested in the buttons and text being functional and readable in both portrait and landscape.
iOS version works fine in the sim and on my actual devices so apart from the lack of a splash screen I am hoping this will be the same for Android.
Thank you in advance.
I have placed it on my site <ftps://thehales.id.au/thehales.id.au/public_html/respite/Respite.apk>
It is not certified or anything just straight from LC.
If there is any kind soul wishing to install and test this for me I would appreciate the feedback.
It does not have a splash screen so on launch the screen goes black for a little while.
I am interested in the buttons and text being functional and readable in both portrait and landscape.
iOS version works fine in the sim and on my actual devices so apart from the lack of a splash screen I am hoping this will be the same for Android.
Thank you in advance.
-
- VIP Livecode Opensource Backer
- Posts: 29
- Joined: Tue Jun 27, 2006 8:35 pm
- Location: Bellingham, WA USA
- Contact:
Re: do you need an Android device to develop for android?
James, I'm getting a password error when trying to connect to with ftps address.
--
Scott Morrow
--
Scott Morrow
Elementary Software
...now with 20% less chalk dust!
...now with 20% less chalk dust!
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: do you need an Android device to develop for android?
<www.thehales.id.au/thehales.id.au/publi ... espite.apk>
Thanks Scott.I will look into the ftps issue .
In the meantime will a web URL work for Android installs?
Thanks Scott.I will look into the ftps issue .
In the meantime will a web URL work for Android installs?
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: do you need an Android device to develop for android?
for ftps access...
Hostname: thehales.id.au
[Moderator note: remainder removed]
Hostname: thehales.id.au
[Moderator note: remainder removed]
-
- VIP Livecode Opensource Backer
- Posts: 29
- Joined: Tue Jun 27, 2006 8:35 pm
- Location: Bellingham, WA USA
- Contact:
Re: do you need an Android device to develop for android?
A web URL is generally an easy way to distribute
Last edited by scott_morrow on Sun Nov 28, 2021 4:46 am, edited 2 times in total.
Elementary Software
...now with 20% less chalk dust!
...now with 20% less chalk dust!
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: do you need an Android device to develop for android?
I've removed the server credentials for your safety.
I don't know how long your post was visible, but I would suggest regarding everything on that server as compromised and replace from secured backup.
And of course change that server's password ASAP.
In the future please send server credentials and other secrets through private message or secure email only.
The Internet is a hostile network filled with automated scanner bots looking for just that sort of info that was posted here.
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
-
- VIP Livecode Opensource Backer
- Posts: 474
- Joined: Thu Sep 04, 2008 6:23 am
- Location: Melbourne Australia
Re: do you need an Android device to develop for android?
Thanks Richard. Seems I am not able to enable an anonymous ftp aacount on my host.
But the web URL is fine.
But the web URL is fine.