Got a Samsung Galaxy J7 and a Mac (10.12.3) but when I connect my Samsung to my Mac it just charges. I want to transfer an apk file to test (an Ionic2 app). I installed Android Studio and Android File Transfer but my mac still does not recognise the device. Some articles mention drivers but cannot find them on the Samsung website. How can I transfer an apk file to the device?
Transferring files between macOS and Android or any other MTP devices has always been a nightmare. I have tried a lot of apps and was disappointed with the poor support for Android phones on macOS. Either they were too slow, bug-ridden or too expensive. Finally, all these made me sit and write a macOS MTP app for myself.
Well, then I thought to give it to the community.
OpenMTP | Advanced Android File Transfer Application for macOS is safe, transparent, open-source and shall be free for a lifetime!
Download latest version of OpenMTP from https://ganeshrvel.github.io/openmtp
GitHub repo: https://github.com/ganeshrvel/openmtp
Features
Plug and Play. No hassles, easy and instant connection.
Connect via USB cable - Highest data transfer rates.
Transfer multiple files which are larger than 4GB in one go.
Select between Internal Memory or SD Card.
Split pane views for both Local Computer and MTP device.
Drag 'n Drop, Grid/List views and the other advanced File Manager features are available.
Safe, Transparent and Open-Source.
It's FREE and shall ALWAYS remain FREE!!
Have you turned on Developer Options and allowed USB Debugging?
Go to settings -> About Device and look for the Build Number, it may be under Software Info.
K
Try expanding the notifications bar and tapping on the USB Connection item. You should get a prompt with a list of methods for how the device is connected to your computer over USB. You might currently be on the "Charge Only" method, so try and change to a different method and see if your device is now recognized.
For more info on USB modes:
https://www.doubletwist.com/help/question/usb-connect-mode/
[Solved] - I needed to change the cable to allow for a full connection. Was not provided with the original.
You can download/install the following software Android File Transfer and connect your phone to Mac, now your phone folder will be visible on Mac machine, Hope it helped you
Related
After a) growing tired of the slowness of the emulator and b) nearing the end of the development of my first android app, I decided to connect my old and forgotten Toshiba Folio 100 android 2.2 tablet to my Windows 7 development PC, in order to deploy my android app. The PC and tablet 'see' each other, that is, the PC sees the tablet as a disk drive. In the android settings I switched on the developer mode. I read through the many advice threads of this site concerning deploying the app to a real device. To start with, in windows explorer, computer, right click, manage, does not result in recognition of the tablet, except for Toshiba storage USB device.
In Eclipse I went to Run configurations, target tab,tried all the different radio buttons settings, to no avail. The devices view, same story. Eclipse does not see the tablet. I also tried some old Archos 48 mini tablet, again nothing.
What can I do?
Thanks in advance.
do you see it as an android device? open a command prompt and type "adb devices" make sure your tablet is listed there, otherwise you need to find some adb drivers for it, you may want to try the generic adb usb driver.
If you're seeing the device in explorer listed as a disk drive it probably means you have the wrong USB mode on the device. It's called different things on different devices, but on many devices it's referred to as "Charge Only" mode (or not mass storage mode). Also make sure USB debugging is enabled on the device.
If I wanted to implement an app for 2 Android devices so I can connect from one to the other via bluetooth, how can I do that via emulator?
HINT: I don't have an Android phone for simulating.
Thanks.
There are few limitations for the Android Emulator. The functional limitations include:
No support for placing or receiving actual phone calls. You can simulate phone calls (placed and received) through the emulator console, however.
No support for USB connections
No support for device-attached headphones
No support for determining network connected state
No support for determining battery charge level and AC charging state
No support for determining SD card insert/eject
No support for Bluetooth
Source Link
I've found the way to debug bt-enabled application on virtual android with real devices. That is not ADK emulator, and it has some flaws, but it definitely works.
Host computer works under Windows 7 64-bit with standard BT stack. Step by step:
Install VMWare Player. It's free for non-commercial usage
Create virtual machine. Set "Other linux 2.6" guest OS type.
Choose reasonable amount of RAM. Remove SCSI disk and printer. Add IDE disk at least 1 GB, keep USB controller, ensure if bluetooth devices are shared with host computer.
Download android installation from android-x86.org. I recommend Android 4.0 RC2 for EEE PC
Point VM's CD to the ISO file.
Start the VM and install android. Unfortunately, it's impossible to add google account there for now.
Switch to android console(Alt-F1 inside virtual machine) and ask for IP address(use netcfg command, look at eth0 network interface), then switch back to GUI(Alt-F7)
On host machine, run adb.exe connect your-vm-ip
Enjoy!
Here is an illustrated tutorial in Russian
You can't use an emulator to test bluetooth apps. The BluetoothAdapter will remain null in emulator. You would need a bluetooth device.
Reference link of accepted no longer exists and I can't seem to find any other pages the mentioned the exact same details. However, it is mentioned in this docs:
What's not supported
The Android Emulator supports most features of a device, but doesn't include virtual hardware for:
WiFi
Bluetooth
NFC
SD card insert/eject
Device-attached headphones
USB
The watch emulator for Android Wear doesn't support the Overview (Recent Apps) button, D-pad, and fingerprint sensor.
While most end users of phones and tablets tend to use earlier API levels, Android Wear and Android TV users tend to use the latest releases. Using recent releases can give you a better experience using the emulator.
In addition to elmot's method (which I have seen on various places on the net and has been reported to work), you may also consider this utility which seems to do exactly what you would need:
https://github.com/cheng81/Android-Bluetooth-Simulator
I am a relatively new Android developer but have gotten pretty familiar with the SDK, using LogCat, etc. However, I'm now working on an app (for a Galaxy Tab 7-plus) that utilizes USB Host mode to talk to an external USB device and I've run into an issue.
My question is: What is an ideal environmental setup that will allow me to take advantage of all of the SDK tools (adb, debug, LogCat, DDMS, and so forth) when I am unable to be connected to my PC via USB (since the external USB device my tablet is talking to is using my tab's only USB port)?
Is there an emulator available somewhere (I've searched in vain) that will allow me to simulate USB Host mode using a USB port on my PC?
Do I need to go to some type of on-board logging app?
Is there some kind of 30-pin splitter available so I can connect to both the external device and my PC? (I'm guessing this is impossible, but I'm a hardware idiot... in addition to a run-of-the-mill idiot).
Thanks in advance for your help!
-KR
As I posted in the comments, If the tablet is rooted you can use AdbWireless (Application on the Market)
This can also be done without rooting. Google/Android officially supports this, as described at the bottom of this page:
http://developer.android.com/guide/topics/usb/index.html
But AdbWireless is easier if you are rooted.
I want to test my applications on LG P500 device. But emulator is not detecting the device. When i try to add USB driver which is there in SDK, it is not accepting . Please tel me how to configure Device for testing.
I struggled long and hard to get the correct USB driver installed for my P500. I ended up installing a few different things, and over the course of two or three reboots I managed to get it going.
I'm pretty sure the actual setup details you need can be found here (Note, this is the New Zealand section of the LG website - which is where I am, but it should work globally).
If you follow that, you should be able to install the USB driver. Once done, go to SETTINGS-APPLICATIONS-DEVELOPMENT on the phone and turn on USB Debugging and Stay Awake - these help when you are using the phone to test code.
You can test that its actually working by going into the Android SDK folder shown below and typing adb devices (in the directory shown, remove the (x86) if you are using 32-bit windows) - mine shows up as follows:
c:\Program Files(x86)\Android\android-sdk-windows\platform-tools\adb devices
List of devices attached
80A354043044674101 device
I hope that helps - let me know if you are still having problems.
Change your phone settings to allow USB Debugging. Home->Settings->Applications->Development->USB Debugging. Then connect your phone and run ddms to see if your phone shows up.The emulator will not show your phone, but it should be recognized in DDMS
If some one trying to work on LG P500, Please follow the steps.
1> Connect your Phone to system.
2> Enable settings>SD Card & phone Storage > Mass storage only.
3> Now it will open the SD card. Go to PC suit dir, Install the application whc in turn contain USB drivers. After installation has completed desable mass storage only.
4> Change your phone settings to allow USB Debugging. Home->Settings->Applications->Development->USB Debugging as Apesa ans Steve suggested
(Even i hve installed LGUSBModemDriver_Eng_WHQL_Ver_4.9.4_All.exe )Please let me knw wht exactly this driver will do . )
I would like to have an application sync itself with some files on a host computer.. Anyone know if this is possible? Eg: When you connect an Android phone to a computer i would like an application on the android system to read some allowed folders on the connected computer. Making it so the user doesn't have to sync files itself.
I ask possible, because i assume it isn't.. for security.
You won't be able to do it solely from the Android end, because Windows doesn't make the local drives available through the USB port like that (unless you have some custom driver on the Windows side).
Your Android device will probably show up to windows as a USB drive. If you have an SD card plugged in, you may see a second drive from the Windows side.
To do something like this, you'd probably need to have software running on the Windows side that did the syncing, and then copy the data from the /sdcard directory on the Android device to wherever you ultimately need it to be.