rozen9937 / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Samsung Galaxy i7500 1.6 Donut - MediaLibGet cannot send mail #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Samsung Galaxy i7500 - Today returned from service with Android 1.6
Donut (was 1.5 before)
2. Install and run MediaLibGet

What is the expected output? What do you see instead?
I get on screen message:
" Email:
  No application can perform this action."

Please provide any additional information below.
From contacts if I choose someones email address it offers me to send email
using one of two offered email clients.

By the way CSipSimple crash on Samsung Galaxy i7500 with Android 1.6 after
I add account. On restart it crash immediately. So only what I can do is
uninstall and install again.

Tihomir

Original issue reported on code.google.com by heidelbe...@gmail.com on 16 Apr 2010 at 10:39

GoogleCodeExporter commented 9 years ago
Ok for MediaLibGet, i'll investigate it (have you already a configured email 
account?).

For CSipSimple, you're right, this use case (android version upgrade) that is 
not yet
managed. (It's a known issue - I've to do things by an optimized way in order 
to not
affect starting performances)
For now, the only way to get thing fixed is to uninstall and reinstall the 
application.
Let me know if it doesn't work after uninstall/reinstall (in this case, use of
MediaLibGet will be needed, else it only means that application previously 
tried to
use the 1.5 lib while your phone now need 1.6 lib)

I'll try to fix it as soon as possible (probably in next build).
Many thanks for the report.

Original comment by r3gis...@gmail.com on 17 Apr 2010 at 12:35

GoogleCodeExporter commented 9 years ago
Google email account is configured for the phone, I use
9a4gl_DONT_SPAMME_@hamradio.hr which is Google account, but does not end with
gmail.com. I know that Google My Tracks does not work only with accounts ending 
with
gmail.com.

I uninstalled application and installed again. Application works, but when 
configure
account again it crash :( I tried this about 5-6 times with different SIP
configurations. Always the same, it crash when I exit account settings screen.

It seems to me that solution might be to build application by myown, but 
currently I
am too busy, maybe next days I'll have time to do that.

Thanks,
Tihomir Heidelberg

Original comment by 9a...@hamradio.hr on 21 Apr 2010 at 8:43

GoogleCodeExporter commented 9 years ago
Ok, thanks for the test.
If you have some skills with the android SDK, a good idea could be to send me 
/system/lib/libmedia.so
/system/lib/libcutils.so
/system/lib/libutils.so
(using "adb pull /system/lib/libmedia.so ./")

With theses files i'll be able to make a build really quickly for your phone.
And by the end of the day I'll be able to provide you an .apk with bundlized 
native
library (and also latests changes from the trunk ;) )

(in fact the aim of MediaLibGet is to send theses files to me by email, and to 
give
me some fields os java constants ( in android.os.Build.* ) (this last step is 
only
needed for json manifest to enable other users to automatically download the 
good
library).

Original comment by r3gis...@gmail.com on 21 Apr 2010 at 8:57

GoogleCodeExporter commented 9 years ago
Oh, I'm wondering... you are using GAOSP build?
I could maybe download directly libs directly from GAOSP google code update.zip.

I'm downloading it, and if possible, i'll send you a CSipSimple build quickly.

Original comment by r3gis...@gmail.com on 21 Apr 2010 at 9:02

GoogleCodeExporter commented 9 years ago
MediaLibGet from Monday, a bit different behavior... When started there is black
screen, when I press back (or if I rotate screen) I get "Email: No application 
can
perform this action" popup again.

Original comment by 9a...@hamradio.hr on 21 Apr 2010 at 9:04

GoogleCodeExporter commented 9 years ago
Ok for MediaLibGet. I think it's due to the fact android 1.6 email apps doesn't 
allow
to attach mimetype "application/binary". I've coded this app a little bit 
quickly. 
I'll rework it and test it with android 1.5 and 1.6 (unfortunatly it can't be 
done
with emulator since emulator doesn't provide gmail and email app).

Original comment by r3gis...@gmail.com on 21 Apr 2010 at 9:17

GoogleCodeExporter commented 9 years ago
The only source thing I found for samsung i7500 is the GAOSP update but it's 
android
2.1, not 1.6.

A colleague has a samsung i7500 with official version (android 1.5) (he said me 
that
it's the official version supported by samsung).

So I guess your build come from an open source project. Can you precise me what
custom ROM you are using?
(Or if you can, I'm still interested if you can provide me the
/systemlib/libmedia.so, /system/lib/libcutils.so and /system/lib/libutils.so)

Original comment by r3gis...@gmail.com on 21 Apr 2010 at 11:45

GoogleCodeExporter commented 9 years ago
I have no experience with abd, but I managed to send those using ASTRO 
filemanager +
gmail. Will forward those files to you in few minutes.
No, I am not using GAOSP.
My phone was in service due to some connectivity issues, I had very low signal 
and
often without signal (2G and 3G). So, in Samsung service in Croatia they told 
me the
problem was solved by putting new firmware. Weird, but true, the networking 
problem
is solved. 
I know that 1.5 is last official from Samsung, so I was also suprised having 
1.6 now.
I am also suprised how much application have problems now.
It prints:
Model number: galaxy
Firmware version: 1.6
Kernel version: 2.6.29 root@sep-51 #1
Build number: Donut.XXJC2

Original comment by 9a...@hamradio.hr on 21 Apr 2010 at 4:40

GoogleCodeExporter commented 9 years ago
Here are requested files from my Samsung Galaxy i7500 with Android 1.6.

Original comment by 9a...@hamradio.hr on 21 Apr 2010 at 4:46

Attachments:

GoogleCodeExporter commented 9 years ago
Fantastic!

I attach two builds :
the first one with an experimental build option (it seems to works with my 
archos). 
It doesn't use your libs : but generics ones : I'm trying to link with another 
kind
of dynamic linking.

the other one is built with your libs and should works.

Before each install, you'll need to uninstall the application. (A good idea 
could be
also to reboot the phone since I suspect android to cache dynamic libs 
sometimes).

It would be cool if you can say me if the first build 
(CSipSimple_experimental.apk)
works for you. I'm most confident with the second one (CSipSimple_i7500-4) but 
if the
first works it will be a really good news for me :).

