Extracting data from an android phone - java

I'm currently trying to create a program or app which extracts information from a phone, such as SMS & Contacts.
I've tried to find information on the net but i am unable to find any relevant help.
I am not looking to be spoonfed, just to be pointed in the right direction, where should i start looking? and would a
program or app be more efficient ?
Thanks in advance !

Start from official android docs. You can access that data with Content Providers.

Related

Is there a way to process intents while the app stays in background?

I have been trying to find a way to process intents from a link like example://foo=bar in background for hours. For example the app would append a file with the urls content or send a print command to a mobile printer regarding it. Is it even possible to start an activity without opening the app?
Any help regarding this like code examples, functions or documentations would be appreciated. Thanks

Android Studio , BT socket null point error ,

Click here to download codes for the app working
I am using the color picker app which works individually very well , i updated it with bt connectivity to HC_05 device and still working good, later i tried to create the new_activity and tried to send data to HC--05 do not work ,
after reading several hours to google and stackoverflow , i could not manage to do much
Really appreciate if someone can help to put the codes together , i will owe one cheers and many thanks
code is attached
Vinay. I'm working on a similar android- arduino project - smart LED controller. There is very good example from Google on how to use Bluetooth connectivity - https://github.com/googlesamples/android-BluetoothChat . I've been following this example to get things going. There is my project - https://github.com/AlexShutov/LEDLights . Feel free to use code from there. Notice, that you have to connect to HC-05 from you phone (not accept connection from HC-05).

Creating an app that will display what apps you currently have installed

My question is pretty simple. I have created several apps that tell me what sensors I have and also to display the data, Accelerometer, GPS, etc... One thing I am trying to do is to create an app that will display what apps my phone currently has on it. I looked around online but have not come up with any way to do this. Is this a permission issue? anyway to do this? Thanks for your help.
I implemented a sample application a while ago that displays a list of currently installed applications. It uses getInstalledApplications() as Commonsware suggests. You can find a link to the application's source code in this blog post.
anyway to do this?
Use PackageManager, and methods like getInstalledApplications().

How to Integrate Waze Traffic Data into Website?

Could anyone show me a way on how to integrate the traffic info app Waze into the website?
I have looked up the previous post but somehow there is no answer to it.
Waze is an application, which offers an actual traffic information. There is also a livemap Waze livemap - where are marks as you can see.
So, I found some site - egaraz and I'm really curious how did they get the data from Waze.
Programming is not my main field but a could still understand some basic php coding.
Could someone suggest me a working solution?
Thanks
a while ago i wrote this project:
https://github.com/Nimrod007/waze-api
you can run this api and get:
get address list from free text
get routes by address (text)
get routes by coordinates
get traffic notification
get navigation instructions
link to full docs:
http://htmlpreview.github.io/?https://github.com/Nimrod007/waze-api/blob/master/docs.html
After googling I found that WAZE has an API for developers which you can use. They have given sample code only for android and ios. I am not sure about php. Check this link from waze developer - http://www.waze.com/dev/documentation/

Get example program or tutorial for backup everything in android?

Where to get example program or tutorial for backup everything in android phone to database as files? any help is appreciated and Thanks in advance...
Unless the phone is rooted, you cannot access to other apps data.
For more info looks here :
http://developer.android.com/guide/topics/providers/content-providers.html
http://developer.android.com/guide/topics/data/data-storage.html
http://developer.android.com/guide/topics/security/security.html

Categories

Resources