Always facing the problem which is depicted in the below image
Gmail icon and my app icon is there. But the page icon is my app's icon. When opening my app by clicking an url(app related) from Gmail and then minimize my app shows like this. Anyone know the reason?
This is caused by the use of up navigation. However, it is suggested that you do use up navigation. Many people will argue that it isn't intuitive, but that's just the way Android handles this.
Related
At Instagrams anniversary the users were possible to change the app icon. Even though this feature isn't available anymore Todoist has a similar working implementation of this feature.
I researched how to achieve this and got the second answer running: change application icon.
But this solution seems to come with drawbacks which I don't want. Some of these are listed here under the notes: blog change app icon.
Furthermore, by using this solution my App gets killed every time I choose another icon with the activity-alias and I wasn't able to keep the app alive.
The behaviour of the Todoist App: First you have to activate the "change app icon dynamically"-feature which closes the app. Then after starting the app again the feature is available and you can change the app icon as you want.
As far as I know Instagrams implementation didn't even need this little restart, but I would be okay with that because this solution would be better than the one existing right now.
So how does the Todoist or Instagram approach work and how would an implementation look like?
I am working on an Android app and want to display a menu with some data about the app on a similar menu when you do a long click on the app logo in the main menu of the phone, like the one the YouTube app has, or other Android apps when pressed down.
I am working on Android Studio, and I've searched different sites for info on how to get to the menu, by default the android apps show a menu when long clicked, in which you can choose whether you want to delete the app or something else. I want to know how to access that menu.
At least I want to know the name of the menu so I can do more research, but if anyone knows how to interact with it, it would be great.
This blog explains it nicely
https://medium.com/#andreworobator/implementing-android-app-shortcuts-74feb524959b
Also FYI, With Q Android is doing some changes in shortcuts api. Do check that as well.
they're called Android App Shortcuts, this could help you answer your question How to create shortcut within app in Android?
Good luck! :)
How do I hide an android app from the app drawer
I have read some similar questions and suggests using the Android PackageManager.
I was able to successfully hide them but according to a reply in this link,
link
It says:
Keep in mind that this also disables the app, so it will not respond to any more intents etc.
I think he is right, I am having problems while opening my app from an intent.
Is it possible retain the same app functionalities even if I remove the launcher icon.
Recently we ported successfully an Android application on BlackBerry 10.
Everything worked fine, except the thing that when clicking the "Info" button from the action bar that appears at the bottom of the screen - the application crashes.
I suppose that button should display an About, or Help page. We do have in our application a such page (as an ActionItem in the ActionBar).
Does anyone know if there is a way we can fix this, so that when clicking the "Info" button to display our About page? Or at least to do something to prevent the app from crashing, for example hide that button.
Thank you.
I posted this question on BB developer forums, and got a pretty good answer:
This is actually a known issue in the current Android Runtime on the
BlackBerry 10 simulator release. It has nothing to do with your
application, as this action bar is part of the Android Runtime and not
your application. Normally when you section the "Info" button you
would see a screen showing you have to use the back swipe gesture used
in Android Runtime applications. If you wanted your own About button, you would have to create your own menu.
I am very impressed with the stock Android 3.* Gmail app and I would like to find out how it's done.
The specifics of what I want to learn from the GMAIL app are:
How the list fragment of the various inbox/folders are styled
How the interaction beween the inbox/folder and the email list
How the tapping on the email item will hide the inbox/folders and display the email content, and the animation involved
How the action bars, context menu and other menus get displayed, controller and event handled.
Do you know any app -- which source is open for ppl to learn -- that come close to the Gmail app?
Afaik there is no Honeycomb source and the gmail app is closed source which is just pre installed on all official android devices.
There is no way to get the source code or the layouts of the Gmail Application.
My tip: search for an open source application that has similar features/behaviors and check the code there.