How to create Shorcuts? - P3400 ROM Development

Hi all,
I have installed some programs on my SD Card that i use regularly. I have manually created all the shortcuts in a separate directory. Now each time i flash a rom i need to copy these shortcuts to programs directory.
Is there any way or program that can place them automatically to the destination directory such as batch file in windows
copy <source> <destination>
I have no idea about mortscript may be it is possible with that.
Thanks
Found this with the help of mortscript
xcopy("\Storage Card\!MyApps\Games\!Links\*.lnk","\Windows\Start Menu\Programs\Games")

tvse0821 said:
Hi all,
I have installed some programs on my SD Card that i use regularly. I have manually created all the shortcuts in a separate directory. Now each time i flash a rom i need to copy these shortcuts to programs directory.
Is there any way or program that can place them automatically to the destination directory such as batch file in windows
copy <source> <destination>
I have no idea about mortscript may be it is possible with that.
Thanks
Click to expand...
Click to collapse
Use Resco explorer or I think total commander can also do the thing easily .

Related

How do I relocate an application to SD card?

XDA I has only 32M RAM that is shared between application installation storage and program run time memory, a precious resource. Lots of applications don't offer the option of installing it to a different place, e.g. Storage Card\Program Files directory that I created. (To make the shortage worse, even if an application is installed on the SD card, there are dll's that the application installs to the Main Memory's Windows directory anyway.)
I can cut and paste to relocate / move the application directory from Main Memory to Storage Card brute force but it doesn't work well. I presume that the Registry contains links pointing to the application directory that I moved away, just like desktop Window versions. I guess I need a regedit program (Special Edition came with it) to fix the links in the Registry. Is that all? If I choose not to upgrade to the Special Edition, which program is best for this? Much appreciated!
Try the CABINSTL - this software enable to install anywhere Your programs, if You can find the installed applicaton's CAB file.
http://www.snapfiles.com/get/pocketpc/cabinst.html
telegurus said:
XDA I has only 32M RAM that is shared between application installation storage and program run time memory, a precious resource. Lots of applications don't offer the option of installing it to a different place, e.g. Storage Card\Program Files directory that I created. (To make the shortage worse, even if an application is installed on the SD card, there are dll's that the application installs to the Main Memory's Windows directory anyway.)
I can cut and paste to relocate / move the application directory from Main Memory to Storage Card brute force but it doesn't work well. I presume that the Registry contains links pointing to the application directory that I moved away, just like desktop Window versions. I guess I need a regedit program (Special Edition came with it) to fix the links in the Registry. Is that all? If I choose not to upgrade to the Special Edition, which program is best for this? Much appreciated!
Click to expand...
Click to collapse
FYI if you use the cut & paste method you must recreate your links manually using a file explorer. But the best way go is to just reinstall your applications and select Storage card instead of Main memory.
Also under Add/Remove Programs un-check "Install programs into the default installation folder".
HTH
Thanks to both of you!
Using cabinstl. you have to create the directory,
\Storage Card\Program Files\app_dir_name as the destination directory. I first designated \Storage Card\Program Files as the destination and cabinstl hangs. Check the box "Associating .cab with cabinstl" is convenient so that you can copy/paste the .cab file to \Storage Car\tmp, say, using Windows Explorer, and double-click on the cab file on XDA I to start installation. With this tool, you can install any .cab nicely to \Storage Card\Program Files - so far it works with every .cab application installation file I use.
Qman said:
Also under Add/Remove Programs un-check "Install programs into the default installation folder".
Click to expand...
Click to collapse
For other readers: it's the Add/Remove Programs from ActiveSync's Tool menu on the PC (vs XDA). For some applications, they give you an .exe installer for you to run on the PC to install it on XDA. Bring the Add/Remove Programs tool up, un-check it, and then double click on the .exe installer. Minor restriction: it always installs it at the top level of the Storage Card, not 100% desirable but serves the purpose of preserving Main Memory.
ActiveSync's Help for Add/Remove Program indicates that ActiveSync assumes that an application installer is in .exe form that runs on the connected PC and installs on the PC as well as XDA. I don't understand why it needs to install on the PC.

How can I copy or remove system file?

Hi everyone
I want copy and delete some files to windows folder, but I don't know how can I handle it ?!?!!?
My PPC is Xperia X1i
My Rom is 826x
I there any application for this action?
thanks ...
Most files in \windows are in ROM, so they cannot be deleted. You can copy things using programs like Resco File Explorer or TotalCommander on your phone.

[Q] XTRSense 5.01 Questions

