Alternate ways of opening APK files on Android device? - android

I am trying to open up an apk to test an app in development on an old Android phone, and it doesn't open it automatically after downloading to the device (it offers to open it in Chrome or HTML editor). Is there another way to open it (through an app etc.) or might I assume because the Android device is old the apk might not open it?

I ended up using AirDroid to download the apk via my computer and it worked beautifully!

Related

How to upload a Firefox OS app on Android

I'm developing an app for Firefox OS and I would like to test it on my Android phone. Is it possible? I only found articles about installing apps from the Firefox Marketplace.
I could connect my Android device to the WebIDE, but it only makes possible to debug web pages on Firefox for Android, and does not work for uploading apps through it.
You can publish your app from any computer with a web server. You just need a single html file and a "mini" manifest, then you access that page from you phone (using firefox for android, of course) and you will be able to install the app as you would install it from the marketplace.
Reference
The Testing Your Native Android App blog post describes using the mozilla-apk-cli to do this.
(Eventually that documentation should migrate to the How can I test/debug APKs? section of the Open web apps for Android page.)

Can we restrict to install .apk files in our device?

I am new to android application development.
I developed some android applications and i install the .apk files in client devices,these are working properly.
But my requirement is ,i have to make the client device ,to support for install the .apk file from my company only.If the client is try to install any outside .apk file,then it has to rise an error.
please help me to go forward.
thank you,
bye.
I guess its only possible, if u make changes in Android OS Source itself, there should be some java file, i guess this one which takes care of installation/uninstallation, blocking non market apps. just make a clear about it. Without which its not possible mostly.
save all the device ID into an xml file and bundle it with your application when application starts just get Device id and compare it with the list you have ,if the id match then start the application or show error
you cannot block other users to block installation but I think they wont be able to use the app or even open the application if you follow above procedure

web host issue, .apk files to download from android browser

I have been trying to get some people to test an android app and needed a friendly way to delivery it since it is not currently on the marketplace. I had uploaded it to my website and found that mostly every attempt to download failed. This was wither through the android emulator or actual devices.
I was only able to successfully download on 1 device personally and the rest of the users reported download unsuccessful/failed.
I put the file on 2 different webservers and and I was successfully able to download via android browser from the other servers.
What should I tell my primary host so I can resolve this problem?
They need to add the mine type for ".apk" to "application/vnd.android.package-archive"
I had a similar problem and fix it by adding the mime type to the site configuration in IIS. On Apache I haven't encountered the problem.

Help: HOWTO Test Android App from within Emulator with Different Mobile Web Broswer Engines?

I have developed a mobile application using jQuery Mobile. I have it working in the emulator using the default web browser engine. Now, I want to test the app using the different browsers engines available on mobile devices. I have seen this accomplished from other developers, such as Opera, Chrome, or Safari. What is happening is these different browsers are being pointed to the Android emulator that is running the application.
Can anyone provide a link on how this is accomplished so I may follow the steps? I have searched the net and I can seem to find any solid information that explains this well enough for me to follow.
Thank you for reading my post.
You can use the emulator to browse the web and go to websites with browser packages for you to install other apps in your virtual phone.
Alternatively you can use DDMS to transfer the .apk files to your virtual mobile phone, and then install them without using internet on emulator.
Then, when you have some application associated with a specific file type or operation, typically Android asks you which one you want to use, with a popup, and allows you to also set a default one for that file type/action.

Move app to phone

yesterday I posted the question ‘How do I convert eclipse app for phone?’
I have used eclipse to design an android app which runs fine on the emulator and I now want to transfer it to my phone. Sixten Otto kindly offered some advice regarding how to test/debug my app on my phone straight from Eclipse's Run menu.
(See Developing on a Device from the Android developer site.)
Step 1, declare application as ‘debuggable’ – done, no problem.
Step 2, turn on USB debugging on phone – done, no problem.
Step 3, Setup your system to detect your device – been at this for
hours, still no closer to achieving. (And yes I do have the usb
driver in the Android sdk).
All I want to do is move my very simple app from my computer to my phone, for my own use only. I have Samsung Kies on my PC for file transfer and I have a load of files generated by eclipse. Surely there is a simple way of getting an app from PC to phone. Any help appreciated while I still have some hair left. Thanks.
On your Android device goto Settings/Applications and activate the checkbox "Unknown sources". Then open the folder of your Eclipse Android app project and you'll find the according apk file in the output folder.
You have then several possibilities to transfer this app to your Android powered device:
Install over Mail (simplest/fastest/minimum setup required)
Simply send the apk file to your own Gmail account to which you have also access from your mobile Android. Open it from there and the installation will automatically start.
Deploy on some publicly accessible URL
Alternatively you may have some hosting space somewhere. In such a case what you may do is to create a simple HTML page showing a "Download app" link which starts the download of your APK file (which you deployed on the server). To speed up a bit, you could use the Chrome-to-phone extension for pushing the page to your mobile, or you could create a QR code pointing to your deployed APK file and scan that from your mobile.
Although by having a FTP connection to your webspace you may be quite fast in deploying a new version of your app, this whole process is still quite tedious. Moreover it may not be granted that you have a webspace :)
Use Dropbox! (my favourite)
Personally my favorite one is to use Dropbox. It requires some setup steps, but Dropbox will be useful for a lot of other things too.
Get a Dropbox account and install it on your computer
Install Dropbox on your Android phone
Create a folder within your Dropbox folder for placing your apk file
Open Dropbox on Android and browse to the folder. Click on the apk file and the installation will start
This is nice once you have set up everything because you don't have to send emails back and forth. Moreover you have publicly accessible folders in Dropbox which allows you to share your app also with your friends (by sending the according URL).
I've taken this from a blog post I've written a couple of month ago.

Categories

Resources