Hi Evgene,
In above diagram i seen that repo,adobe, some other folder, iam not get clarity on this please you can explain me in clarityly i need extra softeware for except adt.
Thanks&Regards
Lokeswar
Hi Evgene,
In above diagram i seen that repo,adobe, some other folder, iam not get clarity on this please you can explain me in clarityly i need extra softeware for except adt.
Thanks&Regards
Lokeswar
Hello @lokeswarreddy cherlopalli!
Could you clarify your question please?
Hi Evgene,
can you please send me that background plugin i am not understand that Crastocray devolaped plugin please sengd me ur plugin to me please
Thanks®ards,
Lokeswarch
Hello Lokeswarch,
The plugin I spoke about is integrated in Appery.io and I can't send it to you.
Hi friends,
Please any one help me on this issue controler not enter into thjis block
if (window.plugins.backgroundGeoLocation) {
app.configureBackgroundGeoLocation();
}
why it is not enter here
i am using that Craystocray plugin i use as same which is provided in his plugin but it is not working
Lokeswarreddy ,
Could you please clarify, on what device with what OS do you test? Where do put this code?
window.plugins.backgroundGeoLocation (like all other phonegap plugins) is available only after the device ready event.
Evgene,
I am using samsung galaxy,os is android
Thanks®ards,
Lokeswar
Hello!
And where did you add this code?
Hi maryna,
i am used that code in index.js function like this
onDeviceReady: function()
{
app.receivedEvent('deviceready');
if (window.plugins.backgroundGeoLocation)
{
app.configureBackgroundGeoLocation();
}
},
receivedEvent: function(id) {
var parentElement = document.getElementById(id);
var listeningElement = parentElement.querySelector('.listening');
var receivedElement = parentElement.querySelector('.received');
listeningElement.setAttribute('style', 'display:none;');
receivedElement.setAttribute('style', 'display:block;');
console.log('Received Event: ' + id);
},
configureBackgroundGeoLocation: function()
{
window.navigator.geolocation.getCurrentPosition(function(location)
{
console.log('Location from Phonegap');
});
var bgGeo = window.plugins.backgroundGeoLocation;
var yourAjaxCallback = function(response)
{
bgGeo.finish();
};
var failureFn = function(error)
{
console.log('BackgroundGeoLocation error');
}
bgGeo.configure(callbackFn, failureFn,
{
url: 'http://only.for.android.com/update_lo...',
params: {
auth_token: 'user_secret_auth_token',
foo: 'bar'
},
headers: {
'X-Foo': 'bar'
},
desiredAccuracy: 10,
stationaryRadius: 20,
distanceFilter: 30,
notificationTitle: 'Background tracking',
notificationText: 'ENABLED',
activityType: "AutomotiveNavigation",
debug: true
});
bgGeo.start();
}
};
this what i wrote in in index.js is there any correction please help me in clearly because i am new to cordova plugins
Thanks®ards,
lokeswarch
Hi friends,
Any one is there please help on this,
Thanks®ards
lokeswarch