Nothing fancy, just a personal log with a built in search function so I can recall what is easily forgotten.
Tuesday, November 8, 2016
Macromedia Fireworks - Adding Fonts
Saturday, September 10, 2016
Upgrade to Google Maps API V2
mobisys.in
Now I am almost ready to publish latest version of Widespread Augmented Reality II
Widespread Augmented Reality I will continue to use the old Google Maps for phones that do not have Google Play Services installed.
Monday, September 5, 2016
Android Studio Not Starting - Fixed
See previous post of a few days back.
Finally got Android Studio to start consistently, and I debugged the app Widespread Augmented Reality to a Galaxy Tab 2 7 inch tablet.
These are the steps after a fresh installation of Android Studio and Java on an Acer Windows 10 tablet 8 inch 1 GB RAM 32 bit.
- org.gradle.jvmargs=-Xmx1024M
- org.gradle.daemon=true
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="24" /><application android:label="W.A.R. II" android:icon="@drawable/war4" android:name="android.support.multidex.MultiDexApplication">- android {
...
dexOptions {
incremental = true;
javaMaxHeapSize "1g"
}
Thursday, September 1, 2016
Android Studio Not Starting
This is the first post of many to come documenting my progress on upgrading the app Widespread Augmented Reality.
Now that I am the number 45 Travel and Local app in Pakistan with a combined 20K+ downloads worldwide, I am upgrading from Google Maps API v1 to v2. Long time coming, but why fix it if it's not broken? But alas, members of the W.A.R. party deserve better.
First, a little history.
Determined that JAVA_HOME in environment variables is still correct, but Android Studio still not starting. Here is what I did to correct that.
To be continued...
Tuesday, July 26, 2016
Tuesday, June 28, 2016
JSON array to PHP with FOR LOOP
Here's an example of the input JSON array:
"tags":[{"id":1306,"accountID":4936,"name":"BURTON","group":"Rep","type":0,
"dateCreated":"2015-07-09 19:38:46","dateModified":"2016-04-15 15:02:00",
"isDeleted":false,
"isActive":true,"numOrders":0,"abort":false,
"currentClass":"Tag","_jsonSkipsReadOnly":false}],
Here is the PHP that will pull out the first 3 records of the tags JSON array. I realize that it would be better to create a PHP array for tags instead
foreach ($tagsarray as $tags) {
for ($i=1; $i<4; $i++) {
${'tagid'.$i} = $tags->id;
${'tagname'.$i} = $tags->name;
${'taggroup'.$i} = $tags->group;
}
//echo "tagname1: ".$tagname1."tagname2: ".$tagname2."tagname3: ".$tagname3."
";
// do nothing after capturing first 3 tags records
}
foreach ($tagsarray as $tags) {
$tagid[] = $tags->id;
$tagname[] = $tags->name;
$taggroup[] = $tags->group;
}
$tagid1 = $tagid[0]; $tagname1 = $tagname[0]; $taggroup1 = $taggroup[0];
$tagid2 = $tagid[1]; $tagname2 = $tagname[1]; $taggroup2 = $taggroup[1];
$tagid3 = $tagid[2]; $tagname3 = $tagname[2]; $taggroup3 = $taggroup[2];





