create account

Howto to use beempy for posting in Android by holger80

View this thread on: hive.blogpeakd.comecency.com
· @holger80 · (edited)
$76.43
Howto to use beempy for posting in Android
Please also read my post [how to use beempy for posting](https://peakd.com/hive-108365/@holger80/howto-to-use-beempy-for-posting), in which I have explained how to construct the YAML header for your post. We will use the same header on Android.

# How to write a post with a markdown editor and broadcast it under Android?

I wrote this post on Android, to show that this is already possible. It went quite well with the right tools.

1. You need a good keyboard for typing fast with your thumbs.
2. You need a powerful markdown editor that compensates for the limited input and display.
3. You need to run beempy on your phone.

## Keyboard for Android
I'm using
[Grammarly]( https://play.google.com/store/apps/details?id=com.grammarly.android.keyboard) for writing and [hacker keyboard](https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard) for using beempy in the terminal.

The Grammarly keyboard helps with a smart word prediction
![image](https://images.hive.blog/DQmcJDPyyzQghg6RF931S3JCXbS3goCz75NPxvhxMWuw1eg/image).

It has also a smart autocorrect function and shows mistakes.
Errors are highlighted and easy to fix.
![image](https://images.hive.blog/DQmZqMJFvimNiKdFfFUD2mkoBT1qSFc3HZBbpEegi6rDUjn/image)

## Powerful markdown editor
I only found two good markdown editors: [markor](https://play.google.com/store/apps/details?id=net.gsantner.markor) and [Epsilon notes](https://play.google.com/store/apps/details?id=com.ekartoyev.enotes).

Epsilon notes is clearly the more powerful one, it can be used without paying for the premium version. I have used this one for writing my post.

Epsilon notes has two powerful shortcuts which includes almost everything which is needed.

There is a bar with the most important markdown functions:

![image](https://images.hive.blog/DQmVuHP1dMcrGNmx67XodKp9auXUXoLCpVSMfSbJzwqzE2A/image)
and a bar with important function as image inserting and table creation
![image](https://images.hive.blog/DQmd63n1EfrvVNrCVYT1QkT7xVrQBcLQ1Uw1aZJFfTNLhDv/image)

When you save your file, there is a nice preview.

![image](https://images.hive.blog/DQmfR1WokhDhAWgaTStNcPwLsJaN54yLxMP3UChFcMUeLoB/image)


### Inserting images
When you press the image button in bar 2, you can select an image from your gallery and will be asked, if  the should copied/moved here. 
![image](https://images.hive.blog/DQmPLjr7PviFVeF1WCpxvjATgPnFZaoPg2tRzwsvVnifwYJ/image)

As we want to automatically upload them with beempy, they should be moved/copied to the same directory.

### Pasting clipboard
There is a great function to past content that was shared with Epsilon notes

Whenever you press share on your android you can select Epsilon nodes. When you press the document with the plus on bar 2 you can past it:
![image](https://images.hive.blog/DQmYmfbivWFW7yzhzjhbw8VFFK4fuSgjMNjenLUHj7uk5vV/image)

## Emoji embedding
Works easy with the Grammarly keyboard.   🍻

## HTML embedding

<center> center works </center>

<div class="pull-right"> pull right works also </div>

### YAML header
Yaml header are supported. 
The tags are even searchable through all markdown files you have created on your phone.

![image](https://images.hive.blog/DQmVrfV38t6jV8ACk9V7Fy5fXaabKqi8E4E7obURMvokUy9/image)

Please read more about YAML header here [how to use beempy for posting](https://peakd.com/hive-108365/@holger80/howto-to-use-beempy-for-posting).

## Installing beempy on Android

You need to install [termux](https://play.google.com/store/apps/details?id=com.termux) and [termux api](https://play.google.com/store/apps/details?id=com.termux.api).

You should change your keyboard now to the hackers keyboard.

Open the termux app on your phone and enter
```
pkg install clang openssl python
```
and 
```
pip install beem
```
You should also install 

```
pip install cryptography secp256k1prp
```

for faster signing.
You need also to install the app

```
pkg install termux-api
```
and allow termux to access the file system

```
termux-setup-storage
```

### Create wallet and enter keys
Update the nodelist
```
beempy updatenodes
```
create a new wallet

```
beempy createwallet
```

and enter/pasting your posting key.

```
beempy addkey
```

You can past it by pressing on the terminal and select paste.

![image](https://images.hive.blog/DQmfY64pGmP99cqm2CDoxqVcJ8yzErBQaMwDWC1an1dGtCo/image)

### Wallet location
The wallet is stored inside the protection directory of the terms application. When you have a sufficient recent android, other apps cannot enter this and see the wallet.
![image](https://images.hive.blog/DQmXGqmLx7nJPkKrJnEPSTJnrD3wCmKe1wDVqFJ3Pdxj53b/image)

as you can see here
![image](https://images.hive.blog/DQmcmpz84RrXTAuRgi2ovgndY5U7jNfrMDRT5EtYdxHqzyh/image)

## Download all your posts
You can store all your posts as markdown files on your android

```
cd storage/shared/Docements/
mkdir hive
cd hive
beempy download -a holger80 -s
```
This is helpful for copying snippets from your old posts.

## Broadcast your post

Open termux and go to the directory holding your markdown file.

![image](https://images.hive.blog/DQma5SvxcZiavyaetASpHQ1XsgbGFGqxDBSJ6c11x864RL4/image)

You can find your files at `~/storage/shared/`.

### Broadcast your post

Check that your markdown contains a YAML with at least one tag, an author and a title.

You can now broadcast your post with
```
cd storage/shared/Documents
beempy post your_markdown_post.md
```
## Editing your post
When you want to edit your post, you can just open the markdown file, edit it and save it.

Then, go to termux and use beempy post again.

![image](https://images.hive.blog/DQmPP3gZY4jmJ2BUZ5LKhNffFYefN9o275THoz5iqB8qLi9/image)
___

*If you like what I do, consider casting a vote for me as witness on [Hivesigner](https://hivesigner.com/sign/account-witness-vote?witness=holger80&approve=1) or on [PeakD](https://peakd.com/witnesses)*
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 310 others
properties (23)
authorholger80
permlinkhowto-to-use-beempy-for-posting-in-android
categoryhive-108365
json_metadata"{"community": "hive-108365", "app": "beempy/0.23.5", "tags": ["beempy", "editor", "android", "post"]}"
created2020-05-09 21:04:18
last_update2020-05-10 07:36:42
depth0
children11
last_payout2020-05-16 21:04:18
cashout_time1969-12-31 23:59:59
total_payout_value43.416 HBD
curator_payout_value33.018 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5,878
author_reputation358,857,509,568,825
root_title"Howto to use beempy for posting in Android"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,282,893
net_rshares132,313,673,765,079
author_curate_reward""
vote details (374)
@alexbalan ·
$0.06
Is this going to remain just an API or do you plan on adding an interface atop all of these?
πŸ‘  
πŸ‘Ž  
properties (23)
authoralexbalan
permlinkre-holger80-2020510t0285998z
categoryhive-108365
json_metadata{"tags":["beempy","editor","android","post"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-05-09 21:29:03
last_update2020-05-09 21:29:03
depth1
children3
last_payout2020-05-16 21:29:03
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.032 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length92
author_reputation7,291,343,466,873
root_title"Howto to use beempy for posting in Android"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,283,239
net_rshares187,658,603,748
author_curate_reward""
vote details (2)
@holger80 ·
What do you mean with API?
πŸ‘  , ,
properties (23)
authorholger80
permlinkre-alexbalan-qa32fn
categoryhive-108365
json_metadata{"tags":["hive-108365"],"app":"peakd/2020.05.1"}
created2020-05-09 21:31:00
last_update2020-05-09 21:31:00
depth2
children2
last_payout2020-05-16 21:31:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation358,857,509,568,825
root_title"Howto to use beempy for posting in Android"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,283,270
net_rshares43,610,904,134
author_curate_reward""
vote details (3)
@alexbalan ·
I'm sorry I guess what I meant was will this evolve into something like a desktop or Android app with its own GUI or will it remain a CLI tool?
properties (22)
authoralexbalan
permlinkre-holger80-2020510t1517782z
categoryhive-108365
json_metadata{"tags":["esteem"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-05-09 22:05:18
last_update2020-05-09 22:05:18
depth3
children1
last_payout2020-05-16 22:05:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length143
author_reputation7,291,343,466,873
root_title"Howto to use beempy for posting in Android"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,283,706
net_rshares0
@gitplait ·
This is really another interesting tutorial to read. You also made it cool by using some funny words. Great work here. We cannot just let it go, we will include it in today's GitPlaitelite publication. This is our small community link https://hive.blog/trending/hive-103590 :) Would be great to see you around!
properties (22)
authorgitplait
permlinkqa49xo
categoryhive-108365
json_metadata{"links":["https://hive.blog/trending/hive-103590"],"app":"hiveblog/0.1"}
created2020-05-10 13:10:39
last_update2020-05-10 13:10:39
depth1
children0
last_payout2020-05-17 13:10:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length310
author_reputation911,220,543,569
root_title"Howto to use beempy for posting in Android"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,292,829
net_rshares0
@hivebuzz ·
Congratulations @holger80! You received a personal badge!

<table><tr><td>https://images.hive.blog/70x70/http://hivebuzz.me/badges/revolution.png?202005092219</td><td><p>Well done comrade!</p><p>You successfully completed your first Hive Revolution mission. This entitles you to the 1st class badge!</p><p>Β‘Viva la revolucion!</p></td></tr></table>

<sub>_You can view [your badges on your board](https://hivebuzz.me/@holger80) and compare to others on the [Ranking](https://hivebuzz.me/ranking)_</sub>


**Do not miss the last post from @hivebuzz:**
<table><tr><td><a href="/revolution/@hivebuzz/hive-revolution-mission-1"><img src="https://images.hive.blog/64x128/https://i.imgur.com/76uSoLw.png"></a></td><td><a href="/revolution/@hivebuzz/hive-revolution-mission-1">Hive Revolution - Mission 1 - Communication</a></td></tr><tr><td><a href="/revolution/@hivebuzz/hive-revolution-call-for-missions"><img src="https://images.hive.blog/64x128/https://i.imgur.com/PcoHyMJ.jpg"></a></td><td><a href="/revolution/@hivebuzz/hive-revolution-call-for-missions">Hive Revolution - Call for missions</a></td></tr></table>

###### [Vote for us as a witness](https://hivesigner.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more badge and upvotes from us with more power!
properties (22)
authorhivebuzz
permlinkhivebuzz-notify-holger80-20200509t224919000z
categoryhive-108365
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2020-05-09 22:49:18
last_update2020-05-09 22:49:18
depth1
children0
last_payout2020-05-16 22:49:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,287
author_reputation369,414,110,734,369
root_title"Howto to use beempy for posting in Android"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,284,274
net_rshares0
@imjonils ·
Grammarly is a nice keyboard I'm using it like 2 years and love ❀️it 
properties (22)
authorimjonils
permlinkre-holger80-2020524t164150648z
categoryhive-108365
json_metadata{"tags":["beempy","editor","android","post"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-05-24 10:41:54
last_update2020-05-24 10:41:54
depth1
children0
last_payout2020-05-31 10:41:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length69
author_reputation7,647,950,153
root_title"Howto to use beempy for posting in Android"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,556,668
net_rshares0
@revisesociology ·
$0.06
>You need a good keyboard for typing fast with your thump.

Was that deliberate, if so lol! 

Do I get a prize for spotting it?!?

Very interesting work! 
πŸ‘  
properties (23)
authorrevisesociology
permlinkre-holger80-qa3rju
categoryhive-108365
json_metadata{"tags":["hive-108365"],"app":"peakd/2020.05.1"}
created2020-05-10 06:33:30
last_update2020-05-10 06:33:30
depth1
children2
last_payout2020-05-17 06:33:30
cashout_time1969-12-31 23:59:59
total_payout_value0.032 HBD
curator_payout_value0.032 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length154
author_reputation2,296,072,455,622,904
root_title"Howto to use beempy for posting in Android"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,288,087
net_rshares187,439,461,742
author_curate_reward""
vote details (1)
@holger80 ·
That's a good showcase where a spell and grammar checker can not help :).
πŸ‘  , ,
properties (23)
authorholger80
permlinkre-revisesociology-qa3th1
categoryhive-108365
json_metadata{"tags":["hive-108365"],"app":"peakd/2020.05.1"}
created2020-05-10 07:15:03
last_update2020-05-10 07:15:03
depth2
children1
last_payout2020-05-17 07:15:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length73
author_reputation358,857,509,568,825
root_title"Howto to use beempy for posting in Android"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,288,480
net_rshares44,615,806,544
author_curate_reward""
vote details (3)
@revisesociology ·
I thought you were making an ironic point about the problem of typing on a small keyboard! 
properties (22)
authorrevisesociology
permlinkre-holger80-qa3urt
categoryhive-108365
json_metadata{"tags":["hive-108365"],"app":"peakd/2020.05.1"}
created2020-05-10 07:43:06
last_update2020-05-10 07:43:06
depth3
children0
last_payout2020-05-17 07:43:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length91
author_reputation2,296,072,455,622,904
root_title"Howto to use beempy for posting in Android"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,288,779
net_rshares0
@spacetoon ·
oh good informations for posting in Android
thank you for sharing
properties (22)
authorspacetoon
permlinkqa3bie
categoryhive-108365
json_metadata{"app":"hiveblog/0.1"}
created2020-05-10 00:43:39
last_update2020-05-10 00:43:39
depth1
children0
last_payout2020-05-17 00:43:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation632,661,817,427
root_title"Howto to use beempy for posting in Android"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,285,303
net_rshares0