Taking the leap into Android

12 views
Skip to first unread message

jjanes

unread,
Nov 26, 2011, 12:40:43 PM11/26/11
to QuickConnect
Ok Here goes when I use the JQTouch code for the iphone I simply
double clicked on the xcodeproj file and xcode opened right up and I
could go directly to programming but now I am diving into the the
android template. Is there a startup process for these project.

I thought it would be similar and maybe it is but I can't tell from
what I have seen so far so could someone describe what the process is
to start and android App in Eclipse.

At this point I have copied the project file into my workspace area

Thanks

lee barney

unread,
Nov 26, 2011, 5:18:45 PM11/26/11
to quickconn...@googlegroups.com
If you use the new templates that I sent you you only need to create one project using Xcode and it will create both an Android and an iOS app using the same HTML, JavaScript and CSS.

Lee

> --
> You received this message because you are subscribed to the Google Groups "QuickConnect" group.
> To post to this group, send email to quickconn...@googlegroups.com.
> To unsubscribe from this group, send email to quickconnectiPh...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/quickconnectiPhone?hl=en.
>

Noli Sicad

unread,
Mar 24, 2012, 5:58:48 PM3/24/12
to quickconn...@googlegroups.com
On 11/27/11, lee barney <barne...@gmail.com> wrote:
> If you use the new templates that I sent you you only need to create one
> project using Xcode and it will create both an Android and an iOS app using
> the same HTML, JavaScript and CSS.
>
> Lee

Lee,

Where can we download this need templates that you mentioned above?

Does the template works with Xcode 3.2.6 (iOS 4.3)?

Would it be possible to send me a copy of these templates?

Thanks.

Noli

Barney Cit

unread,
Mar 24, 2012, 8:36:44 PM3/24/12
to quickconn...@googlegroups.com
Noli,

It isn't released yet. There are changes to the obj-c that haven't been tested yet. It works for Xcode 4.x not 3.x.

Do you still want it?


Lee

Sent from my iPad

Noli Sicad

unread,
Mar 24, 2012, 8:41:31 PM3/24/12
to quickconn...@googlegroups.com
Lee,

Yes, I will get Xcode 4 2 weeks times.

(I just used up my mobile broadband allocation for this month for
Xcode 3.2.6 (4.1 Gb), I just have get Xcode 4 for that :-).)

Please see it to me.

Thanks.

Noli

Noli Sicad

unread,
Apr 12, 2012, 9:14:27 PM4/12/12
to quickconn...@googlegroups.com
Hi Lee,

Last night, I updated to Xcode 4.2 iOS 5.0 SDK in Mac OS X 10.6.8.

After trying to use PhoneGap, I still like QuickConnect :-). Nothing
can bet with QuickConnect SQLite3 native support. It even works with
Spatialite library.

QuickConnect is better than PhoneGap.

(I am trying to get GeoJSON using javascript from Spatialite query).

Lee, would be possible to get the copy of QuickConnect template that
works with iOS and Android?

Thanks in advance.

Noli


On 3/25/12, Barney Cit <barne...@gmail.com> wrote:

lee barney

unread,
Apr 13, 2012, 12:15:40 PM4/13/12
to quickconn...@googlegroups.com
Noli,


I'm working on more testing of the beta release today. I'll send you a URL from which you can download it as soon as I've posted it.


Lee

Noli Sicad

unread,
Apr 13, 2012, 7:27:59 PM4/13/12
to quickconn...@googlegroups.com
Lee,

Probably, you can remove the dependency GameKit in iOS hybrid library.
It seems GameKit framework is not longer present in iOS 5.0 SDK.

Thanks a lot.

Regards, Noli

Lee Barney

unread,
Apr 30, 2012, 10:49:20 AM4/30/12
to quickconn...@googlegroups.com
Noli,

Here is a link to the beta Xcode project and examples.  It is, as of yet, not release ready.  There is much more testing and revision I need to do.  I made some changes in down in the bowels for optimization that have effected a lot of the code and that has made the code base less mature.

It should give you an idea of where it is headed.  Any feedback is appreciated.


Xcode template for iOS and Android development - http://www.quickconnectfamily.org/downloads/QC_Hybrid_Template_and_Instructions.zip

Thanks,

Lee

Noli Sicad

unread,
Apr 30, 2012, 8:40:48 PM4/30/12
to quickconn...@googlegroups.com
Lee,

Thanks for new templates for Xcode and Android SDK.

It seems that the instruction has missing part regarding installation
of QC Android Hybrid.

I got this error (below). No problem with Xcode and iOS.

