103 comments found.

Does it support Arabic language translate and RTL if i need it in Arabic language only ?

Hello,

Arabic alphabet itself is supported but be aware that the navigation won’t change from Left to Right, which fact could be a problem.

Regards, dmbTEAM

i work all google api fine and same you print on document but i still show no items on that category and get that error

ViewPostImeInputStage ACTION_DOWN log_dcs ThreadedRenderer::initialize entered! new_window_surface returns 0×3000, [1119×154]-format:1

Hello,

Would you please share with us the CITY for which you want to create the app. We will integrate it to the code and will show you the results. We want to help but I don’t know why you are refusing to provide the city name?

Regards dmbTEAM

Thanks for replay City name is amman

Hello,

We just tested the app with your city and everything works fine with our test Google Place API and OpenWeather Keys. We prepared a video for you in order to demo this: VIDEO DEMO

Something very important is to set up correctly the city name and the city ID in the correct files. To set up the city name, open res/values/strings.xml and go to the bottom of the file. There look for the following strings:

<!-- City -->
<string name="city">Amman</string>

<!-- Country -->
<string name="country">Jordan</string>

Set the values as in the example above.

Then, open app/java/com.dmbteam.cityguide/settings/AppSettings.java and look for the TOWN_ID constant:

/**
 * City ID for the app. You need it for better performance and accuracy of the Weather
 * How to get the ID: Search for the city on OpenWeather.org. Then look at the address bar of
 * the browser, where you will a link like this http://openweathermap.org/city/2950159
 * The number at the end is the city ID, which you need.
 */
public static final String TOWN_ID = "250441";

Here, it’s very important to set the correct town id of Amman, which is 250441. So, please set exactly these values as we described.

As last step, you need valid OpenWeatherKey. To get it, just read the documentation we provided with the code. Once you get your key, you must set it in the project. More specifically in the same AppConstants.java:

/**
     * Register on OpenWeather.org and get your key. Tutorial: http://openweathermap.org/appid
     */
public static final String OPEN_WEATHER_MAP_KEY = "PUT_YOUR_OPEN_WEATHER_KEY";

Just replace the PUT_YOUR_OPEN_WEATHER_KEY with your real key.

Now, it should work for Amman city. Of course, you must set the correct coordinates of the Amman city, which are:

/**
* Define latitude of your location
*/
public static double LATITUDE = 31.8360353;

/**
* Define longitude of your location
*/
public static double LONGITUDE = 35.666748;

Regards, dmbTEAM

Hello, I added key OpenWeatherMap API but it display Weather Unavailable

please help me

Hello,

Would you please send us your key via the contact form in our profile page. We will check the it. In addition, Did you set correctly your city ID in the settings file?

Regards, dmbTEAM

yes,I set correctly. my key : b5df3fb19aa4953aecd104f05600ae77. my key not work but your key work. why??. I tested link json with my key, it work

Hello,

I just executed and web request with your key in the following way:

http://api.openweathermap.org/data/2.5/forecast/daily?q=London&mode=json&units=metric&APPID=b5df3fb19aa4953aecd104f05600ae77

And the OpenWeather API returns error that your key is not valid.

{"cod":401, "message": "Invalid API key. Please see http://openweathermap.org/faq#error401 for more info."}

It’s good to try to either regenerate the key or contact OpenWeather support why it’s not valid.

Regards, dmbTEAM

by
by
by
by
by
by