App inventor blocks explained lynda free download






















Images that appear on web pages can be clicked on, and that will usually display a larger version of the image. I should note this in the web posts! In about a month, I am considering go through and re-editing all of the web site blog posts to improve them and hopefully I can fix any of these confusing items. I will look in to that. Regarding 1, the text font and text size are set by the e-reader software. See if you can use an adjustment to change the text size.

Screenshots are always a fixed size in an e-book — I wish there was a way to create variable screen sizes that would appear in different sizes on different types of devices. I recommend, for best viewing, to view the e-books using the e-book e-reader software on a personal computer. The Amazon Kindle e-reader software. The images look better on a regular screen than on an e-reader.

Regarding 2 — could you mention an example of where the color has changed? I do like the idea of listing each block needed, especially in the early volumes, as I know that when learning App Inventor, it can be hard to locate the desired block in the palette. I will look into this. Regarding 3, good suggestion to figure out a way to link these information better.

In volume 3, I have already labeled each section with the screen name or an abbreviation for the screen name. I think this can be improved for volume 1 and 2. Thank you again for your comments — and feel free to ask more questions and offer more suggestions.

Your feedback is greatly appreciated! Thank you David! MIT is in process of adding a new feature that will enable third parties to add components to App Inventor. This means the capabilities of AI2 will continue to grow in to the future. App Inventor has a bright future ahead! It is not possible to do any downloads related to App Inventor 2 Introduction. Please show me a way to do it. As I posted on the blog, there was a server side issue that has been fixed.

Several readers brought this to my attention — thank you! Hi Edward, Petrus Bosman from South Africa here, Just bought all your App Inventor ebooks, but i can only find the source code for the introduction book. Please send me a link for the other books as well. I am not able to find the source code though. Hello Edward, I have just bought your ebook App Inventor 2 vol 1 and have come to the first practice page. I made a code to CLR the accumulator, which works fine.

That said, many Bluetooth devices support both the newer LE standard and also the original Bluetooth standard e. Bluetooth 2. Without knowing the specifics of that board, you might give it a try and see first if your Android phone device can see the BLE card probably can , and then write some App Inventor code to see if it can just make a connection.

Could you help me? Hey there, im trying to build an attendance system using bluetooth, i would like to know, how to restrict the server to accept connections ,only from specified mac addresses and also how to link server to a database to store the attendance.

Hey i tried to access the bluetooth project and test on it but i have a problem everytime i hit accept connection or connect device it freezes. It should show the list of known bluetooth devices. Did you ever resolve this?

Another basic item to check is that Bluetooth is turned on in Android Settings. I want to use the button on the headset to work as a click event in my program? Paul, This might be possible but would be very complex. For those not familiar with protocols, think of this as defining who talks first on the link and what are appropriate replies and had the data back and forth is formulated.

Is it possible for an App Inventor program to implement the protocol to a BT headset? There are a lot of protocols, for different applications, defined for Bluetooth. I am guessing that the synchronous communications-oriented link is the one that headsets use. The next step would be to search online to see how that protocol is defined and to see if the BT headset and AI code can actually see bits going back and forth.

Thank you this has pointed me in the right direction. I think you are asking — could the server and client apps, which I created as 2 separate apps, be combined into one app? Yes, they could. They do not have to be in separate apps. I kept them separate so that the concept of the client and server could be explained in a simple example — combining them into a single app would make the example a little more complicated.

Is it possible to have the server accept connections from more than one device at a time? Trying to design an attendance app where a lecturer can send out a bluetooth signal and present students can connect and send back their student numbers to be marked as having attended.

Originally, I thought multiple device support would not be possible. The question is, then, does App Inventor support this capability?

I do not know the answer to that. But what I would perhaps first try to do is something like the following:. Implement the connection and receive code for both BTServer components — one will be named BluetoothServer1 and the other will be BluetoothServer2.

Now, get two more Android phones and implement the Client code and see if you can set up two connections — one going to Server1 and the other going to Server2. For now, duplicating the code for each Bluetooth channel is going to be the simplest to explain. However, there is a way to write one set of code that can maybe handle both servers — but that would need a whole tutorial on another programming concept before we even get to the Bluetooth part.

If you try this, let us know how this work? This could be a great tutorial opportunity for the blog! Hi Ed. This really worked and done a trick.. Awsome man!!! I have been working on it as a part of my project and done it.. I am sorry to disturb.. I think it works but still i didnot try it out.. You set up the multiple Bluetooth components?

If that works, let us know! And if you wish to share sample code, I could post it here to help others — if this all works! I am using currently file component and im trying it.. The Bluetooth app that I have does not keep a history of text received. That could be added by putting code in the Timer event handler — where the message is read.

There, add the incoming message to a list. One of the students is implementing an attendance app in App Inventor. Each student has a Team ID card they are supposed to have with them during each robotics meeting and event. The attendance app does a QR code scan of the student IDs. This does, of course, require the students to sequentially walk by the Nexus 7 tablet we have out at the beginning of meetings.

I imagine we will be making this code public, once its ready, as our team tries to help out other robotics teams as much as possible. Perfect thanks for the info. Thanks for the help, looking forward to seeing the code for what ye finish with and seeing if I can return any help to ye.

Hi Ed, Sorry to be bothering you again. Just a thought, do you think its possible to have the app export all the text received to the BluetoothServer as a list, and then using the share function, email it to a specified email address.

Currently testing your idea of dragging in multiple bluetooth servers to allow multiple connections. Thanks for the idea. Yes, you can certainly save the output to a text file stored on the device, and then transfer that file to email or another device using various methods. I used a free app from the Google Play store called File Manager.

I navigated to the text file I created, selected the file by placing a checkmark to the right of the file and then sent via email. The advantage of the latter approach is that it moves the data into a cloud-based database accessible from a browser or with Fusion downloadable to a Google Docs spreadsheet or Microsoft Excel spreadsheet. Yeah Ed. Why I sent it possible to have an app that allows me to connect my iPod too 6 Bluetooth speakers at the same time I am trying as we speak to creat this app.

Connect 8 Bluetooth headsets to one cell phone to run the office would be nice also. Bluetooth LE low energy is a newer kind of Bluetooth but not backwards compatible with older devices. Bluetooth LE does not have a specific limit on the of devices that can be connected. Scenario is I have 6 Budweiser speakers and the iPod will only connect to one at a time also tried iphone 3 same thing. They may not have envisioned that someone would want to connect one device to multiple speakers — and chose not to implement that feature.

From the comments on this page, it seems there would be a lot of interest in getting multiple bluetooth links working from one Android device. I have published my bluetooth free chat app on app inventor gallery so you can find the codes there.

Thank you Ed. Seeing as I know when I replicated the code for just 2 client devices and there was no error that data transmission was possible and genereal bluetooth capabilities allow up to 7 clients, I was wondering could ye help me or give me an an opinion with the error. Is this coming up because not all 7 bluetooth servers have a client connected? I can still receive data as I have another label to show the text received via bluetooth but the error stays in the status label.

So to say if I connected 7 clients to the 7 servers the error may go away? Or is there a different reason for this? Any help would be great. Hello, is there an app where two wireless ear pieces can talk together using Bluetooth and no cell service? Check the Google Play store. I suspect there are free apps that will do this where you can connect your bluetooth earpiece to your phone, and then use your phone to talk to another Android phone over Wi-Fi.

IOException; import java. Collections; import java. Iterator; import java. List; import java. Integer; import java. Float; import java. Math; import java. Activity; import android. BluetoothAdapter; import android. Context; import android.

Intent; import android. Canvas; import android. Color; import android. Path; import android. RectF; import android. Camera; import android. Sensor; import android. SensorEvent; import android. SensorEventListener; import android. SensorManager; import android. Bundle; import android. PowerManager; import android. WakeLock; import android. DisplayMetrics; import android.

Log; import android. TypedValue; import android. Gravity; import android. MotionEvent; import android. SurfaceHolder; import android. SurfaceView; import android.

View; import android. OnClickListener; import android. OnTouchListener; import android. LayoutParams; import android. Window; import android. WindowManager; import android. I should note this in the web posts! In about a month, I am considering go through and re-editing all of the web site blog posts to improve them and hopefully I can fix any of these confusing items.

I will look in to that. Regarding 1, the text font and text size are set by the e-reader software. See if you can use an adjustment to change the text size. Screenshots are always a fixed size in an e-book — I wish there was a way to create variable screen sizes that would appear in different sizes on different types of devices.

I recommend, for best viewing, to view the e-books using the e-book e-reader software on a personal computer. The Amazon Kindle e-reader software. The images look better on a regular screen than on an e-reader.

Regarding 2 — could you mention an example of where the color has changed? I do like the idea of listing each block needed, especially in the early volumes, as I know that when learning App Inventor, it can be hard to locate the desired block in the palette.

I will look into this. Regarding 3, good suggestion to figure out a way to link these information better. In volume 3, I have already labeled each section with the screen name or an abbreviation for the screen name.

I think this can be improved for volume 1 and 2. Thank you again for your comments — and feel free to ask more questions and offer more suggestions. Your feedback is greatly appreciated! Thank you David! MIT is in process of adding a new feature that will enable third parties to add components to App Inventor. This means the capabilities of AI2 will continue to grow in to the future. App Inventor has a bright future ahead!

But the download links are no longer working. Obviously, something is broken. I have an idea for a simple fix to get it working but doubt I can fix immediately in my current situation.

I have read the three parts of the Bluetooth lessons. I was wondering the best way to handle multiple tries to create a bluetooth connection. I have a complex app that communicates with six Bluetooth devices.

On start up, it re-connects to all of the devices. I also found that some times, the connection for a device would fail. For my code, I set it to retry the open connection up to 3 times and that seems to have solved the problem. You are commenting using your WordPress. You are commenting using your Google account. You are commenting using your Twitter account.



0コメント

  • 1000 / 1000