LinuxMCE Forums
May 22, 2013, 09:48:49 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Android Scenario Widget  (Read 1240 times)
apagg
Veteran
***
Posts: 60


View Profile
« on: February 19, 2012, 05:42:41 pm »

This is something I am working on if you are brave you might want to test it out:

http://wiki.linuxmce.org/index.php/Android_Scenario_Widget

http://www.youtube.com/watch?v=Q08Csj4SWrQ

Edit: I have uploaded a new .apk. If you have installed an earlier version you need to uninstall that first.

apagg
« Last Edit: February 24, 2012, 11:26:02 pm by apagg » Logged
golgoj4
wants to work for LinuxMCE
**
Posts: 823


hrumpf!


View Profile WWW
« Reply #1 on: February 19, 2012, 06:42:15 pm »

Cool!

 Im going to be checking this out later on today

golgoj4
Logged

Those people who tell you not to take chances, they are all missing what life's all about.

Wiki Hardware Page http://wiki.linuxmce.org/index.php/User:Langstonius
rages
Guru
****
Posts: 182


View Profile
« Reply #2 on: February 19, 2012, 09:02:20 pm »

very interesting!!!

Now I try this.

Emanuele
Logged
seth
Guru
****
Posts: 478


A day w/o LinuxMCE is like a day w/o sunshine!


View Profile
« Reply #3 on: February 24, 2012, 08:14:19 pm »

 Shocked
I just wanted to say. I was looking for something like this for a while. The ability to simply pull up my phone to work the lights in my house, without the need for an orbiter, is truely amazing.

I have already made 2 Desktops full of widgets on my android phone, one for upper level of my home, and one for the lower level of my home.

And my 10.1 inch Archos tablet. Forget about it. I have 2 full screens of widgets on that one, again one for the upper level and one for the lower level.

Amazing stuff here.

Outstanding work.

Best Regards,

Seth
Logged

".....Because Once you've LinuxMCE'd....."
System stats located at my user page:

http://wiki.linuxmce.org/index.php/User:Seth
davegravy
Guru
****
Posts: 451


View Profile
« Reply #4 on: February 24, 2012, 10:31:56 pm »

Great! Only disadvantage is that only one scenario button can be placed per widget "slot", limiting the number of buttons per screen.

Just daydreaming here...

Multiple scenario-buttons integrated into a single widget element. Layout of the scenario buttons within the container widget is controlled within the widget config. An easy WYSIWYG customizable UI.
Logged
apagg
Veteran
***
Posts: 60


View Profile
« Reply #5 on: February 24, 2012, 11:03:51 pm »

Thanks for the nice comments.

davegravy
I don't thing there is room for more than one button per widget element. One widget element takes up the same space as one normal android application icon, or were you thinking of something else?

Regards
Andreas
Logged
apagg
Veteran
***
Posts: 60


View Profile
« Reply #6 on: February 24, 2012, 11:23:28 pm »

I have updated the .apk in the first post
Logged
JaseP
Addicted
*
Posts: 526



View Profile WWW
« Reply #7 on: February 25, 2012, 12:07:51 am »

It looks very cool & and very promising...

I'll have to check it out...

Question: Have you considered putting any security (password) on the lock Widgets???

The reason I ask is that I have a Micasaverde Vera, and am ordering a second Aeon Labs Z-wave adapter, to make LinuxMCE a secondary controller to the Vera (the Vera has a service to control it from the Web for free). The Android app I use for that (Home Buddy) really has no security. You'd have to lock the app with one of those app locking applications to secure it. They don't always work so great.

Another suggestion is to look at the Android app, Smart Shortcuts, for ideas, or even going with making your app create actual app icons, rather than Widgets on the desktop, so the can be put inside a Smart Shortcut widget,  sort of like a menu...

But Keep up the good work. I'll be sure to check it out some more.

Logged

See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).
davegravy
Guru
****
Posts: 451


View Profile
« Reply #8 on: February 25, 2012, 02:47:00 am »

Thanks for the nice comments.

davegravy
I don't thing there is room for more than one button per widget element. One widget element takes up the same space as one normal android application icon, or were you thinking of something else?

Regards
Andreas

It could just be my version of Android, but on my Transformer Prime (ICS) there are a few widgets which consume more than one "slot". The weather widget I have consumes 12 slots (3 x 4).

Here's my existing: http://dl.dropbox.com/u/30586759/My%20homescreen.png

And an exaggerated concept of what a 3x4 widget with multiple buttons inside might look like: http://dl.dropbox.com/u/30586759/multiple%20buttons%20within%203x4%20widget.png

I have no idea if the android widget platform actually allows this kind of thing.
Logged
apagg
Veteran
***
Posts: 60


View Profile
« Reply #9 on: February 25, 2012, 09:00:52 am »

And an exaggerated concept of what a 3x4 widget with multiple buttons inside might look like: http://dl.dropbox.com/u/30586759/multiple%20buttons%20within%203x4%20widget.png

I have no idea if the android widget platform actually allows this kind of thing.

This is doable, and I see that might work on a tablet. However it is not a priority for me I want to keep this as simple as possible for the moment.

PS! if you want to try your self feel free. Android is Java and all the layout is done in xml

Regards
Andreas
Logged
davegravy
Guru
****
Posts: 451


View Profile
« Reply #10 on: February 25, 2012, 02:55:12 pm »

This is doable, and I see that might work on a tablet. However it is not a priority for me I want to keep this as simple as possible for the moment.

PS! if you want to try your self feel free. Android is Java and all the layout is done in xml

Regards
Andreas

Cool. Glad to hear it's possible  Wink
Logged
LennyB
Newbie
*
Posts: 8



View Profile WWW
« Reply #11 on: February 26, 2012, 04:46:47 pm »

Just set this up and it is a really good mate keep it up.  Smiley
Logged

The key to killing two birds with one stone is: A big stone and small birds
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!