[Q] Control Android device with REST service - Java for Android App Development

Hello all,
I am building a system to control an Android tablet using an Android phone. The phone will take a gesture as input, and call a RESTful service, which then has to render the output on the tablet screen. Has anyone done this kind of thing before? Any help would be appreciated.
Specifically, I need to display different views, and be able to launch other applications by making calls from the REST API.
Thanks in advance!
Krishna

kchaitanya said:
I am building a system to control an Android tablet using an Android phone. The phone will take a gesture as input, and call a RESTful service, which then has to render the output on the tablet screen. Has anyone done this kind of thing before? Any help would be appreciated.
Specifically, I need to display different views, and be able to launch other applications by making calls from the REST API.
Click to expand...
Click to collapse
Are you saying you want this RESTful service to run on the tablet, with the phone connecting to it (presumably on local network only)? Or the service called by the phone runs on a publicly accessible server and then the tablet also needs to connect to that server?

Related

[Q] Security service

Hi Everyone,
Please help to evaluate if following service is possible.
I need to develop a android service that will keep Chrome browser always active on Android 2.1 Tablet.
It shall handle and possible ignore signals from Home button. It shall not allow to lounch any other application or configuration pannel.
It shall automatically start on system startup and bring up Chrome.
The only way to disable this service shall be via USB device. Ether USB keyboard or Disk on Key with specific id.
In case of keyboad, when the USB keyboard is connected it shall pop up password window.
Thank you in advance.
Why?
Ten characters
Should be possable if it is set as the home launcher
Sent from my GT-P1000 using XDA App
gillebob said:
Why?
Ten characters
Click to expand...
Click to collapse
Tablets will be in some kind Demo room. The users shall be able to use Chrome browser to enter to the demo application. But I do not want them to play with configuration, and make the devices unusable. I can not put person supervisor on each device.

Setting up my N7 as a business showcase display.

Hello,
I'm trying to set up a showcase display at my business with my n7. I have all the hardware set up with a mount and display case so customers can peruse things. But unfortunately my expertise stops there and I need to get some good software, or guidance on how to configure the built in security settings. I'd like customers to be able to use the slideshow feature via the gallery app and or screensaver feature, access limited browser capabilities for my website, and maybe a few other minor things, but I dont want them to have any administrator privileges.
Thank you for your time.
Don't root it. And use a launcher that you can hide apps with. Then they can only see the apps you want them to use, and without root they can't mess it up to bad.
Doubt you'll find a better way.
Sent from my N5 cell phone telephone....
Something like this can help: https://play.google.com/store/apps/details?id=com.gears42.surelock
deltatux

[Q] Using wear actionable notifications on other platforms

I had an idea while browsing the wear forums on my PC with my phone in my pocket. I got a text message and it popped up on my computer using Pushbullet like normal. However I thought about how I have always wished there was a way to reply to text messages and other types of notifications on my laptop. The actionable notifications added in JellyBean kind of added this but there is still no way to reply to a message from your computer using your keyboard. The big thing stopping this from being a reality is that all app developers would have to support some kind of standard that would tell the phone what to do with the rely you are sending it from your computer.
Now with Android Wear, developers can add these kinds of reply actions to their apps so that they can be controlled by voice on the Android Wear device. My question for those of you more familiar with the Wear API is could an app on the PC interface with your phone over Bluetooth and basically pretend to be an Android Wear device but with its keyboard as input instead of using your voice on the Wear device? This would make it much quicker to reply to messages and maybe even some of the other Wear functionality could be implemented.
So what do you think? Could it be possible or is it more work than it is worth? Or is it not possible to tell from the current state of the Wear API? If it is possible to do and no one else decides they want to work on it I might even try, the novice programmer I am, to play around with it and see if I can get something to work.
i
captivate999 said:
I had an idea while browsing the wear forums on my PC with my phone in my pocket. I got a text message and it popped up on my computer using Pushbullet like normal. However I thought about how I have always wished there was a way to reply to text messages and other types of notifications on my laptop. The actionable notifications added in JellyBean kind of added this but there is still no way to reply to a message from your computer using your keyboard. The big thing stopping this from being a reality is that all app developers would have to support some kind of standard that would tell the phone what to do with the rely you are sending it from your computer.
Now with Android Wear, developers can add these kinds of reply actions to their apps so that they can be controlled by voice on the Android Wear device. My question for those of you more familiar with the Wear API is could an app on the PC interface with your phone over Bluetooth and basically pretend to be an Android Wear device but with its keyboard as input instead of using your voice on the Wear device? This would make it much quicker to reply to messages and maybe even some of the other Wear functionality could be implemented.
So what do you think? Could it be possible or is it more work than it is worth? Or is it not possible to tell from the current state of the Wear API? If it is possible to do and no one else decides they want to work on it I might even try, the novice programmer I am, to play around with it and see if I can get something to work.
Click to expand...
Click to collapse
i think AndroidWear supposed not use hardware things!
Like what happened on Google Glass and smart-watches.
and About AndroidWear, it s preview and so limited. thr s nothing to install app on AndroidWear Devices
it s just for notifications But it s possible to add action to use keyboard on android device & maybe other device like pc
if i remember correctly u can use AirdDroid to push notification to PC interface through browser and then reply.
:good:

DM98 Smartwatch Help

Hi i just got my DM98 smartwatch and had a few questions for anybody that has the answers.
1.) I got the watch synced to my phone and i wanted to be able to send and receive text messages, make and receive phone calls, and use the internet.
Question: is there an app or trick to make this possible or am i just S.O.L. ?
2.) I have read that it is possible to create your own clock faces.
Question: Is there a guide that details how to do this?
3.) Question; if i want to do anything do i need to root?
These are all the questions i have at the moment. Any and all help is greatly appreciated.
Dfire87 said:
1.) I got the watch synced to my phone and i wanted to be able to send and receive text messages, make and receive phone calls, and use the internet.
Question: is there an app or trick to make this possible or am i just S.O.L. ?
Click to expand...
Click to collapse
The trick is simple - go to the play market and look for notification software with a set of features you want.
Dfire87 said:
2.) I have read that it is possible to create your own clock faces.
Question: Is there a guide that details how to do this?
Click to expand...
Click to collapse
The guide is simple - you should write your program. It's the most flexible way. Second option - you can go to the market and look for face designer or similar application. It' limited, of course, but you can try it. Third option - get watch face that you like and go into it's folder. There you'll find some pictures and may be fonts. Now you can delete the pictures and replace them with your own (with same name, of course), then restart your watch face application and you'll see your pictures instead of removed. It's most limited customization, but it's simplest.
Here is one watch face application.
Dfire87 said:
3.) Question; if i want to do anything do i need to root?
Click to expand...
Click to collapse
If you really want to do ANYTHING you in fact need a lot of money first.
chinesesmartwatch said:
The trick is simple - go to the play market and look for notification software with a set of features you want.
Click to expand...
Click to collapse
let me clarify a little bit.... i want to do this all through bluetooth. i have tried a bunch of apps and none see my DM98 Smartwatch as a bluetooth headset or anything of the like so i am a little confused with the explanation.
Dfire87 said:
let me clarify a little bit.... i want to do this all through bluetooth. i have tried a bunch of apps and none see my DM98 Smartwatch as a bluetooth headset or anything of the like so i am a little confused with the explanation.
Click to expand...
Click to collapse
It shouldn't be a headset. It should be something like phone or smartphone with the ability to transfer any data. To connect to DM98 first turn bluetooth on on both devices (DM98 and your phone), next make one of the devices available to connection requests, then the device will advertise itself and second device should see it. When it's seen just touch it and select "pair". Only after this you can start your notification software and use it's communication features.
In short - you should pair devices BEFORE any third party application can do something for you. The pairing is performed using Android's bluetooth settings, no third parties should be involved.
chinesesmartwatch said:
It shouldn't be a headset. It should be something like phone or smartphone with the ability to transfer any data. To connect to DM98 first turn bluetooth on on both devices (DM98 and your phone), next make one of the devices available to connection requests, then the device will advertise itself and second device should see it. When it's seen just touch it and select "pair". Only after this you can start your notification software and use it's communication features.
In short - you should pair devices BEFORE any third party application can do something for you. The pairing is performed using Android's bluetooth settings, no third parties should be involved.
Click to expand...
Click to collapse
still not 100% sure what your saying. i want the dm98 smartwatch to function like the samsung gear s (the only smartwatch i have used that does what i like) as in while it bluetoothed to my phone everything (calls, sms, and data) can be pushed from my phone to the watch. it has a nano sim card slot available but i dont need this because i always have my phone on me.
Dfire87 said:
still not 100% sure what your saying. i want the dm98 smartwatch to function like the samsung gear s (the only smartwatch i have used that does what i like) as in while it bluetoothed to my phone everything (calls, sms, and data) can be pushed from my phone to the watch. it has a nano sim card slot available but i dont need this because i always have my phone on me.
Click to expand...
Click to collapse
You are talking about communication software. Chinese smart watches usually have just a subset of such functionality. It means you won't get everything pushed. But you can try to look for such software at the market. Search for key words like "notification" "smart watch" and so on.
chinesesmartwatch said:
You are talking about communication software. Chinese smart watches usually have just a subset of such functionality. It means you won't get everything pushed. But you can try to look for such software at the market. Search for key words like "notification" "smart watch" and so on.
Click to expand...
Click to collapse
well if that if the case i have tried many different apps and nothing works so i guess i am s.o.l. and need to return the watch so i can find one that does what i want. i really like this watch though because it is running full android 4.4 with full access to any app in the play store.
Dfire87 said:
2.) I have read that it is possible to create your own clock faces.
Click to expand...
Click to collapse
look here: https://forum.xda-developers.com/sm...evelopment-t3510348/post73395168#post73395168
how to install whatsapp? keep popping prompt shown security alert n can't even turn off d prompt,
Dm 98 stuck in layout mode
I was an idiot was messing with developer options and got it stuck in layout out mode can't close the down to get to main screen the edges are past the pinch to make smaller. With one button can't do hard reset it's not rooted so it doesn't show up when I plug it into computer is there any way to fix this or am I stuck with basically a brick. I really love this device. Can you guys help.
my watch not opening. when i press power button there is nothing happen. what can i do? is there anyway to reset with a button on this watch?
Hi, I have a question, how we do for have the sms on the watch via bluetooth?
Reset
Have you ever tried resetting the smartwatch there's like a small pin hole in the very back of it take something to stick in it the watch will shut off and you just restart the watch back up and that should have fixed the issue
No 1, you can try these aps to enhance your dm98
1. Watch android phone
2. Android control panel
3. Heads up notifications
4. Rotation control
[SOLVED] Still getting used to the tiny keyboard, I had a typo.
I just got the Dev C14 (Bluetooth reports it's actually the DM98) and when I try to log into the Playstore with my existing account, I get past the email and password, but then it says to "Type in the text you see here" with a prompt but I don't see the text. Can anyone help please?
Cannot connect DM98 to Galaxy S8 Active
Hello fellow smartwatch owners. I have the DM98 like the size memory WiFI but cannot get it to connect to my Samsung Galaxy S8 Active. The phone shows the watch and vis a versa, they both are paired, but when they connect the connection is lost right away. Please help if you can
Chuck
Dfire87 said:
let me clarify a little bit.... i want to do this all through bluetooth. i have tried a bunch of apps and none see my DM98 Smartwatch as a bluetooth headset or anything of the like so i am a little confused with the explanation.
Click to expand...
Click to collapse
For downloading software use wifi. Start with Google play, etc. Best for installing software is to do it from your computer: just log in to Google Play windows.
---------- Post added at 10:08 AM ---------- Previous post was at 10:07 AM ----------
Donkeyloco said:
Hello fellow smartwatch owners. I have the DM98 like the size memory WiFI but cannot get it to connect to my Samsung Galaxy S8 Active. The phone shows the watch and vis a versa, they both are paired, but when they connect the connection is lost right away. Please help if you can
Chuck
Click to expand...
Click to collapse
Personally I use the much more stable Droid Phone and Droid Watch, on Google Play.

Mass Deployment and Control - Help?

Hello,
I recently bought 200+ Amazon Fire tablets cheap. Glass is damaged in the top left (beside the camera). Unable to access via touch.
We want to deploy a number of them in a school, one at every classroom doorway to show classroom schedule, announcements, etc. Possibly even have do things like showing big red pointing arrows for alarms and such.
At the same time we need a way to control (full access to Settings) all of them remotely. All at once, specific groups, and individually.
Am I looking at rooting all of them? Is there a way to do them all at once?
I'm looking at Enrollment as a first step?
Unlock brand new tablets without touch? How?
Will android enrollment allow me to do what I want?
Or what am I missing?
Any help would be greatly appreciated. Thank you.
Or is this even possible? Ultimately we'd mount them on the wall and cover the entire screen with a sheet of plexi. If not, any ideas for use in a school? We'd have to use bluetooth keyboards and mice...

Categories

Resources