General :: Using Find Command To Install APK Files?

Dec 11, 2013

I would like to "deploy" .apk files to a set of tablets for student use in the school. Every now and then I will be required to install new apps across a range of devices. I have sorted out the transfer of the apk files to the tablets using an app called "FolderSync" so that the files will be local on the SD Card. Hopefully this part should not be problematic. Due to the fact that the tablets will be used by students, I want to make the process of installing the apps as automated as possible. Using the command "pm install <app.apk>" command I have achieved this step also. My trouble is that I will require the script to improvise and find all apk files in a folder and install them. So far I have tried the following:

Code:
su
cd /sdcard/FolderSync/
find *.apk -exec "pm install {}" ;

However this returns "find: pm install app.apk: No such file or directory" This may be more of a Linux issue than android, or maybe even just me missing something obvious, however I have tried adjusting the syntax here and there and can't figure out how to successfully install a directory of .apk files.

General :: using find command to install APK files?


General :: How To Install APK From ADB Command Line

Feb 15, 2012

How do install a *.apk from adb command line?

First I tried to cp the *.apk from /sdcard/backups/apps to /system/app (after rw mounting the file system of course)

I did successfully move it to /system/app but the *apk was not "installed"

then I rm it and tried:

install /sdcard/backups/appa/<package>.apk /system/app

and it copied the *apk to /system/app but still was not "installed"

I also tried:

install /system/app/<package>*apk but got the error dialog:

Code:

BusyBox v1.19.0.git.adrynalyne (2010-12-21 22:03:30 MST) multi-call binary.

Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [SOURCE]... DEST

Copy files and set attributes

Options:
-cJust copy (default)
-dCreate directories
-DCreate leading target directories
-sStrip symbol table
-pPreserve date
-o USERSet ownership
-g GRPSet group ownership
-m MODESet permissions

My goal is to figure out how to use adb command line and also I want to install an app as if it were a pre-installed app. For example pre-installed apps don't show up as a removable app and stay installed after a factory reset.

View 9 Replies View Related

General :: Shell Command To List Files In APK?

Jun 17, 2013

I'm trying to unzip an apk using the device shell. I need to see the package name of the app contained in the apk. I tried using unzip -l but I just get output that says "zip flags 1 and 8 not supported". How can I unzip an apk? For that matter, am I using the right tool for this job? I just want to view the manifest of the apk, really. I have busybox.

View 4 Replies View Related

General :: ADB Shell / Is Command - List Of Files Not Sorted By Name

Jun 8, 2012

When I start the ADB shell from the Windows command line, and type the command "ls", the list of files I get is not sorted by name. Also, if I enter "ls -r" which should reverse sort, I get the error message "no such file". If I type "busybox ls -l", I get the expected sorted list. Also, other commands like "busybox ls -la" work.

My Phone is a Samsung Captivate i897, rooted from Gingerbread with Corn Kernel v7.06 with Superuser and BusyBox installed.

How can I get the Busybox version of the shell commands to run without having to type "busybox" all the time?

View 1 Replies View Related

General :: Creating Zip Files In Android Command Line

Jun 27, 2011

I noticed in the newer releases of busybox there's no 'zip' command anymore. I'm running busybox 1.19 on my Incredible.

I have been using this command to create different bootanimation.zip files from my phone but am wondering if there is an alternative command I can use from within Android. I've tried tar -cvzf but I believe tar archives/compresses the files differently and renaming the extensions to .zip does not work.

View 8 Replies View Related

General :: How To Install Python On Android With Working Command SU

May 11, 2014

I've got a moto g and its my first android and its rooted and bootrom is unlocked, and ive installed terminal emulator, but I cant find out how to install python so that it works in terminal eit su, cd , ls ... commands?!?

I've installed qpython app from playstore but you cant do commands like su, cd ..... I've tried ping in terminal emulator and it works so you can enter internet over terminal emulator, so i tried apt-get install python but it says no apt-get command founder something like this, so how to install python on android with working commands( su ...) so that it can enter filesystem directories like /sdcard....

View 2 Replies View Related

General :: Install CWM From Command Comport In Android - Phone Bricked?

Feb 20, 2013

i tryed to install cwm from command comport in android so my phone bricked and when i start it black screen apperas so want to install cwm from zip.i can run only android system recovery(3e) so is any .backup file or .zip file to i use as apply update from sdcard or restore user data to install cwm than i can flash rom and new android version and hope it will works

i have tryed recovery-clockwork-5.0.2.6.zip it starts flashing and i got

Error: invaild OTA package
update.zip is not correct
Installation aborted

View 1 Replies View Related

Android :: Install Command To Install Apk In System/app

Nov 17, 2009

Anybody knows the install command to install an apk in system/app directory .

