1. Fabiotek's Avatar
    Hello Android Central Community!

    Season greetings!

    I am starting doing my first steps in the Android Apps development and I hope to get some guidance from some experts.

    I created a simple android App that is merely streaming one shoutcast radio station. I works fine.

    The big issues started in the moment I wanted to create the second Radio App to play a second different radio station. The second App is somehow identical to the first, with only change being that it points to a different shoutcast http link...and it has also some different icons/logo.

    In my understanding I changed the name of the App to; but as said I am a novice and perhaps I missed out something.

    At the beginning I was not understanding also how to duplicate the Radio App and be allowed to save it. Perhaps issues starter there? Anyway I made copy and paste of the job and started changing stream link, radio station name, logo, etc.

    == The issue===
    After having completed the Second "Radio App" with its own info, my Sony smartphone asks me if I want to Update the First Radio App instead of letting me install the second.

    So, obviously even if I changed the name of the App in many lines, there must be something that makes my phone see the second App as a duplicate and a potential update to the first radio app.

    What am I doing wrong?

    I was reading that the issue can be originate by the manifest that hasn't been edited properly and other stuff, but honestly I am unable to proceed correctly... when I tried to change the "package" name in the AndroidManifest.xml lot of lines lost the link paths. Disaster...

    I hope I was somehow able to explain the issue I am facing, and hope even more to get some precious help!

    Thank you very much for helping me out!


    12-26-2014 06:57 AM
  2. fabio_b's Avatar

    I finally found the solution by myself.

    In Eclipse (latest current version), right click on the project from "Package Explorer" (left side of the panel), from the opening menu' select "Android Tools" and select "Rename Application Package". You will be asked for the new package name. You can't change the "structure" of it.

    Eclipse will warn/inform you about the change that is going to apply.

    Eclipse will change the name of the package everywhere is needed, accordingly. Doing the same manually, most likely you will face ugly results and spend more time.

    belodion and Rukbat like this.
    12-27-2014 12:18 PM
  3. Rukbat's Avatar
    Thank you. That's one of the reasons I'm not writing Android apps yet (if ever) - I know Java but I don't know Android. I just learned something that could have taken me hours to find. So it's not the app name that decides, it's the app package name. I guess that's the com.developer.myapp name we see in the apk file (I'm still not at the point that I know that, it's just a guess). Forty years of writing software, and I still need a month or two of heavy study to learn what you know.
    12-27-2014 01:42 PM

Similar Threads

  1. Replies: 8
    Last Post: 12-16-2015, 08:12 AM
  2. How do I disable the Mobile Networks on Android Lollipop?
    By George Dybowski in forum Android 5.0 Lollipop
    Replies: 5
    Last Post: 10-05-2015, 06:41 AM
  3. Replies: 24
    Last Post: 01-12-2015, 01:07 AM
  4. time to recharge the battery
    By eria61 in forum Huawei Ascend Mate 7
    Replies: 1
    Last Post: 01-07-2015, 07:08 PM
  5. What size SIM card does the Indigi 7 inch phablet take?
    By jaydiarae in forum Ask a Question
    Replies: 1
    Last Post: 12-26-2014, 08:46 AM