I wrote an android app. It works correctly (install and run), but when I change the app bundle identifier, keystore, name of app and name of the company and after that and trying to install the "new app", my device says that the app can't be installed.
But if I delete the old app it's okay to install the new one. Why?
An android device can only have 1 installation of 1 package id.
Every Android app has a unique application ID that looks like a Java package name, such as com.example.myapp. This ID uniquely identifies your app on the device and in Google Play Store. If you want to upload a new version of your app, the application ID (and the certificate you sign it with) must be the same as the original APK—if you change the application ID, Google Play Store treats the APK as a completely different app. So once you publish your app, you should never change the application ID
So, the really problem was with Facebook SDK, which i used in my applications. If you will try to install new app with same Facebook SDK ID you will get error.
Related
How my application can get auto updates for my specific clients for testing before launch to the appstore. i want to host my app somewhere from where my installed app on some selected clients can get auto updates for testing instead of all the time install for each person mobile manually.
You can upload your apk into alpha or beta testing channel on Google Play. This way the app is not publish on Google Play and only registered tester (which you add/invite them) can get app. It also auto updates the app for testers when you push a new version into the testing channel.
I need to add news part to my android application.
For example some application shows a notification that says the new version is available or our new product has been released. Some application shows this once and some of the shows each time the Internet is available.
Is there a class for server and client side of this parts?
thank you for your help
While working with Google Playstore, you can achieve this by updating your app version in the manifest file before publishing the updated apk build. Google Playstore will show timely alerts to the user saying "App needs to be updated", redirecting them to the Google Playstore link.
android:versionName="2.0"
Also you can call one of your webservice, within the application which checks the existing app version and latest app version. If the app needs to be updated it redirects to the same Google Playstore link.
I am trying to Implement GCM for my application but emulator gives above message.
I have updated my Google API
I also include Google play service library project
I also add Google play service library
I also recreate my Emulator
Still my project wont run
this is my emulator details
when i try GCM with old GCMRegistrar library which is currently deprecated, is working with Emulator but when i Used new GCM google play services for GCM it shows above error message
Include gcm.jar andgcm-src.jar file from your sdk location\sdk\extras\google\gcm\gcm-client\dist to your project library. Also dont forget create an emulator with GOOGLE API and add your google account in your emulator(emulator created with google api) settings-> account & sync settings -> add account -> google account -> now enter a valid google id and password.
Also you must have internet connection in your system, because these message is comming from google cloud message
I'm working on connecting an android app in Java with google app engine. This is my first time doing it. I watched and did the same thing that it was done in this video:
http://www.youtube.com/watch?v=M7SxNNC429U
I have been working and I'm getting the same problem. When creating the project and running it, it runs but it shows me a message that I have to create/add an account, I already register it when creating the project. When I enter my gmail account info it shows me a message saying: "Can not connect with the server". I'm not sure what it is happening, please a ed help on it, thanks for you time and patience.
Careful C2DM is deprecated in favor of Google Cloud Messaging and the latest Google plugin doesn't have the wizard for creating a App engine connected android project
That video is awesome, but there's some useful documentation for AppEngine Connected Android apps too. Specifically in the Creating A New Project section, it explicitly states,
Important: You must sign up for a C2DM account using the same Google account that you use for the Android application you are developing and for the GPE plugin.
You can go back and edit things later so that the account you're logging into the app with is separate from the role account being used for C2DM. But for the code generated by the plugin, they have to be the same account. Also, don't forget you actually have to sign up for C2DM, as it isn't enabled in all accounts by default.
I am trying to publish an app which can be used by other applications (meaning others apps can invoke my application to do some service for them). However I see that when I sign my app using my default.keystore and other application (who want to communicate with my app) which are signed by some other default.keystore cannot communicate or invoke my app.
If both my app and other app are signed with same keystore they are able to communicate.
Can you someone please guide me how can I sign an application and let other signed app invoke it?
if you are using eclipse try this...
right click your project ,select Android Tools and select Export Signed application package
Then select *create new key store.*give all the details and do as described.