Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 days weather data issue #25

Closed
WeatherApp782 opened this issue Jun 4, 2021 · 43 comments
Closed

4 days weather data issue #25

WeatherApp782 opened this issue Jun 4, 2021 · 43 comments

Comments

@WeatherApp782
Copy link

WeatherApp782 commented Jun 4, 2021

temperature is empty for four days , is it also paid Api for 4 day?

@Azmath-Ikram19
Copy link

temperature is empty for four days , is it also paid Api for 4 day?

R u able to get the weather card for 4 days n 15 days ???

@bkhezry
Copy link
Owner

bkhezry commented Jun 4, 2021

I didn't check open weather map recently, but maybe new API key not working like passed. You should contact with open weather map support.

@MuhammadImran2
Copy link
Contributor

if you want weather card for 4 days n 15 days then Subscribe plan otherwise Free data for students for 6 months free for testing

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jun 14, 2021 via email

@MuhammadImran2
Copy link
Contributor

login OpenWeatherMap.org then go to Pricing in the end you see Free data for students then send information after some time your API key is activated

otherwise click this link
https://openweathermap.org/our-initiatives/student-initiative

Screenshot_20210614_152749

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jun 14, 2021 via email

@MuhammadImran2
Copy link
Contributor

Please do not migrate. Download the code open in the android studio then put the API key in the (open_weather_map_api.xml) file
Sync Project with Gradle Files
Then Go To Build -> make project
Then Click clean and Rebuild

when u migrate all the files n update also it

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jun 14, 2021 via email

@bkhezry bkhezry pinned this issue Jun 15, 2021
@bkhezry
Copy link
Owner

bkhezry commented Jun 15, 2021

@MuhammadImran2 thanks for your reply. I just pin this issue to help students to access the weather data.

@bkhezry bkhezry closed this as completed Jun 15, 2021
@Azmath-Ikram19
Copy link

Please do not migrate. Download the code open in the android studio then put the API key in the (open_weather_map_api.xml) file
Sync Project with Gradle Files
Then Go To Build -> make project
Then Click clean and Rebuild

when u migrate all the files n update also it

Brother I have a new Query hopefully u can help with it? How to change those persian numbers back to english or in any other lanugaue numbers???
WhatsApp Image 2021-07-13 at 23 26 33

@bkhezry
Copy link
Owner

bkhezry commented Jul 13, 2021

@Azmath-Ikram19 Hi,
App has multiple languages. In app bar menu, change language to English!

Screenshot_2021-07-13-22-34-16-275_com github bkhezry weather
Screenshot_2021-07-13-22-34-22-390_com github bkhezry weather

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jul 13, 2021 via email

@bkhezry
Copy link
Owner

bkhezry commented Jul 13, 2021

The default language of app is English. Please remove English and Persian button for prevent user from change it to Persian.

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jul 13, 2021 via email

@bkhezry
Copy link
Owner

bkhezry commented Jul 13, 2021

The default language in Persian selected is Persian. The numbers formatting automatically.

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jul 13, 2021 via email

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jul 13, 2021 via email

@bkhezry
Copy link
Owner

bkhezry commented Jul 13, 2021

This is not issue of this app. Please search for multiple languages support in android app.

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jul 14, 2021 via email

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jul 14, 2021 via email

@Azmath-Ikram19
Copy link

Azmath-Ikram19 commented Jul 14, 2021 via email

@MuhammadImran2
Copy link
Contributor

No brother you are not getting wt i mean to say see when we check temperature it says 25 C right but in persians it says ۲۵ like this instead of ۲۵ in persian i want it in english like 25 how do i change that ???

On Tue, Jul 13, 2021 at 11:54 PM Behrouz Khezry @.***> wrote: The default language of app is English. Please remove English and Persian button for prevent user from change it to Persian. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#25 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUJANNKIT5HURK7RVWKWES3TXSAGTANCNFSM46CWUPTA .
aa

I think you want something like that

@MuhammadImran2
Copy link
Contributor

Cant i change the persian format to urdu or hindi language ?? if i have to do so wt i have to change in code ???

On Wed, Jul 14, 2021 at 3:09 PM Behrouz Khezry @.***> wrote: https://github.com/bkhezry/weather/blob/master/app/src/main/java/com/github/bkhezry/weather/utils/LocaleManager.java — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#25 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUJANNKMTGCAYGIH3TNZ7ELTXVLNDANCNFSM46CWUPTA .

I give you link that you read and then you can change android language
https://developer.android.com/guide/topics/resources/localization
https://www.tutorialspoint.com/android/android_localization.htm

@oindrilabadhan
Copy link

oindrilabadhan commented Sep 15, 2021

Hello sir can you please tell me where to put the api key ?
I put it in the string where API_key is written.

in open_weather_map_api.xml file.
But the hourly data and 15 days data is not showing. I'm only getting the current data.
Please help me

@bkhezry
Copy link
Owner

bkhezry commented Sep 15, 2021

@oindrilabadhan
Hi,
Please read this comment.
You can get API key of students that is not limited
#25 (comment)

@oindrilabadhan
Copy link

Thank you sir. I am now getting all the data. There's an another issue
Capture
.
can you please tell me how to create this generated java folder? I'm trying to make another project following yours. But I can't create this. please tell me the way.

@MuhammadImran2
Copy link
Contributor

check #25 (comment)

@MuhammadImran2
Copy link
Contributor

Sync Project with Gradle Files
Then Go To Build -> make project
Then Click clean and Rebuild
This is an automatically generated java folder?

@MuhammadImran2
Copy link
Contributor

If you do not understand please see this https://www.youtube.com/watch?v=flmAeYY-u9I

@oindrilabadhan
Copy link

I saw the tutorial but still can't solve the problem. I am trying to create a new project .And in the new project all I get is this default things
Capture2
e.
There's no auto generated java file. I'm trying to create a all new project following this code but don't know how to bring this generated java file like the given code. please help me if you can.
Capture
thanks in advance

@MuhammadImran2
Copy link
Contributor

First of all you have at least one @ Entity class For example:

@Entity
public class User { 
    @Id
    private long id;
    private String name;
}

Then Build > Make project. The annotation processor should pick up the entity and generate MyObjectBox will appear..

@MuhammadImran2
Copy link
Contributor

I think you have not create entity class

@MuhammadImran2
Copy link
Contributor

Screenshot_20210917_190247

@MuhammadImran2
Copy link
Contributor

Please tell me the problem is solve or not

@oindrilabadhan
Copy link

No sir .It is not solved.
Could not find io.objectbox:objectbox-gradle-plugin:2.3.3.
this error is shown. I created entity class and also followed the tutorial and added required things in gradle.

@MuhammadImran2
Copy link
Contributor

classpath 'io.objectbox:objectbox-gradle-plugin:2.6.0'

@MuhammadImran2
Copy link
Contributor

apply plugin: 'io.objectbox'

@MuhammadImran2
Copy link
Contributor

Screenshot_20210917_195818
Screenshot_20210917_195825

@oindrilabadhan
Copy link

I did add exactly all of these. I don't know what's causing the error. I'll start the project again and will let you know. Thank you sir

@MuhammadImran2
Copy link
Contributor

Ok you Wellcome

@AsingyaNorbert
Copy link

wanted to know where the 15 day multipledays forecast picks its stored weather ids that it keeps switching on the recycler view
wanted to carry out a query on the rainy days

@MuhammadImran2
Copy link
Contributor

wanted to know where the 15 day multipledays forecast picks its stored weather ids that it keeps switching on the recycler view wanted to carry out a query on the rainy days

Please create new issue and tell me clear issue i am sorry i do not understand what you say

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants