Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 01-18-2011, 08:47 PM
CrackBerry Master
Device(s): Torch 9850 / 64 gb PB
Carrier: Verizon
 
Join Date: Dec 2008
Posts: 1,163
Likes Received: 12
Thanked 4 Times in 4 Posts
Question Composer Timeline Action Upon Closing an App

The nascent four main timeline actions are initial, focus in, focus out, and activate. So, for example for a Custom Homescreen button for Browser, I can hover over my Browser icon/button and it attains focus. I can then hover over another one, say Music, and the Browser icon enters focus out and Music...

Suppose I hover over Browser, it attains focus, and then I click it: an instance of the Browser appears full screen. Later, I either close this instance or hit the BB escape button. What is the rule for specifying what the Browser button goes to ? Or: is it possible to define a new timeline action for closing an app or using the BB escape key ? Doctor Neutron

PS I keep beating on this issue, but have little to report. I DO note that for the default Precision Zen Theme, both in my flaky Simulator and on my real S2, after an app launched from the Home Screen is dismissed, there is no indication of which app was just launched / executed.
Attached Images
File Type: jpg Capture19_57_38.jpg (34.7 KB, 9 views)

Last edited by DoctorNeutron; 01-24-2011 at 09:52 AM. Reason: better title
Reply With Quote Tip this Post
  #2  
Old 01-19-2011, 01:28 AM
CrackBerry Abuser
Device(s): Curve 8530 - PlayBook 16GB
Carrier: Sprint
 
Join Date: Apr 2010
Posts: 199
Likes Received: 16
Thanked 14 Times in 8 Posts
Default

Somebody more experienced correct me if I'm wrong please....but I believe what you're asking about has to do with the Navigation Memory, and how many steps back you choose in TB.
__________________
Incredibilis Thematis Repertum

Reply With Quote Tip this Post
  #3  
Old 01-19-2011, 11:00 AM
CrackBerry Addict
Device(s): Curve 8520!
Carrier: Du
 
Location: In a land far, far away...
Join Date: Oct 2010
Posts: 458
Likes Received: 0
Thanked 85 Times in 41 Posts
Default

No, what he means is that he wants to go to the browser, then when he presses the back button,he will be taken to another app, let's say contacts. Is that right?

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #4  
Old 01-19-2011, 11:08 AM
CrackBerry Addict
Device(s): Curve 8520!
Carrier: Du
 
Location: In a land far, far away...
Join Date: Oct 2010
Posts: 458
Likes Received: 0
Thanked 85 Times in 41 Posts
Default

After looking at some code i made, from my experiences, i think that you can do it, but with knowledge of SVG.
I made this code using composer:
Code:
<g  id="Layer_1">
	<!-- pz:tag type="layer" -->
<g  id="Rectangle_2_Button">
	<!-- pz:tag type="button" -->
<g  id="Rectangle_2_Button-Contents">
	<!-- pz:tag type="layer" -->
<rect id="Rectangle_2"
	style="fill:#ffffff; stroke:#000000; stroke-width:1;"
	x="-74" y="-91" width="114" height="73"/>
</g>
</g>
</g>

<!-- pz:tag output="anim" -->

<loadScene xlink:href="x-exec://net_rim_bb_clock.net_rim_bb_clock"  begin="Rectangle_2_Button.activate"/>
</svg>
From this, upon activating the Rectangle_2_Button, the Clock application opens up. Yes, you are right, there are 4 states, but none of them relate to what happens 'on deactivate' From this i now say that you cant do this from my level of expertise, but maybe someone better than me can
Reply With Quote Tip this Post
    Thread Author   #5  
Old 01-19-2011, 02:56 PM
CrackBerry Master
Device(s): Torch 9850 / 64 gb PB
Carrier: Verizon
 
Join Date: Dec 2008
Posts: 1,163
Likes Received: 12
Thanked 4 Times in 4 Posts
Default On de-activate time line action reply

On deactivate, I DO have an icon that is different than the Initial State - might be one of my focus state icons - is barely distinguishable from step 1 of my Initial state - not sure what it is and I can't seem to figure it out or control it.

I am not trying to start another app, I am trying to use a bit of color to say: this is the app I just finished up with. I have been trying to sponge off of some of the other states with no success. Doctor Neutron
Reply With Quote Tip this Post
  #6  
Old 01-19-2011, 08:07 PM
CrackBerry Addict
Device(s): Curve 8520!
Carrier: Du
 
