I would like to implement the status function of my application similar to gtalk but i am not able to understand what widget or design i should take (I am beginner in android)
The gtalk status seems like a spinner.
I am not able to understand:-
How to put image and the text in status(Images of busy/available etc are different so different item have different images).
How to add customer messages in spinner.We can add as many as status messages in gtalk app at runtime.
What kind of bar of widget is present on home screen which has image(Your image),email id and the status(below example available) ?
Gtalk image
Using custom list view is clearly explained in this link.This will be helpful for you.
Related
Basically i'm working on android apps using hybrid cross platform frame work (angular- cordova) , I want to update the user screens without their knowledge or without updating app, like for example if we change and supply the screens in the back-end, apps screens should get updated.
Currently we have app update mechanism which we want to replace .
For reference example like Facebook screens get changed with out app update or user knowledge .
same way we want to do , any one please give some solution .
Or if their are better way please suggest me.
Many thanks to all.
I am not using but I heard about Silent Push Notification, google it about Silent push notification for your framework.
User don't have any knowledge about getting any notification and you can do your work like layout changing
Example
https://www.google.co.in/search?q=silent+push+notification+cordova
First you need to get UI from server.in server you need boolean variable like changes true or false if change true then you get UI from server and create a view dynamically.Like you get button from server,server side define button colour style and all property then get response from server in conditional statement like you check a response name is button then you create a button dynamically with setTag attribute.and you need to store response from database.You use any database like realm,sqlite and check every response all time like changed=true or false if true then you create dynamical UI and remove old database and add new server response to database
I am creating a messaging app like WhatsApp in Android. What is the name of the control that is used to display the messages? For example, if I open my chat history in WhatsApp, it'll display all my chat history with a particular user. Is it just a ListView or something else?
It's called RecyclerView, I would suggest to take a look on this useful lib:
https://github.com/madhur/android-chat-starter
I'm attempting to write an app that clears certain notifications based on Lollipops new profile features. I've read this: Android: remove notification from notification bar
But it doesn't give me the information I need. What I want to know is: theoretically, how would I get another apps notification ID from within mine? So if I wanted to get the ID for G+, how would I code that? Do I even have access without elevated permissions (device admin or root)?
Thanks.
Ive done something very similar with one of my apps.
https://play.google.com/store/apps/details?id=com.t3hh4xx0r.privatenotifications
You need access to the NotificationListener
https://developer.android.com/reference/android/service/notification/NotificationListenerService.html
I would add custom action into system contact detail of Android like Viber (see attached screenshot) and other messaging apps do.
When user clicks on such custom action, my app will handle. Any help?
I doubt it is as easy as it sounds. From what I see you need to create a new Account on the device to achieve something like this.
Hi i was wondering if it was possible to create a Sidebar for an activity that would allow a user to select a few options such as extra information that can be associated with an object. before sending it off to a server through an API I have looked at trying to use Googles own Nav bar as well as a few Third party libraries that dont seem to want to work for me.
Encase you dont understand what im trying to achieve ill give an example:
Say i have an activity that allows the user to create a log for a specific group within the app now the user may press submit and it will be sent off to the server to be stored in a Database but the user can also associate other aspects to this log such as a book id or an activity ID.
So the user should able to pull a side bar from the side and select any extra information they need (probably from spinners or extendable listview) and then go back to the main activity and submit the log.
Is there anyway of creating anything like what im asking with out having to dig into third party libraries?
You can define arbitrary layout for your NavDrawer (I will use the name of android component here). There is no enforcement to navigation here. So, put in NavDrawer's layout a bunch of controls that you need and define their onClick, onSelected, etc. methods to handle corresponding properties changing. On submitting just get checked/selected/entered info from controls in NavDrawer, augment your data with it and send to server.