Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Sannyasin Brahmanathaswami via use-livecode
Ludovic Can you copy that whole handler to the list? round((item 4 of the screenrect*the systemscale)/2)-theight // +theight only seems partial? On 8/19/18 6:11 PM, Ludovic THEBAULT via use-livecode wrote: > But i found i can get the « real » top and bottom with : round((item 4 of the > scree

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-30 Thread Sannyasin Brahmanathaswami via use-livecode
Ha! One has to thank our community for "never giving up!" That spirit alone is worth it weight in gold -- the Indy License! @ Brain "Gee, why didn't I think of that!" Not calling as substack; I use this as navigation between mainstack (the splash screen and that has the stack files is always

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-29 Thread Sannyasin Brahmanathaswami via use-livecode
creenrect to work on preopenstack, preopencard, or opencard if you having trouble.. that's the reason BR on Android the device does not appear to "know it rect) On 8/24/18 4:20 AM, Sannyasin Brahmanathaswami via use-livecode wrote: > I caught typo. > > I get it to work

Re: For those who do not know lcTasklist

2018-08-28 Thread Sannyasin Brahmanathaswami via use-livecode
hmmm I'm not getting external behaviors /modules look.livecode # which has this behavior assigned: behavior_look.livecodescript #NOTE ??? REVIEW etc. do not appear and the indexing does not happen whether I set to "Main Stacks" and "Open Stacks" On 8/27/18

Re: For those who do not know lcTasklist

2018-08-27 Thread Sannyasin Brahmanathaswami via use-livecode
Looks like I need this, so on everyone's recommendation I bought it. 1) Where is the documentation? 2) Can you make "ignore" the Datagrid templates after they been instantiated? One get many "Note" from every instance? BR On 8/20/18 1:44 PM, Matthias Rebbe via use-livecode wrote: > I´ve pur

Re: Datagrid Scrolling

2018-08-26 Thread Sannyasin Brahmanathaswami via use-livecode
I'm in a similar bind. Going back to 8 will up unacceptable. So many problems with Android. I have to stay with 9.01.RC2...But now i invested time learing in DG... so I can't release? [He pounds his head on the desk. "Oh Wow is me...after 2 years STILL can't release a decent Android app!"] I gu

Datagrid Scrolling

2018-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
Scrolling the Datagrid on mobile is "terrible" (jerky, pixel by pixel) I thought this was fixed in Datagrid2? Maybe that hasn't been released? BR ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscr

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
I caught typo. I get it to work on iOS but not an Android, so I have a ticket to support and that. in an app, there is a lot change from on stack another, I frequently have add time from Android to keep up (never on iOS) This is so straight forward, I have to assume there is bug (just a quess

Re: Set the backgroundcolor of all lines a field to null

2018-08-24 Thread Sannyasin Brahmanathaswami via use-livecode
@Richard re: Algo: It is a list of audio titles in a category on our web site. most of which the metadata in stored local my sqlLite. The audio and been posted since the last update to the app, is "Recent". It is stored in an local variable/array with all the metadata for each audio, but only

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-23 Thread Sannyasin Brahmanathaswami via use-livecode
This thread will never finish (hehe) I am still have trouble getting the two object in the stack in place when we open stack on mobile. The resize handlers wrok, and soon as we rotate the phone and back and geometry is implemented. But not on open stack.. So I use your script. I was not orie

Re: Set the backgroundcolor of all lines a field to null

2018-08-23 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha Brian and Richard, @ Brian "put styledText...into tTextA[snip]" looks excellent. It does it all on ram! @ Richard Again, we all appreciate the time you take to help us "understand the architecture" The list is only 2000 lines, on into a field from a sqlLite list of audio file/Title. T

Set the backgroundcolor of all lines a field to null

2018-08-22 Thread Sannyasin Brahmanathaswami via use-livecode
I have some big lists in mobile, I sent the bkgndColor of certain lines. Then I want clear that, How do we do this "for each line x" which does not return the number of the line, but value command setAudioListColors pLineNum,pColor # pass "4,"0,0,0" #slow! repeat with x=1 to (the numb

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-21 Thread Sannyasin Brahmanathaswami via use-livecode
I should step into middle this because our app is under discussion. Jacque: I appreciate your support of LC amazing auto-resizing options. They are truly marvelous But perhaps we take a Big View of Landscape. You have to realize I done web development since 1993. Currently we "evolving" two new w

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-21 Thread Sannyasin Brahmanathaswami via use-livecode
Wonderful discussion! @ Bob: agreed that "from ground up" could be one approach. But i have use cases where fully response screen is need and uses case where FSM is the best decision. it not "either" or "or" using resizestack of fullScreedMode So the "tension" behind making that decision can t

Datagrid -- Scrolling on Mobile

2018-08-20 Thread Sannyasin Brahmanathaswami via use-livecode
I am slowly getting up to speed with datagrid, I understand structure, the scripts of the row group, can instantiate data etc. But, am I missing something? http://lessons.livecode.com/m/datagrid I can't find single lesson on implementing DG on mobile. Scrolling on mobile -- do we do it the sam

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-20 Thread Sannyasin Brahmanathaswami via use-livecode
@ Brian and Jacque Thanks for digging to this. Panos write on QA and that line 14 (position the group explicitly) in required. The background is set "super wide" for that I was using FullScreenMode, do that it would appear at the way across on iPad. Clearly set the explicitly is required @Brian,

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 Thread Sannyasin Brahmanathaswami via use-livecode
Jacque wrote: "I see. That looks like a redraw problem. The resizeStack handler isworking but the redraw fails. I did notice the icons were missing but didn't try to figure out why. A quick test says the footer is visible it portrait and false in landscape, but it isn't being drawn to screen for s

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 Thread Sannyasin Brahmanathaswami via use-livecode
@Brian and all > glad this opened an important discussion.. and thank to the attempt to make it work @Brian footer control were too far down on that card(android) Many of cards in the SivaSiva app, would need major geometry refactoring (month(s) of work) without fullScreenMode...so I am not con

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 Thread Sannyasin Brahmanathaswami via use-livecode
@Brian Milby Something just clicked... if fullscreenmode is not empty, then resizestack messages are not generated. You are right! No "fillscreenmode" and 14 line of code works on iPhone. But on not my Pixel. -- # Geometry on preOpenCard resizeStack the width of thi

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-19 Thread Sannyasin Brahmanathaswami via use-livecode
On 8/18/18 8:46 AM, Richard Gaskin via use-livecode wrote: > With LC's logical pixels, have total control over our layouts to make > optimal use of every precious pixel on small screens, all with no more > work than we've already become accustomed to after years of scripting > for resizable wind

Split an Array to Numeric with 2 Dimensions

2018-08-18 Thread Sannyasin Brahmanathaswami via use-livecode
I decide to study up to improve my array management skills. Looked up the dictionary: element, columnDel, RowDelimiter etc Tools I never used. But I can't fine a "one pass" split that takes a dBase dump like this and makes a 2nd dimension. Other than to do it "manually" Also I thought, after

Re: fullscreenmode and rect of a substack on mobile device ?

2018-08-18 Thread Sannyasin Brahmanathaswami via use-livecode
I have a similar issue with a stack that a) contains a browser that wants to fill the entire screen (of any device) b) a tool bar on the bottom, the background ( 50 px wide) which to set to 2000 wide c) a 4 widget that appear on bottom on top to background. It should work on portrait and landsca

