Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

termux-call-log doesn't work #434

Closed
aryadovoy opened this issue Jul 24, 2021 · 10 comments · May be fixed by #440
Closed

termux-call-log doesn't work #434

aryadovoy opened this issue Jul 24, 2021 · 10 comments · May be fixed by #440

Comments

@aryadovoy
Copy link

No output.
termux-sms-list is fine, Termux:API has access to Call logs, Phone, SMS.

Google Pixel 4a 5G, Android 11.

@Grimler91
Copy link
Member

I can reproduce the issue. Logcat shows

07-24 23:21:08.732 30341  3161 E termux-api: Error in ResultReturner
07-24 23:21:08.732 30341  3161 E termux-api: java.lang.IllegalArgumentException: Invalid token LIMIT
07-24 23:21:08.732 30341  3161 E termux-api:    at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:172)
07-24 23:21:08.732 30341  3161 E termux-api:    at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
07-24 23:21:08.732 30341  3161 E termux-api:    at android.content.ContentProviderProxy.query(ContentProviderNative.java:472)
07-24 23:21:08.732 30341  3161 E termux-api:    at android.content.ContentResolver.query(ContentResolver.java:1183)
07-24 23:21:08.732 30341  3161 E termux-api:    at android.content.ContentResolver.query(ContentResolver.java:1115)
07-24 23:21:08.732 30341  3161 E termux-api:    at android.content.ContentResolver.query(ContentResolver.java:1071)
07-24 23:21:08.732 30341  3161 E termux-api:    at com.termux.api.CallLogAPI.getCallLogs(CallLogAPI.java:39)
07-24 23:21:08.732 30341  3161 E termux-api:    at com.termux.api.CallLogAPI.access$000(CallLogAPI.java:21)
07-24 23:21:08.732 30341  3161 E termux-api:    at com.termux.api.CallLogAPI$1.writeJson(CallLogAPI.java:29)
07-24 23:21:08.732 30341  3161 E termux-api:    at com.termux.api.util.ResultReturner$ResultJsonWriter.writeResult(ResultReturner.java:88)
07-24 23:21:08.732 30341  3161 E termux-api:    at com.termux.api.util.ResultReturner.lambda$returnData$0(ResultReturner.java:133)
07-24 23:21:08.732 30341  3161 E termux-api:    at com.termux.api.util.-$$Lambda$ResultReturner$oCU8JqHW5HLMrNZa40ThjAWcwzo.run(Unknown Source:8)
07-24 23:21:08.732 30341  3161 E termux-api:    at java.lang.Thread.run(Thread.java:923)

@navid-zamani
Copy link

Doesn’t work on Andoid 12 (EMUI 12) either. To be precise: It always outputs an empty list, aka nothing. Logcat shows the same error here too.

@Shivam623
Copy link

any updates on this? call logs not working for me as well. :(

@navid-zamani
Copy link

It’s getting critical, as I’m using this function, to back up my call logs, since I stopped being a ”cloud“-used data prostitute some time ago. So I really need it.

It seems to be a simple matter of adapting it to the new underlying parameters. But I avoid learning the gslopping i sanity that is Android internals, so I don’t know how to fix this in practice.

Can we do anything to help?

@agnostic-apollo
Copy link
Member

Either wait for F-Droid release whenever that happens or (move and) use github builds.

https://github.com/termux/termux-api/actions/runs/3115767801

@licaon-kter

This comment was marked as off-topic.

@happysmash27

This comment was marked as off-topic.

@sylirre

This comment was marked as off-topic.

@Lucas-Sichardt
Copy link

Hello together,

I just ran into the same issue I think. Is this still not solved? I have v0.118.0 and I don't seem to find a newer version even on GitHub. Is there any?

@sylirre
Copy link
Member

sylirre commented Feb 9, 2024

You the latest Termux:API application version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants