Idea Growr update – Import ideas from zip file

As of version 1.54 of Idea Growr, you can now import your ideas. This enables you to move all your ideas to a new phone, or collaborate with someone by sharing your idea(s).

How to import

This assumes you have exported your ideas to an app like Dropbox. You can export your ideas using the up-arrow-icon on the main screen.

1. Download the .zip file to your device

Screenshot_2016-04-07-16-58-15Screenshot_2016-04-07-16-58-23

Go to your Dropbox app (or where you have stored your idea) and download the .zip file to your device. For instance ideas-2016-04-07.zip to your Download folder.

2. Open Idea Growr and go to settings

Screenshot_2016-04-07-16-43-50_highlight_settings

3. Tap the ‘Import from zip file’ button

Screenshot_2016-04-07-16-43-56 - Copy

4. Select your zip file from folder you downloaded to in step 1

Screenshot_2016-04-07-16-47-38 - CopyScreenshot_2016-04-07-16-47-48

A progress bar will show the progress of the unzipping. This does not mean the ideas are imported yet.

Screenshot_2016-04-07-16-47-57

5. Select how many ideas you want to import

Screenshot_2016-04-07-16-48-17

6. Select ideas to import (optional)

Screenshot_2016-04-07-16-48-52

7. Idea Growr checks for potential duplicates. If those are found, select if you want to import them.

Screenshot_2016-04-07-16-49-30

The app looks at the ideas in your zip file and can see that one or more of these ideas have a name this is also in your current list of ideas in your app. It’s up to you what to do next:

  • Import all anyway
  • Skip the ones that are probably duplicates
  • Import the content of the ideas with a known name as notes.

I struggled a bit with how to best describe this. If you want to help out, let me know in the comments if this seems clear from the screenshot or how it might be improved. 

8 After another progress bar your ideas are imported

And that’s it. If you have any questions, bugs or feature requests, let me know in the comments.

You can download the free android app Idea Growr here.

Idea Growr update – More control over your own questions

I have added a couple of new features in Idea Growr with the goal to give you more control over your own questions.

Download the Android app here, or learn more and watch a video here.

  • Create and edit multiple of your own question sets
  • For every idea select what ideas you want to use
  • Select any of the 11 languages in the settings

Create and edit multiple of your own question sets

Idea Growr settings Manage your own sets Edit question set

When I rewrote the database last year, I set up a structure that would allow me to do this update. I hope to later use this as a first step to a simple platform where you can share and import your question sets.

I put a lot of effort into creating a list of fields, and I was very close. But in the end I had to use a pop-up dialog where you can enter your question. I could write a rant about how Android should make this easy, but I won’t.

For every idea select what ideas you want to use

Screenshot_2016-03-20-22-51-38

I got a number of requests for this feature and it is one of those things that I hadn’t thought about myself. You could say that seeing a title of a question set you aren’t using is not a problem. But when you really think about it does matter.

Idea Growr is about helping you in your thinking process and it makes sense to want to remove as much clutter as possible.

Select any of the 11 languages in the settings

Pop-up language select, if you scroll you would see Portuguese too.

The app always supported a large number of languages. I wrote about it from the start. The way that Android works out of the box, is that it will use the language of your device. I received feedback that people wanted to switch languages. I can understand, because to be honest, most of these translations are far from perfect.

While some have helped, I use Google translate for most of them. The thought being that if you don’t know English, you would rather have something you could read but had some strange sentences, than have an app that you can’t read at all.

You might think it would be easy to implement such a feature, once you have all the translations, but it was not so simple. Either way, I now have it working and I wonder if more people will switch to English or use the feature to switch to a different language at all.

Idea Growr update – Add picture to note

As often requested by users, you can now* add a picture to a note.

To keep things as simple as before, you can only add a picture to a note. So no need for a media library or other (mental) overhead.

I could re-use some code from my other app, My Picture Books. And while I was at it, I rewrote most of the create/edit note code making it much easier to maintain.

Next up will probably be the option to export all your ideas in a .zip file that also includes all your pictures and audio, just like I made for My Picture Books. It might even be possible to export ideas from Idea Growr and import them to My Picture Books or the other way around. I’ll have to look into that :).

