Application Localization for dynamic text in android app - android

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.

Related

How to Send a text message from the data input on the text view fields?

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.

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.

detecting current IU android app

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.

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.

how to change the data in to different language which is coming from server?

I want to provide option to the user for select or choose language, actually data stored on server is in English language .
when user choose any other language ,the whole application or app data will be change in to that selected language.
I have already visited so many links for do this task .they provide solution to make individual string for all type of data and put it in to values folder .
the main thing is that I want to display data in to different language which is coming throw parsing from the server!
so any one has idea or logic about how to convert that data run time programmatically in android ,then plz comment it...
any suggestion will be acceptable !! thanx in advance...
I'd say your best bet will be to look for a translation API you can call when requesting data.
Feed the response data to the Translation API by Google or the Microsoft equivalent Bing Translator. For both you will need a unique API key.
Simple, you have to just store all languages data into backend server with some language id. Based on this language id you can dynamically display different language data in your app.

Categories

Resources