2015년 1월 4일 일요일

how to make an application save the data as a pdf file in app inventor 2

am working on a project which is take voltage / current readings from an electrical circuit and saving them to generate a report

i used an app as an oscilloscope but i need to know how to save screen shots OR show that app in my app.

i also need to know after finishing the report, how can i save it to the device as a PDF file.



How to create a pdf file



Is it possible to create without an Internet connection?



It is not possible to create a pdf file using the method described by Taifun in the post above with App Inventor without a connection to the Internet .
The 'solution' presented uses AI2 to communicate wiith a web page called www.convertapi   using the App Inventor Web component.

I am not aware of any way to create a pdf file within an Android device using App Inventor.   Here is a link describing how to create pdf's using a Java Android compiler:  http://stackoverflow.com/questions/2499960/how-to-create-pdfs-in-an-android-app  .   How one might do this on AI2 is not known.


Here is the Android documentation for one of the possibilities:  http://developer.android.com/reference/android/print/pdf/PrintedPdfDocument.html     Can it be used with AI2's ActivityStarter?  Probably not but you could try.


App Loading a Black Screen

I have completed an app using AI2 and have it available on Google Play Store. It works perfectly fine on my Xperia Z2 and other devices, but when I tried to open it on a Galaxy Trend all I received was a black screen.
I know I have had issues in the past with tablets, but this is far from. 
Is this a fault of my own and how could it be fixed?



We do not know what the issue might be.  When did you create the apk that you are trying to use on the Galaxy Trend?  If you made this apk between Dec 11 and now, the issue could be an issue related to the server problem mentioned on the AI2 slash screen (see the red box and the message).

Is this problem manifesting using an installed apk or are you having issues loading the Galaxy Trend in 'Live development mode" using WIFI or USB connections?

If we have the right phone in mind, this uses Android 4.2.2 ?   Can you confirm that?

At the moment, the app should run fine, provided you did not make the install apk withing the past five or six days .. which MIGHT be the issue.



Thank you very much for the feedback. The APK seems to have only effected the one device, but I have made the APK post 11th of December so I will have a read of the red box.



And yes it was running 4.2.2 .


crash

Constant crash causes me to lose blocks and programs



Whenever there's an issue with App Inventor, or an announcement you should see, we post it in App Inventor's Splash Screen.  It seems that few people bother to read the things posted right before their eyes... you don't even have to search for it.. it's right there in front of you, every time you start App Inventor!

PLEASE PAY ATTENTION TO THE SPLASH SCREEN AND THE MESSAGES POSTED THERE.  WE DON'T TAKE THE TIME TO WRITE THOSE THINGS UP, JUST FOR THE HECK OF IT!

If you're seeing this post, then please reload your AI browser tab and READ the message!

An example of the splash screen is below... Notice the RED BOX???




MIT App Inventor still has issues with the Google Cloud Storage, as mentioned in the red splash screen which results in missing assets, see also here https://docs.google.com/document/d/1wQy_1uCsZDAXY51wElbMyfy8AJid_EOqklIX_ggzBJY/pub

What you can do meanwhile is 
1. wait until these issues are fixed, or
2. install a personal server and work completely offline. 

Krupong just updated AI2U, version 2.3 is now identical to the MIT App Inventor version nb139c as of Dec 13. Just download the 32 or 64 bit version here http://sourceforge.net/projects/ai2u/files/ai2u%202.3/, install it, start AI2U and your own personal server is up and running! Then just open your browser using the address http://localhost:8888 . That's all.
And btw. with your own personal server you also will be able to build projects larger than 5 MB. So what are you waiting for?


error building apk file

Hi everyone. for some reason whenever i try to build the apk file for this app i built it will do one of two things. 1) it will build the apk file but it will have 0 bytes and so when i try to email it to someone it wont let me attach to email at all, or 2) it gives me an error ___preparing icon error. does anyone know why? i've had this problem with a previous app and all i did to fix it was kept refreshing page and rebuilding until i got a working copy but for this app it doesnt seem to be working.



Whenever there's an issue with App Inventor, or an announcement you should see, we post it in App Inventor's Splash Screen.  It seems that few people bother to read the things posted right before their eyes... you don't even have to search for it.. it's right there in front of you, every time you start App Inventor!

