Call Recorder - Need your help :)

ilan

Expert
Licensed User
Longtime User
Last edited:

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
Oukitel K10000

Crash Log said:
LogCat connected to: 8DJJDYLV99999999
--------- beginning of system--------- beginning of main
screen_page1_clv_itemclick (java line: 3017)
java.io.IOException: setDataSource failed.
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1105)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1051)
at anywheresoftware.b4a.objects.MediaPlayerWrapper.loadAfterReset(MediaPlayerWrapper.java:95)
at anywheresoftware.b4a.objects.MediaPlayerWrapper.Load(MediaPlayerWrapper.java:62)
at net.sagital.callrec.screen._page1_clv_itemclick(screen.java:3017)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:897)
at anywheresoftware.b4a.keywords.Common.CallSubNew3(Common.java:847)
at net.sagital.callrec.customlistview._panel_click(customlistview.java:393)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:169)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:153)
at anywheresoftware.b4a.objects.ViewWrapper$1.onClick(ViewWrapper.java:78)
at android.view.View.performClick(View.java:4856)
at android.view.View$PerformClick.run(View.java:20270)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5637)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)


Edit: restarted the app and the record was able to be played

IMG_20160524_144918_263.JPG
Check box checked not pretty

Don't find how to delete a record
 
Last edited:

ilan

Expert
Licensed User
Longtime User

ilan

Expert
Licensed User
Longtime User
Don't find how to delete a record

when you check the items dont you get a menu from the right side? sliding to the left (like in the vid ~ 00:58)?
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
when you check the items dont you get a menu from the right side?
No, I have no menu at all

Restarted from zero. No menu
IMG_20160524_150037_851.JPG
 
Last edited:

inakigarm

Well-Known Member
Licensed User
Longtime User
Hi Ilan:

On my moto G2 (lollypop) a toast displays the message that call recorded is not allowed on this phone or there's another call recorder app.


As far as I know, I haven't a call recorder app. Any hint?

Pd: great layout!
 

ilan

Expert
Licensed User
Longtime User
Hi Ilan:

On my moto G2 (lollypop) a toast displays the message that call recorded is not allowed on this phone or there's another call recorder app.


As far as I know, I haven't a call recorder app. Any hint?

Pd: great layout!

I am using the audio streamer lib from erel and there i set the aource to 4 what means call recording.

If you try the example from erel audio syreamer lib (v1.5) are you able to record anything?
 

ilan

Expert
Licensed User
Longtime User

rboeck

Well-Known Member
Licensed User
Longtime User
Three small problems i found: Select app language with german has no effect; but the language is stored in settings.
The menu font seems to be cutted on g,p and all chars with lines under the base line.
On first run there is only placeholder for logo, and it seems, that the app is not working; after a short time, the normal user interface is shown. On the second starting it seems to be faster.
 

ilan

Expert
Licensed User
Longtime User
Select app language with german has no effect; but the language is stored in settings.

the language settings is stored but the translation is still in progress so that function is not working now (i have the translation i only need to implement it)
(share recording and secure recording is also in pogress so that wont work for now either)

The menu font seems to be cutted on g,p and all chars with lines under the base line.

can you please upload a screenshot?

On first run there is only placeholder for logo, and it seems, that the app is not working; after a short time, the normal user interface is shown. On the second starting it seems to be faster.

this is correct, i found out that loading the contacts takes to much time so what i did is i am loading all contacts only in the first time the app was started and then i store my own db (create a map and store it) and on the next time the app will start i will use that map.

now if the user has insert a new contact i wont have it in my app thats why i am starting a service when the user exits the app and that service is updating my db file in the background. like this every start will go fast and only the first time the app was started it will take a little bit more.
 

rboeck

Well-Known Member
Licensed User
Longtime User
Here are two screenshots; the second one was made in the meantime with my first call - this call was broken one time, but the app registered each call twice.
But there was no recording found an the app crashes if i choose a sample to play.
I unterstand, why it needs time to start, but the end user will be leaded trough each pause, so you should show a progress indicator or anything else in the meantime. You know, how important the first seconds of an app are for your success.
 

Attachments

  • Screenshot_2016-05-24-15-42-02.png
    Screenshot_2016-05-24-15-42-02.png
    25.2 KB · Views: 33
  • Screenshot_2016-05-24-15-50-56.png
    Screenshot_2016-05-24-15-50-56.png
    25.5 KB · Views: 32

ilan

Expert
Licensed User
Longtime User
Ok thank you i will check out whats going on. It is always a mystery for me when an app runs on 1 phone and very differently on another. It is hard like that to make a great app. :(
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
@ilan: I am now able to show the floating menu. I have to go to the settings and uncheck than recheck the Enable checkbox. After that when I come back to the activity, the menu is shown.

But I have to make that operation each time Activity_Resume

Logs said:
LogCat connected to: 8DJJDYLV99999999
--------- beginning of system--------- beginning of main
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (screen) Create, isFirst = true **
null
null
22
23
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
45
46
46
47
48
49
50
51
52
53
53
55
55
56
57
57
59
60
61
62
63
64
65
66
67
68
68
69
70
71
72
73
74
75
75
76
77
78
79
80
81
82
83
84
84
85
85
86
87
88
89
89
89
89
89
90
91
91
91
91
92
93
94
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
fast db load
0.012 sec
** Activity (screen) Resume **
Time: 0.05 sec
** Service (callrecsag) Create **
** Service (callrecsag) Start **
received
Drawer Opened: 8388611
Drawer Closed: 8388611
disabled
enabled
** Service (callrecsag) Destroy **
destroyed
** Service (callrecsag) Create **
** Service (callrecsag) Start **
Drawer Opened: 8388611
Drawer Closed: 8388611
PopupMenu dismissed
PopupMenu dismissed
received
PopupMenu dismissed
PopupMenu dismissed

Edit1 : in some conditions (no log entry), from the floating menu, when I get the file size, the app crashes without notice after having shown the file's size
 
Last edited:

ilan

Expert
Licensed User
Longtime User
@ilan: I am now able to show the floating menu. I have to go to the settings and uncheck than recheck the Enable checkbox. After that when I come back to the activity, the menu is shown.

But I have to make that operation each time Activity_Resume



Edit1 : in some conditions (no log entry), from the floating menu, when I get the file size, the app crashes without notice after having shown the file's size


Wow, i am in big trouble... why haven't i discovered the "lets learn how to play on a piano" forum 3 years ago and instead i discovered b4x... (to much for my weak heart :))

thank you for your help @lemonisdead and all other here, i will make a big "bug hunting" tonight.
the major problem is that everything works like a charm on my galaxy s5. (why doesnot every one got the same phone :( )
 

ilan

Expert
Licensed User
Longtime User
Off Topic : you never notice such troubles with iPhones ? I do :)

in my opinion iphones are much more stabile then android phones. if one app is working on 1 device it will probably work on another iphone. not like android. you have endless android phones. from all over the world and with almost any variation. and it seems like the os is not acting the same on every device.
 

Wolli013

Active Member
Licensed User
Longtime User
Screenshot_Call-Recorder.png


Samsung Galaxy S6Edge
No Recording Time
App Stopped by Pressed the Telephon Number
 
Top