How to update/make a live icon in Android app? [duplicate] - android

This question already has answers here:
Is there any way to dynamically change an app icon like Calendar app does?
(7 answers)
Closed 4 years ago.
I am new to android app development. (please be elaborate)
I want to make a live icon for my weather app which shows current temperature on the icon, just like MIUI calender app which shows date on its icon.
I browsed all over the internet but could not find a way to make a live icon. Even a link to a tutorial would be helpful.
edit:
I don't want to make a widget.
I don't want to change an icon of already published app, by update I meant the app be able to update the icon on the basis of the data it receives.
I want the icon to be dynamic instead of static.

Changing an application icon - Android
Change your application icon. For help follow the link: https://stackoverflow.com/a/10817936/3819836
Change +1 to your version code in manifest file So that users can get application updates for the version we are working for. For more help follow: Versioning Your Applications
Sign APK with an existing keystore (with which you published app to play store). For more help follow: Signing Your Applications
Upload this APK to the play store. Users will get an update for your application and after installing they'll have a changed icon as we've worked for.

In android OS can't provide us way to create a live launcher icon, for example facebook status counter, if you want to use you have to create your own logic, by default android didn't provide

I think, when you're saying 'live icon', you're actually referring to Android Widgets. Take a look at the official documentation for more info - http://developer.android.com/design/patterns/widgets.html .

Related

replace the old application with the new one without installation

my client already has an app in the play store.
he asked me to create an update for his application and it is already ready.
how to replace the old application with the new one let us know that I only have the package and the Keystore ?
can I do this without the user doing anything ?
as if sometimes I open an application and notice changes without installing a new update
If I understand your question correctly - You have an app live in the store, written in react-native, and you want to update the app with a new version, but you don't want the user to have to go to the play store and click the update button, you want to deliver an update to your app without going through the play store.
If that sounds correct then code push is the way to go, but if your current app does not have code push installed and setup, you won't be able to get THIS version to deliver that way, but future updates could.
The caveat to using code push is that you can't make any native changes to your app, you can only update your .js files and the assets that ship with the app. Any updates - such as new packages - that have native components will not be able to be pushed with code push and will require a full native app update through the store.
Code push has moved to app center. Check out the site here.
If I did not understand your question, please feel free to update your question to clarify what you are exactly trying to accomplish, and what you have tried that did not work.

Can I change my Android app icon and name in later release?

