App installation in Sony Smart Glass - android

I am a budding developer. I want to develop an app for Sony Smart Glass and I have bought the glass already started the process of developing with Android Studio. My question is how can I install the app in Sony Smart Glass? I have tried to read the Sony website but it's not mentioned there.

If it has USB debugging somewhere in the settings, then enable it. Then you would be able to run the app from studio or adb via usb cable. Or just push your .apk into that device and install it even with some file explorer. Even Bluetooth might be an option here if the device supports it.
This SDK is probably necessary.
If it has no port through which you could push your .apk to that device and it relies only on google play or its specific store (something like samsung used to have), then the only option is to use the store - but it shouldn't be that much restricted.

Related

How to communicate with USB devices on Android via studio

I am making an application on an android tablet that is supposed to act as a file backup application, the tablet is going to be locked down and all applications other than the app I am making are to be disabled, the tablet is then to be shipped to users who will be recording video footage onto a USB flash drive using head-mounted cameras, at the end of each day the users are to plug the flash drives into the tablet, during this time, the application will wake up and allow the users to click the "backup" button, the files are then to be copied from the usb drives and saved on the tablet.
The users are assumed to be technology illiterate so we are not asking them to do anything more than plug the flash drive into the device and click the transfer button.
For testing purposes I have a flash drive, a USB 3.0 to Type-C adapter and a tablet, when I plug it all in the flash drive appears on my Android device, my question is, how do I communicate with the flash drive through code?
I'm using Android Studio, the flash drive is attached to my tablet via USB, my tablet is connected to Android Studio via wireless debugging, Android Studio detects and displays my tablet, however it does not display the USB device inserted into my tablet, which is what I need to communicate with. I would like for the flash drive to appear on Android Studio so I can know the correct file path to put in my code.
(I am aware that communication with external USB devices disallows my app from being published on the app store, this is an internal only app)

Chrome remote debugging, the device is not showing up

I'm trying to debug a Website in Chrome on an Android device. For this I'm following the official remote debugging guide.
Things are working up to 6. Make sure that Discover USB devices is enabled., but then in point 7. Connect your Android device directly to your development machine using a USB cable., the device is not showing up. Also on the device, I do not get the the Allow USB Debugging permission prompt as described in point 8.
The device has USB Debugging enabled, and Windows recognises the device.
I'm able to connect to the device using Android Studio, and then use Chrome remote debugging. But it looks like overkill to install several GigaBytes just to be able to clic ont the Allow USB Debugging permission prompt on the device.
What can I do to launch remote debugging without installing Android Studio ?
If you turn on Developer options on your Android device, you should be able to toggle USB Debugging from there. Download the standalone ADB package or install Android Studio. Run adb server in the command line. Connect it and then the prompt to accept the device's RSA key fingerprint should appear and you should be good to go.
The docs do a better job of showing the step-by-step process https://developers.google.com/web/tools/chrome-devtools/remote-debugging/
P.S. if you'd like to test this multiple times on the same two devices you can click Revoke USB debugging authorizations in the Developer options to revoke all previously connected devices' RSA keys.
For those landing here from Google: my problem was a bad cable shipped with the device (Samsung Galaxy A03). It only charged but did not transfer data. I bought a decent third-party cable and it started working.

Is there a solution to sideload app from external device via USB and running it without install?

I'm looking for the solution to develop an external device(Android-powered) for smart phone with Android embedded that can sideload app via USB and auto-run like PC2PC USB transfer cable without installing application. I want everyone could plug and play without further settings, installation, no doubt having no root and USB debugging mode turned on.
Is there a solution for doing such a thing like that?
I mean external device has Android app itself. And When it connect to phone via USB, the application will sideload app, put it to runtime for an auto-run and takes over touchscreen control to instruct the external device but still run no secure risk.

Flash CS6 Android App Testing - No USB Device Found

I'm trying to create a simple Android testing app with Flash CS6. I've put a circle onto a blank canvas and plugged in the Android device (a Google Nexus 4), enabled developer mode/ USB debugging, created a digital certificate and tried to publish the app, but whenever I do so it tells me no device is plugged in. I've heard something about a USB driver for Flash CS5, but heard nothing about CS6... How do I fix this?
Thanks, any help is appreciated. :)
The problem might be that you need a debugging USB driver for your app. The easiest way to get it is to install the PC management application from mobile manufacturer (Samsung, for example has Samsung Kies), which usually includes debugging drivers.

installing APKs outside of android market

I want to install an app/idea i have developed int a demo on my phone (HTC Hero). I have read several posts some from as far back as '08 on different options. I was hoping I could install this using the debug bridge and eclipse, but can't seem to find a way.
Is there an easy way for me to get this on my phone?
Thanks in advance,
Pat
Yea it's easy, provided you don't have AT&T. If you don't, just go to Settings->Applications->Development and check USB debugging.
From there, you plug your phone into your computer using the USB cord, and when you launch your app like you normally would with the virtual console, it ought to detect your device. Specify that you want to launch on your device, and it will install it no problem.
If you are on an AT&T phone, you will have to root it to allow non-market apks to be installed.
Other way of installing application on your device is that you can upload your apk file on the web server and download it by opening the link in your web browser. But insure that you must have enabled the option Unknown Sources in your Settings>>Application on your device.

Categories

Resources