I selected 15 for Android SDK in this case.

Any instruction how to fix this?

Thanks again.

Noli

#########
---------------Building for Android------------------
QC_New1/QC_New1-Info.plist
Print: Entry, ":CFBundleVersion", Does Not Exist
Print: Entry, ":AndroidAppVersionCode", Does Not Exist
----------------Clearing old build
----------------Copying standard files
cp: /Library/Developer/Xcode/Templates/Application/QC Hybrid
Application.xctemplate/AndroidSetup: No such file or directory
mv: rename AndroidSetup to AndroidBuild: No such file or directory
----------------Copying Application files
building file list ... rsync: link_stat
"/Volumes/MAC_OS_1068/Work/work_d1/Work_30/QC_New1/exclude=*.MOV*"
failed: No such file or directory (2)
done
rsync: mkdir "/Volumes/MAC_OS_1068/Work/work_d1/Work_30/QC_New1/AndroidBuild/assets"
failed: No such file or directory (2)
rsync error: error in file IO (code 11) at
/SourceCache/rsync/rsync-40/rsync/main.c(544) [receiver=2.6.9]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at
/SourceCache/rsync/rsync-40/rsync/io.c(452) [sender=2.6.9]
----------------Building AndroidManifest.xml
/var/root/Library/Developer/Xcode/DerivedData/QC_New1-aoqqpugqyvklgwfhxvhlflvfhjea/Build/Intermediates/QC_New1.build/Debug-iphonesimulator/QC_New1.build/Script-61FC77D7154F661500E16A8B.sh:
line 84: AndroidBuild/AndroidManifest.xml: No such file or directory
----------------Building strings.xml
/var/root/Library/Developer/Xcode/DerivedData/QC_New1-aoqqpugqyvklgwfhxvhlflvfhjea/Build/Intermediates/QC_New1.build/Debug-iphonesimulator/QC_New1.build/Script-61FC77D7154F661500E16A8B.sh:
line 89: AndroidBuild/res/values/strings.xml: No such file or
directory
----------------Building Activity.java
AndroidBuild/src/NS/QC_New1.java
----------------Building ant files
-------------Updating Android Keystore------------------------
Removing old keystore
Generating 1,024 bit DSA key pair and self-signed certificate
(SHA1withDSA) with a validity of 2,000 days
for: CN=Android Debug, O=Android, C=US
[Storing AndroidBuild/debug.keystore]
-------------Compiling and assembling application------------------------
Buildfile: /Volumes/MAC_OS_1068/Work/work_d1/Work_30/QC_New1/AndroidBuild/build.xml

BUILD FAILED
/Volumes/MAC_OS_1068/Work/work_d1/Work_30/QC_New1/AndroidBuild/build.xml:1:
Source resource does not exist:
/Volumes/MAC_OS_1068/Work/work_d1/Work_30/QC_New1/AndroidBuild/local.properties

Total time: 1 second

Barney Cit

unread,
Apr 30, 2012, 11:30:57 PM4/30/12
to quickconn...@googlegroups.com
Have you downloaded version 15 of the SDK? Is your android installation in the /Developer/ androidSDK directory?

Lee

Sent from my iPad

Noli Sicad

unread,
Apr 30, 2012, 11:52:59 PM4/30/12
to quickconn...@googlegroups.com
Since a while I have a look at the Android SDK.

Sorry. I got only - Android-3 to Android-13 in plaforms.

This time, I selected 10 for Android-10 but still I got 7 errors.

Thanks.

Noli