Original comment by r3gis...@gmail.com on 21 Apr 2010 at 5:31

Attachments:

GoogleCodeExporter commented 9 years ago
CSipSimple_experiment.apk installed. Account configured. Registration OK !!!
Before I had crash after I returned from creating account.
Outgoing call established. Audio works to both sides !
There are some issues with handup. Two times I had notification that I am in 
call and
I cannot do hangup. But, guess this is not what I am testing...
Also, I noticed once that it made outgoing call when I was on EDGE network, 
which
does not work well here.
On incoming call application crash, so I pressed force close.
Now have to pack for tomorrow trip, hopefully tomorrow I'll find some time to 
test
i7500 version.
In principle, experimental version works on my phone, with some problems I 
explained.

Original comment by 9a...@hamradio.hr on 21 Apr 2010 at 7:32

GoogleCodeExporter commented 9 years ago
Many thanks for your test.

That's a good news if it doesn't crash at start time. 
I think that the i7500 version will not work better regarding the bug you 
mentioned.
There is some known issues (as you described) for low bandwidth connections.
My tests shown that if application fail to handle properly the hangup of a 
call, the
next call will make the application crash. So I don't think that the crash you 
get is
due to the fact it's an incoming call but to the fact it's a call just after a
"silent" bug.
A workaround is to kill the application (using astro for example) and restart 
it.
But i'm working on the problem.

I leave the bug open for the issue with MediaGetLib and the upgrade android 
version
issue.

P.S. : the builds I give to you are based on the last trunk (I'm implementing 
the
native dialer integration but it's not yet functional).

Original comment by r3gis...@gmail.com on 21 Apr 2010 at 8:07

GoogleCodeExporter commented 9 years ago
I am pretty sure it crash on incoming call :(

Can you protect client to be registered on EDGE network ?

Otherwise, sound with CSIPSimple is much better then aSIP and SIPDroid that I 
used
before on Android 1.5.. Don't know if thats due to fixes in firmware related to 
my
bad connection or due to your software.
By the way, both aSIP and SIPDroid does not work now on 1.6.
Congratulation. If you need me for any testing I am here to help.
By the way I was SIP developer for few years on PoC and VCC projects, mostly 
working
on SIP stack. 2 months ago I changed job, but there is still something in my 
head ;)

Best regards,
Tihomir Heidelberg
Zagreb, Croatia

Original comment by 9a...@hamradio.hr on 21 Apr 2010 at 8:42

GoogleCodeExporter commented 9 years ago
Ok for incoming calls, i'll try to reproduce on my htc magic (also on 1.6) with
latest libs.

I use a native library as SIP stack (SipDroid for example use java SIP stack).
So sound quality is better (and battery consumption lower). Besides all codecs
supported by pjsip can be supported by this application.
I suspect there is another application available on android market which use a 
native
sip stack (the same that I use : pjsip) : SipAgent. 
If they really use the same stack that I use, (i've seen relevant logs from 
pjsip
using their app), they don't respect the licence of pjsip as far as I know 
(pjsip is
under GPLv2 - with a dual licence but pjsip author seems to not be aware of 
their use).

For EDGE, I can implement this option (and also an option to choose minimal 
signal
strength). (For now i've just implemented a minimal 3G option for legal purpose 
in
France (some carriers doesn't allow to use VoIP on their network)).

All your comments, ideas and suggestions are welcome. 
Do not hesitate to open issues even if it's for enhancements.

Original comment by r3gis...@gmail.com on 21 Apr 2010 at 9:07

GoogleCodeExporter commented 9 years ago
For the incoming call crashes, the new version should fix it (0.00-11). (Plz 
open a
new issue if not)

Besides, for the main issue, the new library should now work with all devices 
(I now
use JNI to pass audio frames).
As a consequence, MediaLibGet is not useful anymore. So i'll not fix the 
MediaLibGet
issue, since useless right now.
I'll focus on CSipSimple development ;) 

Original comment by r3gis...@gmail.com on 28 May 2010 at 7:55

GoogleCodeExporter commented 9 years ago
Hi I am java developer and I want to build a android application for voip .Plz 
let me
know how to get and use pjsip for android.

Thanks in advance.

Original comment by amolp1...@gmail.com on 7 Jun 2010 at 12:36