S
S
Sinner32016-08-02 15:58:24
Android
Sinner3, 2016-08-02 15:58:24

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

3 answer(s)
R
razer89, 2016-03-25
@razer89

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

L
lomikman, 2016-03-25
@lomikman

GPSTracker gps = new GPSTracker(MainActivity.this);

here you create an object, then the constructor is called
public GPSTracker(Context context) {
        this.mContext = context;
        getLocation();
    }

the getLocation method is called in the constructor, which is responsible for determining the coordinates

A
Andrey, 2016-08-02
@f-end

Most likely this free module is not here: dev.1c-bitrix.ru/community/webdev/user/11948/blog/7273

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question