# Integration

This important thing must to know. At resource value, at file category.xml you will see integer array, \
That array contains id\_category value and must be same with the table category at the server database. **This three array size must be the SAME.**\
\
So when you change category (order, size. etc) you must change this value too.

```markup
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <integer-array name="id_category">
        <item>1</item> <!--TOURIST_DESTINATION-->
        <item>2</item> <!--FOOD_DRINK-->
        <item>3</item> <!--HOTELS-->
        <item>4</item> <!--ENTERTAINMENT-->
        <item>5</item> <!--SPORT-->
 
        <item>6</item> <!--SHOPPING-->
        <item>7</item> <!--TRANSPORTATION-->
        <item>8</item> <!--RELIGION-->
        <item>9</item> <!--PUBLIC_SERVICES-->
        <item>10</item> <!--MONEY-->
 
        <item>11</item> <!--FEATURED PLACES-->
    </integer-array>
 
    <string-array name="category_name">
        <item>Tourist Destination</item>
        <item>Food & Drink</item>
        <item>Hotels</item>
        <item>Entertainment</item>
        <item>Sport</item>
 
        <item>Shopping</item>
        <item>Transportation</item>
        <item>Religion</item>
        <item>Public Services</item>
        <item>Money</item>
 
        <item>Featured Places</item>
    </string-array>
 
    <!--this icon array used for android only-->
    <integer-array name="category_icon">
        <item>@drawable/ic_nav_tour</item>
        <item>@drawable/ic_nav_food</item>
        <item>@drawable/ic_nav_hotels</item>
        <item>@drawable/ic_nav_ent</item>
        <item>@drawable/ic_nav_sport</item>
 
        <item>@drawable/ic_nav_shop</item>
        <item>@drawable/ic_nav_transport</item>
        <item>@drawable/ic_nav_religion</item>
        <item>@drawable/ic_nav_public</item>
        <item>@drawable/ic_nav_money</item>
 
        <item>@drawable/ic_nav_featured</item>
    </integer-array>
</resources>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://the-city.gitbook.io/docs/7.4/android/category/integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