View 2 Replies View Related

Android :: Command To Find OS Information

Jul 23, 2010

I have to store what version of android users are using, search all over internet, hard to find this info.

View 4 Replies View Related

General :: Find XML Files Associated With UI Sound?

Jan 24, 2013

where i find the XML files associated with UI sound like charger_connecting or sound camera

View 1 Replies View Related

Android :: Need Command To Find Out Pid Of All Process Running On Emulator

Mar 17, 2009

Is there a command to find out the pid of all process running on the emulator? If yes, can you please tell me how can I do that?

View 3 Replies View Related

General :: Where Can Find Qualcomm MSM8660 Hex Files

Apr 13, 2013

My Pantech Burst has Qualcomm MSM8660 and its bricked. I want to flash it using QPST. The problem is that I can't find Qualcomm MSM8660 hex files ie. MPGR8660.hex and msm_8660.bin files.

View 1 Replies View Related

General :: How To Slim A ROM - Find APKs Related Files

Jun 1, 2014

I'm trying to make my own slimmed version of a ROM's .zip, by deleting some APKs and changing some other files (media, bootanaim, walls; minor changes to systemui and framework-res; etc)..

Until now, I've done it several times, but I think that I can do a more in-depth research to reduce junk files..Is there a way to find a list of LIBs and other files that are related to the APKs that I delete??. I've tried two ways:

1) Decompiling APKs and "explore" to find related files

2) Search all over the Web to find information

View 3 Replies View Related

Media :: Music Player Can't Find All Files / Need Doesn't Use Native Index Of Files?

Apr 4, 2010

I have a Samsung Galaxy I7500 using android 1.5. I extended my phone with a 16GB microSD. I copied a big music collection (around 800 files) into a folder on this SD. Now the problem is that the music player can't find all the files.

I know that there are several threads about android not finding music. The answers are usually that the library hasn't yet been updated or that the ID3 tags are not correct.
I have checked both.

Btw. I can play the files using ASTRO.

In my opinion it seems as if android can't build up a library with too many entries. If I rename the files or put them into different folders, songs disappear and reappear quite randomly.

Do you have any solutions? Is there a music player which doesn't use the native music players index of files?

View 3 Replies View Related

General :: How To Install APK Files

Feb 13, 2013

I have APK files in my download folder on Samsung Galaxy 3. I am having problems installing these files. How do I do this?

1. I click on the APK file and it gives me parsing error.

2. I then moved the files to the root directory in systemapps and tried from there. Didn't work. I get JAVA R2ME runtime error.

3. I have the J2ME files in my download folder. Where do I place them?

It's been two weeks and I am not having luck installing my APK files which are a few.

View 3 Replies View Related

Android :: Getting Platform Files From Command Line

Sep 12, 2010

I can't figure out how to get the platform files for development, without running 'android' and starting the GUI. I want to avoid running GUI applications on my dev server, since it's headless and I don't want to forward X particularly. I can't imagine that it does anything more than figure out your platform, pull down a tarball and unpack it, surely this doesn't necessitate a gui, does anyone know how I can get the platform files without it?

View 4 Replies View Related

General :: How To Install APK Files Without Package Installer

Jan 21, 2014

installing an Android app without using the package installer.

Is there any way of installing an app through any other means than clicking on the .apk file in the folder?

Would it be possible to manually extract the apk archive and move the files to appropriate folders somewhere in /root/?

View 1 Replies View Related

General :: How To Edit APK Files To Make It Install As Regular App

Jun 4, 2012

So I have just started nodding apk's . I modded the unicornporn one to get rid of the stuff I didn't like and added in what I wanted. Problem is they'll only install if I paste to system/app and reboot. How can I edit the apk files to make it install as a regular app?

View 2 Replies View Related

Android :: Install Apk Files In Androd 1.5 Using Eclipse IDE - Apk Files Installed

Jul 29, 2009

To android working on eclipse with android 1.5 r2 version when i am running a basic program its showing a error .apk file not found.

View 2 Replies View Related

How To Find Files

Mar 25, 2012

I am new to making android applications, and I was wondering how I can find files? I want to know how I can find certain files in an application with the same extension e.g. it finds all .txt files and with each .txt it shows their names in the application.

View 1 Replies View Related

Can't Find Essential Files

Jul 10, 2012

I am currently learning app-making for Android with Eclipse. I have downloaded android SDK manager and the android plugin for Ecplipse.

The problem is:

- I'm creating an Android project

- In my current tutorial i need to find the main.xml-file in the res/layout-container.

- The tutorial says the main.xml -file automaticly will be created when a project is created.

- I can't find any file that is names main.xml, nor can I find a similar file that should contain the same code.

