[Q] Viber - How are user image names calculated? - Android Q&A, Help & Troubleshooting

Does anyone know this? Viber saves images on the sd card and they seem to have a hash value as name... They even change the name if a new image is downloaded for the same contact...
Actually I looked through the code but I could not find out what they are hashing to get the name...
Does anyone have any idea? They have a database with Viber users and a column image with a hash as well, but it's not the same as the images file name...
Any hint or help is well appreciated...
PS: I have an app (with root) that enables syncing contact pictures with social networks and with social apps. Therefore it would be nice to somehow find out how's pictures are available in the viber folder... at least for root users who can access the databases of viber...

Did you ever figure this out? I'm wrestling with the same issue.

Related

A few issues

Hiya
Firstly, may I say what a great resource this forum is!! I've learnt a lot and I've only had the XDA for just under 2 months!
SMS storage, is anyone closer to finding out where this is stored? I have managed to locate the messages you send OUT in the windows\messaging folder, though it's only the actual text and doesn't contain any of the timestamped stuff etc. I cannot for the life of me find where the inbox for sms should be. I know others have had similar problems.
Cleartype, I have it enabled and it looks great, but it doesn't seem to appear everywhere. ie the Today screen. I did have a program (I think it might be Pocketblinds) but I found it unstable to the point where I would turn off the pda part, then back on again to find that the custom start menu icon had disappeared. Grrrr. Does anyone know a way to make cleartype effects appear on the today screen? I've tried putting a reg entry in various places of the registry for it but to no avail.
Also, if there is a way to bind together numbers and contact info for incoming SMS messages, presumably the same would apply for outgoing ones. Does anyone know of a program to do with sent items as sms_name by paragon does for inbox entries?
Thanks in advance
Anthony
in the database 'pmailFolders' lookup the desired foldername,
then open that foldername as a database.
these folders have names like 'fldr10019e7', these likely different
on each machine.
This may seem a stupid question, as I say I'm new to the XDA and hope to start writing programs for it soon (I've been a programmer for a while but not in this style)....
how do I open it "as a database"? I've tried going into Databases and selecting it but i cannot drag it to the desktop or open it in file explorer on the phone.
Cheers
Anthony
If you are interested in enabling celartype (any many other enhancements) you should check pocket facelift.
John

[REQ] FixContactPhotos

