Android App on Multiple Devices [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I have been developing a concept for an Android application for doctors to use, and it involves the use of an Android mobile phone and a tablet in the operation theater. I will have a clickwheel sort of menu on the app running on the phone, and another instance of the app running on the tablet. When a user selects an option using the wheel, this event has to trigger the rendering of a view on the tablet. I'm quite new to Android development, so any help on how this could be implemented would be great!
Thanks in advance!
Krishna

You'll have to get the devices on the same network (of some sort). And device some sort of communications whereby the phone can send the selected choice over the network to the tablet, and the tablet can then react by updating its UI.
This communication could be achieved in many different ways: Bluetooth, or Wifi I think are the easiest two to implement. Which one fits your use case better would be something we wouldn't know without more information though.

In order for this to be accomplished you have to have some sort of messaging system between the devices. You'd likely make some server API call on menu selection on the phone. From there you can have the web service kick off a GCM message to the tablet OR have the tablet polling the server every x seconds checking for the change and responding appropriately.
As FoamyGuy stated, bluetooth might also be a viable option.

Related

What kind of knowledge and technologies needed to develop an specific mobile app? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I had chosen to develop an mobile app for my final year project. The app is an parenting application that help parent to monitor and control screen time of their children and it have some function such as:
- Send notification to the parent mobile device when the child start to use the device.
- Lock the phone at certain time or by choice.
- Location tracking (optional)
- Report on use-time.
I'm familiar with basic Java and Android programming.
So what are the other knowledge (technology, mechanism, etc) that i will needed to develop this app.
It seems like you want to create parental control app and you can create it using "Android Management API"
Please refer Android Management API
Many companies installs this kind of apps in their employees company owned devices, many parents install this kind of apps in their child's mobiles to monitor their data usage, applications usage, their driving speeds etc.
Best of luck.

Tap to exchange data between device A and device B [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
We want to develop application which used to share important data in secure way. Idea is:
Data to be exchanged between phone A and phone B (and vice versa) when users “Tap” the phones together. The date, time and location of this action is to be recorded.
This should work anywhere (in buildings or in rural areas where there is no mobile signal coverage), and work cross platform (iOS, Android, Windows).
we want to know is it possible to develop such application ?
Thanks,
Yes, you can 'bump' phones and send over Bluetooth. You would use the accelerometer of the phones to detect the 'bump' part. The date, time and location you can pull straight from the devices (given you have GPS permission).
It would be a lot of work to develop right, especially across multiple platforms, and I believe an app like that already exists, for sharing contact information.
Also for future reference, you're probably getting down-votes because you're not asking specifically about code. Best of luck.

Detecting other devices location relative to your own via Wifi Direct [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am working on a personal project where by I would like to create something like a radar displaying the devices around me that are wifi direct enabled. The devices detected should be displayed on the radar view relative to my devices position (which would act as the center of the view).
I cannot find anything in the API's that allows me to do this and could use an example, failing that at least a push in the right direction to get started.
I think you could do it using the technique outline here in the Android docs. (I'm now experimenting with it, but for different purposes). Basically, this lets devices broadcast and discover DNS-SD TXT records. As you'll see in the Android docs, you can load a Map object into one of these records and the receiving device can read it. It doesn't support a lot of bytes (I was trying to jam in an image converted to Base64 strings and that was way too much data), but it would support strings for latitude and longitude. Users would need to install your app on both sides for it to work, of course. Interactions can be passive until such time as you need to trade larger amounts of data, at which time a socket needs to be setup, etc., which requires the user to click to accept via a popup dialog.
If you copy/paste their sample code, it will pretty much get you going with something you can build on.

Lock the screen of android device using another android [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to create an application that will lock the screen of the android device.
For example, Android A and Android B is connected to the same network/wifi. Is it possible to control Android A by Android B? I just want to lock the screen of Android A using B.
If:
Your app is installed on both A and B, and
You arrange for B to notify A that it needs to be locked, and
Your app on A is a properly-configured device administrator
Then your app on A can call lockNow() on DevicePolicyManager to lock the device.
The part that you ABSOLUTELY HAVE TO GET RIGHT is the communications from B to A. What you do not want to do is allow arbitrary other parties, such as the world's script kiddies, to go around locking people's devices on them. Using something (relatively) assured to be local, like Bluetooth, would help in this regard.
Yes, it is possible, but you have to deploy your programs on device A and B. You need a program which have a service and accepts connections to it in the background. This is device A. On device A you have to write a code snippet, like this How to programmatically lock screen in Android?
And on device B you have to have a program which communicates with this service on device A.
If you're not developing this for just yourself I think you should consider safety above all. (not enabling for anyone to just lock anyone else's screen)

Locking Down ("Kiosk Mode") Android Devices [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How would you go about locking down an Android device while meeting the following requirements:
Access to Wifi networks
Access to a single company's App
Ability to download/update to newer versions of the company's App
Access to Bluetooth Printers
Obviously, this is a pretty general question, but I was hoping for some guidance. Are there any existing solutions to this problem? I am aware of apps like SecureLock and Device Lock, but do either of these allow application updating for JUST our application?
What about if we preconfigured the device to only have our application and nothing else, deleting all other applications?
Again, just looking for some direction/suggestions here.
Note: I am aware that essentially anything can be accomplished by releasing a custom version of Android, but implementation effort is a factor in which solution we will decide on.
I believe most of this can be achieved by building a "launcher" app and making it full screen (cover the status bar). Check out the API Demo Home.
Access to Wifi networks
You can use WifiManager to handle listing/connecting/etc.
Access to a single company's App
Creating the main app as a launcher gives you the ability to control what other apps may be installed/uninstalled/launched/etc.
Ability to download/update to newer versions of the company's App
This can easily be done by simply downloading the updated .apk (with a larger version code) and opening the file via Intent to install.
Access to Bluetooth Printers
I don't know much about this, but if it can be done in a normal app, the launcher method covers it.

Categories

Resources