dnet / adsdroid

Unofficial AllDataSheet Android application
https://techblog.vsza.hu/posts/Unofficial_Android_app_for_alldatasheet.com.html
MIT License
29 stars 11 forks source link

Error fetching results #4

Closed fastyzfr1 closed 9 years ago

fastyzfr1 commented 11 years ago

No matter what I search for, I get "Error fetching results"

dnet commented 11 years ago

It seems to work on my phone, so at least it's not that AllDataSheet changed their API again. I know it sounds basic, but are you sure your phone has working network access? If so, could you make a network traffic dump (e.g. with Wireshark or tcpdump) of what happens when you try to search? What version of Android are you using? Has this app ever worked for you, and just started behaving like this recently, or has it always been like this?

fastyzfr1 commented 11 years ago

I just updated to version 1.2 of the app and as far as I know it has not worked since I installed it, however, I first installed it over a year ago so it could have worked then. I am using a Transformer TF101, Android version 4.0.3 rooted. I wrote the first comment using the same tablet so I don't think it is a network issue. I can still do a dump if need be though.

dnet commented 11 years ago

Since version 1.2, they changed their site again, only version 1.3 works. Get it from F-Droid or build it for yourself from HEAD. Tell me if it fixes the issue for you, and close the issue if it does.

fastyzfr1 commented 11 years ago

Ok.. dowloaded and installed v1.3. Now I just get "Unfotunately, ADSdroid has stopped". Any ideas?

dnet commented 11 years ago

When do you get that message? Right after startup, or when you try to search? Also, it'd help to post a stack trace of the exception here, see https://github.com/k9mail/k-9/wiki/LoggingErrors#step-3-get-debug-log for instructions. Please also include your Android OS version and indicate where you got your binary from. (F-Droid, vsza.hu, built for yourself, etc.)

alex1702 commented 9 years ago

That error is in logcat https://p.elaon.de/Akwqgi/

dnet commented 9 years ago

Thanks, please also include what you did when this happened (startup, search, datasheet download, etc.) your Android OS version and indicate where you got your binary from. (F-Droid, vsza.hu, built for yourself, etc.)

alex1702 commented 9 years ago

Search. Android 5.1.1 paranoid Android and fdroid. Version 1.5.1

alex1702 commented 9 years ago

Habe you a solution for the Problem?

dnet commented 9 years ago

I managed to reproduce the issue with a debug version in emulator, stay tuned!

dnet commented 9 years ago

Try this version, it seemed to work fine on my emulator: http://vsza.hu/adsdroid-gh4-20150915.apk (This is signed with the same key as the ones on vsza.hu, but different from the F-Droid key -- which I obviously have no access to -- so if you installed from latter, you might have to uninstall that first.)

Let me know if it fixed your issue!

alex1702 commented 9 years ago

Work perfect

dnet commented 9 years ago

Thanks for testing, I pushed the code to GitHub, so F-Droid should have it soon.