Building for Android in v9

2018-04-25 Thread Richard Gaskin via use-livecode

Is there a known issue with building Android APKs in v9?

Here it goes through the process surprisingly quickly, then reports that 
it completed successfully - only to find the target build folder empty. :(


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: use-livecode Digest, Vol 175, Issue 42

2018-04-25 Thread Richard Gaskin via use-livecode

Graham Samuel wrote:

> Just a bit of pensioner solidarity: someone also suggested to me (on
> the Apple Discussions site) that I mess with Java on my Mac, via the
> command line, no less. Part of my reply was:
>
>> Thanks for trying to explain it, but running stuff on the command
>> line was what I bought a Mac not to do! Back when dinosaurs ruled
>> the earth I was a geek who could program almost anything etc, and
>> I ate command lines for breakfast, but nowadays I want to be one
>> of "the rest of us".
>
> I think that a respectable minority of LiveCode developers may well
> feel like us.

It's such a different world today than when we were starting out.  Back 
then there was only on consumer GUI OS, and we wrote apps on the same 
system they were expected to run.  Today we need to support multiple 
OSes, and when those are mobile we develop on a completely different OS 
and then squeeze it into the tiny device like building ships in a bottle.


At this point, as someone who's job requires him to sit and type for 
much of the day, four things are keeping me alive:


1. A cup of black coffee with breakfast.
2. A glass of red wine with dinner.
3. Cycling to a nearby park for lunch.
4. The frequent reminder that there are a million things I don't know,
   and I'll need to learn some of them by next week.

Wikipedia has become my favorite book, but I do sometimes almost miss 
the luxury of reading novels.


:)

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Typesetting Fields

2018-04-25 Thread Richard Gaskin via use-livecode

Sannyasin Brahmanathaswami wrote:
> Where does livecode.wikia.comcome from?

It's a "semi-friendly" fork of the LC docs managed by a fella who goes 
by "MaxV" in the forums.


It's certainly not at all "unfriendly" (such as some of the more hostile 
forks we see in the Wordpress world).  On the contrary, he's shown great 
dedication to providing current docs with enhanced content.  His work is 
excellent, his intentions good, his timeliness exemplary.


Normally a "friendly" fork is one in which someone wants to take a 
project in a new direction, and in discussion with the core team they 
agree that each has a different vision and the proposed enhancements 
would be unsuited for the main project, so a fork lets the new dev 
scratch his own itch without interference.  The GPL welcomes such diversity.


In this case I use "semi-friendly" only to note that I've seen nothing 
in Max's excellent work which wouldn't be welcome in LiveCode, but by 
posting at a separate site rather than upstream at Github the main 
branch cannot include those enhancements, so the value of his good 
efforts is lost to most LiveCode users.


Max would be one of the shining stars of the LC docs project if he would 
consider submitting his excellent content refinements to the main branch 
at Github so they become part of the standard docs set.


As it is, we have fragmentation and duplicated effort.  Still useful, 
but less so than sharing in the place set up for that.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: use-livecode Digest, Vol 175, Issue 42

2018-04-25 Thread Graham Samuel via use-livecode
Just a bit of pensioner solidarity: someone also suggested to me (on the Apple 
Discussions site) that I mess with Java on my Mac, via the command line, no 
less. Part of my reply was:

> Thanks for trying to explain it, but running stuff on the command line was 
> what I bought a Mac not to do! Back when dinosaurs ruled the earth I was a 
> geek who could program almost anything etc, and I ate command lines for 
> breakfast, but nowadays I want to be one of "the rest of us".

I think that a respectable minority of LiveCode developers may well feel like 
us.

Graham
Sent from my iPad

> On 25 Apr 2018, at 16:13, Douglas Ruisaard via use-livecode 
>  wrote:
> 
> Like all good programmers, I'm very lazy and would like other people to do my 
> work for me! .. Thanks for the suggestion and I will investigate THAT 
> approach ... although I'm not very thrilled with LC v9 at this point in time. 
>  Also, at 68, I'm literally conforming to the "old dog, new tricks" mentality 
> more and more ... learn Java? ... really?  I even had to look up what "FFI" 
> meant!  Learning enough Bluetooth to use it in an app was a bit of a chore 
> ... Ah well, it is what it is!
> 
> However  ... if anyone has any working related code
> 
> Cheers!
> Doug
> 
> Douglas Ruisaard
> Trilogy Software
> (250) 573-3935
> 
> 
>> 
>> Because LiveCode 9 now supports Java FFI, maybe you can find the source code 
>> in Java how to do this
>> and then implement it?
>> Just an idea.
>> 
>> Goodluck,
>> Erik
>> 
>> On 19/04/18 18:00, "use-livecode on behalf of Douglas Ruisaard via 
>> use-livecode" > boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote:
>> 
>>Anyone is this community as versed in Android as Monte Goulding is in 
>> iOS?  One of the beauties of
>> LC is its cross-platform ability.  The app I've written in iOS ports just 
>> fine to Android .. at least
>> the user-interactive and data processing parts do.  .. without changing one 
>> line of code (and it's a
>> complex app) ... how slick is that??? Obviously, there is a lack of an 
>> equivalent Android BLE function
>> for communicating to my Arduino which I have working splendidly in iOS.  
>> So... I'm looking for
>> information / assistance on how to implement a "hardwired" connection from 
>> an Arduino to an Android
>> device  (currently have an older- Galaxy Tab 4 running v 5.1.1) ... but if I 
>> need a newer model, newer
>> OS, that's do-able.
>> 
>>I'm hoping (?against hope?) that all I need is the "device name" for the 
>> USB port on the Android
>> and the rest I can handle using the "open device" serial handles in LC.  I 
>> understand that one reason
>> that LC may have and still is avoiding the Android BLE topic is due to the 
>> varieties and variations
>> within the numerous version of the Android OS's.  For me, I just need to be 
>> able to demonstrate a
>> mobile device (iOS or Android) being able to communicate with an Arduino app 
>> via a USB hardwire
>> connection.  I REALLY don't care which OS it is and if I have to use iOS for 
>> BLE and Android for
>> USB... that's just fine!
>> 
>>Any help would be greatly appreciated!!
>> 
>>Cheers
>>Doug
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Next Behaviors - Scope of Variables

2018-04-25 Thread Sannyasin Brahmanathaswami via use-livecode
I just implemented by first use of nested behaviors. Marvelous!

But it occurred to me right away, that I could use variables which were 
"local", in the sense that their scope was within the context of the nested 
arrays. Of course needed to declare the inside the behavior, otherwise you get 
confused, but they are no globals.

I have nested "behavior_ListenUI"
# a generic UI that words of several cards

# inside

behavior_MyAudio
  # just for this one card.

# On this card I am forced to use  local set up "silly handlers"

local sDownloadedAudioA

on passAudioSelection pLine,pTitle
  startPlayer sDownloadedAudioA[pLine][localURL],pTitle
end passAudioSelection

# because the startPlayer behavior  is on the "generic"  "behavior_ListenUI"

but if "sDownloadAudioA" was available to "behavior_ListenUI"

I won't need to passAudioSelection pLine,pTitle

instead, I just declare the

semi-local  sDownloadedAudioA

on the mouseup handler it to a straight

  startPlayer sDownloadedAudioA[pLine][localURL],pTitle

behavior_ListenUI

I hope that makes sense… if could post the entire scripts if it doesn’t .



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

RE: use-livecode Digest, Vol 175, Issue 42

2018-04-25 Thread Douglas Ruisaard via use-livecode
Like all good programmers, I'm very lazy and would like other people to do my 
work for me! .. Thanks for the suggestion and I will investigate THAT approach 
... although I'm not very thrilled with LC v9 at this point in time.  Also, at 
68, I'm literally conforming to the "old dog, new tricks" mentality more and 
more ... learn Java? ... really?  I even had to look up what "FFI" meant!  
Learning enough Bluetooth to use it in an app was a bit of a chore ... Ah well, 
it is what it is!

However  ... if anyone has any working related code

Cheers!
Doug

Douglas Ruisaard
Trilogy Software
(250) 573-3935


> 
> Because LiveCode 9 now supports Java FFI, maybe you can find the source code 
> in Java how to do this
> and then implement it?
> Just an idea.
> 
> Goodluck,
> Erik
> 
> On 19/04/18 18:00, "use-livecode on behalf of Douglas Ruisaard via 
> use-livecode"  boun...@lists.runrev.com on behalf of use-livecode@lists.runrev.com> wrote:
> 
> Anyone is this community as versed in Android as Monte Goulding is in 
> iOS?  One of the beauties of
> LC is its cross-platform ability.  The app I've written in iOS ports just 
> fine to Android .. at least
> the user-interactive and data processing parts do.  .. without changing one 
> line of code (and it's a
> complex app) ... how slick is that??? Obviously, there is a lack of an 
> equivalent Android BLE function
> for communicating to my Arduino which I have working splendidly in iOS.  
> So... I'm looking for
> information / assistance on how to implement a "hardwired" connection from an 
> Arduino to an Android
> device  (currently have an older- Galaxy Tab 4 running v 5.1.1) ... but if I 
> need a newer model, newer
> OS, that's do-able.
> 
> I'm hoping (?against hope?) that all I need is the "device name" for the 
> USB port on the Android
> and the rest I can handle using the "open device" serial handles in LC.  I 
> understand that one reason
> that LC may have and still is avoiding the Android BLE topic is due to the 
> varieties and variations
> within the numerous version of the Android OS's.  For me, I just need to be 
> able to demonstrate a
> mobile device (iOS or Android) being able to communicate with an Arduino app 
> via a USB hardwire
> connection.  I REALLY don't care which OS it is and if I have to use iOS for 
> BLE and Android for
> USB... that's just fine!
> 
> Any help would be greatly appreciated!!
> 
> Cheers
> Doug
> 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Code Signing Problem on Mac

2018-04-25 Thread Charles Szasz via use-livecode
Somehow my Developer ID Application and Developer ID Installer Certificates 
keys were deleted.  When I reset them from X Code, keys are created for 3rd 
Party, which are for submission to Apple's App Store for the Mac.  My previous 
keys were for distribution of desktop apps outside Apple's App Store for the 
Mac. I have never submitted any apps for Apple's App Store.  

I have tried many times to change the keys to outside distribution but so far I 
have been unsuccessful.  Can anybody give give me a step by step procedure to 
create Developer ID Application and Developer ID Installer Certificates keys 
for website deployment of Mac desktop apps?

Thanks for your time!

Sent from my iPad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Livecode at g2crowd.com -

2018-04-25 Thread Matthias Rebbe via use-livecode
Today i noticed that G2Crowd  lists 
also Livecode (the product not the company). I´ve asked them some weeks ago to 
add it to their list of products.
Somehow the heard me or maybe Livecode Ltd. asked also. Who knows.

But anyway, it is now listed for reviews. So everyone can leave a review for it 
now at
https://www.g2crowd.com/products/livecode 



 
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode