Wow. Just spent the last few minutes trying to figure how to sign in to blogger. You have to hover over the top to see the sign in bar. Lovely. Anyways, this post is going to be about app inventor. A how-to. Because I wasted two hours of my life trying to figure this out. Yes, my first blog post in a really long time is going to be about this. I have a whole list of interesting things to discuss and I chose a boring tutorial. Oh well. Oh and lots of these things came from the Google group about app inventor. It was kind of complicated, so that's why I'm making this tutorial
This tutorial is meant for mostly beginners at app inventor, but here are some things that this tutorial expects you to be able to do:
- save projects
- save projects as...
- open the blocks editor
- make a multi-screen app
- upload and download projects
- copy, cut, and paste
- find and save files on your desktop or whatever library
- extract files from zip folders
- rename files
Pretty much the only reason you would use this tutorial is if you put your game screen as screen1 instead of the menu screen. Other reasons would be if you really don't like your screen name or if you want to...actually idk. I think you can also apply this tutorial if you want to copy screens but I'm not sure.
Okay, step 1:
Make a copy of your project. This is so just in case things go terribly wrong, you still have the original.
Step 2:
Download the copy of the project and save it wherever you want on your computer. It will be saved as a zip file.
Step 3:
Extract all files from the zip file.
Step 4:
Open the new extracted folder. Click the src folder and keep opening folders until you get to the one with the names of your screens. There will be a blk file and a scm file of each screen.
Step 5:
Open one of the blk or scm files. When I tried this, it said windows could not identify what program to open the file with. If this happens, choose "select a program" and then notepad. Notepad should come with windows computers.
Step 6:
Ctrl+h to find and replace. Find the name of the old screen, and replace it with the desired screen name. For example, replace MenuScreen with Screen1 or replace Screen1 with GameScreen. Do this for both the blk and scm files.
Step 7:
Rename the blk and scm files to the new screen name. Do this for each screen.
Step 8:
Go back to the folder that showed three folders (assets, src, and youngandroidproject). Select all 3 of them. (Select the first one, hold shift, then select the last one). Right click on one of the three folders. Click "Send to" then "compressed (zipped) folder". Rename the new zipped folder to something new using only letters, numbers, and underscores.
Step 9:
Cut the new zipped folder, and paste it somewhere easy to find in your computer.
Step 10:
Upload the new zipped folder to app inventor.
Step 11:
Open the blocks editor to see if everything is good. Usually, the place where you open another screen will have the wrong screen name there. Fix it.
And that's it! Yay!