dmytroKarataiev / EarthquakeSurvival

Earthquake tracking application (RxJava, SQLite, Content Provider, Sync Adapter).
MIT License
13 stars 1 forks source link

News Base URL Changed? #5

Closed lovebdsobuj closed 8 years ago

lovebdsobuj commented 8 years ago

NEWS_BASE_URL - 404 Not Found

dmytroKarataiev commented 8 years ago

It's just a dummy url, because you are not allowed to have an empty string. But you can provide a completely new url in a Service: https://github.com/dmytroKarataiev/EarthquakeSurvival/blob/master/app/src/main/java/com/adkdevelopment/earthquakesurvival/remote/EarthquakeService.java#L45

lovebdsobuj commented 8 years ago

Application forced closed. Android : 4.4.2 (19) KITKAT. Device : Nox Android Player.

dmytroKarataiev commented 8 years ago

Thank you, I will check several 4+ devices today and let you know of the results.

lovebdsobuj commented 8 years ago

I installed few times ago. Please check this https://gist.github.com/lovebdsobuj/2fbb1b49a2b49a99bd67fa374804d9b0

dmytroKarataiev commented 8 years ago

Is it a real device or an emulator? I just made a few minor fixes, could you please try it now? But they are not related to the above posted issue...

lovebdsobuj commented 8 years ago

Actually, My 1st post and your 1st reply one topic.

And my 2nd post about issue.

Is it a real device or an emulator? It's an emulator.

But working well others apps in this emulator.

dmytroKarataiev commented 8 years ago

I think I may have found a problem. Can you try it now? Where can I download this emulator?

lovebdsobuj commented 8 years ago

Can be found here - Nox APP Player_Best APP Player Ever

dmytroKarataiev commented 8 years ago

Direct download link to the apk file: https://www.dropbox.com/s/lw7pgj2xxghoj4u/app-release.apk?dl=0

dmytroKarataiev commented 8 years ago

Commits for this issue: 273152ca9716784be0d6c892366495b50e48a303 9a86de2537ba9c93f1cd508ac0e15e788000c144

lovebdsobuj commented 8 years ago

Still forced closed. NewLogcat

dmytroKarataiev commented 8 years ago

Can you try it again please with this new APK? (I can't install this emulator as I don't have windows devices). https://www.dropbox.com/s/lw7pgj2xxghoj4u/app-release.apk?dl=0

lovebdsobuj commented 8 years ago

I can't install this emulator as I don't have windows devices No problem...

lovebdsobuj commented 8 years ago

Now App Exit after start listing news item - Logcat03 You can see this video - https://dl.dropboxusercontent.com/1/view/wvt6r8b1dwfwp5x/Video/untitled2.mp4?dl=0

dmytroKarataiev commented 8 years ago

Yes, I've found the problem and I think it is because of the emulator specific implementation. It crashes because it doesn't have an ActivityOptions.makeSceneTransitionAnimation method (and several others), which is available in all devices starting from LOLLILOP. I can only solve it by deleting it from the app, which I don't want to do. This version should work fine (I deleted all the calls to SharedTransitions): app-release.apk.zip

lovebdsobuj commented 8 years ago

Apps is now working :)

lovebdsobuj commented 8 years ago

If android version isn't LOLIPOP >5, then they would face same problem?

dmytroKarataiev commented 8 years ago

The main problem is that this emulator doesn't have several methods which are present in the API starting from LOLLILOP and they MUST be implemeted (otherwise you shouldn't say that your device is running Android 4.4+ version):