Search found 20 matches

by davidchang
Mon May 21, 2018 3:48 am
Forum: Android Deployment
Topic: Min Android API vs target Android API in Google Play
Replies: 5
Views: 5447

Re: Min Android API vs target Android API in Google Play

Thanks, figured that out this afternoon. Had to run notepad++ in admin then open the Manifest.xml to make the edit. Note that I needed quotes around the target version number... This:<uses-sdk android:minSdkVersion="${MIN_SDK_VERSION}" android:targetSdkVersion= "26" /> Not this:<uses-sdk android:min...
by davidchang
Sun May 20, 2018 5:04 pm
Forum: Android Deployment
Topic: Min Android API vs target Android API in Google Play
Replies: 5
Views: 5447

Re: Min Android API vs target Android API in Google Play

Thanks, however it doesn't seem to work as it still recognizes the target as the minimum. Maybe I'm doing something wrong, I am on LC9 by the way. Is there a way to just alter the actual LC manifest.xml rather than merge them on compile as suggested? A summary from the mailinglist thread... the targ...
by davidchang
Sat May 19, 2018 4:35 pm
Forum: Android Deployment
Topic: Min Android API vs target Android API in Google Play
Replies: 5
Views: 5447

Min Android API vs target Android API in Google Play

Hi, When compiling my Android app in Livecode I set the minimum Android version to 4.0 (API 14). However, when trying to import to Google Play, which is an update to an existing app, I get an error message that it need to target at least Android version 8.0 (API 26) under Googles new rules. The only...
by davidchang
Mon Jan 08, 2018 4:42 pm
Forum: Android Deployment
Topic: Google Recommend +1 button
Replies: 2
Views: 2691

Re: Google Recommend +1 button

I'd prefer to do it all in app and not redirect the user to a website. Is it possible to add that script code in livecode somehow?
by davidchang
Mon Jan 08, 2018 12:02 am
Forum: Android Deployment
Topic: Google Play Rating
Replies: 3
Views: 3127

Re: Google Play Rating

Thanks for the replies,

I guess I'll just have to take the launching of the URL has a strong indicator they actually left a rating.

Thanks again
by davidchang
Sat Jan 06, 2018 7:11 am
Forum: Android Deployment
Topic: Google Play Rating
Replies: 3
Views: 3127

Google Play Rating

Hi everyone, Is there a better way to have someone rate your app other than redirecting them back to the app listing in store? I ask because redirecting them wouldn't actually let me know if they left a rating just that they launched that URL. I wanted to incentive them to rate the app but I would n...
by davidchang
Sat Jan 06, 2018 7:08 am
Forum: Android Deployment
Topic: Google Recommend +1 button
Replies: 2
Views: 2691

Google Recommend +1 button

Hi,

Is the Google +1 button able to be inserted in app? If so, can someone please help start me off in the right direction.

https://developers.google.com/+/mobile/ ... /recommend

Thanks,
David
by davidchang
Mon Sep 18, 2017 4:11 pm
Forum: Databases
Topic: API or remote database?
Replies: 8
Views: 6907

Re: API or remote database?

Thanks AxWald, I have seen that document. At this point, any more gains would probably need to come from the parsing of the json data, the SQLite load is fairly quick. I am using jsontoarray, is there a faster method, fastjson? I can live with the overall execution time now (around 5 seconds) but in...
by davidchang
Sun Sep 17, 2017 10:07 pm
Forum: Databases
Topic: API or remote database?
Replies: 8
Views: 6907

Re: API or remote database?

Thanks for the suggestion though, i'll use repeat for each in other code snippets for speed.
by davidchang
Sun Sep 17, 2017 6:23 pm
Forum: Databases
Topic: API or remote database?
Replies: 8
Views: 6907

Re: API or remote database?

Slow, in this case, is about 15 seconds to execute the calling of the API, parsing the API and importing to a local SQLite, with the parsing and importing causing the bottleneck. 500 iterations is 500 records of 20 variables each. I've been able to significantly reduce the execute time down to aroun...
by davidchang
Sat Sep 16, 2017 10:20 pm
Forum: Databases
Topic: API or remote database?
Replies: 8
Views: 6907

API or remote database?

Hi everyone, I have a scraper that gets new data daily from my source and packages that data in an API.With that API, I have been able to parse the JSON and load the data to a SQLite database in the mobile app whenever the user fires up the app. However, it is slower than I would like. I use JSONtoA...
by davidchang
Sun Jun 19, 2016 6:33 pm
Forum: Databases
Topic: access database on server (godaddy)
Replies: 10
Views: 8074

Re: access database on server (godaddy)

Thanks, got it working. I was hoping to be able to do a quick copy and save of the database, hence the approach I initially tried. However, I've settled for saving the hosted table into a txt file then looping SQL queries by line to duplicate the table into the device's database. There is probably a...
by davidchang
Wed Jun 15, 2016 11:31 pm
Forum: Databases
Topic: access database on server (godaddy)
Replies: 10
Views: 8074

Re: access database on server (godaddy)

Hi Klaus, I am first querying data from the online database with... put revOpenDatabase("MySql", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tResult put "table_name" into tTableName put "SELECT * FROM " & tTableName into tSQL put revDataFromQuery(tab, cr, gConnectionID, t...
by davidchang
Wed Jun 15, 2016 1:37 am
Forum: Databases
Topic: access database on server (godaddy)
Replies: 10
Views: 8074

Re: access database on server (godaddy)

Thanks FourthWorld but i am still getting the same encrypted result using...

Code: Select all

put tData into url("binfile:" & specialFolderPath("documents") & "/newdbname.sqlite")
by davidchang
Wed Jun 15, 2016 12:12 am
Forum: Databases
Topic: access database on server (godaddy)
Replies: 10
Views: 8074

Re: access database on server (godaddy)

Hi, new problem... not sure if i should start another post... but I can now query the entire database into tData then save it using put tData into url("file:" & specialFolderPath("documents") & "/newdbname.sqlite") It appears to save the db to my computer but when I attempt to connect to that new da...

Go to advanced search