Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Mobile
 PowerHome Messageboard : PowerHome Mobile
Subject Topic: Android App Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: June 01 2012 at 12:35 | IP Logged Quote nick7920

ver 2.1.18
it did not fix this problem.
I have HTC evo 3d, on that when you slide your finger to bring curtain down on notification bar, you will see the previously use applications. That’s where if you tap PCHA, it will keep showing you the old popup and you are stuck. But if you go back to all Apps and run the PCHA again you are okay. This has never happen to older version 2.0.
Back to Top View nick7920's Profile Search for other posts by nick7920
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 01 2012 at 12:44 | IP Logged Quote MrGibbage

On my SGS-II, I get the list of recent apps by long-pressing on the home button. I
hadn't ever tested my app by returning to it by using that because I don't use that
feature very often. Can you tell me step-by-step how you reproduce the error? Please try
to be as detailed as possible.

Or is it something that you think you could live with? I do want to resolve it if we
can. I want to put the app in the Android market pretty soon, and I would like to have
as many of the buggies worked out as possible.

Thanks in advance for you help!



__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: June 01 2012 at 14:30 | IP Logged Quote nick7920

I also found that if you try to delete the action by longpress on it and choosing the option delete you get message that unexpected error/phca has crashed , I have sent that to you by popup window.

now back to other problem.

1.     You run PHCA from all apps.
2.     Mainpage has action I have created called uptime.
<action colormap_color="gray" majorlabel="uptime" minorlabel="" url="" ss_body="ph_powerhomeuptime_s()" ss_requestType="FORMULA" return_type="dialog" net="ss" note="" update_varname="ph_uptime1" paramType="none" slider_min_val="0" slider_max_val="100" action_parameter_var_name="ph_uptime" dialog_prompt="" pin="false" dialog_title="uptime" />

3.      If you press uptime it get the powerhome uptime and since we have return type is Dialog it popup the return .

4.     Now press the home key of the phone

5.     Like I said before, in HTC you can go back to previous application quickly by sliding the curtain down and choosing the application. At this point it will just show the last popup and no other function can be done. Press back arrow to exit.

6.     Go to all apps and re-run the PHCA and it will take you to mainpage with all the option which is supposed to.

I can live with it, but the behavior you don't see with any other application and could be problem for someone else.
Back to Top View nick7920's Profile Search for other posts by nick7920
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 02 2012 at 01:13 | IP Logged Quote MrGibbage

Try ver 2.1.20. It should fix the restart issues.

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
nick7920
Senior Member
Senior Member


Joined: March 04 2008
Location: United States
Online Status: Offline
Posts: 193
Posted: June 02 2012 at 04:00 | IP Logged Quote nick7920

2.1.20 does not install , file size is 386 which is lot smaller than other version.

Edited by nick7920 - June 02 2012 at 04:00
Back to Top View nick7920's Profile Search for other posts by nick7920
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 02 2012 at 07:18 | IP Logged Quote MrGibbage

The file size is a lot smaller because I have removed some
unneeded classes and dependencies. I re-uploaded the apk
and tested it. All seems fine now.

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: June 02 2012 at 08:39 | IP Logged Quote TonyNo

Getting an error when trying to install. Error on parsing project.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 02 2012 at 09:20 | IP Logged Quote MrGibbage

I am getting reports that the downloads are working correctly again.

By the way, Dave, thank you for making this mobile sub-forum :)

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 02 2012 at 09:56 | IP Logged Quote MrGibbage

If you noticed that your sliders aren't working, then grab version 2.1.22.

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 02 2012 at 21:50 | IP Logged Quote MrGibbage

End of the day update. The latest version is 2.1.23. You guys are doing a great job finding
all of the things I forgot. 11,263 lines of code and there are bound to be a few problems :)

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 08 2012 at 10:35 | IP Logged Quote MrGibbage

I am currently having web site issues and C2DM is not working. No registration or
messages are working. Sorry for the inconvenience. I have a trouble call in with my
hosting company and I hope to have it resolved ASAP.

By the way, the latest version is 2.1.35 and can be downloaded from the link in my
signature below.


__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: June 08 2012 at 11:48 | IP Logged Quote TonyNo

Issue with link?
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 08 2012 at 13:02 | IP Logged Quote MrGibbage

Yeah, I am having server issues today. I hope Dreamhost will get everything up and
running soon. In the meantime, I am working on porting this over to the Google app
engine, which I think will be more stable as an application server such as this.
Sorry for the inconvenience. :(

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 08 2012 at 13:24 | IP Logged Quote MrGibbage

Heh, good timing. It looks like my servers are up now. Can
you try again?

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 09 2012 at 11:31 | IP Logged Quote MrGibbage

Sorry, but my server is down again. C2DM is not working. My
hosting tech support is looking into it. Sorry for the
inconvenience.


__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 10 2012 at 09:28 | IP Logged Quote MrGibbage

C2DM Server is back up now. I am very sorry for the trouble
:(

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
strav
Newbie
Newbie


Joined: July 23 2009
Location: United States
Online Status: Offline
Posts: 13
Posted: June 28 2012 at 16:25 | IP Logged Quote strav

First off, huge thanks to Skip for developing this program.
I just made the switch to Android and am looking forward to
playing with this more.

I'm setting up some sliders to control insteon dimmers.
Earlier in this thread, it mentions a way to get the
current value of a device and I'm wondering if there is a
way to set the initial value of the slider to the current
value of a device. I.E. if it the light is dimmed to 50%
(or a value of 128 for the device), can the slider initial
value be set to 128 so it reflects the current state before
it is adjusted?
Back to Top View strav's Profile Search for other posts by strav
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 28 2012 at 16:37 | IP Logged Quote MrGibbage

Hi, Strav. First off, you are welcome. Unfortunately for you, you hopped in while I am
still developing the app. What that means to you is that you will run into bugs. I am
working very hard to get this to a releasable state, and I desperately need help with
testing, so welcome to the team! I will absolutely need feedback from you as you setup and
install the app.

As for your question about the sliders, the short answer is "Yes". But I suspect that you
will want to know "How". Quite simple, actually. Make a variable in PHCA to hold the value
for the device. Assign that variable as the action parameter variable. Now whenever you
execute that action, the slider will be prepositioned at that variable's value. So, how do
you keep the value up-to-date when the light is adjusted outside of PHCA? Easy. Using C2DM
and PowerHome. Just set up a trigger that looks for changes in the light level. Send that
to the C2DM server and you are done.

I realize that I explained that with a lot of "big-ish" steps. I don't know what your
expertise is with PowerHome, so if you need help with any (or all) of this, just let us
know. There are some instructions on my website which should also help.


__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
MrGibbage
Super User
Super User
Avatar

Joined: October 23 2006
Location: United States
Online Status: Offline
Posts: 513
Posted: June 28 2012 at 16:42 | IP Logged Quote MrGibbage

As of Jun 26th, the C2DM service is being phased out for Android. It is being
replaced with a more robust system called Google Cloud Messaging (GCM). I will
absolutely be porting PHCA over to take advantage of the new features. Ideally
there should be no interruption in service, but as you know, I am a pretty lousy
coder, so inevitably there will be issues once I release the first version. Or the
second. Or the twelth.

If you want to read about the new features of GCM, you can read this page:
http://developer.android.com/guide/google/gcm/index.html

Help me think of some interesting ways to take advantage of the new features.

__________________
Skip
Back to Top View MrGibbage's Profile Search for other posts by MrGibbage
 
strav
Newbie
Newbie


Joined: July 23 2009
Location: United States
Online Status: Offline
Posts: 13
Posted: June 28 2012 at 18:07 | IP Logged Quote strav

Skip,

No worries. Sometimes it's better to get involved while
an application is still under active development. :)

So, I'm working my way through your explanation. I've
set up C2DM (though I see that will change soon too) and
verified it is working from the browser. Do you have an
example of the trigger in to send the updated value to
PHCA? Since it's a dimmer switch, does that end up
sending a bunch of messages if someone manually adjusts
the brightness?

Thanks!
Back to Top View strav's Profile Search for other posts by strav
 

<< Prev Page of 7 Next >>
  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum