Android development: two app shells, one calls the other
Closed - This job posting has been filled and work has been completed.
Hello, I need two simple Android projects.
I need to join two of my apps together so one will call the other. There needs to e arguments passed in both directions. I call one app the "parent" and the second the "child". The parent will call the child with some input data, the child will run and return back with a single integer for the parent to continue running.
The data passed parent to child is a dictionary of integers as keys and text strings as values. The text strings can be up to 2048 characters but only the first few will be displayed. The integers are not necessarily in order, or all values present. This list is hard coded in the parent project for simplicity, but should be considered as variables that later (in my development) are coming from somewhere else. Here is an example list of data passed from the parent to child:
47 "some sentence"
-77 "another bunch of text"
100 "the lazy fox jumped over the techno-frog"
89 "hello again"
The parent app should display the first few from the list on the screen in the simplest fashion, no fixed labels. doesn't have to be pretty. Ideally the shortest number of lines of code.
There should be a single "CHILD" button on the parent app. When pressed ,it should launch the child app. The child app should show all the options (or at least those that can fit in the screen). The user should be able to selection one of the text strings somehow (again, the easiest and least amount of source code is good, simplicity is best, pretty user interface not necessary). There should also be an option for "NONE". Execution should stay in the child until eithe the back button is pressed or the user makes a selection. If the user selects NONE or just does back button, the child app should return a value of -1. If one of the strings is selected, that "key" integer should be returned. Then the child program should exit and execution is returned to the parent. Then the parent should display which string was selected or NONE if it got back -1. The user should be able to push "CHILD" again and repeeat the process.
Please target Android 2.1, so it will run on old and new devices.
For an Android programmer who knows their stuff, this should be easy.
I can only pay for working final work.
Please describe to me what you will do. Please no copy/paste about how great work you will do. Only type new material for me.
I have a fairly short timeline.