Finally, the moment you’ve been waiting for: submitting your completed app to the Android Market. The process is actually pretty straightforward: you just need to prepare a release version of the app and upload it.
You need to do a few things to get the app ready for distribution:
Remove any debugging or logging code
Version the app
Compile the app
Sign the compiled app with a private key
You should also open up the AndroidManifest.xml file in the KiloGap folder, search for “debuggable” and set it to false. When you’re done, it should look something like this:
... <application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="false"> ...
While you have the manifest file open, you
might as well check to make sure
android:label are specified as shown in the previous
listing. PhoneGap normally takes care of this for you, but I think
it’s worth double checking, because you won’t be able to upload your
app if these values are not set.
Near the top of your AndroidManifest.xml file, you should see values set for the version name and version code for your app:
... <manifest xmlns:android="http://schemas.android.com/apk/res/android" ...