i am creating an APP in Android in which i send my details like phone #,email ,Facebook Address to other person via bluetooth in a text File.I want that whenever the 2nd person receive my text file ,It should prompt the other User that Whether he want to save my details as a Contact.My question is ,is there any built in function that can serve the purpose,as in QR-Reader after reading it asks for saving.
Anyone who can help me with this
Thanks
You should send the info inside the Text file and then use Android Contact Provide to save it in your contacts.You can use the Gesture interface to detect the tap and use Dialog box for YES/No (User Permission).
Related
I am using android studio. I made an application that allows the user to input data in different activities. The goal of the app is that what the user inputs will somehow be retrieved back to me by text message. I was wondering if there was a way to store the information input on the textfields (perhaps using a variable) and then send the variables to my phone as a text message for me to be able to see what was input on them. I’m not sure if this has been done before but I really need help with it. Thanks.
I think, this can be achieved by using the backend services. Whatever user inputs will be stored on database or somewhere using the backend services and retrieve that data using the sms service from backend system to the specific number or phone.
I'm developing an Android application that allows users to make app to phone calls and it is working pretty fine at the moment but, I want to show a custom name when the remote user receive the call. Now, the phone receiving the call is showing an unknown caller name.
My question is if there is a way to achieve this or it's impossible to show what i want.
There is a couple of ways do do this:
User callUserWithHeaders and add a friedly name as a header
Look up the username in your backend when you recieve the call and display the friendly name
I'm developing an app and one thing I would like to do it allow users to send/share data from the app with others vi MMS or by email. I have been searching but haven't found anywhere to get started on solving the problem.
Basically, I am going to programatically draw the data from an SQLite DB and put it into a delimited file (similar to a .csv) then I want to allow the user to 'export' or send it via MMS or Email. Does anyone have any tips on how I can get my program to open the messaging application and add the attachment at the users direction? Really just need some beginning info so I have a place to start.
Here is what you are looking for. This should be a good start
launch sms application with an intent
I have an application on first user's phone which sends a sms to second user.I am abled to send the sms to second user but I want to have a button which can show me the received sms.
Right now I'm having a code from a tutorial http://mobiforge.com/developing/story/sms-messaging-android but it shows the sms immediately after it is received on second user.I want that it is shown only when some particular button like "View sms" is clicked.How can I do it? Any ideas please.
Here is the link of code:
http://pastebin.com/Hu317WNd
You will have to store the message in memory/db/file somewhere and then when the user hits the button you open the file/sql whatever and display the 1st message on the stack.
Listen for button click, get latest message, display.
Can you give some tutorial links for this or some piece of code it'll
be easy then. And one more thing,when that message is retrieved from
file can we have a reply option so that user can reply back to it? If
yes, please explain how? Or tell me how can I change the above
requirement to this one?
I can post some links and you can put them together
Button Click listener Right at the top
Reading and writing to a file This probably isn't the best way, but you could have a comma delimited file that stores the messages that are waiting to get replied to.
The best way would be a database, but since it seems your a beginner start with a file or maybe even shared preferences.
When you read the message in from the file or the db you should have the telephone # data and you can have a reply button present when you display the message.
Going with the tutorial you send, just store the message when it is received in the broadcast listener.
Hello I am new to Android .I have been given an Android project to do. As a part of my project I need to do the following :
1)Create an Android application that takes 3 inputs from user via EditText namely id,address and contact no, and has a submit button at the end to send that data
2)After clicking the submit button , a web service that we will create using Netbeans should get invoked and display it's contents on the phone to the user
The web service will basically contain some predefined data entries that I want to display it to the user with a checkbox
say eg. xyz
yax
where 'xyz' and 'yax' are contents of my web service. The user selects any checkbox say 'xyz' , clicks another submit button below and the entire data namely id , address ,contact no , and now 'xyz' goes into a mysql database.
3) After reading this I am now aware of how to create a web service but the problem I have is how to invoke that web service from an android phone ???
Can someone please help me ?
You can directly use web-service from URL.