Posts

Showing posts from April, 2019

How allow download and show images from url

How allow download and show images from url This manual will show you how to allow and show images from a url path. I had this problem and I solved in the following way, there is a library called Picasso, I will leave link for install. Just you have to use this line into your logical for load imagen and the library does the rest. 1.-Include library into dependencies and sync Gradle. implementation 'com.squareup.picasso:picasso:2.5.2' 2.- Include library import com.squareup.picasso.Picasso; Picasso.get().load("http://i.imgur.com/DvpvklR.png").into(imageView); In this example the url is passed like parameter by string and the second parĂ¡meter is a "imageView" object. Link for Picasso The disaventages is that you will need internet connetions for it works. Resources: http://square.github.io/picasso/

How raneme packname

Image
How rename packname If you need rename your packname you can follow next steps. 1.- Disable "Compact Middle Packages". 2.-Rename Folder Select folder you want chage, rigth click and the folder and select "Refactor" and "Rename" and will apear a warning window, select  "Rename packge" option. 3.- Apling changes Will appear a Refactor preview you should select "Do refactor" option for apply the change. You can repeat this step by folder that you need change. 4- Change Greadle Search file called "build.gradle" and change applitionId android {     compileSdkVersion 27     defaultConfig {         applicationId "com.example.hello"         minSdkVersion 22         targetSdkVersion 26         versionCode 1000         versionName "1.0.1"         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"         // Enabling mul