• This repository has been archived on 30/Apr/2022
  • Stars
    star
    137
  • Rank 266,121 (Top 6 %)
  • Language
    Java
  • Created about 10 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Golang 1.4 beta on Android

godroid

Golang 1.4 beta on Android

currently only working on linux (use a vm if are on macos)

Thanks for support: Android Arsenal

Discounted! As from official go 1.4, use native functions.

QUICK TUTORIAL

  1. Download and install NDK -> From go.mobile:

Pick a home for the standalone NDK toolchain and set an environment variable: NDK_ROOT=$HOME/android/ndk-toolchain

Configure the NDK toolchain:

ndk/build/tools/make-standalone-toolchain.sh --platform=android-9 --install-dir=$NDK_ROOT
  1. Get the Golang 1.4 beta, go to into src dir and type:

     CC_FOR_TARGET=$NDK_CC GOOS=android GOARCH=arm GOARM=7 ./make.bash
    
  2. At some point, you should see gcc erros about 'gcc: error: unrecognized command line option -marm'

  3. Go get: go get github.com/MarinX/godroid

  4. Folder android_so_lib, contains makefile to build your .so lib (I already included this is AndroidStudio project, so you can check it and run)

  5. You can import the android_studio project and explore/modify/run (support for android 2.3>=).

  6. When you are done, don't forget to uncomment or remove the PATH you set, to use your standard gcc.

Discounted! As from official go 1.4, use native functions.

More Repositories

1

keylogger

Basic keylogger in Go (no C deps)
Go
235
star
2

agewasm

A simple and secure online client-side Age key generator, encryption and decryption tool built using wasm
HTML
73
star
3

goble

Bluetooth Low Energy for Go
Go
45
star
4

btc-vanity

Generate Bitcoin Vanity Address
Go
27
star
5

yap

YAP! - Yet Another PGP Tool
Dart
17
star
6

mycommander-server

MyCommander Golang server application
Go
9
star
7

monerorpc

Full Monero RPC client(Wallet AND Daemon) written in go
Go
6
star
8

agemobile

Gomobile support for Age
Objective-C
6
star
9

mcastrpc

Golang Multicast JSON RPC Server
Go
6
star
10

vibrator

Port Android vibrator hardware to Go
Go
4
star
11

gogi

A car diagnostic tool written in go
Go
3
star
12

beanrpc

Beanstalkd RPC for go
Go
3
star
13

jsonrpconion

Library for building JSON RPC services on Tor network
Go
2
star
14

droneservo

A drone hardware fun plugin :)
Go
2
star
15

telegram-bots

Telegram bots in go
Go
2
star
16

monion

fast, secure messaging system for developing rich apps on Tor network.
2
star
17

go-mercedes-bot

Mercedes Benz Dealer Slack Bot in go
Go
2
star
18

chrome-image-recognition

Get image tags using image recognition and machine learning.
JavaScript
1
star
19

emacs-setup

My Emacs setup for C/C++ and GoLang
1
star
20

IoTOS

IoT OS for embedded, running OpenWRT or similliar linux distro
1
star
21

codeswholesale

Go wrapper for CodesWholesale API
Go
1
star
22

tor-phishy

A Tor browser plugin which block access to the phising sites.
JavaScript
1
star
23

mycommander

MyCommander Android app
Java
1
star
24

go-mercedes-dealer

Mercedes-Benz Dealer API library for go
Go
1
star
25

electrumrpc

Golang JSON RPC client to talk with Electrum server
Go
1
star
26

oc-steamauth

Steam API authentication for OctoberCMS
PHP
1
star
27

mqtt

Basic MQTT wrapper for Go
Go
1
star