app-inventor

How to check if a tinyDB tag has any attributes in App Inventor

隐身守侯 提交于 2020-01-17 09:19:50
问题 I need a little help with an issue in App Inventor 2. The case is that I have a JSON result that is parsed, and then have it stored in a tinyDB tag as a list (storeparseData). Problem is that, I have this function done as screen initiates, so to have the tinyDB tag populated with that JSON list and then searched for a specific value on user request. As the app is running and I input a search criteria, I get the following error " The arguments [ empty-string ] are the wrong number of arguments

MIT App Inventor 2: May I / How to place alarms in the Android notification area?

浪子不回头ぞ 提交于 2020-01-16 04:45:13
问题 With MIT Inventor 2 , may I create a Notification Area Notification caused by an Alarm, which is placed in the notification area of an Android smartphone? So that I may create a silent alarm , as standard with Android apps? And if so, how to do it? See Requirement #5 in this document ( describing an Android programmming task, which is not intended to be implemented with a code generator, of course ) My research: With the discontinued MIT Inventor 1 , it was obviously possible to create

How do I let the user choose a location in Google Maps and return the chosen point to my App Inventor application?

六眼飞鱼酱① 提交于 2020-01-14 10:44:17
问题 I am developing an app using App Inventor. It includes the need for a user to press a button - to save a location when they are at the location. But every time this is not practical. So I want to implement a method in my App Inventor app which will: -Open Google Maps -Let the user select any point on the map with no additional info. -After choosing, return to the app and return latitude, longitude values for the location that is selected. This is really important for me, help will be

connect, send, and display data in Android via App Inventor

拈花ヽ惹草 提交于 2020-01-14 03:23:04
问题 I have a huge demand for people who want an application to connect to Uniquez from their Android devices. I want to build an application to connect to my PHP and MySQL ShoutBox to send and receive information. First we need the user to be-able to login to the website. I am sure once I know how to do this I could use these techniques to send and receive shouts. I do have access to Google's App Inventor and I have also downloaded and taken a quick peek at Eclipse. It seems App Inventor is a lot

filter json results into image path

我怕爱的太早我们不能终老 提交于 2020-01-03 04:26:05
问题 Hello i am using MIT App Inventor 2 to make an app that runs on an old (spare) android phone to display the folder.jpg of currently playing movie (later on I also want to do that with music). I can't filter the path to use, for example this is the result of the json: {"id":"VideoGetItem","jsonrpc":"2.0","result":{"item":{"id":1,"label":"2012","thumbnail":"image://F%3a%5cMovies%5c2012%5cfolder.jpg/","type":"movie"}}} I want to keep: image://F%3a%5cMovies%5c2012%5cfolder.jpg which is the dvd

Should I learn Google App Inventor as a supplement to Java for Android

落花浮王杯 提交于 2020-01-01 03:11:05
问题 Just curious. I am already a Java android guy but am interested in the new app inventor beta for android. I was wondering what "real" developers are thinking. A lot of people want to develop an android app but don't really have programming skills. Seems like a lot of apps could be written with app inventor - not sure since I haven't tried it yet. 回答1: Hopefully this clears up some things for people that are still just hearing about App Inventor. (Keep in mind App Inventor is extremely beta

XML-RPC HTTP request with App Inventor?

拟墨画扇 提交于 2019-12-30 14:52:48
问题 I am trying to build out an app that will communicate with Tapatalks API, it uses XML-RPC HTTP requests, I can do post/get requests with the web component. I cannot find anything on modifying the web component/Blocks to create said XML-RPC encoding. Any resources? Tips of what to search, or insight would be appreciated. This is the API php code I am trying to interact with https://github.com/tapatalk/tapatalk-phpbb3/blob/master/root/mobiquo/function/login.php Here is my app blocks currently

Event driven sign with “pitch” in App Inventor 2

跟風遠走 提交于 2019-12-25 01:55:55
问题 Since I'm new to App Inventor2 tool, I'm having a little issue trying to get a "pitch" value to trigger the visibility of a label. I need to have a label being shown when the "AccelerometerSensor", reaches the -30 or 30 degrees point. To make this happen I'm using the "zAccel" value and the app runs in landscape mode, with the home button on the right side of the android device. The following image shows the blocks I've used so far, without much success, as the "Warning" is visible all the

Upload a file with App Inventor 2 to a server through PHP

流过昼夜 提交于 2019-12-24 03:03:30
问题 I am trying to upload a file with App Inventor 2 to a server through PHP. I followed the Photo Booth Android app tutorial, however server-side, myPhoto.jpg contains the filename, not the picture's content (e.g. myPhoto.jpg contains something like "file:///storage/emulated/0/Pictures/app_inventor_1424997354199.jpg"). How can I fix it? The code I use: tempSaveFile.php : <?php $dataToWrite = $_REQUEST['fileName']; $fileName = "myPhoto.jpg"; file_put_contents($fileName, $dataToWrite); ?> I am

Get Altitude in App Inventor

坚强是说给别人听的谎言 提交于 2019-12-23 05:25:55
问题 I'm using App Inventor. How do get altitude to work using LocationSensor? I'm using a Nexus 4 and I'm successful of getting Lat and Long. I checked if LocationSensor.HasAltitude and it returned false . 回答1: Download and install Sensor Kinetics on your device from Google Play. The app will tell you what your device supports, or doesn't support. See the App Inventor Documentation that confirms that the altitude has to be supported by your device for it work. My LG G2 phone for instance, which