XAML tools, viewers and converters

2017-07-22 Thread Alejandro Tejada via use-livecode
I am testing different tools, viewers and converters before starting
writing a script that would import Xaml files.

Could you post which applications do you use to work with Xaml files?

Although Inkscape could save svg as xaml, I found svg2xaml.exe
more useful to convert svg files to Xaml:
http://xamltune.codeplex.com/releases/view/21436

Probably, Mike Swanson plug-in XAMLExport.aip does a better work converting
svg to xaml, but I do not have
Adobe Ilustrator CC 2014 to test it:

http://www.mikeswanson.com/xamlexport/

Xaml viewers that I found useful are Kaxaml and Okino Xaml File Viewer:

http://kaxaml.com/
http://www.okino.com/conv/free_xaml_viewer.htm

If you know about other tools, viewers and converters, then test and post
your results, using these attached xaml and svg files.

Download the example xaml and svg files (65k) from forum post:
http://forums.livecode.com/viewtopic.php?f=10&t=29533

Many thanks in advance!

Al
___
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: Ethereal Breakpoints

2017-07-22 Thread Sannyasin Brahmanathaswami via use-livecode
all of the above experiences confirmed here.. it's so bad sometimes I remove 
all break points from the menu, save everything, shut down and start add manual 

breakpoint 

in the actual code. with my text editor (using 85% script only  
text.livecodescripts now) 
then reboot and pray.

such a nuisance.

no recipe. 

On 7/21/17, 11:55 AM, "use-livecode on behalf of Bob Sneidar via use-livecode" 
 wrote:

Heh heh. One of my breakpoints says group "dgDevices" line 568. There are 
136 lines in that script. There have never been more that 200. 



___
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: Swipe transitions

2017-07-22 Thread Sannyasin Brahmanathaswami via use-livecode
yes, this!

The deeper I get into mobile design the more it becomes clear that true 
swipe transitions are somnething users expect, and by extension 
something new developers would expect to be supported.

hit me hard yesterday when a new beta tester, 15 year old with an iPod Touch  
with no cell or data connection (parents don’t' want him to have that yet) but 
can get everything on wifi, and has lots of apps … little thing is really a 
jewel. Makes my iPhone 7 look liks some kind of semi-truck! ha

anyway, the device is so small, he can practically reach his thumb to the top 
of the screen, so I logged him into our local wifi. got his UDID from xCode 
install our new SivaSiva app.

 I was amazed at how often he would "flick" his thumb, left or right, expecting 
something to happen.  I had to say " you can only go up or down tap to 
navigate."

And this: from a visitor today, retired lady teaching in three remote schools 
in Bengal now 

Q: how many of these poor kids in remote areas have phones?
A: Answer  "Swamiji! *everyone* has phones! It's amazing, even the boatman will 
be padding with one leg and talking on is phone on the other (lots of water 
ways in Bengal) They are all buying inexpensive Androids from Korea… "MicroMax" 
I think they are.."

Q: how many of these kids have any facility in English
A: among the young: 30-40%

Oh boy… gotta get me one of these MicroMaxes… did think I would have such a 
huge market in Bengal remote villiages!

and, they too will all be swiping!

BR



___
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: iPad portrait size stack doesn't fit to display

2017-07-22 Thread Mike Kerner via use-livecode
sign on to my feature request/bug report from whenever it was.  Also, Scott
has a plugin called revNavigator that acts like the old HC positioning
palette.  It lets you move any open LC window around as you need to.

On Sat, Jul 22, 2017 at 3:42 AM, Antti Ilola via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thank you all, specially Jacque. 0.75 was too little, but 0.7 did it just
> fine.
> Maybe if I read a guide, I would have found it there, but I'm too lazy and
> I knew that someone would help me in this fine community :-)
>
>
> Antti
>
> 2017-07-21 21:30 GMT+03:00 Devin Asay via use-livecode <
> use-livecode@lists.runrev.com>:
>
> >
> > On Jul 21, 2017, at 11:52 AM, J. Landman Gay via use-livecode <
> > use-livecode@lists.runrev.com>
> > wrote:
> >
> > On 7/21/17 6:14 AM, Antti Ilola via use-livecode wrote:
> > I have 13.3 inch Macbook retina computer (2560x1600 pixels). Now I try to
> > develop iPad software. When I opened new iPad portrait size stack it
> didn't
> > fit to my display. It is hard to put GUI elements to bottom of the stack,
> > at least I don't know how. What should I do to get the stack to show all.
> >
> > Try setting the scaleFactor of the stack to about .75
> >
> >
> > Listen to Jacque. I think I misunderstood what you were asking. You want
> > to be able to view the entire stack window on your laptop screen, and the
> > scaleFactor will help with that.
> >
> > Devin
> >
> >
> > Devin Asay
> > Director
> > Office of Digital Humanities
> > Brigham Young University
> >
> > ___
> > 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Setting image source of fld char to remote URL

