Signing application

by Tane Nguyen » Mon, 16 Nov 2009 12:48:53 GMT

Sponsored Links
 Hi everybody,

I'm very newbie in Android and right now I want to publish my
HelloWorld application that I made with Eclipse (Just to know that I
can export it, not literally sending it to public). I followed and
made the code that was in the website: 
and tested through the emulator and everything worked but signing out
(publishing) is giving me headache. I have tryied to make Basic Setup
for Signing and I think its ok but can anyone describe more specfic
about that path how its literally written. Is it c:\Program Files
(x86)\Java\jdk1.6.0_16\ or C:\Program Files (x86)\Java\jdk1.6.0_16\bin
\; or C:\Program Files (x86)\Java\jdk1.6.0_16\bin\keytool.exe; or C:
\Program Files (x86)\Java\jdk1.6.0_16\bin\jarsigner.exe;. And which
one is more better: JAVA_HOME or PATH

And by the way, I still can exprot it through the export wizard and it
gives me .apk-package but when I put it into my android device and
installing it, it gives installation was unsuccessfully or something
like that to remind that installation didn't success. Is it something
wrong when I made new keystore or something like that.

Thank you very much and I would appriciate if you are able to help me.

Tane Nguyen


Other Threads

1. help! Odd behavior with a search activity

I have a package with two activities

1. A main activity
2. A search activity

The search activity is invoked by a search suggestion provider in two
possible ways

1. By clicking directly on a suggestion invoking the search activity
through a VIEW action
2. By clicking on the explicit search icon invoking the activity
through SEARCH action

If it is invoked through SEARCH I stay on the search activity and show
some text to the user. Now when I click the back button I go back
CORRECTLY to the home page.

ODD Behaviour:
However if I came to the search activity through the VIEW, I invoke a
browser activity and call finish() on the search activity. Now I have
the browser in my view. If I now go back I would expect to go back to
teh device home page. But from now where the "main activity" is
showing up.

I see in the logcat a message from ActivityManager indicating

moveTaskToBack: 8

I have tried various flags to invoke the browser activity
the tried flags include

new task
previous is top

and I have also tried both a singleTop and otherwise with the
SearchActivity as well.

Same end result.

Thanks for your insight on this one


2. Sharing code between activities

I have an app with two activities.

Both activities among other functions have to perform the same
calculation on data, so each activity include the same code to perform
the calculation.

Is it possible to only have the similar code in a separate activity
and be accessed by the other two activities instead of duplicating the
code twice?


3. Lost control over my device :/

4. Can i specially forbids switching orientation when rotating phone on my app?

5. connecting to a remote database tutorial/example?

6. updatePeriodMillis not working for widget on 1.6

7. disable soft keyboard from auto-completion