Dear Android developers,
Most of you should be aware of this on going issue with Android:
http://www.google.com/support/forum/p/Google+Mobile/thread?tid=49e2b1adea1aa11c&hl=en
Basically, when you synced with GMail Contacts, the contact photos will be replaced with the low resolution 96x96 pixel resolutions that are stored in the GMail Contacts.
So, is anyone up to an application to workaround this?
I have a very good idea, an application that does this:
- Start the application
- Click the "Replace" button
- Then the application will search all image files in folder /sdcard/ContactPhotos
- For each matching image file name with "<lastname>,<firstname>.png", the application will replace the contact photo with that image file
- Process until finished with all stored image files
- Done
The idea of this application, user could easily replace all contact photos using locally stored high resolution image files, in one go.
Whenever, our contact photos are replaced with low resolution from GMail Contacts or after flashing a new ROM, or other means, we can easily restore them back with high resolution easily!
So, please, if you are capable of making this kind of app, you could be the one who solve this years of Android problem.
Thanks.
just sign in to FriendsStream widget with facebook or twitter, and sync with all contacts!
this will fix this issue and images will be clear and hq
Very nice
Should be said that it's a ICS speficic problem
This is not about Facebook/Twitter contact sync.
This is about GMail Contacts sync.
Those two are different, if you dont know.
And not all people (contacts) are on Facebook/Twitter!
I also heard that even with FriendsStream/SyncMyPix, to sync with Facebook, you will not get high resolution image.
infazz said:
just sign in to FriendsStream widget with facebook or twitter, and sync with all contacts!
this will fix this issue and images will be clear and hq
Click to expand...
Click to collapse
No, this is not ICS specific problem.
This problem is known issue since as long as 2008:
http://code.google.com/p/android/issues/detail?id=1265
Wonder why we don't have workaround like this suggested app ...
jvvpc said:
Very nice
Should be said that it's a ICS speficic problem
Click to expand...
Click to collapse
Well would say it is The actual size when people call is decided in the phone and people app. Android other than ICS will still be limited to the small sizes. Only ICS supports 256x256 pictures and will therefore only benifit for a server upgrade / this app
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
In GB, I can replace contact photo with high resolution, no problem with that.
But once you sync with GMAIL Contacts, it will be replaced with low resolution.
Have you read the original Google bug tracking started on 2008?
You should, then you would understand.
jvvpc said:
Well would say it is The actual size when people call is decided in the phone and people app. Android other than ICS will still be limited to the small sizes. Only ICS supports 256x256 pictures and will therefore only benifit for a server upgrade / this app
Click to expand...
Click to collapse
Sent from my Galaxy Nexus using xda premium
lufc said:
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Click to expand...
Click to collapse
If you read carefully, I was not asking to solve a problem as by tweaking or changing configuration.
I was asking someone who could write an application that does specific task, replacing contact photos using high resolution images stored locally.
Got that?
Sent from my Galaxy Nexus using xda premium
Did anyone actually do something like this? Or found an existing app that does something like it?
The closest thing I have found is this app: https://market.android.com/details?id=com.eclipson.ContactPhotoFinder
But while it is possible to search your local storage, it doesn't perform a search & match for "Contact Name" and "Contact Name.jpg"...
gogol said:
Dear Android developers,
Most of you should be aware of this on going issue with Android:
http://www.google.com/support/forum/p/Google+Mobile/thread?tid=49e2b1adea1aa11c&hl=en
Basically, when you synced with GMail Contacts, the contact photos will be replaced with the low resolution 96x96 pixel resolutions that are stored in the GMail Contacts.
So, is anyone up to an application to workaround this?
I have a very good idea, an application that does this:
- Start the application
- Click the "Replace" button
- Then the application will search all image files in folder /sdcard/ContactPhotos
- For each matching image file name with "<lastname>,<firstname>.png", the application will replace the contact photo with that image file
- Process until finished with all stored image files
- Done
The idea of this application, user could easily replace all contact photos using locally stored high resolution image files, in one go.
Whenever, our contact photos are replaced with low resolution from GMail Contacts or after flashing a new ROM, or other means, we can easily restore them back with high resolution easily!
So, please, if you are capable of making this kind of app, you could be the one who solve this years of Android problem.
Thanks.
Click to expand...
Click to collapse
This seems to fit the requirements:
http://forum.xda-developers.com/showthread.php?t=1621031

[Q] Modify an contact reading app

Hello,
i like to modify an app which is reading the whole phonebook. this app sends the complete phonebook over the internet.
Ive tried to modify the decompiled smali file with help of the jar file, but its very difficult. Im a experienced programmer in PLC programming and some other languages like c# but the smali code is very difficult.
Can anybody help me to modify the app?
Is it possible to implement fix contacts in the app like disable the access to the contacts an give an fixed array of hard programmed contacts?
Thanks for help
BTW. English is not my main language
If you have root you can download and install Permissions Plus on the Google Play Store. (Needs BusyBox too!). You can block and change permissions for apps.
But this app looks like malware/greyware. What app is it?
Sent from my super rare, old Scroll Excel running Android 2.3 using the offical app.
The app is wha_ts.ap(WA).
I know there are diffrent apps for permission management. i use srt appguard. The problem is, i can aalow or disallow access to the contacts.
But i like to give the WA only 10 contacts and not the whole phonebook with all numbers and email adresses etc...
I thougt that i can give a fixed array of contacts to the app by modifing the smali.
Or is it possible to change the contact access in the smali like simlier to sql? Like this SELECT WHERE MEMO '*WA CONTACT*' or something else...
Is it difficult to change the contact access in then smali??
No idea?

[Q] email account color in database file?

I've seen lots of threads in XDA asking how to change the account colors in the default email client that you see in the combined view. The only solution I've ever seen is deleting and re-adding accounts until you get a desirable color.
I have a rooted phone so I thought I'd simply find the field in one of the database files (like EmailProvider.db) and make the change...but I can't find it. Has anyone else had success here? I just have to believe the color is in some database file.

[Kik] Extract chat log from database

Hey everyone.
I recently found out that Kik auto deletes old message and being a bit of freak about storing old messages, I decided to take the matters into my own hands. I was able to locate the databse file and extract the text from it via SQLite
But when I opened the db file as plain text, I found all the old chat messages in the file but for some reasons, they aren't visiable in the database. I have very limited experience with databases, so if I'm missing something obvious, I'm sorry.

Categories

Resources