Hello!
I'm new here, new to android and new to programming, and this is my first attempt at creating an app which uh.. lets my test my apps!
It's divided in two parts, one that puts the file in a ftp shared directory and the other fetches it and installs it on the phone
Requirements: NET library
Part one - on the computer
Create a .bat file in %appdata%\Microsoft\windows\SendTo\ containing
This will give you a nice new option when right-clicking your new .apk
Make sure you got a ftp server set up with the TestMyApp folder shared.
Click.
Part 2 - on the phone
Two buttons - Download (will fetch the apk file to sdcard/apks/testmyapp.apk) and Install (will run the file)
Source attached.
Not sure if this is helpful for anyone but with multiple devices it makes it easier to test apps for me atleast- also I can send this to a friend and have him test my stuff aswell!
I'm new here, new to android and new to programming, and this is my first attempt at creating an app which uh.. lets my test my apps!
It's divided in two parts, one that puts the file in a ftp shared directory and the other fetches it and installs it on the phone
Requirements: NET library
Part one - on the computer
Create a .bat file in %appdata%\Microsoft\windows\SendTo\ containing
B4X:
@echo off
IF NOT EXIST %1 GOTO ERROR
copy %1 d:\android\TestMyApp\TestMyApp.apk
:ERROR
echo You shouldn't see this.. ERROR
This will give you a nice new option when right-clicking your new .apk
Make sure you got a ftp server set up with the TestMyApp folder shared.
Click.
Part 2 - on the phone
Two buttons - Download (will fetch the apk file to sdcard/apks/testmyapp.apk) and Install (will run the file)
Source attached.
Not sure if this is helpful for anyone but with multiple devices it makes it easier to test apps for me atleast- also I can send this to a friend and have him test my stuff aswell!
Attachments
Last edited: