Answer the question
In order to leave comments, you need to log in
Where did the "simple checkbox (number)" property go in Bitrix?
I installed the site, updated everything, I wanted to transfer part of the functionality from another one (component templates), but it doesn’t work because the list of infoblock properties is different.
Installed an online demo, but there is also no such property.
Versions of modules:
new site
Corporate site of services 15.0.0
Modern online store 16.5.2
Old site
Corporate site of services 14.5.0
Modern online store 15.5.2
Small business edition
Answer the question
In order to leave comments, you need to log in
You can't create a service instance yourself! Leave this job to the system!
Remove the constructor from the service, it's not needed at all. The service will get the context without you. Start the service from the activity using the startService(Intent) method, and in the service itself, override the onStartCommand in which you are going to perform the work
GPSTracker gps = new GPSTracker(MainActivity.this);
public GPSTracker(Context context) {
this.mContext = context;
getLocation();
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question