如何从PC推送文件的android手机编程? [英] How to push file from PC to android phone programatically?

查看:122
本文介绍了如何从PC推送文件的android手机编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要使用亚行推命令,在我的活动,所以我可以将文件从Windows PC到电话。是有可能做到这一点?

I want to use adb push command in my activity so i can transfer file from windows PC to phone. is it possible to do that?

推荐答案

我不认为这是可能从Android一侧adb.exe是平台工具目录中的windows应用程序。如果你写一个Windows应用程序,它可以发出亚行推命令。

I don't think that's possible from the Android side as "adb.exe" is a windows application in the platform-tools directory. If you write a Windows application, it can issue the "adb push" command.

这篇关于如何从PC推送文件的android手机编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