2017-07-22 Thread hh via use-livecode
Of course you can get the display in a browser widget by
setting the htmltext alone if you give the image source
_directly_ (as part of the htmltext) as base64 encoded data.

"
[After LC-base64-encode replace linefeed with empty in the data.]

___
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: Setting image source of fld char to remote URL

2017-07-22 Thread hh via use-livecode
Browser widget:
Use a HTML-file and set the URL of the widget to that file.
Setting the htmltext alone in order to get an image from a server
usually doesn't work (what is the same with all browsers, this is
not LC-special). If you wish to work with the image, you may have
to respect the same-origin-policy.

Imagesource:
To display an image from URL  (on a server) in a field,
for example at size 80x60 at char 42:
1. create invisible img "i1"
2. set the filename of img "i1" to 
[You can access by that the formattedWidth and formattedHeight].
3. set the width of img "i1" to 80; set the height of img "i1" to 60
4. set the imagesource of char 42 of fld 1 to "i1"

There are also examples in "Sample stacks" for using javascript and
canvas2d. But this gives, TMHO, no advantage advantage here, only
increases datasize by 30% by using base64.

___
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


Setting image source of fld char to remote URL

2017-07-22 Thread Sannyasin Brahmanathaswami via use-livecode
Our new heifer, Kali is a "doll"

http://www.himalayanacademy.com/blog/wp-content/uploads/2017/07/kali-the-calf/kali-real-close.JPG

playing around with a silly brainstorm… "in app blog thingy"

on mouseUp
set the imageSource of last char of fld "app-news" to 
"http://www.himalayanacademy.com/blog/wp-content/uploads/2017/07/kali-the-calf/kali-real-close.JPG";
end mouseUp


does nothing.. but , create an image, set loc -3000 get It's ID  and this does 
work

on mouseUp
set the filename of img "app-news-img-1" to 
"http://www.himalayanacademy.com/blog/wp-content/uploads/2017/07/kali-the-calf/kali-real-close.JPG";
set the imageSource of last char of fld "app-news" to 1005
end mouseUp

needs some rect math on the image size to fit (wish we had engine level resize 
image-preserve-ratio pWidth, pHeight, different subject)

OR

I am working too hard and will probably just use the browser widget

BUT

I think there are contexts/use cases for  having remote images appear in line 
in fields

this also doesn't work

create field "news-html"

fill with

 Welcome to Planet Earth, Kali!
http://www.himalayanacademy.com/blog/wp-content/uploads/2017/07/kali-the-calf/kali-real-close.JPG";
 /"
What a gift!


on mouseUp
set the htmltext of fld "app-news" to fld "news-html"
end mouseUp

we get

Welcome to Planet Earth, Kali
What a gift!

but no image.

am I missing anything or is this all just as expected: what we get…

BR

___
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: Swipe transitions

2017-07-22 Thread J. Landman Gay via use-livecode

On 7/19/17 4:17 PM, Richard Gaskin via use-livecode wrote:

J. Landman Gay wrote:

 > On 7/19/17 2:10 PM, Richard Gaskin via use-livecode wrote:
 >> But that would only take care of the swipe of the current card.
 >> We'd also need some way to assign the destination card for each
 >> swipe direction.
 >>
 >> What should that syntax look like, and how do we discern swipe events
 >> from others on controls within the card?
 >
 > lock screen for swipe effect
 > switch pDir
 >   case "left"
 > ...
 >   case "right"
 > ...
 >   case "up"
 > ...
 >   case "down"
 > ...
 > end switch
 > unlock screen with swipe effect pDir

Well done. I like the simplicity of that.

I think I was originally over-thinking it, about options for specifying 
snap-back thresholds and more.  But there's enough consistency these 
days to decide on good defaults and just run with those.


@LC Team: Can we have that next Tuesday please?



I officially asked:


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: I just added an enhancement request - 20138 - suggestion for in-app ads

2017-07-22 Thread Richard Gaskin via use-livecode

Dan Brown wrote:

> The logistics of operating an ad aggregator would be a full time
> business in itself I'd imagine. However lc forming a partnership
> with one of the top existing aggregators and creating a widget to
> display the ads I could see being a winner.
>
> For apps made in lc community they could take a percentage of the
> ad click revenue and for paid versions they don't.

Maybe a community member could do 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: I just added an enhancement request - 20138 - suggestion for in-app ads

2017-07-22 Thread Dr. Hawkins via use-livecode
On Fri, Jul 21, 2017 at 10:30 PM, Dan Brown via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The logistics of operating an ad aggregator would be a full time business
> in itself I'd imagine. However lc forming a partnership with one of the top
> existing aggregators and creating a widget to display the ads I could see
> being a winner.
>


LC  mobile is *marketed* as having this for mobile.  It's just that the
"partner" won't talk to us.

Then again, supper I bought it supposedly supported eps when I bought it
(which meant on a couple of unix that had display postscript . . .)
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Ethereal Breakpoints

2017-07-22 Thread Bob Hall via use-livecode
And I should clarify, the fix is for the “delayed moving” of break points. Not 
the “ethereal” issue ;-)

Bob
___
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: Ethereal Breakpoints

2017-07-22 Thread Bob Hall via use-livecode

> 
> I haven’t looked at the code that tries to keep the like paired with the 
> breakpoint but my gut feeling is to do it right you would want to set some 
> metadata on the line of the field and then look for it when updating the 
> gutter. I’ll try and find some time to take a look into it.
> 
> Cheers
> 
> Monte

Monte,

I’ve got a fix for this. I’ll submit a bug report and open a pull request so 
you can have a look.

Bob Hall


___
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: I just added an enhancement request - 20138 - suggestion for in-app ads

2017-07-22 Thread Jonathan Lynch via use-livecode
That would work for me.

Sent from my iPhone

> On Jul 22, 2017, at 1:30 AM, Dan Brown via use-livecode 
>  wrote:
> 
> The logistics of operating an ad aggregator would be a full time business
> in itself I'd imagine. However lc forming a partnership with one of the top
> existing aggregators and creating a widget to display the ads I could see
> being a winner.
> 
> For apps made in lc community they could take a percentage of the ad click
> revenue and for paid versions they don't.
> 
> On 21 Jul 2017 11:50 pm, "Jonathan Lynch via use-livecode" <
> use-livecode@lists.runrev.com> wrote:
> 
>> When you sign up with an ad aggregator, a portion of the revenue goes to
>> the aggregator. This would be no different. Basically, I am suggesting
>> something like MobFox for LiveCode. Voluntary, of course.
>> 
>> We need a realistic and practical as solution for ads.
>> 
>> Sent from my iPhone
>> 
>>> On Jul 21, 2017, at 6:41 PM, Dr. Hawkins  wrote:
>>> 
>>> 
>>> 
 On Fri, Jul 21, 2017 at 3:16 PM, Jonathan Lynch via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
 
 I was suggesting that perhaps providing a start to finish way for us to
>> have ads in the apps we make could provide extra income to RunRev - more
>> than the cost of hiring extra staff to make that happen.
 
>>> They don't even have ads for *us* inside apps working in a usable way at
>> the moment.
>>> 
>>> There is supposedly a facility for it, but the company that supposedly
>> provides them wants nothing to do with us.
>>> 
>>> I stopped work on my mobile app over this, and will probably resume it
>> in swift if they don't get around to fixing this.
>>> 
>>> From my prior inquiries, I don't think that anyone on this list has
>> successfully placed an ad with it.
>>> 
>>> And on top of that, I expect ad revenue for my work to go to me, not
>> livecode (or are they going to cut me in on their sales)
>>> 
>>> 
>>> 
>>> --
>>> Dr. Richard E. Hawkins, Esq.
>>> (702) 508-8462
>> ___
>> 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

___
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: iPad portrait size stack doesn't fit to display

2017-07-22 Thread Antti Ilola via use-livecode
Thank you all, specially Jacque. 0.75 was too little, but 0.7 did it just
fine.
Maybe if I read a guide, I would have found it there, but I'm too lazy and
I knew that someone would help me in this fine community :-)


Antti

2017-07-21 21:30 GMT+03:00 Devin Asay via use-livecode <
use-livecode@lists.runrev.com>:

>
> On Jul 21, 2017, at 11:52 AM, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com>
> wrote:
>
> On 7/21/17 6:14 AM, Antti Ilola via use-livecode wrote:
> I have 13.3 inch Macbook retina computer (2560x1600 pixels). Now I try to
> develop iPad software. When I opened new iPad portrait size stack it didn't
> fit to my display. It is hard to put GUI elements to bottom of the stack,
> at least I don't know how. What should I do to get the stack to show all.
>
> Try setting the scaleFactor of the stack to about .75
>
>
> Listen to Jacque. I think I misunderstood what you were asking. You want
> to be able to view the entire stack window on your laptop screen, and the
> scaleFactor will help with that.
>
> Devin
>
>
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
>
> ___
> 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