This is a question for Zach, but as a new user I did not have access to his thread. First, congratulations on developing a great ROM. You do great work, I love XTRSense 5.01. However, I have come across two small glitches, both related to your GScript app.
After running the Apps2SD script, all of the other scripts disappear. There is a note to find them on the SD card, but I haven't been able to find any scripts there. I specifically want to install the battery life script. Is there a way to recover access to the scripts?
Second, I accidentally ran the script that deleted HTC Teeter. Is there any way to get it back short of reinstalling the ROM?
Thanks in advance ...
TexasBadger said:
This is a question for Zach, but as a new user I did not have access to his thread. First, congratulations on developing a great ROM. You do great work, I love XTRSense 5.01. However, I have come across two small glitches, both related to your GScript app.
After running the Apps2SD script, all of the other scripts disappear. There is a note to find them on the SD card, but I haven't been able to find any scripts there. I specifically want to install the battery life script. Is there a way to recover access to the scripts?
Second, I accidentally ran the script that deleted HTC Teeter. Is there any way to get it back short of reinstalling the ROM?
Thanks in advance ...
Click to expand...
Click to collapse
Hi! Just to note, I'm not currently running xtrSENSE or xtrROM, but I have quite a lot in the past and probably will again someday, so I thought I'd answer what I can.
1. I don't know what's going on with scripts disappearing, are you sure you actually added them to GScript's list of available scripts? When you load GScript, initially it's blank, and you have to tell it to load each script individually. Make sure the checkbox for run as root is checked for each one. Then the first time you run one from the main GScript screen, it'll prompt you for SU access. Sorry if I'm including info you already know, just making this answer friendly for anyone who happens to find this thread. There should be a folder called gscript on the SD card.
Note: Different folder listing programs list files and folders in different sorting orders. Linux is case sensitive so you can have both a folder named gscripts and one called GScripts (only the first should exist, I'm just using it as example). What I'm getting at is that some programs list all the files and folders with starting with the lower-case letters first, and then the upper-case ones after, so if you look for the folder gscript, make sure and search everywhere in the listing.
Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow.
2. Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory.
Partial Success
"Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow."
This worked perfectly. The GScript folder on the SD card was empty. Not anymore, and the scripts work fine.
"Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory."
I put teeter.apk on the SD card, but my attempts to intall it with ES File Manager failed. Maybe related to Apps2SD?
TexasBadger said:
"Also, if you must, you can open the ROM zip file on your computer and look in the sdcard folder in it and you'll see the gscript folder there with all the scripts inside. Just copy the gscript folder to your SD card if they got deleted somehow."
This worked perfectly. The GScript folder on the SD card was empty. Not anymore, and the scripts work fine.
"Same as the last suggestion, you can open the ROM zip file on your computer and in the system\app folder there you'll find "teeter.apk". You can use Root Explorer off the Android Market to put that back in system\app, or you could just install it from your file manager (Astro, File Manager...) for it to reside in normal user memory."
I put teeter.apk on the SD card, but my attempts to intall it with ES File Manager failed. Maybe related to Apps2SD?
Click to expand...
Click to collapse
You don't want it on the SD card. You need to navigate to /system/app in internal storage on the ROM. Apps2sd moves third party apps that you install from the market to the SD card, but does not move the internal apps in /system/app.
You may need to restart after you pop that .apk back in /system/app to get it back in your app drawer.

[Q] Desktop favorites folder on Galaxy Note

Hi! Can somebody please tell if it is possible to create a folder on the desktop of Galaxy Note where I could put my favorite files of different types - mp3s, docs, videos etc?
It is very simple to create a new desktop folder but I have no idea how to fill it with the files I want
Also, is it possible to create a desktop shortcut to a data folder (with music etc)? Thank you very much in advance for help.
The only way to fill a folder with files is:
Make a folder in your SD card with the files you want
Download Astro file manager
Long tap on home screen
Choose 'add shortcut'
Find astro shortcut
Choose the folder
So you have a shortcut of your folder, but you'll open it with astro....
Hope I helped you
BB BRO
Kl2usty said:
The only way to fill a folder with files is:
Make a folder in your SD card with the files you want
Download Astro file manager
Long tap on home screen
Choose 'add shortcut'
Find astro shortcut
Choose the folder
So you have a shortcut of your folder, but you'll open it with astro....
Hope I helped you
BB BRO
Click to expand...
Click to collapse
Thank you very much! Actually I was hoping to do it without an extra app, but this is also a very good solution.

Bluestack: How can I transfer files into folders in SDcard w/o using SharedFolder?

Hello,
I am facing a problem and maybe you can help me.
How can i access a folder within the SDcard of Bluestacks with my Windows Explorer?
For example: I have a folder directing to and called SDcard/Games and I want to transfer files from the Windows Explorer directly to THAT specific folder and not by using the SharedFolder.
The thing is that on Regedit you can change the Key defining the Path Bluestacks accesses files on your PC in Windows Explorer, but there is no way to change the pre-defined Path which directs from the PC (Windows Explorer) to Bluestack's SharedFolder.
Basically I just want to set my own Path to which my files I transfer from Windows Explorer to Bluestack are send and not the one that comes with installation (SDcard/windows/SharedFolder)
Bump

Categories

Resources