############################
---------------Building for Android------------------
QC_new4/QC_new4-Info.plist
Print: Entry, ":CFBundleVersion", Does Not Exist
Print: Entry, ":AndroidAppVersionCode", Does Not Exist
----------------Clearing old build
----------------Copying standard files
cp: /Library/Developer/Xcode/Templates/Application/QC Hybrid
Application.xctemplate/AndroidSetup: No such file or directory
mv: rename AndroidSetup to AndroidBuild: No such file or directory
----------------Copying Application files
building file list ... rsync: link_stat
"/Volumes/MAC_OS_1068/Work/work_d1/Work_29/QC_new4/exclude=*.MOV*"
failed: No such file or directory (2)
done
rsync: mkdir "/Volumes/MAC_OS_1068/Work/work_d1/Work_29/QC_new4/AndroidBuild/assets"
failed: No such file or directory (2)
rsync error: error in file IO (code 11) at
/SourceCache/rsync/rsync-40/rsync/main.c(544) [receiver=2.6.9]
rsync: connection unexpectedly closed (8 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at
/SourceCache/rsync/rsync-40/rsync/io.c(452) [sender=2.6.9]
----------------Building AndroidManifest.xml
/var/root/Library/Developer/Xcode/DerivedData/QC_new4-efvjefbrhzqenigblvwguiywyzcw/Build/Intermediates/QC_new4.build/Debug-iphonesimulator/QC_new4.build/Script-61B625BB154F92B70078B930.sh:
line 84: AndroidBuild/AndroidManifest.xml: No such file or directory
----------------Building strings.xml
/var/root/Library/Developer/Xcode/DerivedData/QC_new4-efvjefbrhzqenigblvwguiywyzcw/Build/Intermediates/QC_new4.build/Debug-iphonesimulator/QC_new4.build/Script-61B625BB154F92B70078B930.sh:
line 89: AndroidBuild/res/values/strings.xml: No such file or
directory
----------------Building Activity.java
AndroidBuild/src/NS/QC_new4.java
----------------Building ant files
-------------Updating Android Keystore------------------------
First build. Keystore does not exist.
Generating 1,024 bit DSA key pair and self-signed certificate
(SHA1withDSA) with a validity of 2,000 days
for: CN=Android Debug, O=Android, C=US
[Storing AndroidBuild/debug.keystore]
-------------Compiling and assembling application------------------------
Buildfile: /Volumes/MAC_OS_1068/Work/work_d1/Work_29/QC_new4/AndroidBuild/build.xml

BUILD FAILED
/Volumes/MAC_OS_1068/Work/work_d1/Work_29/QC_new4/AndroidBuild/build.xml:1:
Source resource does not exist:
/Volumes/MAC_OS_1068/Work/work_d1/Work_29/QC_new4/AndroidBuild/local.properties

Total time: 1 second

Noli Sicad

unread,
May 1, 2012, 12:28:27 AM5/1/12
to quickconn...@googlegroups.com
Lee,

Forget about these errors. I got a weird setup. I run as root, not a user.

Last time, I got this problem in Android SDK and Moto Dev. I can't
make it run properly if I am root user.

Xcode and iOS sdk works fine as root user.

Now, I am running as as user (i.e. Noli), I got 3 errors. The
AndroidSDK is not found.

I just have to copy again the AndroidSDK from the root to share
directory then copy again in Developer.

Thanks.

Noli



---------------Building for Android------------------
N_QC_new1/N_QC_new1-Info.plist
Print: Entry, ":CFBundleVersion", Does Not Exist
Print: Entry, ":AndroidAppVersionCode", Does Not Exist
----------------Clearing old build
----------------Copying standard files
----------------Copying Application files
building file list ... rsync: link_stat
"/Volumes/MAC_OS_1068/Work/work_d1/Work_29/N_QC_new1/exclude=*.MOV*"
failed: No such file or directory (2)
done
./
N_QC_new1-Info.plist
N_QC_new1-Prefix.pch
QCNativeFooter.js
SetupQC.js
databaseDefinition.js
functions.js
index.html
main.css
main.js
main.m
mappings.js

sent 7721 bytes received 268 bytes 15978.00 bytes/sec
total size is 6900 speedup is 0.86
rsync error: some files could not be transferred (code 23) at
/SourceCache/rsync/rsync-40/rsync/main.c(992) [sender=2.6.9]
----------------Building AndroidManifest.xml
----------------Building strings.xml
----------------Building Activity.java
AndroidBuild/src/NS/N_QC_new1.java
----------------Building ant files
-------------Updating Android Keystore------------------------
Removing old keystore
Generating 1,024 bit DSA key pair and self-signed certificate
(SHA1withDSA) with a validity of 2,000 days
for: CN=Android Debug, O=Android, C=US
[Storing AndroidBuild/debug.keystore]
-------------Compiling and assembling application------------------------
Buildfile: /Volumes/MAC_OS_1068/Work/work_d1/Work_29/N_QC_new1/AndroidBuild/build.xml

BUILD FAILED
/Volumes/MAC_OS_1068/Work/work_d1/Work_29/N_QC_new1/AndroidBuild/build.xml:1:
Cannot find /Developer/androidSDK/tools/ant/build.xml imported from
/Volumes/MAC_OS_1068/Work/work_d1/Work_29/N_QC_new1/AndroidBuild/build.xml

Total time: 0 seconds

lee barney

unread,
May 1, 2012, 12:34:04 AM5/1/12
to quickconn...@googlegroups.com
Make sure the contents of the android SDK download end up in /Developer/androidSDK as stated in the documents or it won't work.


Lee
Reply all
Reply to author
Forward
0 new messages