Location: In a land far, far away...
Join Date: Oct 2010
Posts: 458
Likes Received: 0
Thanked 85 Times in 41 Posts
Default

On deactivate? There is no option like that, I think. I was putting it in quotation marks...
And yes, I finally got what you are saying... But I don't think you can do it. Someone correct me if I'm wrong.

Posted from my CrackBerry at wapforums.crackberry.com
Reply With Quote Tip this Post
  #7  
Old 01-19-2011, 08:54 PM
CrackBerry Abuser
Device(s): Curve 8530 - PlayBook 16GB
Carrier: Sprint
 
Join Date: Apr 2010
Posts: 199
Likes Received: 16
Thanked 14 Times in 8 Posts
Default

Is the icon that you last clicked still on focus when you return to the home screen anyway?
__________________
Incredibilis Thematis Repertum

Reply With Quote Tip this Post
  #8  
Old 01-20-2011, 02:35 PM
CrackBerry Genius
Device(s): iPhone 4s
Carrier: Verizon
 
Join Date: Nov 2009
Posts: 2,310
Likes Received: 88
Thanked 169 Times in 112 Posts
Default

try on activate + time.... meaning

.activate +1.0s = one second after activating.. do this.

I am not sure if the focusout is triggered though.. so you will have to play.
__________________
Reply With Quote Tip this Post
Thanked by DoctorNeutron (01-21-2011)
    Thread Author   #9  
Old 01-21-2011, 10:24 AM
CrackBerry Master
Device(s): Torch 9850 / 64 gb PB
Carrier: Verizon
 
Join Date: Dec 2008
Posts: 1,163
Likes Received: 12
Thanked 4 Times in 4 Posts
Default Thanks, StaticFX !

Quote:
Originally Posted by StaticFX View Post
try on activate + time.... meaning

.activate +1.0s = one second after activating.. do this.

I am not sure if the focusout is triggered though.. so you will have to play.
Will do. I have been monkeying with the tenth time step of each state, with a delta of 2 and an additional image. Occasionally get wonky results, but still no joy. First image shows typical infocus; second shows post de-activate. Doctor Neutron
Attached Images
File Type: jpg Capture9_56_45.jpg (32.5 KB, 3 views)
File Type: jpg Capture9_58_24.jpg (32.4 KB, 3 views)
Reply With Quote Tip this Post
    Thread Author   #10  
Old 01-27-2011, 12:22 PM
CrackBerry Master
Device(s): Torch 9850 / 64 gb PB
Carrier: Verizon
 
Join Date: Dec 2008
Posts: 1,163
Likes Received: 12
Thanked 4 Times in 4 Posts
Default

Can the Tweening Editor somehow be used to work on the time period between
Activate and Normal ??? Doctor Neutron
Reply With Quote Tip this Post
    Thread Author   #11  
Old 02-13-2011, 12:45 PM
CrackBerry Master
Device(s): Torch 9850 / 64 gb PB
Carrier: Verizon
 
Join Date: Dec 2008
Posts: 1,163
Likes Received: 12
Thanked 4 Times in 4 Posts
Cool How to Achieve a De-activate Signal

I finally cracked the code: on activate and then de-activate, it is actually the FOCUS icon that is inserted (so much for that name). So now, all thrty icons have the exact same color scheme: BLUE undertone: just getting into focus; GREEN undertone: I am in focus; and RED undertone: I executed and now I am de-activated. Because of my current choice for a time interval in Composer, I can get some whippy time decay effects in which one icon will be blue and several can be green for a brief time.

So, in summary, there are two classes of software: that what we got and that we wish we had (including the THOUGHT ENTRY CHANNEL).

In PSE-7 my buttons have five layers: text, green streak, red streak, blue streak, and button image. I can individually adjust their opacity before saving as a .png file to give me a desired transparency effect.

In Composer, each button has four files: NORMAL, FOCUS, AUX GREEN, and AUX BLUE. These last two I import while editing. Here I can select or de-select visibility to get what I want. And, you guessed it, that means 30 buttons x 4 files x 4 states x 2 start-stop specs, for a bunch of clicking and dragging. Not to mention the fact that Composer is really stubborn in that you must specify a start and stop state and then recheck several times before he gives you what you want.

Doctor Neutron
Attached Images
File Type: jpg Capture22_6_11.jpg (32.3 KB, 3 views)
File Type: jpg Capture22_6_24.jpg (32.0 KB, 3 views)
File Type: jpg Capture22_6_35.jpg (32.2 KB, 3 views)
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Composer Timeline Action for Closing an App

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes