How to make a application build in android (apk file) - android

Hi i'm new to android my client want to run the app in their on Android Device i go through the many answers through Stack overflow like this:-
How to make .apk file
How to build an APK file in Eclipse?
but i'm unable to make build.
I want to make a build of app in which is usually .apk extension and how i'm able to install this .apk file in my clients android device it doesn't have any eclipse or IDE.
Please suggest me the way or some links regarding this process to build and install the app in clients android device without using eclipse or any IDE.
Thanks in advance.

Eclipse create .apk file of your project by itself and save it in bin folder copy that apk file and send that to client and tell him to save apk on SD card and run directly from SD card. It will work.

the moment you run the app on the emulator or a device, the .apk file is created and put in /%YOUR PROJECT%/bin/app.apk
you can send that to your client...

Related

How do I open an Android app's .APK file to update underlying code?

My app is developed in react-native and the third party app provider are charging to implement the code for deep-linking.Though they have shared the .APK file with me.Through some videos & google search,I have learned that I will be able to do it by myself.I want to add deep-linking code in the AndroidManifest.xml file but how to open .apk in Android Studio and how to generate .apk file again once the changes are complete after testing on virtual device.
If you think that there will be issues by approaching through .APK file or its not the best way/standard process to achieve this ,then,please suggest me that what I need to ask them to share with me so that it can be imported in Android Studio without any issues and I can do some coding & test it and again generate .apk file to upload it on Google Play Store.
I'm pretty sure you will not be able to do that, you will have to access the source code to do the changes.

Doesn't recognized obb file while run my corona application on android device

I'm building a game for mobile devices with corona sdk, it already run on iOS devices and now I want to install it on android device.
I'm trying to install my app on android device and because my app is large than 50mb, the corona split it into apk and obb files.
apk = 12mb,
obb = 130mb
I copied the both of files into my device and put the obb file under "sdcard/Android/obb/myPackagefolder" folder (according to some guides),
then I launch and install the apk.
now - when i'm trying to open my application it open the download page to try download the data (obb file) from google play and doesn't recognize the file I already put into the obb's folder.
I tried to run it on another devices and I get the same issue.
my build.settings contains the permission "WRITE_EXTERNAL_STORAGE"
my Q: is it even possible to do that ? and what I miss that cause my problem?
please help me, I spend a lot of time on it..
thanks
I address the file like this directly under the SD card and it wirks fine:
local fileName = "/sdcard/coordinates1.txt"
local doc_path = system.pathForFile( fileName )
local contents = doc_path:read( "*a" )
start with something like this and then use other folders.

Is an .apk file enough to install application to my Android phone?

I'm testing an Android application I'm developing, and I want to install it to my phone some place else. (i.e. not by plugging it with a USB cable to the PC where Eclipse is installed)
Can I send the *.apk file to my e mail and download the file at home, and install it to my device?
First of all you need to understand what is APK file.
Android application package file (APK) is the file format used to distribute and install application software and middleware onto Google's Android operating system.APK files are ZIP file formatted packages based on the JAR file format, with .apk file extensions.For more info check out here.
Hence it is enough for you to copy apk file for installing the App.And dont forgot to allow apps from unknown sources.For that process check here
Some easy steps:
Download the APK files from somewhere.
Go to your android device setting -> Security -> check the "Unknown sources" is ON.
You are ready to go! Install your APK files.
Yes. You can install apk in to the device. But make sure that Install app from unknown sources to be enabled in the settings of the phone.
Yes apk file is enough to install in any android device.
yes,apk file is enough to install in device

How to run an Android app which will run in any system without using Eclipse

I have created an Android Calculator app in Eclipse. If I want to run my app I need run it through Eclipse. But I want to run my app without Eclipse in any system as normal apps run, just download it and run.
If any one knows how to do this, please help me.
You probably want to take the .apk file in your bin folder. This file is your entire app packaged together.
You can run & install this on other Android phones, but they will have to have enabled "unknown sources" in application settings.
Otherwise, you'll have to publish to the app store, from where the entire world that owns an Android device can download it directly.
app run without eclipse in any system as a normal apps run
may I know how the normal apps run?
it need any emulator or device.
you can run the .apk file without eclipse also!.
download the Android SDk and create an emulator thru avd command and install any app.
the other way you can do by 3rd party software called BlueStacks App Player
this software is only for mac and Windows download here
Inside bin folder of your Calculator app project located on Hard disk there will be .apk file which you can transfer to your device then open file browser whichever you have that will allow you to install and run your application cheers.
Do you mean you want to install it on any device from your system, without the need to run Eclipse?
The command would be something like "adb install bin/MyCalculator.apk". Once you do that, your app is installed just like any other.
Do you mean you want anybody to install your app on their device? Your best bet is to just put it on the Android Market. Don't forget to generate a real signing key (don't use the Eclipse debug key) and sign your app properly before uploading it to the market.
If you don't want to use the market, then you can put the apk file on any web page, and have people download it with their browser. Then they go to their device settings and enable "Unknown sources". After that, they can run their browser, go to "Menu > Download" and select the apk they just downloaded.
Or, you can send the apk file to someone directly, and have them attach their device to their computer, enable USB, and copy the apk to their /sdcard directory somewhere. Then they launch a file browser (they'll have to install that first) and navigate to the apk file. I think that will allow them to install the apk on their device.
I think that should cover it.
You should generate the .apk file, and install it on any device you want..
http://www.technobitez.com/how-to/create-apk-files-for-android-phone
How to build an APK file in Eclipse?

android installing apk file manually error

I wondered what installing apk files into emulator or device means and tried to install manually with eclipse first. I opened file explorer tab in ddms section in eclipse and realized that all files with apk extension are in app folder. I selected app directory and clicked push a file onto device button on the top. With selecting apk file i want it was installed to the emulator. However, i am getting this error when try to run app ,
Is this error about my installation method or caused by something different ?
The only way to install an apk is with
adb install FileName.apk
I think that the installation procedure of an Android application would be more complex than simply putting the apk in the app directory. Various folders have to be created to store application local data, file permissions for the application has to be set, the package manager has to be updated about the new package, and many other scores.
You should really just use the default installer of Android to take care of the installation. And, if you are really curious to know the installation procedure, you can always check out the source code! You can find details in the Getting Started page on how to download the source.

Categories

Resources