Git Product home page Git Product logo

Comments (28)

pa1pal avatar pa1pal commented on July 16, 2024 2

@anantprsd5 and @heysadboy
My suggestion is to first test the app after removing all maps related functionality one by one, and checking whether it's working after that or not. Also the upgrade of compiled sdk version for which this issue is.
Will move the code to another branch if it works fine and move to the master, feature by feature.
Go ahead 👍
I would also like to get @mariobehling suggestion here.

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024 1

@anantprsd5 is the code working? If yes pls send it to the master branch if not send it to the development branch which I have created as the plan. It would be better if you could do the same after updating it to target API 25 which is the latest.

from phimpme-android.

pa1pal avatar pa1pal commented on July 16, 2024 1

@anantprsd5 nice effort 👍
I agree with @abhi2424shek please test it after update of compile sdk version, for which this issue is all about. And send PR.

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024 1

Now we got the map functionality commented out in the development branch, we would need to rewrite it now.

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024 1

@jsroyal the map API is depreciated, we need to rewrite it to build the app, inorder not to risk we created a branch. Master branch has the code which was modified in the development branch to comment out the map codes :) you can help by fixing parts of the map

from phimpme-android.

pa1pal avatar pa1pal commented on July 16, 2024

@heysadboy Yes you're right. The possible solution is to rewrite the map code in new v2 api because almost everything got changed. Map related files causing errors in the latest sdk version.

from phimpme-android.

heysadboy avatar heysadboy commented on July 16, 2024

@pa1pal Thanks. Can we remove those files to start afresh. They are also hindering the development of other features also due to inability to test the app as whole although I see it passing in Travis.

from phimpme-android.

pa1pal avatar pa1pal commented on July 16, 2024

@heysadboy Do not remove the code completely, because we may need this code in future development with latest api to see the features. So see specifically what causes the problem and if you could fix it or else remove it for now.

from phimpme-android.

anantprsd5 avatar anantprsd5 commented on July 16, 2024

@heysadboy @pa1pal MapActivity is from the old, defunct MapsV1 way of integrating Google Maps. Since we cannot get API keys for MapsV1 anymore, so do we have to modify the whole code to use MapsV2?

from phimpme-android.

pa1pal avatar pa1pal commented on July 16, 2024

@anantprsd5 Yes we cannot get the api keys for MapsV1 api. And lots of the objects got changed such as GeoPoint, Overlays etc. So from the old code we can get some idea what was implemented earlier and modify it.
The basic maps idea which I get from the old app is that every click of photo it records the Lat and Lang of the location. So those photos on the maps according to the current location. Also @mariobehling can elaborate more about this feature.

from phimpme-android.

heysadboy avatar heysadboy commented on July 16, 2024

@pa1pal @mariobehling The latitude and longitude of the photo are saved as the metadata nowadays, like instagram uses them automatically at the time of posting the photo. So, instead of recording the data we can use metadata.
I think it is more tedious to update the whole depreciated code in comparison to writing the code from start. Although I won't be removing the code. Same applies for other parts of the project.

@anantprsd5 Yes, we have to modify it in order to use v2.

from phimpme-android.

anantprsd5 avatar anantprsd5 commented on July 16, 2024

@pa1pal @heysadboy Will it not be good if we remove all the code related to maps and start creating issues for the things related with maps one after the other because it is giving errors in all the imports related with maps and it is not possible to install the app in the phone.

from phimpme-android.

heysadboy avatar heysadboy commented on July 16, 2024

@anantprsd5 Please see the second comment, I already suggested that.

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024

Yes I agree with @pa1pal we would need to create a new branch, move it one by one and after I all works fine we would push to master back. Mario sir would be available only after the fossasia summit.

from phimpme-android.

heysadboy avatar heysadboy commented on July 16, 2024

@pa1pal That would be really very helpful.

from phimpme-android.

anantprsd5 avatar anantprsd5 commented on July 16, 2024

@pa1pal I have removed all the maps related functionality and now the gradle builds are running without any issues using sdk version 23. Shall I send a PR for it?

from phimpme-android.

DravitLochan avatar DravitLochan commented on July 16, 2024

I'll be working on maps then.

from phimpme-android.

jitendra3109 avatar jitendra3109 commented on July 16, 2024

@anantprsd5 > I have removed all the maps related functionality and now the gradle builds are running without any issues using sdk version 23. Shall I send a PR for it?
have you send PR ?
Because I still got error related to Error:(3, 101) error: package com.google.android.maps does not exist

from phimpme-android.

pa1pal avatar pa1pal commented on July 16, 2024

@jsroyal This improvement is done in this #40 PR and code is in development branch.
We will move the code from development to master feature wise.

from phimpme-android.

jitendra3109 avatar jitendra3109 commented on July 16, 2024

@pa1pal Thanks, I was trying to solve one issue by issue but getting issue one after another.
Okay.
So still not replace all the code should be work fine.
In the development, branch code work fine?

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024

@jsroyal The maps are needed to get the app working bug less. It is depreciated so we commented out the map code and put it in the development branch. So when we should fix the maps by rewriting the code in v2 and then make a pr to the master branch.

from phimpme-android.

jitendra3109 avatar jitendra3109 commented on July 16, 2024

@Abhi2424shek Problem is master branch code not able to build the project because getting an error about the map API so my suggestion is put the code in master branch at least base code where can anybody start project build. Want more contribute.
As of now, I clone the development branch and building project.

from phimpme-android.

anantprsd5 avatar anantprsd5 commented on July 16, 2024

@DravitLochan Hey, Are you working on this issue?

from phimpme-android.

DravitLochan avatar DravitLochan commented on July 16, 2024

I am really very sorry, but i was busy in susi-android. @pa1pal can you please assign someone else to this?

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024

Ok so, who wants this? Anyone?

from phimpme-android.

heysadboy avatar heysadboy commented on July 16, 2024

@Abhi2424shek Can I work on this?

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024

Sure @heysadboy

from phimpme-android.

abishekvashok avatar abishekvashok commented on July 16, 2024

Is'nt this solved in #135 if not pls open

from phimpme-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.