Comments (14)
Do your contacts have the same phone number ? As a company number ?
Are they google contacts ?
Are they mobile phone number ?
Original comment by [email protected]
on 2 Jan 2011 at 6:52
- Changed state: Investigating
from gtalksms.
Jacob does not have a number. It shows him for every send.
He is a Facebook contact.
They are Google contacts with mobile numbers set.
Original comment by Eckankar
on 2 Jan 2011 at 7:00
from gtalksms.
Can you force contact sync in global parameters -> account & sync -> and
uncheck and check every field contact for each account.
After sync is ok reboot your mobile.
It's a weird bug because the contact request works fine for me with the same
configuration as you.
Original comment by [email protected]
on 2 Jan 2011 at 11:28
from gtalksms.
Looking a bit at the source code, my guess as to the source of the bug would be:
ContactsManager.getContactName(Context, String) assumes that the String
parameter is a phone number.
However, in MainService.java:506, setLastRecipient is called with a string
which isn't a phone number (in my case) and sets _lastRecipient to this. This
is in turn passed directly to getContactName.
The reason the message goes through and only the names fail is that the phone
numbers are looked up through ContactsManager.getMatchingContacts, which
performs the lookup in a different way altogether, while getContactName is used
for finding the display name.
That'd be my guess, at least. Haven't done any proper debugging.
Original comment by Eckankar
on 3 Jan 2011 at 12:07
from gtalksms.
Correct, good catch, I'll commit a fix for the next version. But it's weird
that getMachtingContact return a match in your case.
Original comment by [email protected]
on 3 Jan 2011 at 2:09
- Changed state: Started
from gtalksms.
It could possibly be because his mobile number is listed as "Askme".
Original comment by Eckankar
on 3 Jan 2011 at 2:11
from gtalksms.
Original comment by [email protected]
on 5 Jan 2011 at 8:42
- Changed state: Fixed
from gtalksms.
It hasn't completely fixed it.
The "Sending sms to XXX" message still is wrong.
Original comment by Eckankar
on 6 Jan 2011 at 7:22
from gtalksms.
Original comment by [email protected]
on 6 Jan 2011 at 8:48
- Changed state: Investigating
from gtalksms.
Is your phone number contact always set to "askme" ?
If you change it, does it fix your problem ?
Original comment by [email protected]
on 16 Jan 2011 at 12:46
- Changed state: NotReproduced
from gtalksms.
I'm a persistent bugger, so I'd rather find the bug than do a workaround. :)
ContactsManager:250, getContactName is called with contact.name, but it expects
a phone number.
That'd explain how MainService:853 and MainService:857 gets a wrong name for
phone.contactName.
Original comment by Eckankar
on 16 Jan 2011 at 1:44
from gtalksms.
oups I miss this one... I hope this time it's the good one!
Thanks for your help.
Fixed in next release.
Original comment by [email protected]
on 16 Jan 2011 at 3:05
- Changed state: WaitingForRelease
from gtalksms.
Fixed in 1.7.2
Original comment by [email protected]
on 16 Jan 2011 at 7:43
- Changed state: Fixed
from gtalksms.
Original comment by [email protected]
on 25 Aug 2011 at 7:51
- Changed state: Deployed
from gtalksms.
Related Issues (20)
- Add formatting to SMS from <contact> HOT 3
- Send and read mail via Exchange client HOT 1
- MMS File Transfer/Email Option HOT 9
- 'GTalkSMS stopped' message stays on screen until phone is restarted HOT 4
- Crash on incoming phone call on masked number HOT 4
- Remove phone's SMS notifications on Mark As Read command & auto mark as read feature with preference entry HOT 15
- Long delay in sending a reply or no reply at all, when the phone is locked. HOT 21
- Reply command lag HOT 2
- cmd command can hang app HOT 6
- Frequent "Application not responding" while locked HOT 3
- Create chat rooms for sms thread - One room per phone number HOT 3
- Only on Wifi HOT 11
- Control gtalksms from Tasker/Locale HOT 3
- Provide support for Sky Chat as well as it is provided by gtalk HOT 1
- GTalkSMS Services fails to reconnect or just vanishes HOT 4
- German Translation HOT 6
- [From Market] Unmanaged exception in EditIntegerPreference HOT 3
- Change Locale by Application Preference HOT 5
- NullPointerException when receiving URL from Pidgin HOT 5
- Patch: Updated German translation for GTalkSMS 1.7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtalksms.