Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to get data from another application in android?

Tags:

android

I have downloaded an application from the android market. I just have to enter a number and on click of enter, that app generates a table with some contents.

I want my application to copy the contents of the table. My application invoked that application. The user has to put the data in the edit text manually and then hit enter. My application would be running in the background till then.

  1. Is this possible?
  2. How?

Another Question: Can i just take a screenshot of the 2nd application's screen and then use a image to text decoder to get the data on that screen?

like image 979
Pallavi Avatar asked Dec 12 '11 07:12

Pallavi


People also ask

Can apps collect data from other apps?

It's not just your name, email address and other obvious stuff that apps collect. It can be as wide ranging as recording your financial information, health and fitness, browsing and search history, items you purchase, your location, your list of contacts and other sensitive information.

Can Android apps communicate with each other?

Android apps are screened for viruses and other security issues before being listed in the Google Play store, but only individually. Once downloaded, apps can communicate with each other without notifying the user.


1 Answers

There are two ways:

1) Intent: If you want to share small amounts of text or numeric data between apps, you should send an Intent that contains the data.

2) Content provider: To offer a file from your app to another app is to send the receiving app the file's content URI and grant temporary access permissions to that URI. Content URIs with temporary URI access permissions are secure because they apply only to the app that receives the URI, and they expire automatically.

like image 67
Da Ha Song Avatar answered Oct 11 '22 12:10

Da Ha Song