Android: How to add custom field/action to contact detail - android

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.

Related

List showing messages

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

Send image to another application

I want to know if that is a way in the moment i take a picture, send it in background to other app, like a vault, keepsafe or appprotector?
Without the user has to go to gallery and click in share with others apps above . I would like that was automatic, without use "app chooser".
You would need to ask the authors of your proposed "vault, keepsafe or approtector" if they support some custom API for this. There are no conventions in Android for sending content to another app in the background. In the foreground, you are welcome to use ACTION_SEND, or ShareActionProvider, etc.

Create link for android app items that users can click to view it in the app

I have created my first app which has sharing functionality (social media and email) for my items.
I want to extend sharing to include a link of my item in the app. Meaning: when I share an item on facebook (etc.) it will be accompanied by a link. When the user clicks that he will be taken to see the item inside my android app.
I don't know if this is possible at all. Is there a way I could generate a link for that will take the user to a specific activity displaying an item?
Any pointers and suggestions on how to approach this are welcome.
Thanks in advance,
Jonida
What you are looking for is called deep-links. You can implement them easily:
https://developer.android.com/training/app-indexing/deep-linking.html
If you are looking forward to implement them only for Facebook, you can use their service for that:
https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads-engagement

Non navigational options SideBar

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.

Android Implementation like gtalk status

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.

Categories

Resources