In this video I will finish up converting my App Inventor app into regular Java. If you missed the first video you must watch it first.
Not only will we finish the app, but I’ll also show how to install Ai2LiveComplete, which is a version of App Inventor that adds a ton of additional functionality and also doesn’t require an internet connection. The full list of what we will learn and the code follows the video below.
If you like videos like this, it helps my Google search rank when you share on Google Plus with a click here [googleplusone]
Here is the Bridge API I mentioned in the video.
What is Covered?
- Finish the Android Java App
- How to Catch Events
- How to Make a Phone Vibrate
- Get Location Data
- Open Android Settings from your App
- Open other Activities from your App
- Convert Text to Speech
- Catch when a User Shakes their Phone
- How to Get Permission to use Features
- How to Setup the Manifest File
- How to Use all the Other App Inventor Components not Covered Here
- How to Install Ai2LiveComplete
Hello Zombie Main Activity
Hello Zombie Android Manifest
Hi..
when I open WinStartAIServer on windows, it closed immediately. How to fix that?
That almost always means your path isn’t set up. I cover how to fix that in the video.
I’m also having the same problem plus i have java 1.8 do i have to downgrade to run it
Yes use Java 7 instead
Very nice tutorial, as usual. I am trying to access Fusion Tables in a similar method but the documentation is very limited. How can i know if I constructed the right query and how do I read back the data received from the fusion table? Please help, Moshe
Sorry that was one of the only things I skipped. Here is a nice tutorial http://appinventor.mit.edu/explore/ai2/pizzaparty.html
Yes, the tutorial works fine but I am trying to convert to Java and have to learn some things in the hard way. Thanks anyway, you have excellent tutorials and I am waiting to learn more
I have a Java tutorial here. I’ll also review Java again in my new Android tutorial.
Hi Derek,
I tried to run your zombie code under my enviroment, but I have one error message from the AndroidManifest.xml file.
Here is the line that eclipse complains
android:theme=”@style/Theme.NoTitleBar.Fullscreen” >
It said the can’t find Theme.NoTitleBar.Fullscreen in the style file.
You have upload your style file as well.
Below is the eclipse version
Android Developer Tools
Build: v22.6.2-1085508
Thanks,
Ben
Hi Ben,
Try using the following in the application tags
i hope that helps 🙂
Hi Derek,
Please ignore my previous comment. I found a typo error in my AndroidManifest.xml file.
Thank you so much for all the time and hard work to share your work, and knowledge.
I’m very appreciate a lot for your tutorial. I have learned so much stuff from your site. You have to the best Android tutorial on the youtube.
Your teaching method is step by step, and easy to follow.
Once again, thank so much for providing free education.
Best Regards,
Ben
Hi Ben,
I’m glad you fixed it. Sorry I couldn’t help. You’re very welcome 🙂 Thank you for visiting my little blog.
Hi Derek! thanks again for your tutorials! please ignore my previous message, i figured it out!
Cheers!
Great sorry I couldn’t get back to you. I have been on a long business trip
Hi Derek!
I have been trying to follow your Zombie App tutorial, but when I try to compile it, the app immediately closes with ‘Unfortunatly Zombie has stopped’.
In my Zombie Main Activity it says for the void $define() method: “The method MainActivity.$define() does not override the inherited method from Form since it is private to a different package”. I think this is the reason why my app is not working…
What did I do wrong?
Thank you for you help!
Hi Philipp, The best thing to do is to copy and paste my code. Make sure you have all the imports in your code.
I run this on my Andoird device, but the screen is black. How do I fix that, I can hear the Moan sound when I press the screen, I have added all the images in the res/raw folder (created the raw folder) and added it to the device I can see on my screen. But why it does not show up on my phone I cant figure out. I ran the simple HelloWorld app, and the screen shows the text. Just now sure why it doesnt do that on mine.
Sorry, but I’m not sure. Have you tried making an app that shows only the image to narrow it down?