2016년 12월 3일 토요일

Travel App for Instagram - Need Improvement


I have an app that allows travelers to share images with country flags. It's working with 2 simple steps:

1. Getting travel images from phone gallery to ImageSprite1 on canvas.
2. Getting flag images to ImageSprite2 on the same canvas.

Then I am using Screenshot extension to share image to Instagram. However, image quality is extremely decreasing after taking screenshot.

Is it possible to combine both imagesprites as canvas background image? Then I can save and share canvas background instead of taking screenshot.

Here is the link:


-- 
try the Canvas.Save or Canvas.SaveAs method

-- 
The main problem is combining imagesprites issue. When I try the Canvas.Save method, will both imagesprites be combined as 1 image?
try the Canvas.Save or Canvas.SaveAs method

-- 
Have you tried to save the canvas with both sprites on it? Did the sprites appear on the final image?

-- 
Yes, that worked! Sorry for my insisting messages, I thought it won't work.

-- 

General Question about API's in MIT App Inventor 2 + creating an app


Hi, it's my first time posting here, and I wanted to ask a general question. I'm fairly new to App inventor, (I've only been doing it for like two-three weeks in class) and I have to do a project and I wanted to make an appwhere it searches nearby restaurants. Except that it would have to use many different API's such as yelp and others to make a "total" review. I'm new to API's, so can anybody introduce me to the topic and tell me how I would be able to use multiple API's at once? And any help on the app I'm trying to make and recommendation for improvements would also be really appreciated. :) 

-- 
one possibility is to use different web component for each API


Attached is a movie search app I developed using the Rotten Tomatoes API (overview here).  The nice thing about Rotten Tomatoes over Fandango is that they offer more movie results; I believe Fandango is restricted to the most recent and in theaters.  If you're wanting an app for your job at a theater, that makes more sense.  However, Fandango doesn't offer their API in JSON, but RT does so that's what I went with.

This app isn't perfect, and it would probably need some refining for error catching as well as to fit your needs at work (which is what you can do with this if you like).  As of right now, if the API doesn't return the right information in the right spot you'll get an error when you search.  It also doesn't work well for movies with the same title (Bourne Identity, Supremacy, etc).  Right now it returns one result, and that result is because of the placement of a URL in the API at a specific spot.

Take a gander at the screenshots (including from my phone for how it looks at runtime) and when you've done the tutorials, load the aia file into your AI session to see it and have some fun making it work how you want.


 movie2.jpg
 movie2.jpg
 Screen01.jpg
 Screenshot02.jpg

 movie6.jpg

 movie5.jpg

 movie4.jpg


Hey steve, how would you do the "now showing" part? like, you pull up the app, put in a date and it shows you what is showing at what cinema...and at what time.

According to the Rotten Tomatoes API forum, it's not possible.  They use a 3rd party service on their website which they don't have permission to put into the API for other's usages.

It is possible, however, to see what movies are in theaters.  You would just need to use the API for In Theaters Movies rather than the search API.
-- 
There's a grab bag of Web APIs at the end of   this FAQ:
https://groups.google.com/forum/#!category-topic/mitappinventortest/2cd6Uz__xA0

-- 

Display listpicker according to previous choice


I'm looking for a way to display à listpicker according to à previous list picker choice.
Since I have a lot of list, i would like to make something like that :
If listpicker choice is "exemple" then make listpicker "exemple" visible = true.

Any Idea ???

-- 
How many listpickers do you have? How many items?

If your index of main listpicker doesn't change, then you can use LIST and Advanced ANY component to accomplish what you want.
See attached and let us know if that helps you out.
foo.png 표시 중

-- 

Copy to Clipboard, Activity Starter Deprecated Properties


Now that ExtraKey & ExtraValue are being deprecated, can anyone show me what the updated blocks from this should be, using the new Extras property instead.

I guess I'm not understanding the key pairs concept. I thought the following would work but it doesnt:

 copyclipboard.png
-- 
you still can use the extra key and extra value blocks
how to use the new Extras block see here https://puravidaapps.com/snippets.php#2contact

btw. have you seen my clipboard extension? https://puravidaapps.com/clipboard.php
The App Inventor Extensions are currently in testing. See the announcement for more information about how to use an App Inventor Extension. 

-- 
I understand I can still use them but if they're deprecated will it break the functionality in my app if they're removed completely in the future?

-- 


how to translate a complete apps built using appinventor to coding/source code?


i have a question on how to make an apps as a coding or source code?

-- 

When button is clicked I want bluetooth module to stop the Servo rotation


I have made an app in which there are sliders to control the speed and rotation of servos by bluetooth but I want a button which when clicked uses bluetooth to tell my servo to stop how do I do it?

-- 
I presume the servo is attached to a microprocessor, in which case, when the button is clicked send a STOP signal. When the microprocessor receives the signal stop the servo. You could also reset the sliders at the same time if required.
-- 

error 702 in stream radio


Hello, help me please. I need to make a stream radio application. I saw many tutorials how it made. I success made simply app,it works in emulator pc and on my android phone 4.4 version. But when I turned off on phone wi-fi and turn on mobile Internet 3G it has error 702- could not prepare http://. Stream is 100% work -I can hear it on phone with 3G internet wia total coommander. I have downloaded Playlist, choose it in filesystem and I can hear my radio on android with mobile Internet 3G. But it's not working on app inventor's app. I have downloaded many stream radio app and they have the same problem.
Thanks a lot, I hope you understand my bad English

-- 
In this discussion the issue was an incorrect url.
In this discussion the issue was resolved by resetting the device.

-- 

Scrolling down


I was just wondering how to make a screen in my app you can scroll down. I am trying to make a rewards page and I need to be able to scroll down. please contact me as soon as possible and I already looked through your videos and you had nothing on this topic. Thank You.

-- 
 Capture.jpg
-- 

Piece of text to label


I want in one if statement contains a text in textbox i want the piece to go in a label text is that possible;

-- 
Maybe show some blocks of what you are trying to do?

-- 
i want the piece to be set in label text

piece.png 표시 중

-- 
Here is one way to do it:

 Capture.0ng
--