Page 1 of 2
Signing app just to test .apk install on my devices? -SOLVED
Posted: Mon Jun 27, 2011 10:07 pm
by BarrySumpter
-
Re: Signing app just to test on my device?
Posted: Tue Jun 28, 2011 12:20 am
by BarrySumpter
-
Re: Signing app just to test on my device?
Posted: Tue Jun 28, 2011 12:41 am
by BarrySumpter
-
Re: Signing app just to test on my device?
Posted: Tue Jun 28, 2011 12:50 am
by BarrySumpter
-
Re: Signing app just to test on my device?
Posted: Tue Jun 28, 2011 12:58 am
by SparkOut
To test on a device you don't have to sign the app. Just have it plugged in and visible as the test target when you hit the test button. That will package the app on the device which will remain on the device after unplugging.
If you save an apk for distribution other than by running the "Test" from the Livecode IDE, then it will need to be signed for distributing via the Android Market. I believe there are other methods of installing an apk than via the Android Market, I sincerely do not believe that we are forced to distribute all apks that way, especially not for testing. I will try and dig up some links to posts about those methods sometime.
If you get to the stage where you are providing a beta apk to third parties for testing, then the chances are you would want the code to be signed anyway but you may (not tried) find it possible to install if you choose in the settings the option under the Applications menu for "Unknown Sources" (allow installation of non-Market applications).
EDIT: cross-posted with your two messages immediately above this. And I just tried again with an app built with LC 4.6.2, using the "test" button from the IDE creates an install on my device that I can use after being unplugged.
Re: Signing app just to test on my device?
Posted: Tue Jun 28, 2011 1:15 am
by BarrySumpter
-
Re: Signing app just to test on my devices?
Posted: Tue Jun 28, 2011 1:27 am
by BarrySumpter
-
Re: Signing app just to test on my devices?
Posted: Tue Jun 28, 2011 1:40 am
by BarrySumpter
-
Re: Signing app just to test on my devices?
Posted: Tue Jun 28, 2011 1:47 am
by BarrySumpter
-
Re: Signing app just to test .apk install on my devices?
Posted: Tue Jun 28, 2011 4:59 pm
by jacque
Probably some confusion here. All Android apps need to be signed or they won't run. In version 4.6.1 the standalone builder automatically signed your app, behind your back, with the default debugging certificate. That caused some problems, so as of version 4.6.2 you need to do the signing yourself. This doesn't mean you have to go through the Market or anything like that, it just means that you'll provide a self-signed certificate on your computer that the app can use when it is built. It will install and run exactly as it did before, no Market involved at all.
For now, you need to go through all the command-line business to generate a certificate. The comment in the docs means that they plan to automate this for you in a future release.
When I get some time I'll give it a try. I've already generated a certificate (it really wasn't that hard) but I've been too busy to try a build.
Re: Signing app just to test .apk install on my devices?
Posted: Tue Jun 28, 2011 10:00 pm
by BarrySumpter
-
Re: Signing app just to test .apk install on my devices?
Posted: Tue Jun 28, 2011 11:07 pm
by BarrySumpter
-
Re: Signing app just to test .apk install on my devices? -SOLVED
Posted: Tue Jun 28, 2011 11:34 pm
by BarrySumpter
-
Re: Signing app just to test .apk install on my devices? -SOLVED
Posted: Tue Jun 28, 2011 11:37 pm
by BarrySumpter
-
Re: Signing app just to test .apk install on my devices? -SOLVED
Posted: Tue Jun 28, 2011 11:50 pm
by jacque
I've seen the "not installed " thing on Market apps too. It seems to happen often on Android for some reason. The fix for me has also been to uninstall previous copies.