This is going to sound stupid in a way, but I want to know if it is possible to change the application logo (icon) and Android name in my subsequent releases?
Say, today I push my app in the Android market, and tomorrow I want to change the logo/icon (I know I "should" not do this), but is it possible to do so? Also, what about the application name?
Thanks
I got the same question and I asked this to android developer support, got their reply as below
You may update your icon displayed in Google Play by uploading the updated icon to the Store Listing tab of the Play Console.
However, once the app has been installed on a device, the icon will be displayed from the graphic assets of the APK as defined in the “android:icon=” manifest property. The icon that is displayed in the apps list in the Play Console is also taken from the APK.
To display a different icon, please update the icon image file in your APK. To find the location of the existing icon, you can use the manifest property or check your APK’s “res” folder.
So I got the icon updated at app store without submitting the app again (Note: I have already submitted with the icon change, so what I was looking to is how this can be reflected to App store icon). Please see screenshots attached for getting someone who is needy.
Yes, you can change the name and logo whenever you want by changing android:label and android:logo attribute of your application tag in AndroidManifest.xml file.
But, you can't change Package name once you uploaded app on play store.
You can Upload custom brand assets, screenshots, and videos to highlight what's great about your app. Provide a localized description, add notes about the latest version, and more. You can update your store listing at any time.
Upload instantly publish
From the Developer Console you can quickly upload and publish a release-ready Android application package file. The app is a draft until you publish it, at which time Google Play makes your store listing page and app available to users—your app appears in the store listings within hours, not weeks.
Once your app is published, you can update it as often as you want: Change prices, configuration, and distribution options at any time, without needing to update your app binary.
As you add features or address code issues, you can publish an updated binary at any time. The new version is available almost immediately and existing customers are notified that an update is ready for download. Users can also accept automatic updates to your app, so that your updates are delivered and installed as soon as you publish them. You can unpublish your apps app at any time.
update
put your image in drawable folder and set in manifest file...
like as
<application android:icon="#drawable/icon" android:label="#string/app_name" >
....
</application>
Note:
The 512x512 icon you upload to the developer console (when you publish the app) is the one that will be seen in Google Play. The 36x36, 48x48, 72x72, and 96x96 icons you put in your drawable resource folders are what will show up on the device homescreen/app drawer.
Yes, you can change the name by changing android:label attribute of your application tag in AndroidManifest.xml. and also you can change the application icon, but i would recommend you to add the comment in "Whats New" regarding the new Application Icon when you upload the application.But, you can NOT change Package name once you uploaded app on play store.
Also take a look at this SO Post
Yes, you can change Store listing on play store whenever you want and there is no limit for this. you can change and improve your listing in terms of Graphics and SEO improvements.
According to Google Developer Distribution Agreement you can change and Modify:
Application Name
Icon/ Screenshots
Graphics/ feature Graphic
Application Policy and agreements
Featured Video
ASO/ Keywords and description
There is no harm implementing these changes but this could take a while to implement changes depending on account health and your geographical location...
This is my application (Play Store Link...). I have released multiple versions and implemented major changes in each version.
I changed icon and graphics more than 5 times and improved ASO couple of times.
This not just improved my user experience but also increased daily installs.
Based on my experience I will recommend continuous changes for best application optimization. and I want to recommend targeting events like:
Christmas and New year, Independence Day, Halloween update, etc...
These types of updates entertain users and increase engagements and also helpful to build trust with your users.

How to add update function into phonegap app

Does phonegap allow us to update the app we created if I want to add or change something later on?
For example, I created an app and installed on my Android cellphone. Now I want to change some content of this app. Is that possible to achieve that without installing the full .apk file again?
A similar question here: How to update app with phonegap
However,the answer "update them in your project then submit a new apk to Google Play" still makes me confused -- submitting a new apk to google then my installed app would know there is a new version? and would update??
It's impossible. You cannot update the app in user cellphone unless your app force user to update the app. IBM Worklight can do force update.
One way would be to put you html files on live server and change it from there. Suppose your files are in www.example.com site. Like www.example.com/main.html You can refer to this link from your phonegap app. And you can control it as you wish without forcing any installation.
But it comes with a price. Your app user have to be connected to internet for full time.

How to get notification in your android app, if update available in android app store?

I developed an android application and I have put it in android app store by paying 25 bucks. However some people are using my application in their device. I wanna know, if I upload the updated version of my app in app store then how user finds that out?
I found out some links on the same context in android developer site and all but didn't technically clear out my understanding. Basically I want to know,
how android app update mechanism works?
How device gets notification of available updates?
Please provide some clarity as a developer point of view/ code level.
Reffered links:
Android app update mechanism http://developer.android.com/google/play-services/setup.html http://developer.android.com/tools/publishing/versioning.html#minsdkversion
Here you go.
Try this code hope thats what you want.

How can my Activity install another icon to the launcher in Android? Like Whatsapp does?

I know that an Android application can install more than 1 icon to the user's launcher simply by having a tag in the manifest, as explained here: Android App actvities installed as multiple icons
However, the above solution happens automatically. Instead, I would like to give the option to the user to install a 2nd, 3rd, or more icons for my app by letting them press a button. So, for example, if I were a Restaurants app, I could encourage the user to install a quick access icon to a particular cuisine (let's say sushi) in addition to the icon they already have for the app.
I've noticed that WhatsApp for Android does this. You can choose to install a shortcut that launches a particular conversation directly. So I have a strong feeling it's possible but haven't found any material that explains how.
Thanks in advance!
Just found the solution to this here:
How to enable automatic shortcut creation after app downloads and installs from Android Market?
Thanks for everyone who looked!

Categories

Resources