Comments (28)
@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.
@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.
@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.
Now we got the map functionality commented out in the development branch, we would need to rewrite it now.
from phimpme-android.
@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.
@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.
@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.
@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.
@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.
@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.
@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.
@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.
@anantprsd5 Please see the second comment, I already suggested that.
from phimpme-android.
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.
@pa1pal That would be really very helpful.
from phimpme-android.
@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.
I'll be working on maps then.
from phimpme-android.
@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.
@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.
@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.
@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.
@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.
@DravitLochan Hey, Are you working on this issue?
from phimpme-android.
I am really very sorry, but i was busy in susi-android. @pa1pal can you please assign someone else to this?
from phimpme-android.
Ok so, who wants this? Anyone?
from phimpme-android.
@Abhi2424shek Can I work on this?
from phimpme-android.
Sure @heysadboy
from phimpme-android.
Is'nt this solved in #135 if not pls open
from phimpme-android.
Related Issues (20)
- Update uCrop to 2.x HOT 4
- Error Showing when we go for gradle project sync in the android studio aap dependicy HOT 2
- Problem in scrolling accounts/elements in "Accounts" tab in small screen mobile phones HOT 5
- Account Activity's RecyclerView.OnItemTouchListener not working HOT 3
- Error while building the project: Grade Sync Failed HOT 3
- Request: Option to disable splash screen HOT 7
- Crash HOT 7
- Error while building the project: Evaluating the project
- Not work on poco f1 HOT 3
- Share image to other platforms feature not working HOT 1
- Theme is not Working HOT 1
- There is no Filter Option HOT 1
- Failed to Build Project HOT 1
- Black screen when clicking the edit button on any picture HOT 2
- Use image processing features as if it were a library? HOT 2
- Failed to build HOT 1
- Google Play version does not open HOT 1
- Code quality image got not found and app site not found
- Some readme issues
- found a bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phimpme-android.