Jump to content
News Ticker
  • Minecraft Server 1.19 is Live!
  • Monster Hunter Sunbreak Out Now!
  • WoW Season 4 Starting 8/2/2022

Black Desert Online

System Daemons

Coding with Awesome [Android: JSON Formatting]


Awesome_Taco
 Share

Recommended Posts

Welcome to coding with Taco!

Let's start the new project. This project will pull information from https://min-api.cryptocompare.com and get us the information we want on RavenCoin. I have chosen this website because they hold historical information and would be cool to see in the app. (On top of it being free as CoinMarketCap will start charging for use of the API)

Creating the new Project. 

Spoiler

1615425611_ScreenShot2018-05-03at1_49_33PM.thumb.png.6d3e0ec721e6d6d11cb57259215f770f.png

Not going to be teaching Kotlin today so we just want to name the project to whatever we want. and save it where you want it. 
 

264303944_ScreenShot2018-05-03at1_49_41PM.thumb.png.c150ee2d312f87ab4e2eeaee79ddc4b9.png

Focus will be Phone and Tablets. Android Lollipop supports material design which is great and will work for 71.3% of the devices out there. 

1911119804_ScreenShot2018-05-03at1_49_47PM.thumb.png.afa07e20e4cc0a30877cc2b78a317542.png

As this will be a pretty simple interface, Basic Activity and Empty Activity will both work fine. Basic will just come with a FAB in the bottom right but you can set that to gone in the layout. 

299160098_ScreenShot2018-05-03at1_49_51PM.thumb.png.f27862bdcc65fa54aaec5a5970c2e64e.png

Finally, just setting up the MainActivity. Don't need to rename it. 

Hit Finish and let the project load to competition.  

Uses Permissions

Spoiler

Find AndroidManifest.xml in the Manifest folder

1466279823_ScreenShot2018-05-03at1_58_50PM.thumb.png.f8464af5023cc581f2fe950e8cae18a3.png

Double click on it and add some space below 


package="me.jcrystal.ravencointut">

Enter this:


<uses-permission android:name="android.permission.INTERNET"/>

It should look like this in the end

 

84469705_ScreenShot2018-05-03at1_59_07PM.thumb.png.5a2daeb6802a4c00a7c3870bcb97d628.png

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

Popular Topics

About us

Warpigs is a semi-hardcore multi game community, for both MMOs and other genres. Our core, which has largely remained the same, started back in 2014. Warpigs first got started in Wildstar and has since branched out to several other game including, Black Desert Online, Overwatch, Heroes of the Storm as some of our most active games. We also have a strong internal following for both Dauntless and Ashes of Creation.
 

Warpigs function as a tight knit family-esque guild, which is not to say that our conversations are G-rated. Quite the opposite, but when you're one of us, we've got your back. Words fly pretty freely, and I'm always of the opinion that if you play an MMO, or any game with a social player base, you need thick skin and know not to take things personally. With that being said, we are a well organised and have a fairly mature membership, and as such we offer a very stable guild that we hope will be here for many more years to come.
 

Warpigs are dedicated to a friendly, team focused, fun-loving gaming environment where every member is important and not just a number on a roster. We seek to foster long term friendships among members and enhance the online gaming experience by virtue of those friendships.

×
×
  • Create New...