Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

help a brother out.. google api

Featured Replies

How did you import the lib?

 

Jar? Maven? Gradle?

 

Edit: 

then right clicked gradle project in project explorer and exported as a jar, then imported that jar into my projects libraries.

Don't do that...

 

Google how to use gradle :p

 

Or just use maven:

<dependency>
    <groupId>com.google.maps</groupId>
    <artifactId>google-maps-services</artifactId>
    <version>(insert latest version)</version>
</dependency>

Maven is love.

Edited by Botre

  • Author

How did you import the lib?

 

Jar? Maven? Gradle?

 

Edit: 

then right clicked gradle project in project explorer and exported as a jar, then imported that jar into my projects libraries.

Don't do that...

 

Google how to use gradle :p

 

Or just use maven:

<dependency>
    <groupId>com.google.maps</groupId>
    <artifactId>google-maps-services</artifactId>
    <version>(insert latest version)</version>
</dependency>

Maven is love.

I used eclipse to build the gradle project, which then showed up in project explorer, which I then exported to a jar. Which is used in my project. Was this the wrong way to do it? Could you give me a example how I would do this?

I used eclipse to build the gradle project, which then showed up in project explorer, which I then exported to a jar. Which is used in my project. Was this the wrong way to do it? Could you give me a example how I would do this?

 

Yes it was the wrong way to do it, you can google Gradle if you want to learn more but I would deffo suggest Maven over Gradle:

 

Create new Maven project, open pom.xml, paste the dependency, done.

  • Author

Yes it was the wrong way to do it, you can google Gradle if you want to learn more but I would deffo suggest Maven over Gradle:

 

Create new Maven project, open pom.xml, paste the dependency, done.

Using maven, I added the dependency code you gave me but where do i put the google api project?

Using maven, I added the dependency code you gave me but where do i put the google api project?

 

Maven takes care of every thing.

 

Fill in pom.xml.

Optional (in case you don't have auto-update enabled for maven): Right-click project -> maven -> update project.

Maven will download everything that is required and add it to your project.

Start coding.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.