detecting current IU android app - android

I want create an intentservice android application which can send a string to current application which have an edittext and I don't have the code source of this current app.my question is : is that possible to send data to other application ? if yes how can I detect the edittext of the current application?

You can send the data between applications through intents only if the other application is ready to handle your data. There is a good training in Android Developers site.
Also you can use ContentProvider for interconnections, but the other app should also allow you to pass the data to it.
In any way, if you cannot modify the code of current app to handle your data, you cannot send data to this app.

Related

Is it possible to use another application(android) as a data source of any other application

We want to use an android app(not developed by us) as a data source for our app(developed by us). The user of our app will input the data, that data will be input to the app that we want to be our data source. There, data will be matched to the existing data in the app. If matched, the output will be displayed on the console of our app.
The question is, it is possible to use other android app into the app you want to build such that your user will not know that the other app is working in the background. How would that be possible?
Thanks in advance.

How to send notification to user when a record is added in the DB

I'm developing an Android application , i have to develop an activity that contains a simple communications board .
The information that i want show are contained in a database , When the user started the activity the informations are downloaded , parsed and Showed to users.
Now i would implement a function That notify to the user When a new information is inserted in the db.
Now what that i don't understand is:
I need to implement a service that runs in background and polls the database and notify to the user when a information is inserted or can i use only the GMC (now FCM) ?
If i don't want use GCM there are another solution to do this ?
I have read some thread in stack overflow and there are different solution but i don't understand what is the best solution for my problem.
Speaking at a high-level, here's what I would do.
If I didn't want to use GCM then I would write my own service to make an http request to my backend web server to check if any new information is available. If any new info is received save it to my local Android database and refresh the app. I'd use Android's AlarmManager to start this service every so often (hourly, daily, whatever frequency I want).

sending and receiving data from android app to another

I'm building an android app , I need to contact with another app called Easy taxi .
this app need to fill some data like mobile number and destination, the problem is my app help blind people so I need to send this data from my app without the need to fill it and force the Easy taxi to confirm and request the taxi.
I read this article Sending Simple Data to Other Apps
but Easy taxi don't support to share even my Location , any Ideas to start from it ?!
The application you mentioned must have a parsing mechanism to handle incoming data from other apps. This mechanism is called as URL scheme where an app listens for data coming from registered scheme and parses it to handle action. In your case, you should contact to Easy Taxi developers to find out if they have a URL scheme mechanism.
You wan't be able to communicate to other apps if they don't support this. If that app can't handle some intents or doesn't expose data via Content Providers, then there's nothing you can do.

How to edit Android Apps Content through Website ?

Is it possible to edit contents of an android app through web site? For example, contents in a page (videos, texts) & layouts (location, size, colours).
Yes it is possible using like Client and Server approach where your Android app works like Client and your Website is like Server.
You can first download a data and store that data into SQlite and whenever you open a application every time app request to Server asking for New data.
You an achieve this using Sync Date & Time. Like whenever a website update there data then change Date & Time and when your request New data will check Date & Time. If Date & Time change then your app show update data message or New data available message. In this way you can achieved.
I think its not possible directly but sounds like you are about to use wrong pattern. The right pattern is a client-server one, where android app is a client and website with REST or any other custom API is a server. Application should request data from server and display it in a way you set up. So you will edit any data on a server and your app will receive changes on request.
I am not sure what you are trying to do but with any UI field, you can code it programmatically. So for instance, you have a button and want to be able to change the text on it, you can technically do this via a website:
You will need some sort of database management system that will control the content of the app. The app will just have to call the database to get all the data/fields it needs. You will pretty much be making a content management system for your app.

Application Localization for dynamic text in android app

my android application will fetch data from web service, I want that user would b able to change his local & get data in that language. So static string xml file wnt help me and for google translate, need to pay. Which can b another way to do so?
Maintain the dynamic data as multi locale in server. Pass current language as argument to the web service and fetch relevant data.

Categories

Resources