« first day (1694 days earlier)      last day (1781 days later) » 

5:00 PM
@TheLittleNaruto what about this project directory...what to look for it there?
 
Take a sample project and implement the code all gave and see how stuff works
 
@jagapathi thank you.
@TheLittleNaruto i got to this external libraries.. (one of project directory section this is?)
be back in 15min.
 
Someone pull my brain stem out, rinse it off and put it back in, thx
 
5:16 PM
@Ramona Can you see project explorer window on the left ?
@ballBreaker lol
@Ramona
 
yes
 
i can see it
gradle opened
copy this dependency here in gradle?
 
Can you see dependency dsl ?
it'll look like :
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}
Add this line: compile 'com.github.deano2390:FlowTextView:2.0.5'
 
it says ` // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files`
paste it there anyway?
 
5:24 PM
looks like you opened project build.gradle
not app module's
 
oh yes..one sec
sorry!!
done.
 
now open project's build.gradle
 
where is it?
 
the one you opened before
ok
 
ok done
 
5:29 PM
Can you see jcenter()
somewhere ?
 
yes
 
below that add this line: maven { url "https://jitpack.io" }
 
done
 
Now can you see a pop up on top of editor which says "sync gradle" ?
 
yes tap 'sync now'?
 
5:31 PM
Yep
Once Gradle sync is done
you can run your project
Did you understand what's going on there ?
 
well..we've just implemented something (some code) somebody created? and we are now downloading it to android studio....?
 
more or less
 
can you say some more?:)
how can we know if in this code isn't any hmm...'bad stuff'?
is it based on trusting..?:)
 
In gradle we have something called repository center
from where gradle downloads dependencies
this FlowTextView dependency you were trying to use, has to be added as dependency to gradle file
that you did in your app module's build.gradle
But it's repository center was maven { url "https://jitpack.io" }
so had to add it to repositories dsl
so that when gradle will try to download this dependency, it can try to figure out from which repository it can download
 
would you do the same of follow some android developmnet webside?
 
5:41 PM
android development webside ?
I don't get it
gradle is project build system
 
i mean... you know... the kind of oryginal stuff not sth that some guy wrote...
 
whoever is using gradle, they need to do this way only
 
because this is some code sb wrote and gave to all for using right?
ok
so i need to read about 'repository' and 'dependecies' , yes?
 
These days gradle is more popular in project build system, hence used in web development desktop app dev too
@Ramona yep
 
so...now i get error..
 
5:44 PM
What error is it ?
 
Error:(27, 17) Failed to resolve: com.github.deano2390:FlowTextView:2.0.5
it's showed up right after gradle'd finished
 
allprojects {
    repositories {
        jcenter()
       maven { url "https://jitpack.io" }
    }
}
Does your project build.gradle look like this ?
 
oh ok.. i placed it in bulitscript first.
corrected.
should i run the app now?
 
almost there
got the same error as before. will clean project and try again.
 
6:04 PM
@kjhughes hold on, looking for a "forward" button on my Android phone... — Mat's Mug 26 mins ago
lel
 
ok the app works but the code we implemented doesn't.@TheLittleNaruto
i will send you prinScr of this fragment from emulator
 
6:33 PM
Hi guys
 
Hi what's up
 
Nothing much
Been doing some Java practice
and I'm currently on this project
 
@CrashBandicoot what project?
 
@Ramona what were you expecting ?
 
back
 
6:39 PM
An airport monitor project
Monitoring aircrafts coming in and out of an Airport
 
for like plane schedule and numbers?
oh
 
Yeah, but a simplified version
I'm a second year University student
 
@TheLittleNaruto what webside do you use to display pic?
 
Just like placeholder/fake(generated) or something you load in from an API? @CrashBandicoot
 
6:40 PM
@Ramona imgur or upload.photobox.com
 
@ChewCat ding dong
 
be back in 15min.
 
I have to manually input a few different models
Which includes, helicopters and other aircrafts
 
Do you also have route numbers?
 
No
It's just one airport
and this program takes a user input
to ask a position of a certain aircraft
 
7:12 PM
ok
 
7:30 PM
@LunarWatcher could you have a look in the above link?
 
It redirects me to the main url
I can't see the image
 
how come i can see it but not you? :(
 
Is it private?
 
no
any other webside i can post it on?
 
imgur
 
7:36 PM
Error (403) while registering.
 
you don't need to register to upload to imgur
go to imgur.com look at the top bar where it says "new post"
just click it, upload the picture and wait til it is finished
then right click the image and "open image in new tag" or "copy link"
@Ramona
 
thanks Lunar!!! i'm so tired today already :( please have a look imgur.com/a/fwy0o
we've implemented code with Naruto today and it still looks like this :( - no text wrapping
i'm so weak :( .going to bed .will solve it tomorrow. thank you Lunar .good night
 
8:01 PM
Do you use ConstraintLayout?
If you do, set wdith to 0 dp and add a constraint to the image. It automatically adjusts to the available width
anyways, gn @Ramona
 
 
1 hour later…
9:31 PM
@Ramona night
 

« first day (1694 days earlier)      last day (1781 days later) »