- If I create an Activity while I'm creating an Android-project, a xml-file with same name as the Activity will be created in the res/layout-container.

what do I have to do to find the main.xml-file?

View 2 Replies View Related

Samsung Captivate :: Wifi - Error 'mmc1 Got Command Interrupt 0x00060001 Even Though No Command Operation Was In Progress

Sep 6, 2010

I have a rooted samsung captivate with sideloading enabled. After experimenting with different wifi tethering apps from the unofficial market, I began experiencing difficulties with my wifi connection. Even after uninstalling every app that I thought was changing the wifi state, the problem still persists. I can turn on the wifi and it will act normally for about 30 seconds before turning off without user intervention. In dmesg, the error is as follows: 'mmc1: Got command interrupt 0x00060001 even though no command operation was in progress.' Is this caused by an app or is this a more complicated problem?

View 15 Replies View Related

HTC Incredible :: Cannot Find Folders And Files

May 26, 2010

I am new and this may be a stupid question. I cannot find files and folders on my Incredible. If I download an attachment I have no idea where it goes. I can't "see" the Droid on my computer when synced so do not know how to find the pictures to transfer to computer.

View 2 Replies View Related

Android :: Cant Find Downloaded Zip Or Rar Files On Sd Card

Oct 22, 2010

I havent been able to find the zip or rar files my phone downloads (or at least I think it has downloaded) through the Browser app.

THe very first time I tried this it worked fine. i downloaded a zip file from filestube and it immediately showed up in the notification bar that it was downloading. When it was done i clicked the notification and i unzipped it with androzip or something like that. Worked like a charm...

But now i have tried many times, and i never get any confirmation that any download has begun in the notification bar or anything. The only thing that leads me to believe that some download is actually taking place is that, for instance, if iam downloading from megaupload, if i click the download button 2x it will take me to window saying that "this i.p address is already downloading a file".

But i cant find any evidence of this on the phone? I have looked through all the folders on the sd card, but no luck.

View 6 Replies View Related

Motorola Droid : Want To Find - View Sent Pdf. Files?

Jan 30, 2010

I sent a pdf file from my corporate email to my personal email. On my Droid email it gives me the option to save or open. It opens and I know it saves on my sd card. How do I find it and view it after that?

View 1 Replies View Related

ADB To Find And Recover Files From D4 With Dead Screen?

Mar 19, 2014

I think the connection between the body and screen broke. Nothing shows on the screen, and there's no touch input available. But the device is still able to power on, reboot, and is recognizable from my Windows PC. I'd made a fairly recent nandroid backup, so I'm not in an emergency phase, but there are some files and photos I'd still like to try to recover from the broken device. Basically just files on the internal SD card. I was rooted, running stock Android on the latest OTA.

I'm not very experienced with ADB, but have started to give that a shot. I've tried various ls commands, but am stuck at a point where I get an error. Using a console (Console2), I ran ADB, then used this command:

Code:
adb shell ls -R /storage/sdcard0/
I got this error:

Code:/storage/sdcard0/: opendir failed, Permission denied

I'm not sure if this error is because I didn't open shell with root access. But when doing that, I run into other trouble because I'm not familiar with the linux-style commands. Another small issue I've bumped into is that when running the ls command on large file trees, the results are cut off by the console's 9999 line buffer.pull all the data from the entire internal SD card?

View 1 Replies View Related

HTC Tattoo :: Want To Free Up Memory / Where To Find And Delete Files

Sep 20, 2010

Where does the installation files over sync store in phone memory,after some time it has a notification low phone memory,where i can find and delete these files?

View 2 Replies View Related

Jelly Bean :: Find APK Files And Move To SD Card

Jan 31, 2014

I use android 4.3 with custom ROM and my device is root. I use Google play store to install applications . where I can find apk files are downloaded by play store ,? I want find them and move them to SD card and use them later , if I want reinstall them and do not use more bandwidth of internet . I do not want use application like titanium , I want do this with file manager . Can I do this for more space , for my phone . for example I find them and move them to SD card , for more space

View 11 Replies View Related

KitKat 4.4 :: How To Permanently Remove Files So Diskdigger Can't Find

Apr 5, 2014

Any file shredder app or scrambler?

View 1 Replies View Related

HTC Desire :: Cannot Install Apps Anymore / Why Does This Happen - How To Find

Sep 24, 2010

My Desire started to refuse to install new applications or update old ones. They would download fine but then I'd get a message saying "Installation unsuccessful" but not give me any further information as to why that is. When using .apk files, I get "Application not installed" but no further information as well.

I have enough space on both the phone and the SD card and I am running a rooted 2.2 original ROM.

So I'm stuck and I need your help. Why does this happen and how can I find out?

View 17 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved