I have an iOS app that is in the app store. It's been working great and I have
uploaded several updates since it's first release. No problems. However, the
last update I submitted to Apple was approved and released in the app store,
but it crashes when you launch the app.
I checked the app
Colin,
Lot's of free space. I've tried it on two phones and I've already received one
eMail from a user of the app reporting the crash. I am reading/writing local
data, but it's really nothing - some plain text files for preferences, some
cached webpages, etc.
Any other thoughts?
-Dan
William,
LC 6.6.1
Build for 5.0 or later
XCode 5.1.1
Which LC version did you use?
And for which iOS version did you build?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
Colin,
I rebuilt the app this morning (after the issue was reported) and installed it
on the same phone. It it was a storage issue, would the app still fail?
Regardless, I have 5.2 GB available on my phone.
I am stumped!
-Dan
There is an issue in iOS where if there is less than 400MB of
Colin,
The last update I made to this app was purely cosmetic. So, it's can't be some
file it's reading. But, just to make sure, I uninstalled the app on a
non-testing phone, and downloaded the app again. Now, with a clean install,
the app still crashes.
The difference between a fresh
Greetings!
If I build my iOS app with the Development Provisioning Profile, and install it
on my phone, and it runs perfectly without error, is there any reason to
believe or think that building the EXACT same app with the Production
Provisioning Profile would have any type of problem when
Klaus,
I had a VERY similar issue a little while ago... couldn't figure it out! Same
as you, I had only changed some images. With only 3 hairs left in my head, I
discovered that if the fileName of an image was invalid, iOS didn't like it!
Once I changed the fileName to empty or to a valid
Dave,
Thanks for the reply. Both profiles are far from expiring, and the app doesn't
have any in-app purchases.
I am thinking that something happened to the app after apple reviewed it, and
it was posted to the app store. I'm thinking of just uploading another binary
and seeing what happens.
If you've seen me on this list during the last week (see also iOS App Crash),
you know that I have been trying to track down a problem with an update to one
of my iOS apps that was crashing on launch after installing from the App Store.
It didn't matter what version of the OS you were running
Mike,
In this case, my client is a minor league baseball team. So, the app is in
the app store so their fans can follow the team.
Thanks,
-Dan
Dan,
For internal/client distribution, why not use testApp? You can completely
bypass the app store that way.
Greetings! I have looked all over for the answer to this and can't find the
solution. I have read that others have the same problem. While it seems that
some have resolved the issue, but I can't get the details on how the fixed it.
So, I apologize in advance if this has already been
I'm wondering... Is it possible to display and edit multi-styled text (font
sizes, colors, justifications, etc.) in a native multiline control?
Thanks!
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe,
Greetings!
On my iPhone 4 (iOS 5.1.1), with the keyboard activated, the effective working
screenRect returns 0,0,640,744. This is obviously wrong -- 744 is not the top
of the keyboard, 528 is correct. In the simulator with iOS 7, it seems
correct. Anyone have any knowledge about this?
Hello,
Can anyone tell me why this results in revdberr?
put DELETE FROM tTableName WHERE entryID= entryID into tSQL
put revDataFromQuery(tab, cr, gConnectionID, tSQL) into tData
What's interesting is that the record is being removed from the database. So
it's all working server side, just
Pete,
Thanks for the reply. The entire error string is revdberr, (with the
comma). I tried your suggestion of using revExecuteSQL instead of
revDataFromQuery() and I did not get the error. So at least I have a suitable
workaround. Thanks for the assist!
- Dan
Hi Dan,
What is the text
I have a stack (actually thousands of them) that were created in LiveCode (then
RevEnterprise) 4.0.0. They are used in several apps we have including an iPad
app. Do to the issues with LC and iOS 8, I need to make an update to the iPad
app with LC 6.6.4. I opened my project this morning in
When creating a pdf of a card, I am getting results that don't match the
screen. See if for yourself... make a new stack, and put this in a button:
on mouseUp
--remove old buttons
repeat with i = 1 to 4
if there is a btn (button i) then
delete btn (button i)
end if
end
Does anyone know what is going on in the background of LiveCode's revExecuteSQL
command (and related commands: revOpenDatabase revDataFromQuery, etc)? Are
there any security features available? Is it safe to use these calls (read and
write) to a server-side database in a commercially released
When I choose Preferences and click Mobile Support, you used to be able to
click Add Entry and select the Xcode application and LiveCode was happy.
But, with LC 6.6.4, I choose the Xcode application (version 6.1) and LC
reports, The chosen folder is not a valid iOS SDK.. What am I doing
Sean,
Thanks for the tip! I didn't know that LC 6.6.4 wasn't compatible with XCode
6.0. I installed LC 6.7 and everyone is happy again. Thanks!
-Dan
Bear in mind that LC6.6.4 only accepts up to Xcode 6.0. If you are trying
to add XC6.1 then you will get the error message The chosen folder
I have an iPad app I am working on. I have created the name-Portrait.png
and name-Landscape.png images as instructed in the Release Notes. However,
I seem to be getting odd results with it. It seems that the correct one does
show when the app is launched. But, the other one is shown for a
Hey all... Apple just approved my second app, Custom Blind Timer. It's a
timer to run your poker tournament. Like the last app, this one was also
created 100% in LiveCode.
http://itunes.apple.com/us/app/custom-blind-timer/id446493355?mt=8ls=1
-Dan
Greetings!
I have a iPad project I am working on... in the resizeStack routine, I am
resizing all the controls on all the cards so when they rotate the iPad,
everything will update and look pretty. This is working great!
My problem is when the app launches, apparently no resizeStack message
Colin,
Your question led me straight to the answer! I added this to my preOpenStack
handler:
put the screenRect into tRect
add 20 to item 2 of tRect --to account for the status bar
set the rect of this stack to tRect
Now it works perfectly! Thank you!!
-Dan
What size is your card, and
Happy New Year!
Question... is it possible to print a iOS Browser Control? For example, you
have a web page loaded up in a browser control in your iPad project. Can I add
a Print button so the user can print the web page?
Thanks!
-Dan
___
Yes, I have... It's a little bit of a pain, but it's working quite well! You
have to use the rrehardcopy external. It's provided in the LiveCodeSDK-R10
package (http://www.runrev.com/developers/documentation/externals-sdk/).
Include it in your iOS standalone and it will popup the standard
Hello!
I have a client that wants to send hundreds of eMails - each one unique,
customized to the recipient. Formatting the eMail is easy... but how do you
send an eMail from within LC? revMail brings up their eMail client which is
not what we want because (a) they would have to click Send a
Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Become our partner in sales http://qery.us/1bq Start selling Color Converter
today. 20% commission!
On 5 jan 2012, at 15:51, Dan Friedman wrote:
Hello!
I have a client that wants to send
Hello...
Does anyone know if there is a setting for caching on iOS? Here's what's
happening: I post text to a file on a server (via ftp) using a simple put
command in a LC project on my iPhone. The data IS writing to the server - I
can verify that. However, if I re-read the data that was
Roger,
The file I am writing is tiny... about 75 bytes! More info... I posted the
file then asked the application to download the file every thirty seconds. It
is getting the older version of the file every time... It's been about 15
minutes so far and it's still getting the old file. On
Greetings!
Is there a way to trap when the user hits the Home button on his iPad? I want
to do a little cleanup (including writing some data to a server) when my app is
closed. I tried shutdownRequest, but this doesn't seem to work. Any thoughts?
Thanks in advance,
-Dan
Greetings!
My iPad app plays a sound using the iphonePlaySoundOnChannel command:
iphonePlaySoundOnChannel fSound,myAppSound,now
The sound does play, but it stops any music that the user is playing in iTunes.
How do I play a sound on iOS without disrupting the sounds of another app in
Marty,
I don't know if it's the fastest way, but here's one way to do it. Pass with
function your tab-delimited list and what you are looking to find in fields 1,3
and 4 and it will return a list of the lines numbers that match. Hope it
helps...
function getTheMatches tList,findThis
set
Greetings!
I am having a problem with the ask command in iOS. If I do this:
ask password Enter Something titled Anything
and tap the Cancel button, the result is cancel. However, if I use the
same line of code and enter nothing in the prompt field, then tap the OK
button, the result
Klaus,
That doesn't tell me if they canceled or entered nothing. Perhaps they want to
set their password to empty? How do I know if they entered nothing, or they
hit Cancel?
Hi Dan,
check IT! :-)
...
ask password Enter Something titled Anything
if it = empty then
# nothing
Greetings,
I am experiencing an issue on my iPad with my LiveCode project that is puzzling
me. It appears that my iOS app is caching data from a server. Once I read a
file from my server in my app, that's the only version of the file that I get.
For example, I read the file and I get the
?= the millisecs) into tMyData
I'd expect to have a neat way to clear the cache but I don't know of that.
--
Best regards,
Mark Schonewille
On 22 mrt 2012, at 17:26, Dan Friedman wrote:
Greetings,
I am experiencing an issue on my iPad with my LiveCode project that is
puzzling me
I have an iOS app for iPad that runs great in the simulator and on my iPad1
running iOS 5.0.1. However, on a new iPad3 running iOS 5.1, the app crashes
upon launch (we see the splash screen and then crash). I built the app on a
Mac running:
Mac OSX 10.6.8
Xcode 4.2
LiveCode 5.5 (GM 2)
Am I
Phil,
Try this:
lock screen for visual effect in rect (the rect of image people)
--
--draw the new set of people into the same rect as the old ones, while the
screen is locked
--
unlock screen with visual effect push down
Hope that helps!
-Dan
On May 10, 2012, at 2:03 AM,
Does anyone know if it's possible to print the content of an iOS browser
control?
Thanks in advance,
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
Bob,
Thanks, but I mean if I create a html page in my app and display it in a iOS
Browser control, can I give the user the ability to print that web page?
-Dan
You can take a picture of the entire iOS screen by pressing the power and
home buttons simultaneously. Then you can print the
I could use a little help... Say you have a search field. In the script of
that field you use the rawKeyUp message to search for whatever it is they typed
(search your database, compile a list and display it neatly in a list). How
would you structure this so that when they typed a second
Fellow LiveCoders...
This is a little off-topic, but I am working on a calendar which reads and
displays a variety of calendar formats. It's going well! However, when using
the iCal format, I have noticed that my calendar is an hour off as compared to
what it says on the web display of the
Terry,
No, they didn't. They are exactly the same! In fact, the calendars come from
different accounts by the same company! I can't figure it out!
Any other thoughts?
-Dan
Hi Dan - do they include timezone info in the header or events?
Terry...
On 30/07/2013, at 10:34 AM, Dan
Hello...
How do you remove the listStyle of some text? If you set it to skip as
listed in the dictionary, you still have remnants of the listStyle. For
example, using the htmlText of a field, it starts with:
ptest/p
Then you set the listStyle to disc and you get this:
ul type=disc
li
Thierry,
On Mac LC 6.1, I do this:
set the listStyle of the selectedLine to empty
and the htmlText is this:
p listindent=0test/p
Is that as clean as it gets? I would expect it to be ptest/p.
-Dan
Hi,
set the liststyle of line 3 of fld F1 to empty
works here on
Mark,
Well, I don't know why I'm getting the results I am, but your tabKey command
script works great! Thanks for the snippet!
--Dan
Hi Dn,
I don't understand where you get your listindent property from. The
following doesn't create anything like that...
Greetings!
Anyone know what am I doing wrong? Here's the script I am running on a iPhone
4 (works fine in the Simulator):
put the effective working screenRect into tRect
mobileControlCreate multiline,myTextField
mobileControlSet myTextField, fontSize, 15
mobileControlSet myTextField, visible,
different, still more different, mostly different, nearly done,
all done, all done, all done?
Sent from my iPad
On Aug 9, 2013, at 8:47 PM, Dan Friedman dan at clearvisiontech.comwrote:
Greetings!
Anyone know what am I doing wrong? Here's the script I am running on a
iPhone 4 (works
Is there a way to determine if a mobile device can make a call? I'm was hoping
to find something like mobileCanMakePhoneCall(). If the user is on an iPad or
other device that is not capable of making a phone call, how does the app know?
-Dan
___
John,
Thank you for the reply, and I would LOVE to read the iOS Release Notes! But,
where are they? They used to be in the Help menu... no more! When I choose
Release Notes in the Help menu, I get a 15 page document.
Can you direct me to where they are?
-Dan
Read the iOS release
Greetings!
Has anyone messed around with parsing through a iCal file? I am writing my own
[mobile] calendar that will read in and display iCal data. Getting and finding
data in the file is easy (BEGIN:VEVENT, LOCATION, SUMMARY, DESCRIPTION, etc.).
The problem is working with RRULE, the
Hello...
On a mac, I use command-dash to comment a script. The Edit menu shows
command-underscore as the method to uncomment a script from the keyboard. But,
command-shift-dash doesn't do anything. How do you uncomment a commented
script in the script editor from your keyboard?
Thanks!
No, I have a standard Apple Wireless Keyboard. It's white and has the Apple
logo on the back with the words Wireless Keyboard.
Command-shirt-dash works for me using an Apple keyboard. Are you using a
generic/PC keyboard?
Hello...
On a mac, I use command-dash to comment a script. The
Greetings!
Anyone have any experience with Python? I am looking to convert some routines
that are written in Python to LiveCode.
What I am tying to do is deal with the RRULE (Recurrence Rule) when reading a
iCal Calendar. I found several projects in PHP and C++ out there, but they are
way to
Thanks for the replies... Since I need to run this on a mobile device, I don't
think installing Python is really an option. Outside of learning a new
language or hiring someone to convert it, looks like I'm SOL. I'll continue to
search for another answer. My project requires that I list
Does anyone know what size (and type) image you should use in the Status Bar
Icon field in the Standalone Builder for Android? There is no mention of the
specs for this image in the docs and none that I can find anywhere!
Thanks in advance,
-Dan
___
Greetings!
So, I have this iOS project. I run this stack in the 4-inch iPhone simulator
and the screenRect returns 0,0,320,480. How can that be? I have other
projects that report the correct value (0,0,640,960) in the same version of LC
(6.1) and Simulator (6.0).
Is there some switch I
Maybe someone can help...
I am running this script in an iOS app:
mobileControlCreate browser,theMapView
put https://maps.google.com/?q=; urlEncode(tMapAddress) into tUrl
put output=embed after tUrl
mobileControlSet theMapView,rect,myRect
mobileControlSet theMapView,url,tUrl
It loads just fine
Does anyone know if it's possible to select multiple lines with Data Tree? If
so, what is the call? I would have thought there would be a dt_general
property. Anyone know?
-Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please
Greetings!
I an clicking Test in the toolbar, like I always do to test to my Android
devices. However, suddenly, it seems to not be working. It's going through
all the steps but stopping on Installing app on target device I believe
the phone (a GalaxyS3) was recently updated to Android
Roger,
Thanks for the advice. Unfortunately, LiveCode still hangs on Installing app
on target device Maybe someone at LiveCode is listening and can lead us
in the right direction.
-Dan
Have you tried to be build for the highest version possible (3.1 and above)?
By the way, it is
Roger,
Yes. I did restart the device. Also, the app was never installed since I
couldn't get it installed via LC. I was able to side-load the app on the
device, and it did install. So, there must be something goofy going on with LC
and Android 4.3. I'm sure you'll get it knocked out.
Greetings!
I am experiencing an error when my android app attempts to register the device
(on launch) to GCM. pushNotificationRegistrationError returns this:
error APA91bH...[a whole bunch of crud]...YV2Yg
insert error
Table 'xx.x' doesn't exist
update error
Table 'xx.x'
Howdy!
Has anyone tackled the idea of taking a field in LiveCode and outputting it to
a webpage?We're talking about taking the htmlText of a field (with styled
text, tabs, text colors, imbedded images, etc, etc, etc.) and generating a html
document that you could post to a website.
Anyone
Here's what I want to do: the user taps a Like button in my mobile app, they
like a Facebook page, and a confirmation that they liked it is returned.
Anyone know how to do this?
Thanks in advance,
-Dan
___
use-livecode mailing list
Hello!
I know this isn't LC related, but this group contains some of the smartest
minds I know! Anyone here a CSS master? I've got a page almost there, but am
stuck and need some assistance.
-Dan
___
use-livecode mailing list
Hello!
Does anyone have a routine, or have information about how to put a Like
button in your LiveCode app that will allow the user to Like your Facebook
page and then return to LC that they did like you? I am looking to offer
something in the app for free if they like our Facebook page.
ANY
I can't seem to get a clean export of a resized PNG.
If you set an image's fileName to a png with transparency, then resize the
image, then export that image as PNG, it comes out with strange black parts in
the background. Anyone know how to resolve this?
Using LC 6.1.3
Thanks!
-Dan
I have an mobile project that I've been working on for some time now. It's
already in the app store (and google play) and it's been running fine. I
opened the stack this morning to make some updates, and I find that I have one
card that is no longer passing messages. preOpenCard get's fired,
property or something that got set that I can't think of.
I have stepped through the code and I can't find anything. I even created
a new card, and copied the objects and script to the new card, but got the
same result.
Any ideas?
-Dan
Thank you!
Dan Friedman
CEO, ClearVision
Greetings,
I am having a couple of problems with stacks in iOS. First, I can't seem to
get the backgroundPattern of a stack or card to appear in the simulator (or the
app on my iPhone). Also, the textStyle of a field doesn't seem to be working
either. If I set the textStyle of a field to
Funny, I didn't even think to try that! Sadly, it did not work. Perhaps we
need a new effect? Something like:
show group myGroup with visual effect none
-Dan
Hi Dan,
If you lock the screen and show an object with a visual effect, only the
rect of the object gets refreshed -- way
Colin,
Hmmm I'm not sure. Can you tell me the steps to create a proper
distribution provisioning file for others to install and test my app?
Thanks!
That sounds more like a certificate issue. You're not mixing a development
certificate with a distribution provisioning file are you?
Gentlemen,
My goal is to upload compressed data to a file on a sever. I don't want to use
ftp. So, I am trying to use a php script. I am getting Rev to POST the data,
and I have a PHP script on my server that is writing the data. The problem is
that the data that is written is incorrect.
I am about to submit my first app to the app store. I noticed that the icon is
missing in iTunes. It's displayed correctly on the iPhone and the iPad, but
not in iTunes. I don't see a place to add an additional icon for this purpose.
Am I missing something? Or, is this something that is
Gentlemen,
I know nothing about the Android. I am a iPhone user. As I am about to embark
on writing for the Android, I thought I should have one to test on. A friend
of a friend got a new phone and has offered me his old Android phone for $40.
It is a T-Mobile Android G1. It's white and
Greetings!
After much success with iOS (several apps selling on iTunes!), I am taking the
plunge into building for Android. I have followed the steps and when I test
my stack in the simulator, I get Unable to build app for testing: apk
preparation failed.
I found some discussion about this
Ok, Thanks! I was able to fine and delete the debug.keystore file. The app
now was successfully built for the simulator. But, when the app launches in
the Android Simulator, it's just a black screen! I have an empty stack with
one button on it with a answer command in the script of the
Ok... Finally got the Android simulator working and things are humming along.
Next question/issue...
I have a list field in a group with a native scroller attached to the group. I
have a mouseDown handler in the list field dealing with when the user taps a
line. However, when you attempt to
In my Android app, when attempting to save to a server, I get this result:
java.io.IOException: Unable to connect to server: Unable to log in to server
(PASS): 123.456.789.11
Here's my code snippet:
put ftp://; urlEncode(tPassword) :pWord@123.456.789.11/folder/test.txt
into ftpPath
put
Greetings!
I am finding something strange about the way LiveCode is working on Android.
When a stack opens, the resizeStack message is sent to the stack. This works
fine. However, the stack is displayed on the device - THEN it's resized. The
same thing happens when you rotate the Android
If I do this on iOS (or MacOS), I get the proper results:
put € into field 1
However, if I do the same thing on Android, I get some goofy character.
How do you get a euro character to show on Android? I ran this on my Android
device:
on mouseUp
ask enter char:
--i entered the
Devin,
That didn't work for me. But, this did:
set the htmltext of field 1 to euro;
Thanks!!
-Dan
Dan,
As of version 5.5.1, this works:
set the htmltext of fld 1 to €
Have you tried that on Android?
Devin
On Jul 11, 2012, at 9:11 AM, Dan Friedman wrote:
If I do
My app has a in-app purchase. That seems to be working fine (using the
iTunes test account). My question is in using the mobileRestorePurchases
command to restore the in-app purchase if the application is reinstalled, or
used on a second device with the same iTunes account.
I put the
I can't seem to load a local (included) file in a native browser on Android.
This works perfect on iOS:
on loadURL pFileName
put specialFolderPath(engine) /userGuide/ pFileName into fURL
put file:// fURL into fURL
replace with %20 in fURL
mobileControlSet sBrowserId,
Ralph,
I took out the line replace with %20 in fURL... Same issue. Still
doesn't work... Android cant find the url fURL
-Dan
Dan,
I've never done== replace with %20 in fURL. on Android for a local
file. As far as I know the Android file system will not like the %20s for
file
-livecode at lists.runrev.com**
Sent: Thu, Jul 19, 2012 01:33:50 GMT+00:00
Subject: Re: Android: mobileControlSet
On 7/18/12 8:18 PM, Dan Friedman wrote:
Ralph,
Yeah... it's there. Like I said before, I can read the data from the
same
location and put it in the browser
I posted this question about a week ago and got no answers. So, I thought I
would try asking one more time before sending this one up to the Mother Ship.
How do you use the mobileRestorePurchases command to restore in-app purchases?
I successfully purchased an in-app purchase with the test
Can you write to a server, via ftp on a real Android device running Android
version 4.0.4. When I try it, it returns no error, but doesn't write to the
server. Can you confirm?
Thanks,
Dan
___
use-livecode mailing list
use-livecode@lists.runrev.com
Question: How are you saving Device Tokens?
I am working on adding Push Notifications to my app. I am able to create, send
and receive the push notification (as a test) without issue. However, I can
see that I am going to have to store the Device Tokens of all that use my app –
thousands,
Mike,
THANK YOU for the information. I am wondering what you use to log the Tokens?
Do you have the app fire a PHP script on your server that writes it down? What
are you using to store the data? Flat files, like XML? Or a database?
Thanks for the advise!
-Dan
Nope, you aren't crazy.
Rick,
One thought is to not use scroll the grouped field for your iOS scroller, but
rather scroll the field itself. In your scrollerDidScroll message, scroll the
field, not the scroll of the group. This is what I use when I suspect the
FormattedHeight may be larger than the allowable range.
On Aug 6, 2012, at 5:41 PM, Dan Friedman wrote:
Rick,
One thought is to not use scroll the grouped field for your iOS scroller,
but rather scroll the field itself. In your scrollerDidScroll message,
scroll the field, not the scroll of the group. This is what I use when I
suspect
Greetings!
I am trying to connect to a mySQL database on a couple of remote websites. I
can connect to them via a php script run from the server so tDatabaseAddress is
localhost. However, every attempt to connect via LiveCode (in the IDE)
fails. I have checked with the host that the address
Hi!
In an iOS project I have a button on the screen that when you tilt the device,
it slides left or right. Using the accelerationChanged message, this is easy.
However, now that I am trying to replicate this on Android, it's not working.
The x value retuned by accelerationChanged is all
Colin,
Yes. My app is portrait only. I selected Portrait as the Initial
Orientation in the Standalone App Settings and I don't alter the orientation
settings in code. If you (or anyone else) has some advice, I'm all ears!!
-Dan
I didn't know about that text file, but I do know about the
Exactly! So, what do you do?
But, aren't you reading the accelerometer in order to make something slide
around? If you're assuming that a Y rotation is what happens in the user
turns the left edge away from them, that will be right for phones but wrong
for tablets.
Yes. My app is
the accelerometer?
On Sep 1, 2012, at 1:22 AM, Dan Friedman d...@clearvisiontech.com wrote:
Exactly! So, what do you do?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
Ok... I've got everything working on my iOS app in regards to Push
Notifications. Pretty cool! When the app launches it's saving the device
token to a sql database on my server, and I am able to send a push notice to
each device. When the app is running, the message is displayed via the
1 - 100 of 438 matches
Mail list logo