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
Documentation for creating custom layouts needs updating #211
Comments
Hi @jsavage Thank you for the reminder. In the next days we'll try to update the information about the new functionality in the Wiki. About your problem, first I think that it was our mistake to finish the Available Layout activity when there is an error with the repository connection, because when that happens the user is left without an option to go back to the default parameters. And second, you may have forgotten to add your Layout information in the metadata file? |
Jose, thanks for that.
I did forget some metadata but I think I have fixed that now but still have
no way back to test this.
I have tried uninstalling and reinstalling to put things back to default
but suspect that data about my config is retained somewhere.
Any ideas how I can delete all settings and start again?
James
…On Fri, 14 Jun 2019 at 16:41, José Adrián Amador Ávila < ***@***.***> wrote:
Hi @jsavage <https://github.com/jsavage>
Thank you for the reminder. In the next days we'll try to update the
information about the new functionality in the Wiki.
About your problem, first I think that it was our mistake to finish the
Available Layout activity when there is an error with the repository
connection, because when that happens the user is left without an option to
go back to the default parameters. And second, you may have forgotten to
add your Layout information in the metadata file?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#211?email_source=notifications&email_token=AABOIVB5GNYZXF2GHDGMYO3P2O3ZJA5CNFSM4HWHJBQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXXFKBI#issuecomment-502158597>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOIVEZRB7GAJ3NCUEQLZDP2O3ZJANCNFSM4HWHJBQQ>
.
--
James Savage
Home: 01442 873127
Mobile: 07484768054
www.linkedin.com/in/systemssafetyengineer
|
Do you mean that the OSMTracker launch the Available Layout activity with the custom repository after reinstalling? Can you tell me what is the version that are you using? |
Jose,
I am running V0.7.1 as downloaded from play store.
Button Presets only lists Default and the Add button causes an error
message:
"Error: Unable to connect to the default custom layouts repository"
...
Grateful for any pointers.
Tnx
…On Fri, 14 Jun 2019 at 17:45, José Adrián Amador Ávila < ***@***.***> wrote:
Do you mean that the OSMTracker launch the Available Layout activity with
the custom repository after reinstalling? Can you tell me what is the
version that are you using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#211?email_source=notifications&email_token=AABOIVGXBAMUNUFYWFI6X5DP2PDLNA5CNFSM4HWHJBQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXXLI7Q#issuecomment-502183038>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOIVGRJP4BJDNSE54HUA3P2PDLNANCNFSM4HWHJBQQ>
.
--
James Savage
Home: 01442 873127
Mobile: 07484768054
www.linkedin.com/in/systemssafetyengineer
|
James, I was trying to copy your problem in order to obtain the same issue but when I reinstalled the app (with the version in the play store and from the master of this repo) all goes back to default. May be it can be some configuration in your device? Also you can try to go to settings -> Apps -> Scroll (or search) until see OSMTracker for Android -> Storage (in my device) -> Clear data This will remove all the configurations and the data in the database, perhaps this can help to solve the problem. |
Jose, Many thanks. Clear data was what I was looking for. Defaults now
restored however app now reports Github Repository invalid. Will try and
narrow down the issue myself tonight.
James
…On Mon, 17 Jun 2019 at 16:06, José Adrián Amador Ávila < ***@***.***> wrote:
James, I was trying to copy your problem in order to obtain the same issue
but when I reinstalled the app (with the version in the play store and from
the master of this repo) all goes back to default. May be it can be some
configuration in your device?
Also you can try to go to settings -> Apps -> Scroll (or search) until see
OSMTracker for Android -> Storage (in my device) -> Clear data
This will remove all the configurations and the data in the database,
perhaps this can help to solve the problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#211?email_source=notifications&email_token=AABOIVETB34XHCMGWLG6DGDP26SAHA5CNFSM4HWHJBQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX3PCAQ#issuecomment-502722818>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOIVE4OPGCMH5A2OB2REDP26SAHANCNFSM4HWHJBQQ>
.
--
James Savage
Home: 01442 873127
Mobile: 07484768054
www.linkedin.com/in/systemssafetyengineer
|
James, you're welcome. :) And I think that the problem is because there isn't a metadata directory under layouts root directory. The app needs that dir (with the files in there -> like this https://github.com/labexp/osmtracker-android-layouts/tree/master/layouts/metadata) to consult the current layouts in the repository. |
Adam, |
There was some work done to improve the process of installation Custom Buttons some while ago. However the documentation on the wiki has not been been updated since 2015 so it is not clear exactly how this feature can be used.
To assist with updating the wiki, the following notes are a summary of what I have found out about this feature and an issue that I am troubleshooting. I will add some screenshots and write this up properly once I have managed to use it successfully.
What have I discovered so far?
With this knowledge:
My issue is that my layout is not yet listed on the 'Available layouts' screen after I have completed the above. All other layouts from the forked repository are however shown.
I have tried deleting a couple of the forked layouts. However, when I select the '+' and I am briefly seeing 'Available layouts' but then getting Error: "Unable to connect to the default custom layouts repository". At this point I am stuck and unable to revert to a default app configuration.
The README.md in the root folder lists my layout as per the others
My layout contains:
openseamap_icons a folder containing icons
en.xml
README.md
for the record en.xml contains:
The text was updated successfully, but these errors were encountered: