Related
I am trying to copy or move a file from \windows which is a .dll file. I am getting an error when trying to do this programatically in C# with .NET. Does anyone know how to access the files in \Windows directory without access restrictions?
Thanks,
heimlich
if they are in the rom one cant just delete or in some cases access them runtime only at pre flashing rom image time
Could you be a bit more detailed? I want to get access to a .dll to see what their function calls are. How can I get the dll onto my desktop to view it?
Thanks,
heimlich
try copying them to your sd card using total commander
I tried that. I get an error telling me it is unable to copy files. Looks similar to error I get when I tried with native file explorer and .net File.Copy();
Any other suggestions would be appreciated.
Thanks,
heimlich
If it is in ROM, you can't copy it right out as a file, the best you can do is to LoadLibraryEx it with LOAD_LIBRARY_AS_DATAFILE, then if you can locate it in memory, you can dump it out to a file on disk.
How do I know if something is in ROM? I know it is in \windows and that is about it and in file explorer I can see the file as .dll.
thanks,
heimlich
One way is to use GSFinder. It marks ROM files with a different icon. Most of the files that are in the \Windows folder are in ROM.
Is there anyway to install java files such as .jar or .jad from your sd card onto your phone? I thought there was something on the market the waould help do this but all I found was j2me midp runner and that doesn't help. Anyone with info, I would appreciate it.
Here http://www.netmite.com/android/srv/1.4/getapk.php you can convert .jad to .apk
I'm just starting in my attempt to develop apps for Android, and am starting by learning Java. I have downloaded the Headfirst Java textbook along with JDK and Eclipse. However, I can still not open the .class and .java extension files needed for the textbook. Perhaps I did something wrong? What exactly is supposed to open those files? I am running Windows 8 and have not figured this out. Any help would be appreciated, thanks!
Imnice777 said:
I'm just starting in my attempt to develop apps for Android, and am starting by learning Java. I have downloaded the Headfirst Java textbook along with JDK and Eclipse. However, I can still not open the .class and .java extension files needed for the textbook. Perhaps I did something wrong? What exactly is supposed to open those files? I am running Windows 8 and have not figured this out. Any help would be appreciated, thanks!
Click to expand...
Click to collapse
.class is a compiled executable, just like exe why you need to see the content of it, .class is meant to be executed. just do java <yourclass_name> and press enter. in CMD prompt. it will run.
as you said you had installed eclipse/JDK?, then to open java file it is an editor.
Are you facing anything else ?
Amit
Eclipse can be kinda funky if you haven't got your classpath set up correctly. Try installing Intellij IDEA and opening the .java files in that, compiling then running.
If you have a hard time installing JDK
Try goormIDE
You can easily build a development environment with a cloud IDE service that provides docker-based containers.
I appear to have multiple copies of the sdk manager installed and the older copy appears to be connected to my copy of eclipse. How would you recommend I correct the problems. I run eclipse on a win7 notebook, in case you need this information to effectively answer this.
Sent from my GT-P5113
You need to change the location of the SDK to point to the new one, or if you dont have any plugins you can just redownload the bundle ADT with the new eclipse already connected to the latest SDK and just delete the ones on your PC.
Beside setting SDK folder in Eclipse, did you set any value for PATH in Environment Variables ?
Most of us often want to add custom functionality to an existing apk and know how to do it in java, but don't know the exact dex/smali syntax. Trying to add this, there, test, error, debug, fix & hopefully getting it to work is common. To solve all of that trouble, I bring you this.
I made these little scripts to add an extension to Windows explorer shell for doing a task most people couldn't just do this easy. So now can just write your functionality in java, right-click the file & click Convert To *.smali and tada! You have the dex/smali compatible code which you can then paste it into your apk smali file.
Installation:
Download the attachment & extract the archive.
Run install.cmd as Administrator to install Windows Explorer shortcut.
You can also darg-n-drop files on convert.cmd to convert them.
Nice bro :thumsup:
Thank you very much. This is exactly what I need
Thanks for the information..
I would like you to help me with this issue since I do not want to work the conversion
it not work
where is the converted smali jfile?
Hello.
I click the right button of mouse and click the Convert to*.smali.
But I didn't the converted file.
could you lend me a hand?
vaibhavpandeyvpz said:
Most of us often want to add custom functionality to an existing apk and know how to do it in java, but don't know the exact dex/smali syntax. Trying to add this, there, test, error, debug, fix & hopefully getting it to work is common. To solve all of that trouble, I bring you this.
I made these little scripts to add an extension to Windows explorer shell for doing a task most people couldn't just do this easy. So now can just write your functionality in java, right-click the file & click Convert To *.smali and tada! You have the dex/smali compatible code which you can then paste it into your apk smali file.
Installation:
Download the attachment & extract the archive.
Run install.cmd as Administrator to install Windows Explorer shortcut.
You can also darg-n-drop files on convert.cmd to convert them.
Click to expand...
Click to collapse
Can you please update this. I tried running it on windows 10 and after that I don’t see the right click convert to smali
It's not working on Windows 10....Any updates on it?