How hard can it be to find a simple text editor that edits any text file stored anywhere you want it to be stored on your internal or external sdcard? - General Topics

How hard can it be to find a simple text editor that edits any plain ASCII (*.txt) text file stored anywhere you want it to be stored on your internal or external sdcard?
On every platform (except Android?), you can create a plain ASCII text file & store that txt file anywhere you have write permission.
And then you can edit that ASCII plaintext file using any text editor (e.g., gVim or Notepad on Windows or vi on Linux).
You can even link a shortcut to that text file on your desktop in a folder of other text files.
Is that too much to ask for Android to have the same functionality?
You store a bunch of plain text files anywhere you have write permission.
When you want to edit them, you tap on a shortcut in a folder of shortcuts.
That brings up whatever editor you have that shortcut set to use.
Lest you think otherwise, I have tried text editors but there are too many to test, but to date, ALL of them store the text file ONLY in their own proprietary location and they store them in their own proprietary format.
I don't want a proprietary location or proprietary text format.
I just want what every other platform has the ability to do.
I want to take ANY text file and edit it with ANY text editor and save it ANYWHERE I have write permission.
Is editing any plain text file too much to ask for in something as simple conceptually as a basic Android text file editor?
--
(Yes, I'm aware Windows & Linux store carriage returns & line feeds differently.)

The first one I tried called simple text editor can save a txt file wherever I have write permissions to (I don't have external sd card to test).
It's small (1MB), open source.
https://f-droid.org/en/packages/com.maxistar.textpad/
Since it's my first time using it, I can't vouch for it's reliability, speed, etc. But if you just want to edit small plain txt files, it seems to work okay.

Thank you for the suggestion of the FOSS "Simple Text Editor" tool by Maxim Starkov (aka MaxiStar).
F-Droid
<https://f-droid.org/en/packages/com.maxistar.textpad/>
Google Play Store
<https://play.google.com/store/apps/details?id=com.maxistar.textpad>
Free, ad free, gsf free, rated 3.9/4.46K reviews @ 500K+Downloads
GitHub
<https://github.com/maxistar/TextPad>
I went to the F-Droid app on my phone and searched for "simple text editor"
F-Droid came up with the "Simple Text Editor by Maxim Starkov" version 1.24.0
That installed on my Android 12 Galaxy A32 5G
I allowed it to access photos & media
And it opened to "newfile.txt" saying "Type Something Here"
I entered "this is a test" and hit the three dots and then save
It asked me where to put the file (defaulting to "Downloads")
Instead I put it to the external sdcard, folder 0001, subfolder txt
That seemed to have worked
In Settings, there are useful options which default to
[_]Open last
{To open last edited file}
[x]Show Last Edited Files
{Show last edited files in options menu}
[_]Autosaving
{Automatically save currently editing file when window is closed}
[x]Alternative File Paths
{Allow assigning alternative addresses for files if no file system permissions granted.}
Encoding = (o)UTF-8
(many other encoding options existed)
Line Delimiters = (o)default
(UNIX/Windows/Mac line-ending options existed)
SAVE TO TXT:
The only option I changed was I turned autosaving on.
Then I used a file manager to look for the file it had saved.
One of the options to edit it was the "Simple Text Editor" by Maxim Starkov.
That worked.
OPEN WITH SHORTCUT:
Then I used the SimpleMobileTools FileManager to create a desktop shortcut to the newfile.txt file.
When I tapped that desktop shortcut from the homescreen, a dialog came up asking me which program I wanted to use to edit the text file.
One of the options to edit it was the "Simple Text Editor" by Maxim Starkov.
That worked.
RANDOM TXT FILE:
Then I used the MiX FileManager to create a foo.txt text file on the external sd card in the 0001 folder, and in the txt subfolder.
In MiX FileManager I tapped on that foo.txt file and up came an "Open with" selection which included the newly added "Simple Text Editor" by Maxim Starkov.
That worked.
TEXT FILE COPIED FROM WINDOWS:
Then I copied a text file named snafu.txt from Windows over to the external sdcard 0001/txt foder.
Using the Android FileManager I tapped on that snafu.txt file.
It asked how I wanted to treat that file (I selected "text").
Up came an "Open with" selection which did NOT contain the option for the "Simple Text Editor" by Maxim Starkov.
Instead I selected the MK File Manager text editor (mathewkor)
That worked (but it failed to open in the right editor).
But when I used the "My Files" filemanager, it worked!
EXISTING TEXT FILE
But when I tapped on an existing text file that was created previously, the "Simple Text Editor" by Maxim Starkov went through all the motions as above, but it would not write the file for some reason.
The error is "Cannot write file"
In conclusion, it worked almost perfectly.
When I tapped on the file in almost every file editor, an "Open with set of options came up, almost all of which contained the "Simple Text Editor" by Maxim Starkov.
When I created a homescreen shortcut to the text file, an "Open With" set of options came up containing the "Simple Text Editor" by Maxim Starkov.
When I copied a text file from Windows, the action was the same as the above, which is a good thing.
The bad news...
Two things failed:
When I tap on the text file in some file managers, the Simple Text Editor by Maxim Starkov does NOT show up.
When I tap on old text files, even when the Simple Text Editor by Maxim Starkov does show up, it sometimes can NOT write the file.
Dunno why.
I think what I'll do is copy all the existing files that can't be overwritten for some reason, and then try to start fresh.
Thanks for the advice of using this FOSS "Simple Text Editor" by Maxim Starkov (aka MaxiStar).

GalaxyA325G said:
The bad news...
Two things failed:
When I tap on the text file in some file managers, the Simple Text Editor by Maxim Starkov does NOT show up.
Click to expand...
Click to collapse
I only use the built in LineageOS "files" app and it has no problems prompting the Simple Text Editor each and every time.
GalaxyA325G said:
2. When I tap on old text files, even when the Simple Text Editor by Maxim Starkov does show up, it sometimes can NOT write the file.
Click to expand...
Click to collapse
It doesn't happen on my device. I can bring up text files, make a change and click save and it says "file written" each and every time.

retiredtab said:
I only use the built in LineageOS "files" app and it has no problems prompting the Simple Text Editor each and every time.
Click to expand...
Click to collapse
Thanks for mentioning LineageOS, where my Samsung is impossible to root, but where I do have an older J7 which is possible to root - so someday I'm going to learn about "lineageOS" and install it there as I specifically don't use any Google apps already anyway (I use Aurora, Newpipe, Ungoogled Chromium, FairMail, NetGuard, etc., instead).
Even as I disable the Google services and I don't even log into anything, I would like to try LineageOS on that J7.
However, back to why I saw the anomolies with the suggested FOSS text editor is there is one thing I have NEVER understood is....
What makes an app show up in the "Open with" dialog selection?
For example, look at the screenshot below where the Aurora Store isn't one of the "Open with" selections but sometimes it is, where I can't figure out what "magic" is there that puts an app into the "Open with" selection list.
As an aside, if you know what "magic" makes an app like this simple text editor show up in the "Open with" selection, THAT would be immensely useful to me!
retiredtab said:
It doesn't happen on my device. I can bring up text files, make a change and click save and it says "file written" each and every time.
Click to expand...
Click to collapse
I think it's a specific issue with my device since I moved the sd card from one Android phone to another so maybe the file is locked in some way that only shows up with some editors and not others.
I'm not making it up though - it happened - but I assume it's "user error" on my part for now as I go with Occam's Razor when it makes sense.
BTW, I started scratching the surface to figure out what makes a file writeable to some apps but not to others, where I found by looking the following...
Apparently a text editor must support something called "all files" mode, which is briefly described here.
<https://developer.android.com/about/versions/11/privacy/storage#all-files-access>
To see what the text editor has as all files permissions, I first looked in my FOSS app manager to see if I could find that mode.
<https://github.com/MuntashirAkon/AppManager>
This is some of the detailed information for MaxiStar Simple Text Editor.
Data Directory: /data/user/0/com.maxistar.textpad
Device-protected: /data/user_de/0/com.maxistar.textpad
Flags: FLAG_HARDWARE_ACCELERATED
Editor: soft input mode, no permission required
Search suggestions: path permissions null, patterns allowed null
android.permission.READ_EXTERNAL_STORAGE = dangerous, granted
android.permission.WRITE_EXTERNAL_STORAGE = dangerous, granted
By way of comparison, the WriterP program <co.easy4u.writer> shows a horrid number of additional permissions granted to it.
Data Directory: /data/user/0/co.easy4u.writer
Device-protected: /data/user_de/0/co.easy4u.writer
Flags: FLAG_HARDWARE_ACCELERATED
Editor: soft input mode, no permission required
Search suggestions: path permissions null, patterns allowed null
android.permission.ACCESS_MEDIA_LOCATION = dangerous, granted
android.permission.ACCESS_NETWORK_STATE = normal,instant,granted
android.permission.ACCESS_WIFI_STATE = normal,instant,granted
android.permission.INTERNET = normal,instant,granted
android.permission.READ_EXTERNAL_STORAGE = dangerous, granted
android.permission.READ_PHONE_STATE = dangerous, granted
android.permission.WRITE_EXTERNAL_STORAGE = dangerous, granted
android.permission.WRITE_EXTERNAL_STORAGE = dangerous, granted
com.android.vending.BILLING = normal,instant,granted
While it's clear which of those two text editors has too many permissions, is the write "all files" permission shown in the above screenshots?
I don't know.
It's hard to tell what exactly to look for from the definition:
<https://developer.android.com/training/data-storage/manage-all-files>
But I think the fact both writers above have this permission is maybe it?
android.permission.WRITE_EXTERNAL_STORAGE = dangerous, granted
In summary, I think all that is needed for a text editor to write to a file anywhere I have write permission is "all files" permission for
storage is needed, where the only thing I need to figure out is how to tell if that "all files" permission has been granted to any given app.
<https://support.google.com/googleplay/android-developer/answer/10467955>
"Google Play restricts the use of high risk or sensitive permissions, including a special app access called All files access. This is only applicable to apps that target Android 11 (API level 30 and declare the MANAGE_EXTERNAL_STORAGE permission, which is added in Android 11. Also, this policy does not impact the usage of the READ_EXTERNAL_STORAGE permission."

I am also looking for a simple text editor that can work with my A23. I was using J7 Prime and any text simple editor works ok with it. But with A23, I don't find any simple text editor yet that works fine.
After many attempts, I realize there is a permission called "All files access". But none of the simple text editor I have tried, including Simple Text Editor, are listed under that permission.
Can I simple conclude those text editors are only for old Android version? Is there any text editor that can be supported by Android 13 or higher?

Related

File types and association app. Doubt.

The problem is with Pocket Breeze, on tab 'Notes'.
I would like to know how can I choose an app to be first one to open .txt files on this tab on PB.
I tried to do this with File Explorer and Resco (with 'Always use' and 'File Extension'). In this apps, it worked, but not on 'Notes' in PB.
I installed before Text Reader and during the installation, it asked me if I what this app as the principal to open .txt files. I said yes and then, PB recognized and open all .txt files with this one.
But now, I want to change it to Haali Reader. I tried do regedit HKCR\txtfile\shell\open\command & opendoc\command, but it did not work either.
hiroshi.rio said:
The problem is with Pocket Breeze, on tab 'Notes'.
I would like to know how can I choose an app to be first one to open .txt files on this tab on PB.
I tried to do this with File Explorer and Resco (with 'Always use' and 'File Extension'). In this apps, it worked, but not on 'Notes' in PB.
I installed before Text Reader and during the installation, it asked me if I what this app as the principal to open .txt files. I said yes and then, PB recognized and open all .txt files with this one.
But now, I want to change it to Haali Reader. I tried do regedit HKCR\txtfile\shell\open\command & opendoc\command, but it did not work either.
Click to expand...
Click to collapse
Did you eliminate the exe command or forgot and made no changes at all? I don't like ClearVue by Westek, so to get rid of the command for ClearVue to open for pdf files, I simply highlighted the data value, and tapped the backspace key on the onscreen keyboard, saved changes. "ok", waited a couple minutes, re-set device.
8125
2.25.11.102
hotdog said:
Did you eliminate the exe command or forgot and made no changes at all? I don't like ClearVue by Westek, so to get rid of the command for ClearVue to open for pdf files, I simply highlighted the data value, and tapped the backspace key on the onscreen keyboard, saved changes. "ok", waited a couple minutes, re-set device.
Click to expand...
Click to collapse
I forgot to the inverted commas... lol...
I changed the opendoc path, but I forgot the inverted commas after select the path. It was: Storage Card\Program Files\Haali\Reader\Reader.exe %1, and not "Storage Card\Program Files\Haali\Reader\Reader.exe" %1
Now its ok.
Thanks.

How can I export my Shazam tagged songs list?

Before formatting my TD2 I made a full backup.
Now I want to transfer my Shazam tagged songs list back.
Simple copy paste from the backup is not working.
Where Shazam is keeping the list of tagged songs?
How do I export that list?
__________
Update: found it!
Can someone please open this attached shazam.db (from shazam for wm 6.5 ) and return the song list , date and time in some other format? xls, cvs etc.
Thanks!
Update:
Shazam.db file in aplication data\shazam\folder is where all tags are stored.
Did you have any luck with this? I was hoping to do the same thing, but I hit a wall when I realized that I don't know how to access files on my Droid's internal storage. Would you mind pointing me in the right direction?
Found nothing so far.
Anyone?
Incorrect....
Either the htc hero has a different file structure or this information is inaccurate....
There is no such file path.
I whipped a quick app (attached below) that can back up the shazam database file to your SDCard (in folder "shazambackup") and restores it need be.
Also you can export the Tagged songs to xml (saved as "exports.xml" in the "shazambackup" folder).
Next i'll probably parse the xml to a more readable format. Maybe CSV? or just Plain Text? Any ideas are welcome!
Let me know if you have any issues. So far i've only tested it on my G1. Must also have a rooted phone for any of this to work.
Can you please open this shazam.db (from wp6.5) and return the song list , date and time in some other format? xls, cvs etc.
Thanks!
bump.
Anyone can help?
See first post.
You're dealing with mostly Android here, you may want to ask in a WM or phone specific forum.
(from... Evo/MIUI/Tapatalk)
kokenjr said:
I whipped a quick app (attached below) that can back up the shazam database file to your SDCard (in folder "shazambackup") and restores it need be.
Also you can export the Tagged songs to xml (saved as "exports.xml" in the "shazambackup" folder).
Next i'll probably parse the xml to a more readable format. Maybe CSV? or just Plain Text? Any ideas are welcome!
Let me know if you have any issues. So far i've only tested it on my G1. Must also have a rooted phone for any of this to work.
Click to expand...
Click to collapse
Does not work properly on Desire. Opens the app after installation but "backup" button does not create the backup file and "Export to XML" makes the app force close without exporting anything.
About the export feature - the CSV version would probably be the best.
Thanks!
p666nn said:
About the export feature - the CSV version would probably be the best.
Thanks!
Click to expand...
Click to collapse
Can you or someone please export attached shazam.db (zip) in any other usable format?
Thanks!
Bumb!
BUMP!!!!!!
CSV would be great
The app's export to xml feature also fails on HTC Evo 4G (GingerBread).
Solution with SQLite
Hi everybody,
I found a solution to export the list via SQLite. I had to find it for myself as I found nothing on the web, but I put it here, so perhaps somebody else is looking for such a solution as well.
This explanation is about how to get Shazam's data base file from your Android phone, access it on your computer and export a list of your tagged songs.
1. COPY FILE FROM PHONE
The data is stored in the file on your Android:
/data/data/com.shazam.android/databases/library.db
You have to copy this file to your Computer to work with it. Probably everybody does this in a different way. Mine was probably a bit more difficult than necessary, there should be simpler ways (e.g. with ssh / scp), but mine was: Opening the Android app "Terminal" and typing in the command:
Code:
cp /data/data/com.shazam.android/databases/library.db /sdcard
Then the file was copyed on the sdcard, which I could access to with my computer via USB cable.
Then you need a program which can open SQLite-Files. There is the command line tool (at least in Linux) "sqlite3", but also graphical tools for Linux/Windows/Mac like the "sqlitebrowser" (Link: sourceforge.net/projects/sqlitebrowser).
2. OUTPUT FROM DATA BASE:
In every of these tools, you can execute SQL-commands. For my output I chose:
Code:
SELECT a.name , t.title, t.subtitle, t.album, t.subgenre_name, tg.short_datetime, tg.location_name , tg.lat, tg.lon
FROM artist a, artist_track at, track t, tag tg
WHERE a.id = at.artist_id AND at.track_id = t._id AND tg.track_id = t._id ORDER BY tg.timestamp;
This command displays a list of the songs, ordered by their timestamp.
So with the command line tool "sqlite3" you just type in:
sqlite3 -line /tmp/library.db "SELECT a.name , t.title, t.subtitle, t.album, t.subgenre_name, tg.short_datetime, tg.location_name , tg.lat, tg.lon FROM artist a, artist_track at, track t, tag tg WHERE a.id = at.artist_id AND at.track_id = t._id AND tg.track_id = t._id ORDER BY tg.timestamp;"
Click to expand...
Click to collapse
The output is in lines, you could also let put this in a text file by e.g. adding to this command:
"[see above] > shazam-tracks.txt"
Click to expand...
Click to collapse
There is also a way to export the data into an html table (just the table, no complete html file), by changing "-line" for "-html". For further details on how to export everything to a different file format (CVS etc) have a look on the Manpage of sqlite3 (command "man sqlite3").
With the graphical tool "sqlitebrowser" it is imho only possible to show this list, not to export it to a textfile. After having opened the .db-file with the program, you chose the tab "Execute SQL" and put there the above SQL command ("SELECT [...]"). Voilà!
3. DETAILS:
What I do like this is combining the necessary data of the database. They are spread over several tables. There is a table "artist" with the list of the artists and their unique ids. Then there is the same for the tracks, "track". In the "artist_track" table there is listed, which artist's id belongs tho which track's id. Finally in the table "tag" there are additional data like the time stamp of the song and even it's geo data tag.
With the SQLite program you can easily watch all the data and add / remove data from the SQL command, as you wish.
So far, I hope, I could help somebody?
Greetings, spectas
spectas said:
Hi everybody,
I found a solution to export the list via SQLite. I had to find it for myself as I found nothing on the web, but I put it here, so perhaps somebody else is looking for such a solution as well.
This explanation is about how to get Shazam's data base file from your Android phone, access it on your computer and export a list of your tagged songs.
1. COPY FILE FROM PHONE
The data is stored in the file on your Android:
/data/data/com.shazam.android/databases/library.db
You have to copy this file to your Computer to work with it. Probably everybody does this in a different way. Mine was probably a bit more difficult than necessary, there should be simpler ways (e.g. with ssh / scp), but mine was: Opening the Android app "Terminal" and typing in the command:
Code:
cp /data/data/com.shazam.android/databases/library.db /sdcard
Then the file was copyed on the sdcard, which I could access to with my computer via USB cable.
Then you need a program which can open SQLite-Files. There is the command line tool (at least in Linux) "sqlite3", but also graphical tools for Linux/Windows/Mac like the "sqlitebrowser" (Link: sourceforge.net/projects/sqlitebrowser).
2. OUTPUT FROM DATA BASE:
In every of these tools, you can execute SQL-commands. For my output I chose:
Code:
SELECT a.name , t.title, t.subtitle, t.album, t.subgenre_name, tg.short_datetime, tg.location_name , tg.lat, tg.lon
FROM artist a, artist_track at, track t, tag tg
WHERE a.id = at.artist_id AND at.track_id = t._id AND tg.track_id = t._id ORDER BY tg.timestamp;
This command displays a list of the songs, ordered by their timestamp.
So with the command line tool "sqlite3" you just type in:
The output is in lines, you could also let put this in a text file by e.g. adding to this command:
There is also a way to export the data into an html table (just the table, no complete html file), by changing "-line" for "-html". For further details on how to export everything to a different file format (CVS etc) have a look on the Manpage of sqlite3 (command "man sqlite3").
With the graphical tool "sqlitebrowser" it is imho only possible to show this list, not to export it to a textfile. After having opened the .db-file with the program, you chose the tab "Execute SQL" and put there the above SQL command ("SELECT [...]"). Voilà!
3. DETAILS:
What I do like this is combining the necessary data of the database. They are spread over several tables. There is a table "artist" with the list of the artists and their unique ids. Then there is the same for the tracks, "track". In the "artist_track" table there is listed, which artist's id belongs tho which track's id. Finally in the table "tag" there are additional data like the time stamp of the song and even it's geo data tag.
With the SQLite program you can easily watch all the data and add / remove data from the SQL command, as you wish.
So far, I hope, I could help somebody?
Greetings, spectas
Click to expand...
Click to collapse
Thanks!!! It helped me since Shazam no longer gets past the setup screen!
I found that with SQliteExport you can use your same command above and export to a file of your choice, for example, xls or csv. Here's the link to the little program:
http://www.speqmath.com/tutorials/sqlite_export/index.html
Flyview said:
Thanks!!! It helped me since Shazam no longer gets past the setup screen!
I found that with SQliteExport you can use your same command above and export to a file of your choice, for example, xls or csv. Here's the link to the little program:
http://www.speqmath.com/tutorials/sqlite_export/index.html
Click to expand...
Click to collapse
Tried but cant do it. I need step by step instruction. Or better, can someone just export the db that I attached? (See OP - first post - shazam.db ?)
Thanks
K
Best solution for exporting from shazam database
Delete this one please
Hello I am new on the forum. I've learned a lot of things in this website, it's time to payback
I’ve got another solution to this issue….
1.-Download this plugin for Firefox.
addons.mozilla.org/es/firefox/addon/sqlite-manager
2.- In Firefox – Tools, select SQLite Manager
3.- In the new window select database – connect database – then open your db from shazam
4.- Then you’ll see two panels. on left panel select track and on right panel, select browse and search then you’ll be able to see all your tag info
5.- On the left panel select track – right click – export table, select csv on right panel then ok.
6.- Open your new saved database with any office (word, excel)
7.- That’s all
Shazam Tags
snakesight said:
Hello I am new on the forum. I've learned a lot of things in this website, it's time to payback
I’ve got another solution to this issue….
1.-Download this plugin for Firefox.
addons.mozilla.org/es/firefox/addon/sqlite-manager
2.- In Firefox – Tools, select SQLite Manager
3.- In the new window select database – connect database – then open your db from shazam
4.- Then you’ll see two panels. on left panel select track and on right panel, select browse and search then you’ll be able to see all your tag info
5.- On the left panel select track – right click – export table, select csv on right panel then ok.
6.- Open your new saved database with any office (word, excel)
7.- That’s all
Click to expand...
Click to collapse
This above works well nice one.
I was trying to do my own program before I saw this.I'm not a programmer but I stuck together a few bits of code I found and hopefully works you you. Use android app Root Browser Lite to copy file from data/data/com.shazam.android/databases/library.db to your sd card. Or use the app posted earlier which does this for you.
Put library.db file from you Shazam backup in the same folder as this program and run program and hit 'GetTags' and should get CSV and htm versions of your tags. No error checking or anything fancy in this program. Requires .NET 3.5. May only work on 32-bit machines. I'd like to enhance this and will if people find it useful.
How results should look.

Associate files with an application?

Is there a way to specify what app the File Manager app on the Eee Pad should use to open a file with based on file extension? For example, I want the File Manager to use ACV to open CBR files.
I noticed some apps are already associated with certain file extensions (for example ezPDF with PDF files). Presumably this association was made by the installer. Is there anyway for me to explicitly make file associations?
asincero said:
Is there a way to specify what app the File Manager app on the Eee Pad should use to open a file with based on file extension? For example, I want the File Manager to use ACV to open CBR files.
I noticed some apps are already associated with certain file extensions (for example ezPDF with PDF files). Presumably this association was made by the installer. Is there anyway for me to explicitly make file associations?
Click to expand...
Click to collapse
With android devices, it will ask you about an unassociated file type. If the association is already set though, you can go in to menu/settings/applications/manage applications and then go to the app that whatever you're trying to change the association to and click clear defaults. For example:
I clicked on a jpg in my file browser but nothing is associated with it, it will ask me as well as giving me the "always open with this" checkbox. Say i pick gallery and but i install another gallery app later and want to change it. I'll go in to manage apps, then in to gallery, and click clear defaults. When you try to click on a jpg again it will once again pop up the list with apps that can read jpgs.
If the app in question you're trying to create associations with doesn't show up on the list though, i'm not sure how to manually set it a la windows.

[TIP/TRICK] Double tap home to launch... anything!

This is a trick I came across (originally seen here, I think). Of course there are apps that can do this for you (see here, for example), but I like to do things without extra apps, if possible. I will use the stock Task Manager as an example (since that is why I looked into this in the first place)..
What you will need is:
-root
-SQLite Editor (or equal)
-Root Explorer (or equal) <-- may or may not be necessary depending on how you find your app names and processes.
-your desired app's full name and process
-resourcefulness
First, check your "Double tap home launch" settings in Settings>Applications to make sure the app you want to launch is not already listed.
Then, locate and note the full app name and process of your choice (it will need to be in this form: <full app name>/<full app process>). For example, this is what one would need to launch the stock Task Manager (which is all anyone should need as far as a task-killer, if you ask me):
com.motorola.PerformanceManager/com.motorola.PerformanceManager.PMAdvancedViewTab
I've looked everywhere for finding the right process name, but where I ended up finding it was in the AndroidManifest.xml in the apk (this is where Root Explorer would be necessary). Your apks are located in the /system/app folder for system apps, and /data/app for user apps (View apk, then view the AndroidManifest.xml file).
The full app name should be basically the first entry listed as <manifest package="app_name_here" versionCode=blah,blah...>. The process name is a bit trickier, but should be found a little further down in the manifest under <activity configChanges="###" label="resource_blah,blah,blah" name=".app_process_name"... The process name will start with a ".", and you need to tack that on the end of the app name, as shown above for Task Manager.
Once you have the info you need, open SQLite and open Settings Storage (the com.motorola.android.providers.settings one, with a hammer & wrench icon). Open the settings.db, then settings (should be very familiar if you've tried the tether hack), and find the line for "double_tap". Edit the value as necessary using app_name/app_process format (there should be no spaces in the value that you enter), save, close, then double-tap home to test it.
Here are a couple apps/processes that I find useful:
Task Manager
com.motorola.PerformanceManager/com.motorola.PerformanceManager.PMAdvancedViewTab
Root Explorer
com.speedsoftware.rootexplorer/com.speedsoftware.rootexplorer.RootExplorer
I started making a list on my sdcard, but it proved to be too much hassle finding the proper processes - if anyone knows of an easier way to locate these, PLEASE post! Also, if people are interested in this, please post the apps/processes that you find so we could compile a reference list.
(Holy crap - I did not realize how long this post is becoming...)
its another way to show how friendly the original coder/(mana)gers/corp. is
Sent from my ME865 using XDA

[Q] Merge 2 Whatsapp Backups

Hey Guys,
I read a bit through this forum and i see you guys know a lot so I wanted to ask for help here .
Soo like the titel says i want to merge 2 Whatsapp Chatbackups together because i have 1 Chatbackup from my old Smartphone and one from my new One...I googled first and tried some methods i found there. First i tried SQlite Browser but it didnt work because my databases are like this: "msgstore.db.crypt7 or msgstore.db.crypt5 but they are supposed to be like this msgstore.db" correct me if im wrong ;p...so i tried WhatsappXtract and Sqlite Admin but it didnt work aswell...I tried to convert from crypt 7 and crypt 5 to crypt with Whatcrypt but it always failed. My Idea now is to 1. decrypt my Msgstores from msgstore.db.crypt7 to msgstore.db
2. To use this Instruction :
HOW TO MERGE SQLITE DATABASE FILES WITH SQLite Compare: 1. Open the old database file in SQLite Database Browser. Open the table messages in Browse Data. Press the Button " > " as often as necessary to get to the last page. Scroll down to the last message. Now write down the number (_id) of that last message, e.g. 65422 2. Now open the new database file in SQLite Database Browser. Open the table messages in Browse Data. Click on the first entry (which has most fields with value "-1"). Click on Delete Record. Have a look at the now first entry and write down the number (_id) of that first message, e.g. 12 Now Click on Execute SQL and execute the following SQL statement: UPDATE messages set _id = (65422 + 1 + _id - 12) (replace 65422 by your last message _id in the old database and 12 by your first message _id in the new database) 3. Now all messages in the new database have the correct _id`s. Click on Save. Close all windows of SQLite Database Browser. 4. Download & Install SQLite Compare. Open SQLite Compare. 5. File - Compare For example: Left file: msgstore-2012-06-01.1.plain.db Right file: msgstore-2012-06-07.1.plain.db (Make sure to have a backup of both files!) x Compare schema and data x Compare BLOB fields OK 6. Double Click on table "messages" in the result window OR left click on table "messages" and hit button "Edit selected difference..." 7. A new window opens, "Table messages" Click on blue button "R" (it`s located after "Refresh Comparison", "L" and before "≠", "=") 8. Now on the right side all messages are shown that aren`t included in the left file. Now you can select multiple messages (first left click on the first message to select, then scroll down to the last message to select and press SHIFT + left click on the last message to select). I noticed that you can`t handle too many messages at once as it produces an error. Just try. I succeeded with about 1000-1500 messages. Now click on the button with the arrow from right to left: ← Now the selected messages are copied from the right database to the left database. 9. Repeat the steps in (8.) until all the messages are copied from the right file to the left file. 10. Maybe you also need to to this for the table chat_list if there are some new chat contacts in the newer backup file. 11. Now the left file (e.g. msgstore-2012-06-01.1.plain.db) contains all the messages from the prior file msgstore-2012-06-01.1.plain.db and the newer file msgstore-2012-06-07.1.plain.db. (No saving necessary as the tool automatically applies the changes to the file after pressing the ← button).
Now i wonder if this would work and how do i do my first Step?
Sorry if this is a totally Wrong Thread im a Newbie
Thanks to everyone who read this!:good: <3
Btw if anyone knows how to merge 2 Whatsapp Backups easier just tell me ^^
Got interesting will try to find a way out..
Thankyou this never came in my mind.
Zeuscluts said:
Got interesting will try to find a way out..
Thankyou this never came in my mind.
Click to expand...
Click to collapse
Okay Thanks man

Categories

Resources