Re: Not many people know this.

2018-08-16 Thread Sannyasin Brahmanathaswami via use-livecode
On 8/16/18 7:49 AM, Richard Gaskin via use-livecode wrote: > but the Release Notes for v5.5 offer a solid overview of the new > field features (starting on p12), I keep that! it is golden. I think they replaced it with a stack showing all the features, I can't find it now. But setting the array

Re: Cropping a referenced image

2018-08-16 Thread Sannyasin Brahmanathaswami via use-livecode
Yes I thank "Livecode" but really should thank Trevor for the code (Datagrid) behind my little handler. Suddenly going from dBase-query --> lcArray --> to a form with multiple controls became easy. I just hope it scrolls smoothly on Mobile (have yet to test it). On 8/15/18 6:57 AM, Trevor

Re: Cropping a referenced image

2018-08-15 Thread Sannyasin Brahmanathaswami via use-livecode
Sometimes LiveCode astounds me... Using Klause's method, plus Datagrid under the hood (and all its code) 1) the setting to Button icon to the size you want your image cropped, 120X74 2) Place an image off screen at +1000 to the right. 3) At 120x90 call it img "ytBtnIconTemplate" I was able to fi

Re: Cropping a referenced image

2018-08-14 Thread Sannyasin Brahmanathaswami via use-livecode
Klaus! Brilliant! and "too easy" to boot on mouseup put "https://i.ytimg.com/vi/KO3l3-4pFyo/default.jpg"; into tURL set the itemdel to "/"; put item -2 of tURL into tImageName clone img "ytBtnIconTemplate" as tImageName put th

