Upgrading to 1.5

by radiolistener » Sat, 06 Jun 2009 21:56:42 GMT

Sponsored Links
 Hi All,

My phone was updated to 1.5 this week.  I have been waiting to update
my development environment, until the phone was upgraded.

The ide started out smoothly, I even updated my new Colorthon program
library and posted the compiled version on the marketplace.

Next I decided to upgrade Radio's Exercise Buddy.  Got a signature
error.  I worked around it by giving it a new namespace, but this is
far from ideal, because now my users will have to use a migration
tool, to bring their data over.  Is there a better way to do this?
Also, If I change the namespace, can I still have my paid users get a
free upgrade?

Any insights would be appreciated.  Also, I know that many developer's
have upgraded earlier, but I wanted to wait until I had the updated
phone.  If this is a common problem, please refer me to the thread to

John aka Radiolistener
RadiolistenersElectricEasel.com, Inc.


Upgrading to 1.5

by Marco Nelissen » Sat, 06 Jun 2009 23:13:04 GMT

 On Sat, Jun 6, 2009 at 6:56 AM, radiolistener

A signature error normally means that you signed your update with a
different key than the previous version. It doesn't have anything to do with
your phone being updated to 1.5. You should sign your updates with the same


Sponsored Links

Upgrading to 1.5

by radiolistener » Sun, 07 Jun 2009 03:20:01 GMT

 This is the exact error:

[2009-06-06 15:13:29 - REBC] Automatic Target Mode: using device
[2009-06-06 15:13:29 - REBC] Uploading REBC.apk onto device
[2009-06-06 15:13:30 - REBC] Installing REBC.apk...
[2009-06-06 15:13:31 - REBC] Application already exists. Attempting to
re-install instead...
[2009-06-06 15:13:33 - REBC] Re-installation failed due to different
application signatures.
[2009-06-06 15:13:33 - REBC] You must perform a full uninstall of the
application. WARNING: This will remove the application data!
[2009-06-06 15:13:33 - REBC] Please execute 'adb uninstall
REBC.exercise' in a shell.
[2009-06-06 15:13:33 - REBC] Launch canceled!

And it's more than the phone I updated to 1.5, this morning I updated
my development environment.


Upgrading to 1.5

by Marco Nelissen » Sun, 07 Jun 2009 04:45:33 GMT

 The error message confirms what I said earlier: you signed your application
with a different key, and this is why updating the app fails.

On Sat, Jun 6, 2009 at 12:19 PM, radiolistener


Upgrading to 1.5

by radiolistener » Sun, 07 Jun 2009 06:24:18 GMT

 Maybe I'm just not getting it, but I haven't signed this one yet.  For
Colorthon I used the automatic signing option and uses the export
signed option, to utilize the automatic signing and everything worked

For REE, I am just running it in the ide, any signing is just the
default debug, is it somehow using the key from Colorthon?  I doubt
it, because it didn't ask for a password or anything.  Can the default
debug key be changed? And if so, how do I change it back?



Upgrading to 1.5

by radiolistener » Sun, 07 Jun 2009 07:47:37 GMT

  found my default debug keystore   C:\Users\'TheUser'\.android
\debug.keystore It is brand new as of today. I also found where the
last debug.key was located c:\users\'TheUser'\local\android. Did a
little switcheroo. Then adjusted the manifest, and voila, lift-off.

Many Thanks for your help, you had the answer all along, I just didn't
understand it at First. I'll be putting in today's exercises into the
program, if all works well, I'll try and release the Android 1.5
version tonight.

Would have thought this was a problem others have encountered. They
changed the placement of this file in Vista. It's probably mentioned

Thanks Again,

John aka Radiolistener

On Jun 6, 6:24pm, radiolistener <radioliste...@optonline.net> wrote:

Other Threads

1. SharedPreferences with Context between two Activities

Hi, I seem to be struggling with the concept of Context in Android
when dealing with the application preferences.

I have an application with a few different classes. I need to be able
to get the value of one of the preferences from a class that is not my
main class, but I can't seem to get it working at all.

I get a NullPointerException with the following (as well as about a
hundred other variations):

    final SharedPreferences prefs =
    final boolean increasing = prefs.getBoolean("preference_name",

Am I doing something completely stupid? Is there some useful reading I
can do on Context to see what I'm doing wrong? Is there an example app
that anyone can think of that might be helpful? I've searched Google
and Google Code a few times and I keep finding different things that
are related, but not the same.

I'm about ready to tear my hair out and cry myself to sleep at this
point. :(

I really appreciate any pointers.



2. number of lines in a webview Urgent

Hi all,

         I'm using webview which loads a html file. When the html file
is too large the user has to scroll down all the time. I want to
implement it similar to a e-book reader ie.. as pages, by placing a
button so that when clicked it shows the next page. But i am unable to
remove the scroll bar of the webview.  When i reduce the width, the
webview width decreases but the scroll bar still remains. How can i
disable the scrollbar. Can i control the number of lines to be
displayed in a webview.

Please help its very urgent

Thanks in advance.


3. Bluetooth application

4. Internal links in Webview

5. Android phones still require data plan?

6. video playing in appwidget.

7. What should be the image resolution for Nexus One or Droid?