* Now = version 1.48 rolling out today, but not for all users at once.

Update My Picture Books app – Export books with a zip

It has been over a year since I updated My Picture Books.

MPB StatsFebr 2016

You can see that with about 350 active users this app needs a little love and attention. So I went over the feedback to see how I could best improve the app.

Comment on this blog:

Sinisa commented”.. Also, option to export as PDF will be awesome, or even better if you can export with all features as in app. I mean with audio, text and pictures. Importing other books will bring this app to new level…”

Reviews on Google Play

Sherry San Diego: “I’d like to have the option to keep my work in private & at the same time, be able to share my books (or the links to my books) to others if I want to.”

Gabby D: “I wish I could be able to share it”

Chandra Praba “Amazing app. How can I share my book..”

Exporting your books

As a first step towards sharing, today I added an export feature. The app will create a zip file that contains all images, audio and HTML files to display the books. You can for instance send it via e-mail or store it in your Dropbox folder. For this update, the HTML file is very basic, there is no page flipping, you just scroll to see the pages.

Play audio on Chrome browser

You can also play the audio you might have recorded with a page, but not all browsers can handle the file type that is used. The means you have to use Chrome if you want to listen to your recordings.

There is not yet an import feature, but I created a JSON file that will make it easier to add this in the future.

Download the Android app here. Let me know what you think!

Writing on a 3×3 LED matrix on my Raspberry Pi

Recently I was given a Rasberry Pi by Jungle Minds, so I had to do a little project with it.

I followed along with this great tutorial on how to create a 3×3 LED matrix. I didn’ t follow the tutorial to the letter, for instance I used the gpiozero library and made a custom function to write texts.

Proof :)

The code

Take a look at the code on BitBucket (might be more recent) or just look at it here :).

Have fun!

Lovely feedback on my My Picture Books app

It has been a while since I did any work on My Picture Books. It’s always a nice to get some feedback in my inbox. Carlos gave me an ok to share it here:

It’s a great app, very easy to use. My little students (5&6 years old) are able to create their own albums.

I’d like to suggest you only one thing. If you can to make an option to share the albums it will be the perfect app.

If you don’t know the app, here is a quick introduction:

Really great to learn that children of that age are able to use the app. Being able to share, or even export your books requires quite some work, and I’m not even sure how to best go about it. But it got me thinking about the app again.

Like with Idea Growr, the app doesn’t have an online back-end, so I’m first looking into what can be done in the device. I’ll try to create a little prototype that at least will be able to export an HTML file with images and figure out if that works.

Letting user set the language in an Android app is harder than you would expect.

I’m working on an update to Idea Growr that gives users the option to set the language of the app. At first just the option to either ‘use device language’ or ‘English’.

How language works in Android

If you develop an Android app you use folders like values-fr for all your French texts, and values-pt for Portuguese, etc. When a user opens the app, Android looks at the language that is set at the device level and it will pick that same language for your app.

You might think it would be easy to give users control over the language in the app, since the folder structure is already there. But it’s harder than you would expect:

  • You can change something that is called ‘locale’. But that sort of tricks Android into thinking that there is a different device language. This makes it rather hard to later on enable the radio button for ‘use the device language’. In the comments of this Stack Overflow question you see a whole range of options. Taking fully different approaches.
  • But these and other solutions you find online might be from 2012, and since then new Android versions make that those solutions no longer (fully) work.
  • Then when you think you get it to work, strange things happen, like action bar titles that won’t change immediately but sometimes later on. Again a Stack Overflow question shows I’m not the only one with this problem.

Ranting on..

So now I’m at the point that I try all sort of different things people are saying in the comments of Stack Overflow questions. I have the feeling that many developers would say that this is part of the process of software development, but what I find troubling about this is that I’m not learning anything.

I want to become a better developer, but at the moment I think that I actually could not have known how to do this with a better process or general software development skills. It’s just that Android assumes that users want apps to have the same language as their device. While I’m not holding my breath, I added a request for the Android team for an easy way to let users select the language of their apps.

Sim Karakter update: Now in Slack, but how to change the font?

Another update on the Sim Karakter game.

I have it working in Slack, but there are two problems:

  1. The font of Slack makes the numbers not align with the items in the level
  2. Typing ‘/sim’ all the time is a hassle

Sim Karakter on Slack

The font of Slack makes the numbers not align with the items in the level

As you can see the some elements are not aligning properly. I’ve not yet figured out how to use Slack Slash Commands to display test in monospace font or do some other trick that helps.

Typing ‘/sim’ all the time is a hassle

It’s a good prototype in that I can get a feeling for how fun it is. And while I knew the game itself didn’t have enough gameplay fun, at least in the web verstion it was easy and quick to play. In the Slack version everything you do takes a little bit too much effort because you have to type /sim before every command.

But I’m happy I got it working as planned :)

Progress on learning to build slack app for Karakter game

Since I have the ambition to create a sim game as a slack app, I wanted to first create something simpler.

Slackagotchi

The concept: the most simple tamagotchi ever; if you say ‘happy’ he’ll be happy, if you say ‘unhappy’ he’ll be unhappy. I got it working:

Simple gotchi

Things I learned:

  • The core of how Slack commands work.
  • Heroku is not the tool for this job. When there is very little trafic, a call to the server can take over 5 seconds to return something.
  • I learned to make use of Python Anywhere. Enabling a free way to run this code.
  • Made use of a WSGI file in order to get Python Anywhere working. I’m still not absolutely sure what the essence is of WSGI, other then that it tells the server how to run the code and act as a ‘middle man’ in some ways. But at least now I know that there is something I should probably know more about.
  • Creating a simple JSON file is super simple in python.

It was tempting to add new features to the ‘gotchi’ app and try to figure out more about how Slack apps works. But I now know enough to start working on porting my sim game to become a slack app.

Text based sim game ambition update

Back in april 2015 I wrote about the ambition to build a 1D asci sim game.

A new ambition

If you read my earlier post, you might not say it was lacking ambition. But in a way it was, because it didn’t say anything on how it was ever going to be played by people and have a real impact.

Smart text input gaining traction?

Developers in general, but perhaps more those who use tools like Vim [1] have known this for a very long time, but you can use the keyboard to do more then write something. These texts can be commands to empower you to do stuff quickly and precisely. I believe that the success of Slack has much to do with that quality.

[1] the site Vim site looks fake, but lets just say their target audience is not your typical designer..

Recently the app Peach has gotten a lot of attention, it’s a social app where you can share text, photos, etc. The unique feature is that it handles ‘magic’ keywords. So you can easily write ‘here’ and it will send your location.

The added goal: make it a Slack app

My new goal is to turn this game into a slack app. I don’t really know anything about building Slack apps, so that’s something that I’ll have to learn.

In order to be able to do that, I first need to learn more ‘back-end stuff’. The kind of things I also want to learn to eventually get my Idea Growr app online. Concretely this means improving my Python skills and learn to work to work with a back-end framework. I have chosen Flask, because it seems to be the most simple. Another part of the equation is that a (web/slack) app needs to be deployed somewhere.  So I’m also trying to figure out what platforms like Heroku have to offer.

Step 1: Turn the game from a terminal game, to a web based game

The initial game I had made only worked on the terminal, so my goal was to transfer the game to the web. I had to rewrite quite some code, including a nice recursive one to handle the user input, but now have it working online.

Since it’s not ready for user testing, I will not post that link, but here are some animations that show a little bit of how the game works.

Sim Karakter 1And here some more..

Sim Karakter 2

Let’s get some things out of the way..

Yes it’s ugly. Since the goal is to eventually have this run on Slack (a chat client), selecting nice colors and a font don’t have a high priority.

The game is not that fun yet. I believe that there is enough of the game working that if someone tests it, they can imagine ‘what would be cool’ and gather great feedback.

The game is very far from done, but I’m learning a lot of new stuff, like how to set up unit tests with pytest (not 100% code covered yet..) and just getting more experience with coding things that have a little complexity to them.

Concluding; the extra criteria makes it easier

By defining it has a Slack app, I have made the project much more of a MVP that I can see working. This gives me extra motivation to dive into this project even more and see where it takes me.

Like always, let me know what you think. And if you think it sounds like a fun project, I’m always open for collaborations on projects like these :)