PLEASE PAY ATTENTION TO THE SPLASH SCREEN AND THE MESSAGES POSTED THERE.  WE DON'T TAKE THE TIME TO WRITE THOSE THINGS UP, JUST FOR THE HECK OF IT!

If you're seeing this post, then please reload your AI browser tab and READ the message!

An example of the splash screen is below... Notice the RED BOX???




MIT App Inventor still has issues with the Google Cloud Storage, as mentioned in the red splash screen which results in missing assets, see also here https://docs.google.com/document/d/1wQy_1uCsZDAXY51wElbMyfy8AJid_EOqklIX_ggzBJY/pub

What you can do meanwhile is 
1. wait until these issues are fixed, or
2. install a personal server and work completely offline. 

Krupong just updated AI2U, version 2.3 is now identical to the MIT App Inventor version nb139c as of Dec 13. Just download the 32 or 64 bit version here http://sourceforge.net/projects/ai2u/files/ai2u%202.3/, install it, start AI2U and your own personal server is up and running! Then just open your browser using the address http://localhost:8888 . That's all.
And btw. with your own personal server you also will be able to build projects larger than 5 MB. So what are you waiting for?


Problem with using App

I am new here and I have an problem. You can see what I´ve done in the Pictures. But if I Play the game I have a problem with the number of hits because while playing they does not reset to 0 and they don´t rise normally how I want it to. Can someone help me? Sorry for my bad english, I come from another country. :D





after golf ball collides with a hole, the score increments, is that what you want to do?
and when do you like to reset the scrore?


empty apk resulting to parse error

Hey i just want to ask. Why is it every time I build my project I always having a zero bit apk? i can't try to install it to my phone? Thank you



App Inventor is not working properly for projects that have assets (images, files etc.) stored in the Media bin.   Didn't you read the heads-up message when you logged on to AI2 today?

If you had noticed the message in the red box, it would have taken you here:  https://docs.google.com/document/d/1wQy_1uCsZDAXY51wElbMyfy8AJid_EOqklIX_ggzBJY/pub 
and you would know there are probable issues with the Google Cloud where MIT stores the images etc. from projects.  The MIT team has been working vigorously since December 11 and has not yet found a solution.

However, if you have copies of your assets, you will eventually be able to run, compile and work on your project normally.  You have to be patient.  Please read the announcement.   If you MUST play with your app, there is a sort of temporary work around that may temporarily seem to 'fix' the issue.   However it is merly a band-aid and the problem will re-occur.  Sorry, the technical team is trying to solve this problem that appears to not be an issue with AI2 but with where MIT stores the files - something in the process is corrupting the length of some files.

Watch the AI2 splash screen for updates.   The last update was two days ago.  That means the guys are busy trying to fix it.





Address in ContactPicker1

I am trying to insert the Address of a contact to a text box, but there is no Address tab under any of the ContactPicker1 option tabs in the green boxes. How can i use the address from the ContactPicer1?



http://ai2.appinventor.mit.edu/reference/components/social.html#ContactPicker
that's correct, you only can use one of these information:

ContactPicker

A button that, when clicked on, displays a list of the contacts to choose among. After the user has made a selection, the following properties will be set to information about the chosen contact:
  • ContactName: the contact's name
  • EmailAddress: the contact's primary email address
  • EmailAddressList: a list of the contact's email addresses
  • PhoneNumber: the contact's primary phone number (on Later Android Verisons)
  • PhoneNumberList: a list of the contact's phone numbers (on Later Android Versions)
  • Picture: the name of the file containing the contact's image, which can be used as a Picture property value for the Image orImageSprite component.


How to combine tinydb and tinywebdb?

I wanna combine tinywebdb and tinydb to save values to an online database but still be able to view the data in the app when offline. is this possible? how would the blocks need to be arranged to get this to happen? any direct help would be appreciated.



Use the TinyWedDB to maintain the values on the web.  Do all of your work in a local TinyDB.  When you need to update, do it int he TinyDB, then upload the results to the web with the TinyDB.  When you open the app, get the info from the web with the TinyWebDB, build lists and store them in the TinyDB.  



so, i have created the database online with appspot.com and added the tinywebdb block to the project. basically, i have the app set to pull the tags at app initialize and then using a listpicker to choose the values from the tag. I dont have a list created in the app. how it works is when you click the tag in the app, the value is then pulled and displayed. i am trying to figure out how to add the tinydb block to save the tag and values that the tinywebdb pulls from the internet and have it accessible from the same listpicker when you go offline.


so for screen initialize, i have the tinywebdb getvalue and for the listpicker afterpicking, i have the tinywebdb get value. the tinyweb gotvalue has the populate listpicker elements. where would i use the tinydb? would i use the tinydb storevalue with the listpicker after picking and the tindb getvalue in the screen intialize?



can anyone help me?



What information are you saving in each record of your Fusion Table?




it's not a fusion table. i am trying to use tinywebdb and tinydb together in a singles app. tinywebdb will store and pull information on a online database and show in the app when online. tinydb will save the information in the app to use when offline. they will both respond to a single listpicker. what i would like to do is have the online database be the main source of information, where i update the tag and value and it gets saved in the app by tinydb. I have the app set up to use tinywebdb to pull the tag and value and display the tag in the listpicker and the value in the label but i cant figure out the next step of having tinydb save the information that tinywebdb pulls in.

how would i get this done?



WHAT INFORMATION ARE YOU GETTING FROM THE ONLINE DATABASE???



what exactly do you you mean "WHAT INFORMATION ARE YOU GETTING FROM THE ONLINE DATABASE???" ? the online database contains tags and value aka text, not images or files. the information i am getting is exactly what i said in my previous posts. can you clarify what exactly you want me to tell you? i assume information is information so are you asking me to tell you the exact text used for the tags and what is entered for the values?

by the way, what is with the all caps? I asked a question to the forum and you chose to answer and were not obligated to. A question is meant to be asked and if you do not know the answer, it is more beneficial not to respond and allow someone else who knows the answer to chime in. Thanks.



Yes... please give me a list of fields that you've used to store the info on the web like: Name, Street Address, Age, Gender, Location... that sort of thing.  You have to have some structure to what you're saving.  What is that structure?

If we ask you for something, it's to help you out.  In your response, you totally ignored the question.  I understandwhat you want to do.  Now, I'm asking you to provide information.

What is the structure of the data you're saving.  If you have no structure in the data, then that's what you have to tackle first, because every record in a database has to have the same fields, although the information is different IN those fields.



Here is the aia file so you can see what i have so far




Here is the aia file so you can see what i have so far



Are you trying to have your tinydb synced with tinywebdb all the time OR, if network not available, fall back on tinydb?



so, the idea is, if I add new tag/values to the database, tinywebdb would be able to capture and display the changes while tinydb saves it for offline use. if I go offline with the app, tinydb still shows the last saved tag/value in the app. in other words, the app can update new content when online but displays the currently saved data when offline.



So this means that everytime you start the app, in the Screen1.Initialize, you have to check to see if you have connection, 
if have-connection, get data from webdb and sync the tinydb and init data from tinydb
if no-connection, get data from tinydb and init data



ok, cool. so how would I set the blocks to get that done? I have done an app before using tinydb to save data and now a tinyweb to pull data but cannot figure out the blocks correctly to tie tinywebdb and tinydb together. can you help me?



It depends how your data is set up.
If you have simple tag, value, then from TinyWebDb, get tag and do TinyDb1.StoreValue

You'll need to post screenshot of what you have done so far so that we can help you better.



wow!!!

ok. i thought i added the aia file above but here is a screenshot:




You are setting the value list to the tag List...why?  Also, where is your store value call for saving the information?
 
 so, the idea is, if I add new tag/values to the database, tinywebdb would be able to capture and display the changes while tinydb saves it for offline use. if I go offline with the app, tinydb still shows the last saved tag/value in the app. in other words, the app can update new content when online but displays the currently saved data when offline.

Just make sure you are storing the information to both at the same time.  You might be able to detect when you aren't online simply by using the TinyWebDB.WebServiceError event.  If you get an error there, you could store the information you tried to save to the TinyDB instead of the webDB and upload it online later.



Honestly Stephen, I have no idea what I am doing. I am just trying something and seeing if I get the desired result. I don't know how to use the store value call or where to put it. I don't know how to use the web service error event. basically, I came here to seek help to do my app and it seems I have spent more time answering questions than actually getting any assistance to figure out how to get what I am trying to do done. it seems everyone is assuming I know this and know that, I am not a programmer. All I am looking for is guidance to fix the app. what would I do with the webservice event aka where would I put it? where would I put the store call value? how should the value/tag list be set up?

If no one can help me, that's fine but I really don't understand why we are having these long conversations but I am still thankful that you, Enis and Hossien have taken the time to respond.



Just out of curiosity, have you done any of the tutorials?  They can be a huge help in learning how all of this works.  In addition, the Pizza Party tutorial teaches how to get and put info to the web.

I really do understand what you want to do, and as Stephen says, you basically have to shadow everything you're doing with the TinyWebDB with the TinyDB, so that you have a web, AND a local copy of all data.  What you're trying to do is definitely a bit complicated. 

Everytime you add something to the table on the web, you also have to add it to the local TinyDB.

One problem in your AIA file is that I don't see any place where you actually ADD the data to the table on the web.  Is the table on the web being changed by someone else?  If so, are you only concerned about copying that data and having it locally?  If that's the case, then it's not so difficult.  But that's a very important distinction.  Let us know about this as it completely changes the way you need to do things.

Honestly, the BEST way to learn how to work with web data is to do the Pizza Party tutorial.  It won't take that long, but you'll learn mountains about how to deal with data on the web.  The tutorials are located here:http://appinventor.mit.edu/explore/ai2/tutorials.



ok Enis. I will try to see if I can do this again.

I have a database created on appspot.com. I will manually update tags and values in the database online meaning I will pull up my internet browser and then go to my database on appspot and enter the tag and value by hand to store there. I know how to do this and am comfortable in doing it and have NO PROBLEM with this part. This part is not and has not been a problem.

What I want to do now is build an android app where tinywebdb calls the database and pulls the tags into a listpicker where they will reside as the elements. when you make a selection in the listpicker, the tag selected will pull and show the corresponding value in a label component. With what I have done already, this is already achieved. If I make a change to the appspot database, the app will refresh and show the update on initialize. This is already done and if anyone had looked at the aia file I added, they would have seen that that part is accomplished. I have to admit that I still don't understand the blocks used but I got the desired result so I am moving on to the next phase.

The part I am having trouble with is:

if you go offline with the app (meaning no internet on the phone), the values and tags do not load. this is understandable since the tinywebdb needs the internet to pull the information from the online database to display in the app. I do not understand where I need to add the tinydb get block and the tinydb store block. I have tried different places in the blocks editor that I have in my app and they never work when I go offline.

so, to recap:
I do not understand most of the blocks or how they should be used but I am trying.
I achieved most of what I have in the aia file by trial and error but cant seem to get the tinydb part to work.
I want to know what block should be added where to get the desired result.
I plan only to update the database on appspot so I did not add a tinywebdb store block in the app because there was no reason to

p.s. I did recreate the pizza app which deals only with tinydb and as far as I can tell, still do not understand it. All I am asking for (and hope to get an answer to) is how to tie the tinywebdb get or got block to the tinydb store block or get block so when you are offline, the app still displays the tags and values. can you send me a pic or edit the aia file to let me see where the blocks should be placed or at least write back to say how to do it (example - put the tinydb get block with a global variable in the plug under the tinywebdb got event...)



What you're missing here is an entire dump from the web to the app.  That's the only way you can keep it synced.

I've got to run out for a while now, but I'll see if I can get you something later, if nobody else jumps in first.  Since you're updating the appspot database yourself, outside the app, you need to check, in screen1.initialize, if you have a connection.  If you have a connection, you need to download ALL of the data to lists, then run through the lists and compare them to the TinyDB, altering it if necessary.  The reason you need lists is that you may not have to update the TinyDB data if it matches.  Also, you don't want to nuke the information in the TinyDB until you're sure that your data download from the web was complete, or you'd corrupt the TinyDB which IS as complete as the last full update.

I won't be back for about 7 hours, but I'll take a look when I return.

Just out of curiosity, how many tags are you storing in the AppSpot database?  Just curious as that will determine how long the process may take to get all of the data before a connection craps out.



solidgear, check out my TinyWebDB tutorial here.  I'm presently looking at your project but it's going to take me a bit of time to get something back to you.

If no one can help me, that's fine

We can help, don't worry about that.
 
but I really don't understand why we are having these long conversations 

Unfortunately we cannot accurately help if we don't have most (or maybe just a large chunk) of the information for what you're trying to do.  It may seem like we're just running around in circles, but I promise you that we're trying to get our heads wrapped around your idea, since we can't read your mind.  :)  Please don't lose faith and wait just a little longer okay?



solid:

I think I have a solution to your problem, but I want to know if it's OK to modify your data on appspot.  

If you say yes, then leave the database alone for a day and I'll post the solution for you tomorrow afternoon sometime...

Just let me know...



I am perfectly fine with this. You may modify as much as you want



Something's come up and I'll have to do this late tonight.  Check inthe morning and it'll be here...  I did add a single field.



I looked at the database and saw an entry. Is this the single field you are referring to or did you mean you added 1 field in my app to make it work? if the second is correct, I would love to know what field :)



No, I added the single counter field... you need it to know how many fields to cycle through... More later... gotta run...



Sorry Solid... had a bunch of issues here I had to resolve... I'm tinkering with this now and should be able to upload something in an hour or two for you...



Thanks. Real curious what you will have to show me. I am also curious what I left out of mine.



hey Enis, any update?



Sent you an private email.  Did you get it?



yeah. I just saw it.



OK, here it is, and it works.  HOWEVER, you still need to do a little work, and I don't have the time now to figure the rest out.  Here's what you need to do:
You need to check CONNECTIVITY.  What that means is that if you can't connect to the database (use the TinyWebDb Error Block), you'll need to take what's in the TinyDB instead.  Frankly, that's a bit of a difficult problem in that you only know if the TinyWebDB can't connect if you try and get the error.  You might have to use another component to test the connectivity to the web first, and if that succeeds, then do the TinyWebDB call and go from there.  If it doesn't succeed, then just use the existing TinyDB, the first record of which will be the list...
However, you'll see that the TinyDB is populated. and will be persistent.  Since it's persistent, if the connectivity fails, the data's already in the TinyDB...
Hope this helps you out... I'm going to post the same message on the forum with a screenshot so that if anyone sees something wrong or missing, they can add to it.  The blocks are shown below.
Good luck & best wishes...




thanks for the help. the .aia file did not work as expected when i built it as an apk and installed it. After fiddling around for a few days, i finally got it working how i want it to. thanks for your help



i know how to do it pay me 2p



plzzz i am poor my name is uwais from older hill school in bradfpord


disappearing blocks

hey i have been working on a project on app inventor 2 for the last couple of months in school for my controlled assessment and now i have logged in today and now i have lost all the blocks i have placed are gone and now cant do my work and dont no what to do 



You are aware there is a problem with AI2 storage on the Google Cloud.  Please read the posts, there are many about the loss of images.  That problem is described here: 
  Your problem appears to be something different.

In most instances of users 'losing' blocks, they are not really gone (yes, sometimes there is a problem).  At the moment, please try this:   On your Blocks screen, please find a white area; right-mouse click anywhere where there is not a block; a menu will appear; please select  Arrange Blocks Vertically    or   Arrange Blocks Horizontally;  your blocks should re-appear.   Did they?

If not, please send us the name of your project and tell us a bit about what you were doing with your project just before you quit your last GOOD programming session.   Did you add lots of images?  layouts, make a major change or whatever.  This will help us establish what might be wrong and provide the possible basis for recovery.  Sorry you lost your blocks, we will try to help you but realize, it may not be possible to recover your blocks if they did not appear using Arrange Bocks.

Did you save an aia file?    You should be able to restore your project with the source aia file; simply load the aia.


Email

How can I let the user send an email to me? Which are the "blocks" that I have to add? Thank you for your help



Mybe this will help: http://puravidaapps.com/sendmail.php


NEW APP : Learning Clock

Here is my first full app. Please add your reviews and comments. It Helps. 

problem to preserve open images when you start another day Session

Hi, some friends and I , we have a problem to preserver the open images when we start session other day.

Can you solution it?



Can you provide more information?
Or maybe you have a problem, like described on the red splashscreen when you start AI2? Please read it!



There are numerous messages explaining what may be this issue in many threads in the past few days.   Yes there is an issue with where MIT stores the AI2 images on the Google Cloud.  MIT is working on the issue but it appears it is a very difficult problem to solve.  Please be patient.

Please provide more information as requested by Ghica, telling us about what you mean by 'preserving the open images'.  Do you think it could be the problem described or something else?
Tell us more an we should be able to provide better advice.



Whenever there's an issue with App Inventor, or an announcement you should see, we post it in App Inventor's Splash Screen.  It seems that few people bother to read the things posted right before their eyes... you don't even have to search for it.. it's right there in front of you, every time you start App Inventor!

PLEASE PAY ATTENTION TO THE SPLASH SCREEN AND THE MESSAGES POSTED THERE.  

If you're seeing this post, then please reload your AI browser tab and READ the message!

An example of the splash screen is below... Notice the RED BOX???




emulatre blud

emulater not vorkig TEL ME YYYYYY



OK, your emulator is not working.  Tell us more about your project and exactly what is not working.  Where is the emulator failing?
Has the emulator ever worked before (is this the first time you are trying to use it or has it worked before).   It is important for us to know that.

If the emulator worked before, one of the following  possibly applies to your code (all may not apply to your code):

1)  You have coding errors in your blocks.  In the Blocks editor, look in the lower 
left corner of the window for the yellow and red triangle icons. If the red icon has a value larger than 0, 
you have a serious coding error.  Find the block in your code that has a red triangle and 
fix it.   Red triangles always inhibit creating an apk or running a project in the 
emulator or possibly creating an aia file.     Yellow triangles are more forgiving, 
however, sometimes, these need to be fixed because they trip an internal warning and not billing puzzle piece sockets are left un-filled.

2) Your source file (the aia file) is larger than the 5Mb limit allowed in AI2 (the aia can not be larger than 5Mb). You may have put images or other resources in your Media (resources) that you do not use in the app. 
 All the images and sounds in resources count toward the 5Mb limit along with the source code.    You can program 
apps larger than 5Mb in the browser, but the apps will not compile and might not run in the 
emulator or the project may not save as an aia. If this is the case you need to reduce 
the size of your image and/or sound files.   Most image files can be made quite small 
by resizing them using a photo manipulation program on your PC to less than 50Kb each.

3)  You might have more than 10 Screens in your app.  AI2 becomes unstable when more 
than ten screens are used.  Projects CAN be built with slightly more screen but then you should expect your app to occasionally behave erratically.

4) You might have set a Screen icon in the Designer Properties for your project that is too large. Use an image 
sizeof 48x48 px or 96x96px instead and only use jpg or png images.  *.ico files are not 
supported.  The 'icon' (actually an image) can be as large as 520x520 (I think that is the size GooglePlay apps require).  The smaller 'icons' work fine otherwise.

5) You did not code the entire project using App Inventor 2.   If you used one of the 
third-party AI2 clones,you might not be able to load a Project into the AI2 compiler or 
create an apk with the standard AI2.

6) If you incorrectly modified the project's Manifest files using a third-party tool, you may have issues.

7)  Sometimes, if you have LOTS of Layouts on a single screen,  the apk might not 
compile. How many is a lot?  I do not know, keep adding layouts and buttons, compile and try again...when the server crashes, you got a lot.

8)  The network you are using may be overloaded (possibly a school network), or you have other applications running in the background on your computer, or your virus checker is doing a scan.  Sometimes, just trying to access the MIT server a few minutes later will give you a more favorable response.

9)  If you have BlueStacks on your home PC (BlueStacks is a special emulator that allows Android apps to run on a PC).  The Google emulator on AI2 cannot run unless BlueStacks is disabled and all of the BlueStacks processes are shut down.  On a Windows PC, you use the Task Manager to 'kill' running processes.

10)  Are you using Sensor controls (except for the clock)?   Most Sensor controls or controls related to sms or the phone do not work in the emulators.  They need to be tested on a device.

11) If this is an issue about the Project loading slowly on your device or on the emulator:  Be aware, the more images, layouts, components you have on a screen, the longer it takes for the emulator and Companion to render the graphical screen.  How fast the emulator renders is partially a function of your hardware...how much ram you have, your cpu clock speed etc. Sometimes, with lots of graphics, the emulator will just give up.   Can you develop live using WIFI or using USB? These options almost always render faster than the emulator but will not be at lightning speed if you have lots of graphics.  Be patient.

12)  This happens too:   We have seen instances where it is probable the Google Cloud messed up; other instances where an older PC has had memory issues and caused file corruption of the Project and instances where a user is using a very slow Internet connection (like dial-up) and it is just too slow.

13)  Do you have an AVG, Eset or AVAST virus checker.  Some versions of these products have been reported inhibit running the emulator unless (in the case of AVG) the Advanced Link settings on the software are set to allow AI2 communication.

If the emulator has never worked, please tell us and we will give you different advice (because that is a separate problem with different solutions).   It would help to know if you are on a school or home network, whether you are using a Mac, PC or Linux.


Aurora Hunters UK

https://play.google.com/store/apps/details?id=appinventor.ai_alan_j_haden.AHUK

I built this app to assist my wife with gathering data regarding the Aurora Borealis (Northern Lights) so that she can forecast when it will be visible over the UK.
It displays data from various sources and the front page reads a database hosted by myself where her forecasts are stored.


How to replace (keyboard and TTS) languages in the Emulator?

I want to test a button that will allow user to type in Hebrew and get TTS to say that text.
I don't have an android device, so am using the Emulator.

I defined the following:

But in the Emulator, Hebrew is not defined in eitherhome/menu/settings/language & keyboard/ or home/menu/settings/text-to-speech/language.

How can I replace some of the (useless for me) languages in the Emulator with other languages (both for keyboards and TTS)? 



This solution might help you with the settings for the emulator:  http://stackoverflow.com/questions/2417427/changing-the-android-emulator-locale-automatically

Did it?


images not working

Hi people, i have been making my ai2 project and am having some very annoying issues. i have made an app with button and am using .png images for the buttons. after i build the app and install it on the phone some of the images do not show up also not showing up in the ai2 creation window, if i then rebuild the .apk and install it again the same thing happens but with other images, sometimes 2 or 3 and sometimes up to 4 or 5 images don't show, always different ones each time. this also happens with the .jpeg background image.

i have checked another app i made a while ago that previously had no problems and the same thing has happened to that one too.

WHAT IS GOING ON???

is app inventor just broken?

i mean the app i have just made is a very simple application for opening 3 other screens with info on them and 9 buttons to open web pages, simple right? please please help me, i'm going mad with this and i need to get this app made and working for a friend of mine.



Did you read the information liked from the RED box in the AI Splash Screen?  Obviously not... just glanced over that box and continued.

Please reload the tab and click on the link in the hard-to-miss red box there on the splash screen.

Honestly, we don't post stuff there just for the heck of it, and we expect our users to pay attention and read the screens.  Perhaps that's asking too much, huh?

Anyway, do that and you'll have your answer...



Red Box??? Where? I've posted this where everyone else has posted questions with problems???



Jon... In the Splash Screen that opens up when you go to the App Inventor site, not the forum, there's a BIG RED BOX...  You have to click the continue button on the Splash Screen to get to the AI project screen, so the RED Box is right there in front of you before you go on.  Anyway, here's the page it links to:

https://docs.google.com/document/d/1wQy_1uCsZDAXY51wElbMyfy8AJid_EOqklIX_ggzBJY/pub



Thanks, true I didn't read that, I can breath a sigh of relief now that I know it wasn't something I was doing wrong. Perhaps I should have read that but as most people do just click off the splash screens. Thanks for your help enis and I will make sure I read splash screens from now on. :)



NP Jon... and I've asked them to make that message there more generic so it applies to anyone with an operational problem!

The easiest way to check what's happening is to make an AIA file, change the extension from aia to zip and open it.  Check the assets there and I'm sure you'll see some that are 0 bytes... (don't forget to rename the zip file back to AIA or just nuke it and recreate a new one).



MIT App Inventor still has issues with the Google Cloud Storage, as mentioned in the red splash screen which results in missing assets, see also here https://docs.google.com/document/d/1wQy_1uCsZDAXY51wElbMyfy8AJid_EOqklIX_ggzBJY/pub

What you can do meanwhile is 
1. wait until these issues are fixed, or
2. install a personal server and work completely offline. 

Krupong just updated AI2U, version 2.3 is now identical to the MIT App Inventor version nb139c as of Dec 13. Just download the 32 or 64 bit version here http://sourceforge.net/projects/ai2u/files/ai2u%202.3/, install it, start AI2U and your own personal server is up and running! Then just open your browser using the address http://localhost:8888 . That's all.
And btw. with your own personal server you also will be able to build projects larger than 5 MB. So what are you waiting for?



This was also driving me nuts.  I was just scratching my head looking over my code over and over.  Glad to know I am not crazy!