test android app on lg p-690 - android

can I test the app on this device if I don't have a data cable? I don't know how to do it or even if it is possible.
Do you need some specific phones in order to test the application?
Thank you,
Ryan

You can just email yourself the apk file if you have no way of transferring the file across, when you goto look at the attachement it will give you the option to install. You must make sure that in your application settings menu on the phone you turn on the option that allows you to install apps from untrusted sources though.

Related

Android app, Is there a way to get another device to access that url without having to type it manually by the user?

best regards from Venezuela, I am new to stackoverflow, and this is my first question on this site.
This question will be long because I am providing a lot of detail, so this question is as clear as possible.
Brief introduction.
I have created an app that runs on Android devices, this app allows you to share files between devices that are connected to the same WI-FI network. but with a different methodology to that used by apps that are intended to fulfill this same purpose.
On the device where my app is running (which we will named device one), a url similar to http://192.168.1.102:7898 is generated, and said url must be entered in a web browser installed on the device with which you want to share the files (which we will named device two).
The main purpose is to offer a way to share files between devices, using WI-FI. without the need for device two, my app has to be installed.
You can find more information in https://labs.xda-developers.com/store/app/com.tecnoelias.ipfiles
...
So far everything works fine. But, it is annoying that every time someone wants to share files using my app, on device two, they have to enter the url described above. keeping in mind that said url will change as the WI-FI router decides, and therefore, you should not use shortcuts to the url (bookmarks or navigation history).
Having said all this, the following question arises.
Is there a way to get device two to access that url without having to type it manually by the user?
To accomplish this, three ideas occurred to me.
1: Generate a QR code in the app. but this requires that on device two, an additional app is installed that can read QR codes. which violates my purpose.
2: Implement in the app, a mechanism that allows you to find other devices that my app is working on, and in this way, interact with those devices (through my app, similar to how other file transfer apps do). This is a good idea, but it nevertheless requires that my app be installed on both devices.
3: My third idea and the one I would like to implement is the following:
On device one, it will open my app and then activate it.
When the app is activated, the app will search for other devices that are connected to the same WI-FI network, until it finds device two.
If successful, a SOMEWHAT will be sent programmatically to the device two, that SOMEWHAT can be, a message, a bit, a data packet, or anything else that helps to realize this idea .
After device two receives that SOMEWHAT, it will show a notification or a pop-up window, which will allow access to the url generated in my app (on device one).
Consider two things. 1: NO additional app MUST be installed on device two. and 2: Because device two can be running any operating system, the SOMEWHAT will be a different mechanism for each operating system, (operating systems can be, Android, IOS, BlackBerry, Symbian, Windows Phone, Windows, Linux, Mac, among others).
If for example, device two, runs Android 10 (not rooted), and has the most common applications installed, which can be: WhatsApp, Facebook Messeinger, Google Play Services, other Google apps, and system applications.
My thought is that you should be able to use one of those apps, to receive the url, and after clicking on that url, the web browser will open, and then it will load the corresponding webpage (which in this case, is to access the files shared by device one, through my app).
Any ideas?
You can give me your opinion, some code, or you can just tell me that this can't be accomplished.
Any response or suggestion are appreciated.

How to distribute an Android App over the inhouse wifi without internet

So I made a small Android App for inhouse use in my company.
The App is supposed to run on dedicated Android 6 devices (portable computers with bar code scanners attached) to scan bar codes and talk to our servers within the company wireless network.
This inhouse wireless network does not allow internet access for security reasons.
Now I am looking for a simple way to roll out version updates of my Android App. With no internet available, the normal app stores are ruled out.
I would prefer, if version updates could be installed silently without user interaction.
I am aware of F-Droid Server, a custom App Store Repository. As far as I understand, it would be quite some effort necessary to get that up and running in my environment. Maybe too much, considering that the devices need to run only one single app.
Is there a more simple way?
Maybe like programatically downloading a new version of my .apk from a url and then autoinstall?
Any ideas are appreciated.
Is there a more simple way? Maybe like programatically downloading a new version of my .apk from a url and then autoinstall?
Yes, it seems more simple (25 lines of code) to programatically download an apk from your own server and launch an install. Here is a question with lots of details (and checkout the 2 questions it links along to):
Android: install .apk programmatically
The install may require user interaction; a prompt where the user clicks ok or cancel.
Also you have to host the APK somewhere. If you don't want to build a web service for this you could host static files and use a naming convention or timestamp to decide what/when to download and install.
Any ideas are appreciated.
A suggestion about programatically updating is to write a separate simple and robust app that only does that, vs having code in the main app to self-update.

Is there any way to run an application direct to the device on Corona SDK?

It is very time-consuming to build an application, copy the apk on the device, install it and run it, just because you want to change the value of a variable. Is there any way to run an application straight to the phone (like in Unity) ?
Does Gideros or any other similar SDK offer this capability? I read that ZeroBrane offers on device debugging but I didn't find any more tutorial/information how can you do it.
Gideros provides exactly such capability, you just install Gideros Player on your device, enter IP address on your computer, and instantly run your app on device, without any exporting or building, just click play.
Additionally with combination of ZeroBrane you can achieve live coding
http://bowerhaus.eu/blog/files/live_coding.html
Corona cannot do that without ZeroBrane LiveCoding.
Gideros do that by default.
There are tutorials and documentation at the ZeroBrane site for doing remote device debugging (and even live coding for some frameworks).
Generally remote debug requires that the on-device code be able to load the modules mobdebug (provided with ZBS) and luasocket.

Installing apk without user input

I have been searching the internet wildly for an answer to this question.
We are creating custom android app for internal use only and we would be installing that on custom andoid devices. We would like to have full control of the device through the app. The end user of this device is not meant to use anything other than the app on this device. I have sealed out all the possibilities of getting out of the app except this one possibility where the program tries to update itself and asks for user permission.
Let me repeat again, This app is not meant to be put on market, only for use with custom devices designed for specific purpose. So security is not an issue here.
The device is rooted and we have done a lot of alterations with it. But I cant quite figure out how to make this update work.
If you have any ideas/solution please share it with me. I can do anything with my device, (even dig a hole in it if required :P) as they would be custom made, and would be packaged with us before going out. Just have to make it work.
If you are talking about internally installing the APK with like an update application specifically designed to update your other application which is not managed by Google Play you may want to look into this. So between xjaphx's answer and the link I just shared you will be able to install and maintain updates.
This is as simple as how it works.
Pre-condition:
Get devices rooted
Prepare Android development environment (Android SDK, platforms-tools)
A cable to connect PC and devices.
Steps:
Open command-line if Windows or shell if Linux
type: "adb push YourApp.apk /system/app"
That's done for installation of the app. Reboot and check whether your app works or not.

how to download apk files from android market to pc?

Is it possible to download the android .apk application from the android market to our pc?
Probably this will help you.
http://www.howtogeek.com/howto/21862/how-to-enable-the-android-market-in-the-google-android-emulator/
http://techdroid.kbeanie.com/2009/11/android-market-on-emulator.html
Once you get access to android market from emulator you can probably get .apk from ddms
Yes , You'll need the latest version of Chrome with SSL error notifications disabled, then you supply your device ID, email address and password (all stored locally on your computer to grab the Android Market cookie).
To anyone still need it , you can get it here : http://apps.evozi.com/apk-downloader/
You can download all your installed apps. from mobile to SD Card. You just need to install an android application appInstaller...You just need to backup all your applications. This software generates apk files and stores in the SD card..And then you can store it in your pc..
you can install the android-sdk and use the adb command to pull the apk from your device.
The command is: adb pull
This is an update to the post by Mur Votema.
The Android 2.2 with Market is available here
http://techdroid.kbeanie.com/search/label/Market%20on%20Emulator
Now you can do this by using this extension for Google Chrome: APK Downloader
If you're in control of the network that you are using for the download, you could relatively easily grab it from the TCP stream:
Internet --- your_router --- wifi_AP --- your_Android_device
In the above diagram, the Android device connects to your WiFi access point, which is connected to your router, which connects to the Internet (and therefore the Android market). By running some capture tool (e.g. WireShark or tcpdump, even a capturing reverse proxy like Fiddler) on the router, you will see all the traffic passing across it, and you could capture it.
Possible caveats:
you'll need to decrypt encrypted connections, if any (e.g. for HTTPS, dummy certificates can be substituted)
more importantly, check if the license conditions for Market and the app allow this; depending what you intend to do with the files afterwards, this could be seen as a step in reverse engineering
the device itself must be able to connect to Market (not sure about emulators etc.)

Categories

Resources