Posts by DecSoft

Show threads by DecSoft
3355 posts found, page 178 of 224

DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

Thanks for providing your app sample. I am investigating what can happend here, since I also experiment some problems with that. I will inform here about any progress.


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello again,

Another thing Samuel, can you provide me your app sample, so I can take a look and also try to build it here?


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

Hi there (and especially Sir David),
Spent a lot of time debugging the issue : the behavior is not (and absolutely not, consistent). So, I am currently testing all what the Dialogs and controls do.

And for the moment, I can say that from a well designed View, I have got a blank one after having inserted a timer in the Resume event of that view.
https://s2.applicateur.fr/screenshot.png
No reason not to be enthusiastic...

About this latest problem, what happend if you run the application using the debugger? Some error appear?

On the other hand, what happend if you build the application sample "as is", without modifications? Because it's not possible app sample works if I build it and don't work if you build it, except if something in your environment is not completely correct: the Cordova version, the Android SDK API version, the installed Location plugin, etc. I think that the console output of the Cordova build process may can help here.


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello,

David,you are really working with enthusiasm, that impress me very much!:)

Thanks Joshua!


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

I am sorry for the inconveniences. So we have a problem here... please, delete by hand the "_Compiled" directory and try again building your application Samuel. Remember to use the latest App Builder release and also the latest release of Apache Cordova. Assert you have installed the API 23 with the Android SDK manager. Uninstall any previous version of the application in the device. And finally try with the new APK.

If my attached (APK) sample application works then your application must work too...


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

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 ;)

So finally your application is working or just my attached application? That's the question! :)


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

Glad to know than finally you got it working! You did nothing wrong sir. Apparently this is the expected Android 6.0 behaviour: They ask the user for permissions (Location in this case), and, if the user chooses "Never", then the application... never ask again for the permissions, but these must be enabled manually using the Android application's settings, except if the application is uninstalled: then the circle starts again when install it again.

We need to deal with this in some way...


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

Thanks for your tests and sorry for inconveniences. I want that you try the following: uninstall the application enterely from your phone, not "update" the application with a new APK, but uninstall the application and then try by installing it again.

For your convenience and also for anyone that want to try, below is the APK file for the Location app sample:

Location.zip


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

Please, upgrade your App Builder copy. The Location control have now a "Timeout" variable which allow us to specify certain ammount of time (in milliseconds) to fire the Error event if the GPS/Location is turned off, for example.

Please, Samuel, try with the Location sample in Android 6 and tell me if, at least, this time you receive some kind of error...


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello,

Ok. Knowing you have turned on the GPS/Location in your phone, let me to do the appropiate changes in App Builder before go ahead. I am working right now in that Samuel.


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello,

Ok... I think I need to do something with this:

https://github.com/apache/cordova-plugin-geolocation#android-quirks

Apparently, the Error callback is not fired if certain stuff is not setup first. I need to perform some changes in App Builder. Please, Samuel, assert you have turned on the GPS/Location in your phone and try again the Location sample application. Anyway I want to do the appropiate changes to be informed (with an error) if the Location is turned off.


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

Finally I get the Location sample application working here in Android 5.1.1. The problem is I turn off the Location in Android. Once they are turned on the application worked. However, I expect some kind of error if we can't access the location, for example, if they are turned off in the phone. I continue investigating this.

P.S. Can you assert your Android 6 phone have the Location turned on Samuel?


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

I am trying the Location sample in my Android 5.1.1 and something is wrong... the don't work like expected and no error messages appear or something like that. The permissions are asked when install the application, but the application does not work as we expect. They works in browsers, but not in Android.

So maybe the problem is not related with Android 6... I am investigating right now what can happend here...


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello Samuel,

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)

Please, don't worry: I am happy to help you and interested in this issue too. I want to investigate a little more out there...


DecSoft (In thread: [FIXED] Do have problems with Android 6 ?)

Hello again,

Another thing to take into consideration is the API version available in the Android SDK. Be sure you have installed the right API version for Android 6.0 (API 23):

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.

This website uses cookies only to store your preferences.

Ok! Hide this note More information