Send HTTP command

36 views
Skip to first unread message

Jo tu ell

unread,
Sep 15, 2011, 2:56:32 AM9/15/11
to tAIR - the App Inventor Repository
Hi and thanks to all for your time!!

I looking for send this command to my arduino for activate one relay
for home automation the command is http://192.168.1.254/?out=4&status=1
i don't need make get or json i only need send this command without
open browser but i tryed in app inventor and don't work.

It's possible make a picture of blocks for make this work.


Tnx for ur help ppl!!

Anthony Barnes

unread,
Sep 15, 2011, 5:37:01 AM9/15/11
to theaire...@googlegroups.com
Use an invisible webview component.
--

Jo tu ell

unread,
Sep 15, 2011, 6:25:06 AM9/15/11
to tAIR - the App Inventor Repository
Tnx i undestand it but i don't see how to make it invisible :(

Can you post a bloc example? or explain for noob ppl (me).

On Sep 15, 11:37 am, Anthony Barnes <barnes.t...@gmail.com> wrote:
> Use an invisible webview component.
>
> On Thu, Sep 15, 2011 at 2:56 AM, Jo tu ell <comeol...@gmail.com> wrote:
>
> > Hi and thanks to all for your time!!
>
> > I looking for send this command to my arduino for activate one relay
> > for home automation the command ishttp://192.168.1.254/?out=4&status=1
> > i don't need make get or json i only need send this command without
> > open browser but i tryed in app inventor and don't work.
>
> > It's possible make a picture of blocks for make this work.
>
> > Tnx for ur help ppl!!
>
> --
> tAIR - Main Site <http://www.tair.info/>   |    tAIR -
> Forum<http://groups.google.com/group/theairepository>
> |   tAIR - Code Site <http://code.google.com/p/the-ai-repository>   |    tAIR
> - Webchat <http://www.tair.info/webchat>
> tAIR Companion App - Download From
> Market<https://market.android.com/details?id=info.tAIR.tAIRApp&feature=searc...>
> Tony Barnes   |   barnes.t...@gmail.com
> <http://groups.google.com/group/theairepository>

Anthony Barnes

unread,
Sep 15, 2011, 7:03:26 AM9/15/11
to theaire...@googlegroups.com
set the visible property to false for the webview in the designer.
tAIR - Main Site   |    tAIR - Forum   |   tAIR - Code Site   |    tAIR - Webchat
Tony Barnes   |   barne...@gmail.com

Reply all
Reply to author
Forward
0 new messages