Nope David
this :
They ask the user for permissions (Location in this case)
I did it and said it before.
But I got no location with my app. Even if I compile it again it does not (I choose the "run" batch file). Yours is working perfectly, Sir ;)
Nope David
this :
They ask the user for permissions (Location in this case)
But I got no location with my app. Even if I compile it again it does not (I choose the "run" batch file). Yours is working perfectly, Sir ;)
David,
I have uninstalled, rebooted and installed the apk you provided. And it works perfectly.
Please, do you see what I could do wrong ?
David, I am sad to say that it does not work (I took time because I just bought another phone running a stock Android 6 instead of an update but that is the same : no location, no sensor).
Perhaps someone here could confirm/infirm :)
Hello David,
I confirm that the "Location" is turned on. I can confirm too that I can access the location using native Android code.
(I am happy that it still works with Lollipop for you or I would have not understood :))
They introduced a lot of modifications in Android 6 (and it is worst with N) : even the option to keep an app running in the background is changed and will probably fail (currently trying with a radio stream to check).
The app I am trying to get the location now is the one shipped with App Builder, the options are checked (I have uploaded the file without touching it if you would like to check.
And, as I understand it, David, as Android asks for permission at runtime (I mean the first time I press the "Get Location" button, Android asks the permission for the app to use the Location (previously it was only asked at install in release mode)), so the app seems to work the right way.
I will come back if I find more information or a solution
I can only confirm that all is installed, David :(
But I don't want to spend your time, I will search more on the Cordova's part because App Builder seems to work like it should
You are right David : I do try the app with the phone and building with Apache Cordova.
The location plugin is checked in the App's plugins option (and it still works with Lollipop)
Hello David,
In fact, I had already updated Cordova and I should have provided more details.
For the Location code example :
- the first time the app is launched
- I press "Get Location"
- I am asked if I allow the app to access the location and I agree
- if I press "Get location", nothing returns
But, I understand from your reply that is a problem with Cordova, not App Builder itself. So I will search at Cordova
Thanks a lot :)
Hello,
After having upgraded my own phone to Android Marshmallow, I have noticed that some of my "already tested" apps aren't working properly anymore.
Perhaps does it come from the new "permissions method" but, for example, I don't get the location or the sensors.
So, I compiled the examples shipped with App Builder and they act the same on Android 6.
Do you have noticed something like this ? Thanks
Hello David,
I have just downloaded the suggestion you provided me. And tried. WOW : I am very impressed by all you know :) I should never hesitate to buy your consulting services for existing or new projects (I am still sticked with LiveCode server and not on PHP and it seems you know a lot about). Good evening :)
Hello David,
For who is interested by an online solution, I have found that API https://www.freepdfconvert.com/developers-api for HTML5 apps.
I won't go further and test because, as a paranoiac developer, I am almost sure that free services (and perhaps some paid too), keep and analyse the produced documents ("when it's free, you are the product" it's my moto).
The Cordova PDF generator plugin perhaps ? https://www.npmjs.com/package/cordova-pdf-generator
Edit: missed Excel : the File plugin and export to csv (created by yourself : data separated by comma). This one is easy
+111111 for David :D
Yes David, you have found even if we are far far away :D
What I did wrong (I just was able to reproduce by adding a new platform) is to create and save my app, go to the settings and check the checkboxes (sorry, not the path I have described previously) but without saving.
Greatly solved +1111111 :) Thanks as lot
So, +111111 for David :)
I was just able to reproduce it (by chance, really). And I am almost sure to press the Build button ([s]logs attached[/s]) ;)
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.