I have now got PennyTel setup with money in the account and the phone
verified.
I send a test SMS via the app to my daughters phone and this succeeded
without any error messages etc on my end).
The issue is my daughter didn't get it. I double checked the phone
number by ringing her. I can see the sms on my phone.
I went to the Pennytel site and my balance hasn't changed and if I try
for a statement nothing shows up. This may mean that Pennytel didn't
get it or that it failed to send. If IT fails (invalid phone number),
will it log it somewhere?
Now I think I know why the number may be invalid as there is a bug in
the app (perhaps only visual) because it shows the phone number with
spaces replaced with "%20" ("1234 5678" as "1234%205678"). Surely the
app should handle brackets, minus signs and spaces?
As I know nothing of the PennyTel API I don't know how it works, but
I'd expect it to come back with a return code indicating success or
failure, if failure I should have been told....
Thanks,
Dennis
--
You received this message because you are subscribed to the Google Groups "Pennytel - Android App" group.
To post to this group, send email to pennytel---...@googlegroups.com.
To unsubscribe from this group, send email to pennytel---androi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pennytel---android-app?hl=en.
Thanks for the quick response.
On Wed, Jan 13, 2010 at 12:26 PM, Chris Gilligan
<ch...@gilligan.id.au> wrote:
Sorry you are only the second person i have heard of that has spaces
in phone numbers. Due to this and the face i did not know of anyone
when i built the app i have not built code to remove spaces and other
characters that should not be in phone numbers. i handle the + sign as
it has a purpose and valid reason to be there but spaces and minus
signs are not handled.
Not sure if you are saying you won't be fixing bugs or making
enhancements or whether you think it will take a while until I can
expect it to be handled?
Also i assume you are talking about sending the sms via my application
and not via the built in sms application in the phone.
I did use your application and sure enough after taking out the spaces
everything worked (except showed up as PennyTel on receipt, looking
into that now).
I also found the sms under "Services->Sms History" where the first
failed email shows up as the number with your "%20" set as "20" so
PennyTel does remove the formatting also and that includes the "%"
signs.
It has been a while since i have looked at the pennytel sms API but i
don't think it tells me if it fails or not. i hope to offer an
alternate sms provider at some point as pennytel sms can be quite
delayed sometimes. I have had sms take over a day to arrive before.
Not sure what alternative sms provider i will offer yet but if i do
you would have the option to choose between them.
Sounds like it "scheduled" it so its probably come back with a thumbs
up in any case.
Thanks,
Dennis
P.S. Didn't realise the email response wasn't also going to the group
(too used to Yahoo groups).
On 13 Jan, 12:41, Chris Gilligan <ch...@gilligan.id.au> wrote:
> *
> Not sure if you are saying you won't be fixing bugs or making enhancements
> or whether you think it will take a while until I can expect it to be
> handled?*
>
> I will prob get around to fixing it at some stage and i have another issue
> with sending sms via the mobile network but it will prob be a while off. I
> am quite busy at work, home and trying to get a small business started so
> this app does nto really get the attention it needs at the min.
If you are in the middle of some changes I can understand that it may
take a while
to get to a stage where its ready to release, if not then this fix
should be quick...
In any case I'll have to remember at least for now to edit any contact
I wish to sms
to and thereby making it harder for me to read them without my glasses
on :-(
To help anyone else with the same issue where the issue was "PennyTel"
was
the sender of the sms and not me, I went into "Services->Send SMS" and
under
"Account Details" Changed "My Number" to my mobile, overriding the
default
(which I've yet to locate).
Thanks,
Dennis
On 13 Jan, 13:49, Chris Gilligan <ch...@gilligan.id.au> wrote:
> It is not a quick fix as i need to store before and after numbers and need
> to update the smartdial to support the spaces as well otherwise ...
I don't understand the need for this but then again I didn't write the
app :-)
I am however a programmer and it doesn't sound right, if you were to
compare 2 phone numbers for any reason then the first thing you'd have
to do is remove all formatting and probably handle
internationalisation and none of this would require storage. If you
are already doing this then given you aren't removing common
embelishments from the phone numbers it may not be working well, from
what I saw Pennytel remove them so in fact you may not need to do
anything to any number EXCEPT for comparison purposes.
In any case I have a workaround, you actually do handle the "-"
character so I am simply converting any spaces in my contacts into
minus signs. Before sending an SMS with your app I simply double
check that it knows the contact name and the number looks OK or I edit
the contact first.
Thanks,
Dennis
On 13 Jan, 13:49, Chris Gilligan <ch...@gilligan.id.au> wrote:
> Just for a matter of interest and you can rely to just me if you want and
> not the whole group but i was wondering why you are reading the phone
> numbers assigned to your contacts in the first place. I guess i need to
> read themt o tell others but that is quite rare. I jsut notices in the
> latest android i have on my phone the numebrs are nto layed out nicely.
> they use to be not sure why it is gone maybe it got removed in the current
> version or i need to turn it on.
Oops forgot to answer this, Some phones do some prettying up for you,
many don't.
I need to look at the phone numbers where a person may have a number
of contact
phone numbers. It also makes visual validation of phone numbers
easier.
Bye,
Dennis