B4A Library ICOSWorldForecast 3.50

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi sdb,

I´m working to resolve this issue will be soon fixed.
 

Paulsche

Well-Known Member
Licensed User
Longtime User
red border

Hi, i´ve CyanogenMod 4.1.2 too, and some time append to me as well, it´s a problem from it.

Hello lonleystar,

some users of my app HB-Verbrauchszähler Report repeatedly
that with this app in windows always short change a red box appears.
The problem is on my S4 Galaxy and Galaxy Tab2 7 "
not on the Galaxy S2.
There are original ROMs.

After testing, I found that the problem is gone when I disable the initialization of "ICOSWorldforecast".

Do you have any idea why this might be?
 

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi paulsche,

append also to me to the originals galaxy tab 2 note, galaxy s3 and on my old galaxy tab 1 with cynogenmod 4.2.2.

anyway I'm trying to understand why.
 

Paulsche

Well-Known Member
Licensed User
Longtime User
Thanks for the information, then we simply have to deal with it at the moment.
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Am I missing something? I am looking for sample code and the weather Icons but the only downloads I see contain the JAR and XML files.

I have been up all night programming so maybe my brain is fried :sign0161:

I also tried the dropbox files but there gone. :sign0085:
 

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi JakeBullet70,

I made a mistake, I removed the demo.

But I'll add now.

Sorry.
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User
Had a problem running the demo.

I got the error: INSTALL_FAILED_OLDER_SDK

Fixed it by editing the manifest file: From

B4X:
<uses-sdk android:minSdkVersion="15" />

to

B4X:
<uses-sdk android:minSdkVersion="4" />
 

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi JakeBullet70,

yes u r right.

in the manifest use the code belowe


<uses-sdk android:minSdkVersion="4" android:targetSdkVersion=" Here theversion of your android "/>
 

Laurent95

Active Member
Licensed User
Longtime User
Very good work

Hi Giuseppe,

This is a nice job also this library :sign0188:, thank you.

Just two things who seems still not good in the last update.
No need to put am or pm in the "CurrentTime" because it's already in 24h format (Sorry for the screen shot who's take a bit late)
And the days seems still not fixed in this update, see the screen shot at bottom, i take a German town for be sure that's not because i'm French.
I don't translate the "Short7DayName(x)" and the "Full7DayName(x)", below my code :

B4X:
      lb18.text= AResource1.GetApplicationString("CCSunrise") & Main.a.Sunrise
      lb19.text= AResource1.GetApplicationString("CCSunset") & Main.a.Sunset
      img1.Bitmap=Main.a.CCIcon
      img2.Bitmap=Main.a.FCIcon(0)
      img3.Bitmap=Main.a.FCIcon(1)
      img4.Bitmap=Main.a.FCIcon(2)
      img5.Bitmap=Main.a.FCIcon(3)
      img6.Bitmap=Main.a.FCIcon(4)
      img7.Bitmap=Main.a.FCIcon(5)
      img8.Bitmap=Main.a.FCIcon(6)
      l1.Text=Main.a.Short7DayName(0)&CRLF&Main.a.FCDate(0)
      l3.Text=Main.a.Full7DayName(1)&CRLF&Main.a.FCDate(1)

Best regards,

P.S. : Definitively you'll stuck me all the time with your great job
 

Attachments

  • ICOSWeather.jpg
    84.3 KB · Views: 182

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi Laurent u r right,

Thx to report these bug, I´ll fix soon .
 

lonleystar

Well-Known Member
Licensed User
Longtime User
Hi Laurent95,

as I promise i fixed the library just download again.
 

Laurent95

Active Member
Licensed User
Longtime User
Hi Laurent95,

as I promise i fixed the library just download again.

Hi Gusieppe,

That's nice, and i thank you.

Unfortunately it still a mistake. That seems be between time zone of the request and time zone of the place of the weather.
Look the screen shot i have put, for play with i put far away place, but that's eight hours difference with here, and one more day, hu ho

It's pity, that means again to work on it. Maybe it's because you reference time of the weather's request, or the time zone of user ?
A precision, my local time is French time, because i test my AHLocale xml files on the example also.

I know i'm a bit weird, i do the same with my currencies converter, always try to get some rate of currency from the other side of earth or try weird things like that

Best regards
 

Attachments

  • ICOSWeather4.jpg
    50.6 KB · Views: 158
Cookies are required to use this site. You must accept them to continue using the site. Learn more…