I am a product manager and I want to understand if it is possible to create an application (the question is relevant for both OS) with the following behavior:
When the app launches for the first time, it will call the server and download all the GUI texts.
As part of the response, it will also receive a GUID.
on every next launch it will call the server, and get the GUID. if the GUID is new (doesn't match the current stored GUID) - there was a change in the GUI texts - and it will replace all the GUI texts with the new ones
Is it possible in android and iOS - and what are the limitations?
Related
Totally new to Azure and the services it offers, I face many questions about the "Speech" service and the bots that can be created on the Microsoft platform. Currently developing an Android mobile application I'd like to realize the following behavior:
The user records a voice file from the app (using MediaRecorder), this part is ok
Once the recording is finished, this file is sent to Azure function(via an HTTP POST).
The file is translated into Text
The text is sent (step 7) to the bot which reacts accordingly by executing an HTTP request.
Scheme of the process I explained
First of all I wanted to know if this scenario is possible or if I have to use the Speech SDK on my Android application.
Moreover if this scenario is possible, how do I send the text to the chatbot? I've checked this link but it doesn't seem very relevant to me.
NB: My bot has been completely created using "Bot Framework Composer" for the moment, no code has been written, I just wanted to know if my scenario is plausible and above all possible.
Go through your steps, and I think it can be implemented. If you want to send text to bot, you can refer to this request.
Before that, you may need to start a conversation and get the conversationId.
assume I have an Android app written in Xamarin. Is there a way for me (i.e. the developer who publish that app on the Play Store) to interact with the users of my app by sending some information that is automatically stored in a local DB?
In particular, I want to send the users a new code that will change the behaviour of the app based on some previously coded logic.
For example, assume the app when loaded reads a table on a SQLite DB and looks at the most recent record. Say that when the app is installed and launched the first time, the first record has a value equal to 1.
The app reads that table every time the app is launched and based on the most recent record some behaviour of the app changes.
For example, at start (i.e. when the most recent record is equal to 1) the background color of my main activity is white. Then I send a new code to the users and say that the new record added to that DB table is 2.
The app now reads that record and changes the background color to green (because, when designed, the app has some switch case that changes the background color based on a given value, i.e 1=white, 2=green, etc.).
Is there a way to achieve this?
Yes you can.
First, when starting the application, you send a request to the server to synchronize your local database, so you will get always the latest values.
After that, you can load the views according to the information that you have, and apply your logic.
We have a Windows Mobile application which is being migrated to Android. It has a large-ish number of forms (around 150). Given the complexity of the rewrite ahead of us, I am looking for as many shortcuts as I can find :)
One of the options we are considering is as follows:
Move all the .NET code from the WM application to a server component.
Build or buy a component which runs on the Android device, but is a "mildly intelligent" interpreter.
Code which would in the past have acted on the form directly, would now act on an intermediate object.
This object would be passed back to the App which would render the output.
The user sees the screen, scans or keys in data and a new request is made back to the server.
I'm thinking of something similar to a terminal emulator - except I want to be able to do something a bit more "intelligent". For example, screen types to:
show some data in TextView objects
display data in a table (something like a gridview) and allow selection of a row
enter some text
enter a date
select from a drop-down list
Once the user completes the screen, the information entered is then sent back to the server for validation. The server will construct a new screen object and sent it back to the device.
Would anyone be able to point me in the direction of a pre-built component we could purchase? Is this possible?
Regards
Tim Muir
I am new to android programming. I am designing an android app for my college. I have made a webview that loads up a webpage named events.html. how can i make it such that whenever new events are added to the webpage, a notification in the system bar of the app will appear about that events if the user is connected to the internet. Please help me. Many thanks in advance.
Store the HTML file in your app's database/shared preference/file (in Java object form will be more useful for later comparison).
Periodically check for a new file (at some interval), temporarily storing the result. This will likely be in an Android Service
Compare the temporary file to the one you had stored previously.
If the two files are different, then use NotificationManager to create a new notification
Without all of this, it looks like you would need to have a server with push notifications (or Google Cloud Messaging) available that pushes notifications to your college's app users whenever that is a new event. This is an expensive (more demanding option compared to above).
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.