Directory Tree List Maker Help - Android Q&A, Help & Troubleshooting

Hi!
I want to create a list of all of my files and folders names in
A txt.file
In pc there are a few softwares which can do so.
But how can i do it on Android
Any help might be great! Plz Answer.
Or if there is no way then plz suggest me a command for
Terminal Emulator to view all the names of files in a folder
Which is located like this in my device
/storage/sdcard0/AM/
Or
/Storage/sdcard0/VM/
AM=Audio Music
VM=Video Music
I have not found an android app to perform a task plz make one, also iam a begginer to c++
Started creating a few programs with these two header files
"stdio.h,conio.h"
I have a little bit concept about iostream
But it would be great if you create a program else plz
Give the whole script for c++ to perform that.
Thanks!!!

List files by ADB
You can use adb:
adb shell ls -R /
Click to expand...
Click to collapse

Related

[Q] Edit The ***.so files?!

Hi
how can I edit the ***.so files in system/bin and lib and others like that...I tried The notepad++ but it was not good , any better ideas?, ofcourse I don't want to edite theme just show for comparisons
sorry my bad En
The .so files in /system/lib are not directly editable. They are binary files (they are compiled from source code into a library) that can't be easily read or written. There are methods of editing them and it involves a good knowledge of reverse engineering and decompiling for the ARM architecture which isn't a task to take on lightly. As for the files in /system/bin, they are applications that can be run from adb shell or a terminal emulator on your device. Just as you can't edit notepad (the application as a whole) on your computer, you can't edit any of the files in /system/bin.
Hope this helps!
mbobino said:
The .so files in /system/lib are not directly editable. They are binary files (they are compiled from source code into a library) that can't be easily read or written. There are methods of editing them and it involves a good knowledge of reverse engineering and decompiling for the ARM architecture which isn't a task to take on lightly. As for the files in /system/bin, they are applications that can be run from adb shell or a terminal emulator on your device. Just as you can't edit notepad (the application as a whole) on your computer, you can't edit any of the files in /system/bin.
Hope this helps!
Click to expand...
Click to collapse
I wanna edit the ones in /system/lib. I need some help. Can you give me any sources on how could I reverse engineer them or at least, any method I could read them?
Get hex-rays ida pro. You'll need the full version as the demo doesn't support the ARM architecture. From there you're on your own lol. I don't know much beyond that point.
Sent from my PC36100 using Tapatalk
There is a easy way to edit lib***.so files in android. Watch this video

[Q] create network share on android

Hello,
is there a possibility to share a directory on android for other clients?
i want to access a directory on a avd from the host, but a frequently pull of the files via adb is too slow for my purposes.
any ideas? anyone?
The only way that I know is share a directory using Dropbox, but you'll need upload the files from your AVD to that directory manually.

Reproducing all content from a folder from command line

Hello I am working i a idea of mounting a windows share and reproducing all the contents with a specific program, for example all images files to open in full screen with gallery or a slideshow program, if a movie with video program etc etc...
i already mount the windows share and i am able to print all the files names but i am struggling a lot on this does anyone knows an app that do this or any thoughts about how to do it from command line?
any idea is really appreaciate
Regards,
"ls"? Or do I misunderstand the question?
thewadegeek said:
"ls"? Or do I misunderstand the question?
Click to expand...
Click to collapse
sorry maybe i didnt make myself clear.
what i need is moreless complex.
I need to make a slideshow of all the content i have in a folder. The problem is that some files are not just images, some are videos.....
So i was thinking that maybe i can do a script in the command line but i need some commands to:
how to open an app
how to pass parameter to it,
i have read that all of it i can find it in manifest file but i also dont know where it is in each application installed.
Another way is if you know any apk that can work.
PLeaseeeee any ideaS?
Google "java find all images in folder".
Sent from my SCH-R760 using Tapatalk 2
thewadegeek said:
Google "java find all images in folder".
Sent from my SCH-R760 using Tapatalk 2
Click to expand...
Click to collapse
i am not doing a apk i am trying to do a script to do what i want, actually i have made some progress, what i now need is how can i now the command an apk accept and his package name, i read this comes in a manifest but where it is in my android system?
eagoweb said:
i am not doing a apk i am trying to do a script to do what i want, actually i have made some progress, what i now need is how can i now the command an apk accept and his package name, i read this comes in a manifest but where it is in my android system?
Click to expand...
Click to collapse
I'm trying dude, but your grammar is killing me. What do you need from a APK and why?
alrededoresfoterp
thewadegeek said:
I'm trying dude, but your grammar is killing me. What do you need from a APK and why?
Click to expand...
Click to collapse
Sorry so true, i was writing really fast...
ok
i need to play all the content in a folder my problem is that i don't know how to determine the name of package and commands of the applications i want to call, here is the code i am using in line command:
This display all the names of all files in the folder
PHP:
for file in 'dir -d *'; do
echo $file\n
done
Then i did another test to try to open an application form line command
PHP:
am start -a android.intent.action.VIEW [weblink]
All this worked
What i want to determine is how can i obtain those package names and commands,for the different applications i install in the android tv box.:
"android.intent.action.VIEW"
But at the same time, the goal of all this is to open all files from a folder like a slideshow of photos and videos.
OK now i am opening astro player from command line, but if i add a new item to the folder how can i send a command to astro player to exit and open again so that he can detect the new file?
is there a 'am stop' command?

[Q] adb can't open my files even though they are in the right folder

Hello,
I have installed ADB and the whole Android SDK to root my asus transformer infinity (tf700t). I have taken all the steps every forum on the web describes: installing everything trough the manager, adjusting the path in the System Variables, and finally it getting it to work together with my tablet. However, when I try to flash/copy/install files from my folder (yes these files are in the same folder as adb.exe and fastboot.exe, which is the folder I used in the System Variables) It can't either find these files or it cannot open these files.
When i put in the command 'path' however. I does give me the path where the files can be found.
Does anyone know where the problem may be?
Help would be much appreciated.
Seppe
Try again and this time copy and paste full input/output from terminal/cmd here
Sent from my Nexus 7 using XDA Premium 4 mobile app

Need help with adb

Im making a game save editor like modio or horizon but for android but to make it a fluent as possible im trying to use ADB to push file to the device so the user dosent have to install it manually. however i cant push or pull files to the directory they are saved (/data/user/0/com.mojang.minecraftpe/) i can push and pull to some folders but not this one. i appreciate any help.

Categories

Resources