Re: Cropping a referenced image

2018-08-14 Thread Sannyasin Brahmanathaswami via use-livecode
(9.0.1 RC1) so... LC *can* display the original of masked image but the IDE "wrecks" it go stack url "http://wiki.hindu.org/uploads/maskingoptions.livecode";<http://wiki.hindu.org/uploads/maskingoptions.livecode> BR On 8/14/18 4:55 AM, Sannyasin Brahmanathaswami via

Cropping a referenced image

2018-08-14 Thread Sannyasin Brahmanathaswami via use-livecode
[sending this again, because it was rolled in another thread/conversation by the mail list} #test on mouseup put the long id of img "thumbTemplate" into pImage put the loc of pImage into pLocation set the filename of pImage to "https://i.ytimg.com/vi/KO3l3-4pFyo/default.jpg";

Cropping a Referenced image

2018-08-14 Thread Sannyasin Brahmanathaswami via use-livecode
#test on mouseup put the long id of img "thumbTemplate" into pImage put the loc of pImage into pLocation set the filename of pImage to "https://i.ytimg.com/vi/KO3l3-4pFyo/default.jpg"; --set the filename of pImage to "https://i.ytimg.com/vi/KO

Re: Getting Started with DataGrid and another datagrid form

2018-08-06 Thread Sannyasin Brahmanathaswami via use-livecode
I found another way. Set standard background a opacity=0 add an new container graphic. then make the background bigger that the controls, But it won't hilite. So I might use your method. On 8/6/18 11:33 AM, zryip theSlug via use-livecode wrote: > I have created this kind of form before: roundr

Re: Getting Started with DataGrid and another datagrid form

2018-08-06 Thread Sannyasin Brahmanathaswami via use-livecode
overlay the checkboxes on, and a hidden column to hold the >> checkmarkvalue for each row in the datagrid data. >> >> Then when I populated the datagrid, I hid all the checkboxes then showed >> each checkbox control based upon how much data was being displayed. Of >&g

Re: Getting Started with DataGrid and another datagrid form

2018-08-06 Thread Sannyasin Brahmanathaswami via use-livecode
Yay! I made my first form. Now for questions *not* covered by the lessons. 1) Is the graphic "Background" a special object? In Navigator I opened stack "Data Grid Temple 333" directly editing the group "Row Template". I set background graphic to roundedRectangle, corners set 20px, and

Re: Getting Started with DataGrid and another datagrid form

2018-08-06 Thread Sannyasin Brahmanathaswami via use-livecode
I am at the lesson.livecode.com/m/datagrid. They are quite thorough. Much to my chagrin, everything you need to know is there. I would NOT recommend just dragging a Datagrip and "digging in" are even using DG Helper (to start) Read the lessons first (or at same time as you follow along in a sta

Re: Getting Started with DataGrid and another datagrid form

2018-08-05 Thread Sannyasin Brahmanathaswami via use-livecode
Duh! http://lessons.livecode.com/m/datagrid/l/7305-example-creating-a-list-of-people on LayoutControl does seem to be required. So the row template is not WSIWYG? Sannyasin Brahmanathaswami via use-livecode wrote: > Doug > >WSIWYG: I was referring to the row temple "

Re: Getting Started with DataGrid and another datagrid form

2018-08-05 Thread Sannyasin Brahmanathaswami via use-livecode
Doug WSIWYG: I was referring to the row temple "build" screen. ... layout handler. I want to understand it... maybe studying the on-line lessons *before* asking questions Someone should do a graphic or schema diagram of the DG message hierarchy. BR __

Re: Getting Started with DataGrid and another datagrid form

2018-08-05 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha zryip I finally figured out that a row has the behavior script that "requires attention" I have yet to try in dghelper. FillInData etc. obviously need controls named according to your grid But I still have the question: The WSIWYG template has the control "where we want them" But is th

Re: Getting Started with DataGrid and another datagrid form

2018-08-05 Thread Sannyasin Brahmanathaswami via use-livecode
I slowly studying as much as we can on the datagrid,and "digging" in it with an first attempt to build a form. One thing is not clear to me. 1) Have the WYSIG panel to build the datagrid form. 2) why then do we have, in the Behavior Script this handler? Isn't the layout already pre-determin

Re: acceleratedRendering

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
I don't know if it would work on a iOS 12, but we has an issue with a complex dynamic "draw" on screen.. So we turned of acceleratedRendering to false temporarily Then set to back when the drawing was finish on createWordPuzzle if (the acceleratedRendering of this stack is true ) then

Re: acceleratedRendering

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
Next week will be fine __ Brahmanathaswami On 8/2/18, 1:23 PM, "use-livecode on behalf of Monte Goulding via use-livecode" wrote: Given it’s Friday and these patches have yet to be reviewed I very much doubt we will be releasing an RC 2 with them in this week. We do have a service pro

Re: Getting Started with DataGrid

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha "Zryip" At $45.00 (cheap) and with your own endorsement (knowing that it is maintained) I'll get it! Brahmanathaswami Ps do you have a real name? On 8/2/18, 12:01 PM, "use-livecode on behalf of zryip theSlug via use-livecode" wrote: Dear Swami, We have some free materia

Re: Getting Started with DataGrid

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
I loaded DataGrid in stack Now I wonder if is tool of choice for http://wiki.hindu.org/screenshots/data-grid-candidate.png There needs to alternate rows, with the "alt" row as blank and showing the card .?? before I go down the path: Yes or No -- can data grid to this? Brahmanathaswami

Re: iOS 12 compatibility

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
Wow (www.classroomFocusedSoftware.com) Yes great job! Brahmanathaswami  Stephen Barncard via use-livecode" wrote: follow the links. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe a

Re: Getting Started with DataGrid

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
Thank Bob for the tips... Actually this is for a YouTube index, and all the "rows" would behave the same way. The only thing changing on each row would be 1. https://i.ytimg/#/hddefault.jbg (the thumbnail) 2. Metadata for our date base (SQlite on the mobile app) Title, description. E

Getting Started with DataGrid

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
I have stayed away from the Data Grid because of scrolling issues and the complexity issues were too much for my "baby talk xTalk brain" … but my UX designer has implement a module that has index of row that include various little icon and controls that will be hard to do in the old "all contro

Re: acceleratedRendering

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
Aloha Monte You are wonderful! "it groups not redrawing..." Right, it's not "touch". Though from a user perspective, suddenly "my swiping doesn't work..." And thank you for fixing the returnField error also [Bug 18395] ReturninField error on android app) @team-- would it possible to send a n

Re: iOS 12 compatibility

2018-08-02 Thread Sannyasin Brahmanathaswami via use-livecode
Hmmm. I want to see the "beautiful work" ?? that Randy has done... Brahmanathaswami  Stephen Barncard Beautiful work, Randy ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: acceleratedRendering

2018-08-01 Thread Sannyasin Brahmanathaswami via use-livecode
FWIW... acceleratedRendering in causing trouble on Android, 9.0.1. RC 1. Disables "touch" messages in some contexts... Bug report is in, confirmed. I've struggling for 2 Years with this (!) Now on iOS? Yikes! I am sure it is a priority with team. Keep fingers crossed. BR On 8/1/18, 4:

Re: Home Screen Icon Not Rendered on iOS

2018-07-30 Thread Sannyasin Brahmanathaswami via use-livecode
All the icons have RGB change, Red, Green, Blue I found one (1024x1024) that was set to "index" I re-exported from Illustrator, Still did help Brahmanathaswami On 7/30/18, 5:53 AM, "use-livecode on behalf of panagiotis merakos via use-livecode" wrote: Do the icons have an alpha cha

Home Screen Icon Not Rendered on iOS

2018-07-30 Thread Sannyasin Brahmanathaswami via use-livecode
Apple continues to give us grief…Anyone else have this context. Mac OS High Sierra 10.13.6 LC: 9.0.1 RC1 Xcode 9.4.1 iOS (on phone) 11.4.1 No matter what I do, I can't get the Home screen icon to render on the phone. It always "generic" All icons are entered into SA at correct dimensions. Wheth

Failed to Build iOS Versions in 9.0.1 RC1

2018-07-28 Thread Sannyasin Brahmanathaswami via use-livecode
1) Since working with 9.0.1. RC1 I have not been able to get a home screen icon to show. I get something generic... Everything is set in the SA settings… Well, I kept on with development, saying "I'll worry about the icon later" Then today I added some devices to my Apple Developer Profile and

Re: Checking if internet is connected using tsNet?

2018-07-27 Thread Sannyasin Brahmanathaswami via use-livecode
Well the use case differences are obvious, but to say the obvious I am connecting with a) our own server b) YouTube that’s it. AND I want to know if the URL in the app is correct (silly typo in a JSON in the app OR misfiled media on out server...etc), so I would always to get the header of t

Re: Data Persistence

2018-07-27 Thread Sannyasin Brahmanathaswami via use-livecode
Richard Gaskin This is where serialization comes in, collecting all the disparate pointer contents and packing them into a bytestream that can be saved or transported, using arrayEncode: Ha! I knew that would bring out something useful... thanks for upgrading the handlers. Richard

Re: Data Persistence

2018-07-27 Thread Sannyasin Brahmanathaswami via use-livecode
Welcome John! You will need this, I would endorse Tom's arrayEncode. If you have not: Learn to array code RIGHT NOW, before going further with Livecode. I resisted array for years, and it bought me a boat load of silly coding of text files. And 100 of lines of unnecessary code then I are

Re: Checking if internet is connected using tsNet?

2018-07-27 Thread Sannyasin Brahmanathaswami via use-livecode
I just went through this in my app. Like Mark said, you do need to connect to "something" I put a "ping.txt" on the server. It has one word "true". Apple does the same thing. Though they call it something else "serviceAvailable" or something like that and it has one word in it "available" =

Re: Browser Widget on Android

2018-07-16 Thread Sannyasin Brahmanathaswami via use-livecode
9.0.1 RC1 I don't think this is working, OR, I don't know how it works. go stack url "http://wiki.hindu.org/uploads/Tester-Landscape-TsNet.livecode"; (you have seen in before) I can't get the browser (widget "body) to change its rect, no matter what I do. I have a support request in on my bus

Re: 9.0.1 "Become An Android Developer"

2018-07-11 Thread Sannyasin Brahmanathaswami via use-livecode
Well, I rebooted the photo. That fixed it... seems it need to see the newly installed SDK. Brahmanathaswami On 7/11/18, 5:11 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: ["not a Livecode issue" -- I still think that a less

9.0.1 "Become An Android Developer"

2018-07-11 Thread Sannyasin Brahmanathaswami via use-livecode
["not a Livecode issue" -- I still think that a lesson on this in needed, and that it be maintained for each change required for us to develop on Android, and be detailed as much as possible} OK, I tried by my best, 1) /Users/brahmanathaswami/OneDrive/App-Development/android-sdk-macosx/tools/a

Re: 9.01 RC-1 Standalone Builder

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
[Responding to my memo which has too many typos] With 9.0, using it to build a standalone. 1. Making changes in scripts. 2. Saving them 3. Having "old versions" magically re-appear after building a standalone. I never got around to finding a recipe. It was like: standalone bu

9.01 RC-1 Standalone Builder

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
I take to Trevor's method of keep a second instance of LC open, and using it to build standalone. That way we avoid 1. Making changes in scripts. 2. Saving them 3. Have to "old versions" magically re-appear after building a standalone. I have got around to a recipe. But it go so "ba

Re: [ANN] Release 9.0.1 RC-1

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
Congratulations to the team for all the hard work! This is a big day for us. India, Malaysia, indeed, all South Asian is now "open for [Android] business" Brahmanathaswami panagiotis merakos Dear list members, We are pleased to announce the release of LiveCode 9.0.1 RC-1.

Preferences --> Project Browser --> Sort stack by

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
Anyone else getting the old bug in 9.01. RC1?. In preferences, we want to set the sort stacks to "Layer" Sort stack by: [Name] [Ascending] But each time I choose Sort stack by: [Layer] [Ascending] It reverts to Name Not that I using the Project Browser all at all anymore. I can't tell you how

Re: [ANN] Release 9.0.1 RC-1

2018-07-10 Thread Sannyasin Brahmanathaswami via use-livecode
Where is the documentation how to do this correctly? For a Mac Android developer ?? J. Landman Android devs should note that you need to have SDK 8 or higher installed (the informative notification dialog was a big help here.) I installed 7, 8, and 8.1 and LC then allowed me

Standalone in IDE Test Works; But Not From SA

2018-07-07 Thread Sannyasin Brahmanathaswami via use-livecode
LC 8.1.10 iOS 11.4 on the iPhone 1) I can been able to push update from the IDE Develop Test myIphone # it works on the phone 2) So know to go to SA build to create a version. Xcode Devices Select My Phone Add the App

Re: Mastering TS Net

2018-07-05 Thread Sannyasin Brahmanathaswami via use-livecode
is 200, continue to stream it? Brahmanathaswami On 7/2/18, 5:19 AM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: I looked at the lesson. Quite good! I think one more lesson may be useful. In my case I will use a "sl

Re: Script Only Stack Behaviors and Nesting

2018-07-03 Thread Sannyasin Brahmanathaswami via use-livecode
Just a side note, that for "parent" behaviors which have been "nested" as the behavior of multiple "children" ... we are "blinded sided" to this, as the designation is in the first comment of the script with doesn't appear in the IDE, SE The only other place to see it is in the PB in 9+, that i

Re: Mastering TS Net

2018-07-02 Thread Sannyasin Brahmanathaswami via use-livecode
I looked at the lesson. Quite good! I think one more lesson may be useful. In my case I will use a "slide show" as a use case. (But there others, thinking of streaming music playlist) 1) Assume you have the URLs for a slideshow; 2) you fetch this by calling JSON/Text file with the urls for a

Re: Mastering TS Net

2018-07-02 Thread Sannyasin Brahmanathaswami via use-livecode
Charles: Mysteries I booted Livecode fresh the morning, and used the same script. But I no longer get tResult --tsneterr: ID already in use. Dictionary script works as expected "File downloaded" local tHeaders, tResult on mouseup tsNetCloseConn "1" put empty into tResult

Re: Mastering TS Net

2018-07-02 Thread Sannyasin Brahmanathaswami via use-livecode
downloading to a file regardless of the protocol being used. If you can’t quite find an example lesson that answers what you need, let me know and I will get one organised. Regards, Charles > On 2 Jul 2018, at 1:19 am, Sannyasin Brahmanathaswami via use-li

Mastering TS Net

2018-07-01 Thread Sannyasin Brahmanathaswami via use-livecode
I really need to get my head around TSNet, so began experiments. This is the documentation for tsNetGetFile " local tHeaders, tResult put tsNetGetFile("1", "/path/to/downloaded/file.dat", \ "ftp://user:p...@ftp.example.com/file.dat";, tHeaders, \ "transferComplete") into tResult on transferComp

Re: Remote URL Not Available

2018-06-27 Thread Sannyasin Brahmanathaswami via use-livecode
"it" almost always containa data. e.g contains "404 Page Not Found" I wondering if we have to parse it for all possible errors? Or, if there is just *one* thing that is true, for all "I found the file, here it is" cases J. Landman Gay wrote: I've used this: get url tURL

Re: Remote URL Not Available

2018-06-26 Thread Sannyasin Brahmanathaswami via use-livecode
Thanks Bob.. For years if been keeping a ping.txt file on the server. It contains "true" which tell me the server is available. Interesting enough, apple does the almost the thing. That suffices for the server. I agree that there in no way " to check if a page is *going* to be available" b

Remote URL Not Available

2018-06-26 Thread Sannyasin Brahmanathaswami via use-livecode
Our app has contains content "in the package" and content streamed from "the cloud" It’s a bit new to me dealing with TsNet, latency issues, timeout, and to give the user feedback on status… it's a challenge…So 1 question at a time: How do you determine that a URL is not available *before* you

Re: Open source iOS and Android

2018-06-24 Thread Sannyasin Brahmanathaswami via use-livecode
Linda Do you know GIT? A lot of us (developers) have "stuff on GIT" . You do a deep search through mailings Search for "https://github.com/ And you will find the public repositories. I am sure you will find plenty! Here is one example (be sure to get the nightly branch) https://github.com/Hi

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-23 Thread Sannyasin Brahmanathaswami via use-livecode
Now that we know "Zoomed Mode" has an effect... The card rect "source of authority" in all case uses the screenRect 1) Oddly, with Zoomed Mode set, it gave the right reading 0,0,414,736 And it set up in portraitUI correctly! 2) Caveat though: passing that rect to these handlers (in a functio

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-23 Thread Sannyasin Brahmanathaswami via use-livecode
I enter a new handler into stack script on resizestack pNewWidth, pNewHeight, pOldWidth, pOldHeight put pNewWidth && pNewHeight && pOldWidth && pOldHeight into it answer it with "OK" end resizestack 1) on switch on portrait to landscape (turn sideways) I get a resizeStack answer. 2)

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-23 Thread Sannyasin Brahmanathaswami via use-livecode
OK there are lot issues at the QA center relating to landscape I added the test stack to https://quality.livecode.com/show_bug.cgi?id=19465 so that you can test on the latest build (await release, 9.1) I don't want to have 9.1 come out only to find it does not work. BR Hi Brahmanathaswami

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-23 Thread Sannyasin Brahmanathaswami via use-livecode
Geesh! (He bangs his head on the desk...ha!) that fixed it! I don't when I turn on Zoom mode... possibly last year! And it has been carrying that setting forward through all updates. It actually does a "reset" on the phone to change to "standard mode" I suppose it good that you found this, fin

8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-22 Thread Sannyasin Brahmanathaswami via use-livecode
use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: That would go good news. But LC 8.1.10 Xcode 9.3 Build for iPod,IPhone,iPad. 8.0 or later (can you make the error dialog box so w

Re: IOS 11.4 -- Stuck

2018-06-22 Thread Sannyasin Brahmanathaswami via use-livecode
sudo xcode-select -s /Applications/Xcode.app that did it Now back on the screenRect thread. Mysterious new results Brahmanathaswami On 6/22/18, 3:38 PM, "use-livecode on behalf of Sannyasin Brahmanathaswami via use-livecode" wrote: That would go good

Re: IOS 11.4 -- Stuck

2018-06-22 Thread Sannyasin Brahmanathaswami via use-livecode
That would go good news. But LC 8.1.10 Xcode 9.3 Build for iPod,IPhone,iPad. 8.0 or later (can you make the error dialog box so we can copy it to the clipboard?) "Unable to build app for device: 394,1260,1" (screen shot here) http://wiki.hindu.org/screenshots/iOSErr2018--06-22.png Now, possibl

IOS 11.4 -- Stuck

2018-06-22 Thread Sannyasin Brahmanathaswami via use-livecode
Without thinking about it, I said "yes" to a iOS upgrade. 11.4 Now it seems that I am lock out from making standalones. Any hope in 9.1 coming out soon? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-21 Thread Sannyasin Brahmanathaswami via use-livecode
1) have had the 1242 X 2208 loaded in the Phone 6 Plus "slot" from the beginning of this tread! 2) In now suspect Xcode mis-configuration (I keep going on 9.2. to 9.3 and set the Xcode select from terminal_ 3) With Elanor help just needed to add mobileSetAllowedOrientations "portrait,portrait

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
Right, we know that, or so I thought... but Panos said, "mysteriously" "If your device is iPhone7 Plus, then you have to put the appropriate splash screens in the "iPhone 6 Plus Portrait" and "iPhone 6 Plus Lscape" slots in the standalone iOS settings." I deem this a bug, continue to comment h

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
18, 2018 at 4:25 PM, Sannyasin Brahmanathaswami via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: I have a 750 X 1134 in the iPhone 6 "slot" But LC 8.1.10 still be reports that the screenrect is 0,0,375,667 " Correct... the 6/7/8 are all the same size, the

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
I have a 750 X 1134 in the iPhone 6 "slot" But LC 8.1.10 still be reports that the screenrect is 0,0,375,667 " Correct... the 6/7/8 are all the same size, the plus sizes are also the same. X is also available as a size." Hmmm https://developer.apple.com/design/human-interface-guidelines/ios/ic

Re: Listfield Questions

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
More ideas/solution. ON arrowkey send postImage to me in 0 seconds pass arrowkey END arrowkey ON postImage put the hilitedline of fld "FileList" into gLastLine put the hilitedtext of fld "FileList"into fld "currentImage" showPhoto (the hilitedtext of fld "FileList") END postImage

Re: 8.1.10 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-18 Thread Sannyasin Brahmanathaswami via use-livecode
brary didn't get included when the post was written). I have not looked at this code in a while though. Thanks, Brian On Sun, Jun 17, 2018 at 10:03 PM, Sannyasin Brahmanathaswami via use-livecode wrote: > [my early post in pending d

8.1.1 Reporting the ScreenSize of a iPhone7: 0,0,375,667

2018-06-17 Thread Sannyasin Brahmanathaswami via use-livecode
[my early post in pending due to length. I put the stack script in it. Better to give the stack} Hmm. Trying to a little responsive design (works on any device/mobile screen size) 1) Make a very stack with a widget "body" as browser that fill the whole screen but for 50 at the bottom 2) Fill t

Re: Multiple Monitors ; However, LC IDE want a 0,0,X X working rect.

2018-06-16 Thread Sannyasin Brahmanathaswami via use-livecode
un 15, 2018, at 12:22 , Sannyasin Brahmanathaswami via use-livecode wrote: > > There on old LED Cinema display that was not worth seeing (slightly dimmed) and I tried hooked it up my may book program on with the 32inch LG curved display, this giving three monitors. > The effe

Multiple Monitors ; However, LC IDE want a 0,0,X X working rect.

2018-06-15 Thread Sannyasin Brahmanathaswami via use-livecode
There on old LED Cinema display that was not worth seeing (slightly dimmed) and I tried hooked it up my may book program on with the 32inch LG curved display, this giving three monitors. The effective working screenrect(s) are as follows 0,455,3440,1872 # Display 1 the LG -1680,1463,0,2

Re: Best practise approach for artwork for iOS and Android?

2018-06-12 Thread Sannyasin Brahmanathaswami via use-livecode
This work for a few images, but let's say that your app has 100's images. Your package / SA has limits. I found it easy to settle on a routine. Images 400 X 400 or less I produce at 800 X 800 and run them the TinyJPG and get optimized. So the 2X size work well, in fact in "mandatory" on small

Re: Best practise approach for artwork for iOS and Android?

2018-06-11 Thread Sannyasin Brahmanathaswami via use-livecode
Other replied on resolution. I'll reply as to content. You may not have the option, but there is a "safe zone" for landscape and portrait. We recently hire an artist to do a kid's story. She was asked to put "sky" the top and "grass" and the bottom and significant elements in "safe zone" Lat

Re: Anything LiveCode Can Learn From GO

2018-06-11 Thread Sannyasin Brahmanathaswami via use-livecode
I wasn't thinking about high language per se. but more from an engine point of view, specifically use of "Goroutines" "But, most of the modern programming languages(like Java, Python etc.) are from the ’90s single threaded environment. Most of those programming languages supports multi-thread

Anything LiveCode Can Learn From GO

2018-06-09 Thread Sannyasin Brahmanathaswami via use-livecode
https://medium.com/exploring-code/why-should-you-learn-go-f607681fad65 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/mailm

Re: Android won't quit

2018-06-09 Thread Sannyasin Brahmanathaswami via use-livecode
Well, thanks Ralph snaky explanation, I am gonna opt out. Call it a feature "will not implement" and tell beta testers "This goes against Android OS. If want quit the app, use the Android "Force Quit" Even on iOS they have double click home and swipe up Jacque said: "I want to wipe the ap

Re: Android won't quit

2018-06-07 Thread Sannyasin Brahmanathaswami via use-livecode
Argh. I thought I solved in this in my app. But LO... it appears to quit... but is actually not quitting... it leaves a "corrupt" stack on the phone (android) and when you try to restart it, it opens to splash screen stack, but no messages are firing. It is "stuck" ; does not appear to user a

Siva Siva App in iOS version 1.2 in now out

2018-06-05 Thread Sannyasin Brahmanathaswami via use-livecode
It been many moons. I finally got a new version SivaSiva out the door to iOS. I want to especially thank an unsung hero that is busy in Edinburgh helping with support requests for business. Elanor Buchanan! Yay! She responsible is for the new "Listen" touch code for the new audio screen. With

Re: Text with accented characters

2018-06-03 Thread Sannyasin Brahmanathaswami via use-livecode
This would be typical of importing Mac/Win Type 1 fonts or ANSI only True Type. The range ANSI characters (128-255) varies depending on the platform which it was input from; add to the caveat introduce by the "native" program (Quark, InDesign, Pages, MSWord, Outlook, PDF). In theory Livecode ha

Re: How To Become Android Developer

2018-06-02 Thread Sannyasin Brahmanathaswami via use-livecode
FOR WHAT ITS WORTH: It turns out I was working too hard. The folder "android-sdk-macosx" which is assembled online by the "tools." I could not get it work. But I had jdk1.8.0_172.jdk. installed So: 1) turns out that folder "android-sdk-macosx" in completely independent of the system. BUT

Will the Same Preferences Work Behind 8.1.10 VS. 9.0

2018-05-31 Thread Sannyasin Brahmanathaswami via use-livecode
Setting aside the xcode-select you have to do in the terminal to go on 9.2 and 9.3 and back again. Will the LC preferences remain uncorrupted going from on to the other? I need features in 8.1.10 but also need to debug on the phone itself (with 9) How soon is 9.1 * coming? BR ___

<    1   2   3   4   5   6   7   8   9   10   >