How to replace phonenumber by name for incoming calls in xamarin? - c#

I've saved contacts on a server in an uncommom format. These contacts are regularly evaluated and changed. Using a xamarin app on my android device I want to synchrously connect a phonenumber to a name.
Using a BroadcastReceiver that captures all incoming call I'm able to display a toast and a notification showing the name related to the number.
Because the toast disappear fast and the notification isn't easy available during ringing I search for another way to display the name connected to a number. The best way would be to replace the displayed number on the dialer.

Related

How do I get the name of the network that the phone is connected to?

I want to get the name of the wifi network that my windows phone is connected to. I think it has something to do with Microsoft.Phone.Net.NetworkInformation but I can't figure out how to do it.
DeviceNetworkInformation.CellularMobileOperator
Source: https://msdn.microsoft.com/en-us/library/windows/apps/hh202875(v=vs.105).aspx
Next time, do a google search (literally on the first page of results).

InputText from dialogue?

I have to make a phone application on 3 smartphones: Android, IOS and WinPhone.
This app must open the door of my school via a simple sms. But, for send this message, this app need the phone number of the school, so I have to add an option "Edit Number".
In android and in IOS, I can edit this number (String) via an inputText like an AlertDialogue in android.
I'm searching since two days and I found MessageBox and MessageDialogue but that don't perform like Android'AlertDialogue...
I just would like get string via a simple prompt in alert
Can help me please?

Windows Phone 7 C# Device and User Info

Recently I was thinking of a way to confirm the user info inside an app.
Is the typed email, the windows phone live-id of the device?
Is the typed number, the windows phone card-number of the device?
All I know until now is that I can get some info from windows phone SDK.
For DeviceId (hash) I use DeviceEctendedProperties, based on device serial i suppose
For UserId (hash) I use UserExtendedProperties, based on user live id i suppose
And with that we can identify a user and a device.
To get the right info from user like email and phone number you must ask him.
So the question: Is there any way to validate the user entry?
For example:
App -> Form - > form_info(email, phone) -> Validate(form_info) -> Success OR Unsuccess
For Validate() i was thinking of something like:
form_info -> function_hasher() -> form_info_hash -> IF form_info_hash MATCHES with UserId (hash) and UserPhone (hash)
If there is a UserPhone hash to match the number of card!
I'm pretty sure there's no way to get this data or even verify that it's right, short of asking the user to email/SMS a particular address/phone number. If you want to go that route you can use a SmsComposeTask or an EmailComposeTask.

Get tile notifications count Windows phone

Is there a way to get the current count of Tile notifications on Windows Phone and update it locally. I need to update the tile count locally if I have read a notification via push notification / toast without hitting the push service from the server end.
Say for eg. I have the tile count 6. As soon as I receive a push notification and I click on it, I want the tile count to be reduced by 1. How do I achieve this?
Unfortunately you cannot read out information from a ShellTile. You can only update them.
What you could do is saving the information of the counter or anything else on your server that pushes. It can preperate the notification as you wish. I guess this is not the way you want to deal with it but it is the only way.

How to Push only the updated cells using RDA

In my inventory mobile application , i use RDA.
using the mobile device ,i update only the Barcode of a particular Item which is in the Item Master(.sdf file). then I push the tables to the SQL Server.
there is a web application handles all the other functionality , including Item Master Changes.
for and eg.
(1) I pull the Item master to the Mobile Device.
(2)change the Item Name from the Web application.(NOT FROM DEVICE)
(3)Update Bar code from the Device
(4)push table from mobile Device to SQL Server.
In this situation Old Item Name is replaced.
My need is only to update the Barcode.
Please help me.
Maybe you can use SubmitSQL instead?

Categories

Resources