[Q] What's the structure of Native Toast Launcher uri - Windows Phone 8 Q&A, Help & Troubleshooting

Fir example:
app://80C8133B-168C-48C7-B95F-08D6331AE891/_default#/Microsoft.Mcx.Mobile.UpdaterShell;component/Views/AdminView.xaml
What's the structure of this URI?

"app://" - URI scheme, tells the OS how to handle the request (app launcher).
"80C...891" - App's ProductID GUID. Unique for every app (but does not change on updates). Identifies the app in question.
"/_default" - Use the app's normal launch task (as opposed to a launch task for a live tile or something).
"#" - URI fragment indicator, specifies where within the app to navigate to.
"Microsoft.Mcx.Mobile.UpdaterShell" - Name of the assembly containing the desired XAML file (the specification method is WP standard for embedded resources).
";" - Separator between the assembly and the path within the assembly; standard in WP.
"component/Views/" - Path to the embedded XAML view that you want to open (also WP standard format for embedded resources).
"AdminView.xaml" - the name of the (embedded) XAML file that you want to open.
Hope that helps.

Related

[APP] Native screen rotate applications

i wrote two applications that provide screen rotations in different scenarios.
the first one (rotexec) rotates the screen in a particularly orientation and executes an application, then restores the orientation on exit.
the second one (devomon) polls the accelerometer and updates the screen orientation.
i know there are already applications out there that handle these tasks, but the ones i found all ran on the .net vm.
my goal here was to minimize the memory footprint, something not possible with managed languages.
for devomon.. with 4 filtered applications, it consumes about 52 KB of heap space.
the new version of devomon (with a gui):
http://www.megaupload.com/?d=LCOWUDF4
rotexec and devomon w/o a gui (don't use it):
http://www.megaupload.com/?d=DL58WVU4
project is hosted at SourceForge.. i haven't committed the newer changes though.
----
rotexec is intended for use with shortcuts, although if you use it more than once you might have a hard time distinguishing when all have the same damn icon.
the command-line format is...:
Code:
rotexec <direction>|<full_path_to_exe>[|<args]
<direction> indicates the side the top of the window touches and can be either N, S, E, or W
you can quote the individual items (i.e., "N" vs. N), but not the entire string.
* the orientation is set for the duration of the program, regardless of whether or not it owns the foreground window.
example shortcut:
Code:
88#"\Storage Card\rotexec.exe" W|\Storage Card\Program Files\Navigator\TomTom Navigator.exe
----
devomon reads the output of the accelerometer using htcsensorsdk.dll.
* the screen orientation is changed for all applications except those in the filter list.
* if the keyboard is out, no orientation changes are made.
* filters cannot be persisted at this time.
devomon now has a gui.
I'd just like to say a TON of thanks to this program. It works GREAT. I use it for Remote Desktop. I always want it rotated portrait, without the keyboard open, and now it does!
In addition, I would like to add a recommendation for modifying the shortcut icons. This app that I have attached is called Shortcut Creator, and it allows you to pull up any shortcut, and specify an icon from any .EXE on the device!

[Q] Remote Desktop from NC

Has anybody been successful with a good RDP client to use from the Nook Color? I have tried TeamViewer, Wyse PocketCloud, AndroidVNC, all with no success for different reasons.
-Jim
I'm using LogMeIn. Works ok enough. A little laggy. But it gets the job done.
Sent from my "NookDroid" using XDA App
Me too logmein works the best but the best is still not good enough
Logmein Ignition? How do you move the cursor or click on something?
iTap Mobile RDP client is the best NC rdp client IMO. I have spent just under$ 100.00 trying them all out as I needed one that worked with non-tech users.
This is the only app that provided real tablet touch to my RDP sessions WITH the custom screen seize for the NC. As with any RDP session WiFi speed matters, as well as developing your custom theme on Win7 so that the buttons, window frames, etc... are usable from a small touch screen device. If there is any interest I will post my Win7 settings. I have not automated them all yet (which goes against my beliefs... lol).
Raptor
Sent from my LogicPD Zoom2 using XDA App
Raptor said:
If there is any interest I will post my Win7 settings. I have not automated them all yet (which goes against my beliefs... lol).
Click to expand...
Click to collapse
Would be interested to know what your tweaks are to make this as usable as possible. Would love to rdp into work from nook. Also, if anyone knows, what is the best solution for establishing vpn to ipsec cisco devices from nook?
OK, downloaded and installed it. Then I installed it (iTap receiver) on my PC. But the nook has no menu buttons in the interface, so I can't put in the IP of my receiver. How did you do that?
Wyse pocketcloud pro works fine for me.
jtpryan said:
IP of my receiver. How did you do that?
Click to expand...
Click to collapse
First I have heard of the iTAP receiiver. I used standard Remote Desktop on the Windows 7 device. Am I missing something in your comment?
1. Installed the iTAP client on the NC
2. Configured the client for a new bookmark (shortcut to device RDP sessions)
3. Configured custom port mapping (NAT) on router
4. Verified RDP was enabled on the Win7 device
5. Realizing I could not use a styolus and my fingers are bigger than a stylus, configured Win7 with custom settings. (posting in a momeent in reply to the previous comment).
Win7 Settings:
=====================================================
Desktop Resolutions 1030x560
Desktop icons:
- Docs
- Music
- Pictures
- Videos
- Windows Media Center
- Favorites
- Tools (Desktop folder not shortcut)
-- CMD files (shortcuts renamed to the below
with no file extention visible)
---- ARPCache
ARP -a >%Temp%\%ComputerName%-%UserName%-ARPCache.txt
Notepad %Temp%\%ComputerName%-%UserName%-ARPCache.txt
---- FlushNameCache
IPConfig /FlushDNS
NBTStat -R
---- IP-Renew
IPConfig >%Temp%\%ComputerName%-%UserName%-IPConfig.txt
IPConfig /Renew
IPConfig >>%Temp%\%ComputerName%-%UserName%-IPConfig.txt
Notepad %Temp%\%ComputerName%-%UserName%-IPConfig.txt
---- IPConfig
IPConfig /all >%Temp%\%ComputerName%-%UserName%-IPConfig.txt
Notepad %Temp%\%ComputerName%-%UserName%-IPConfig.txt
---- RouteTable
Route Print >%Temp%\%ComputerName%-RouteTable.txt
Notepad %Temp%\%ComputerName%-%UserName%-RouteTable.txt
---- EnvVariables
Set >%Temp%\%ComputerName%-%UserName%-EnvVars.txt
Notepad %Temp%\%ComputerName%-%UserName%-EnvVars.txt
Taskbar Pinned icons:
- Keyboard (find a better Win7 keyboard)
---- (Do NOT AutoStart the keyboard)
Windows Explorer:
- Make all items large icons
- Folder Options:
General Tab
-- "Single-click to open an item (point to select)"
-- "Underline icon titles consistent with my browser"
-- "Automatically expand to current folder"
View Tab
-- Set custom view items (list later)
--
--
-- Apply (button)
-- Apply to Folders (button)
Display:
- Set Display settings to: (1152 x 864)
- Set text size to: (medium)
- Set Custom windows properties:
Window Color
-- Active Title Bar = 40
Font = 14
-- Active Window Border = 5
-- Border Padding = 6
-- Caption Buttons = 40
-- Icon = 50
Font = 14
-- Icon Spacing (Horizontal) = 25
-- Icon Spacing (Vertical) = 25
-- Menu = 30
Font = 14
-- Palette Title = 30
Font = 14
-- Scrollbar = 40
-- Selected Items = 40
Font = 14
-- ToolTip
Font = 14
---------------------------------------------------------------------
iTAP RDP Properties
=====================================================
- No Click Sounds
- Background color (Black)
BookMark (RDP to device sgortcut)
- Custom Port (xxxx)
- Screen resolution - Galaxy Tab (1024 x 600 - 16 Color)
This is probably more than you wanted but I just copied and pasted from my notes. Any better updates you find are always appreciated as well.
~Raptor
OK, I checked to see my version and noticed there was an update. But based on your comment I did not update it yet (don't want to break what works now). So I visited the Dev site and the iTap receiver looks interesting, however I purchased and use the "iTAP RDP" app.
I may give the iTAP receiver a try as it sounds as though it gives a customized (large icon) type of interface to the Windows client. I don't have time for that today though but for now the iTAP RDP app works great with the custom changes to my Win7 profile.
Like I said, I bough a bunch of these apps (you know the story, you get more features in the purchased version) however this was the best one IMO. The 2nd runner up was "Remote Desktop Cleint" from XtraLogic however they did not have a custom screen size that was consistent and when I (or my family) touch the screen to move something I want the "something" to move not the entire desktop since it would not resize properly. :-/
Thanks Raptor, I will be using a good portion of what you have documented in my setup.

[Q][Xposed] Altering an Application's Style/Theme

Hello,
I want to force some applications to have floating windows using the (awesome ^^ ) Xposed framework.
So far, I managed to hook on the "onAttachedToWindow()" method (as explained here goo.gl/ZFb8iQ ) to set the floating layout (as explained in goo.gl/GyCXac ), which seems to work pretty well (I can't embed a screenshot due to the forum's restrictions to new members).
However, in order to set a transparent background (outside the resized app, in order to allow the manipulation of other apps in the background), the only method that I'm aware of is adding the following line in the app theme (e.g. styles.xml)
Code:
<item name="android:windowIsTranslucent">true</item>
My question is: how can I do that using Xposed ?
Thanks in advance for your help.
windowIsTranslucent can't be set programmatically AFAIK. You could try seeing where windowIsTranslucent is parsed and set (in the AOSP source code), and hook that method to enable it for your package.
GermainZ said:
windowIsTranslucent can't be set programmatically AFAIK. You could try seeing where windowIsTranslucent is parsed and set (in the AOSP source code), and hook that method to enable it for your package.
Click to expand...
Click to collapse
I see. It's a shame the Android framework doesn't allow such a thing...
Is there any other technique for forcing activities to display a floating window (programmatically) ?
Also, would it be possible, with the help of Xposed, to create a translucent floating window then "insert" a hooked activity into it ?
Or, how could I use Xposed to make an app use a custom theme ?

Tasker terms

First, let’s come to terms with… the terms in Tasker. Many of the concepts may be new to you, and they can be a bit overwhelming, especially to neophytes. But, once you get the logic of Tasker, you’ll find that it’s a truly powerful app even for programming noobs.
Action — The basic element of Tasker. It refers to phone or tablet functions and features that perform something or brings the phone to a certain state. Tasker supports more than 200 actions grouped into 21 categories.
Task — A group of actions. Usually linked to a trigger or “context”, but can also be a free-floating, standalone task executed manually. A task can be run within another task. You can clone, export, import, and lock tasks.
Context — Situations or conditions which, when true, trigger the execution of the task(s) associated with it.
Profile — Some sort of “container” or “package” for context(s) and linked task(s). You can define several contexts for a single profile, and all those conditions must be true for the linked tasks to run.
Variable — A name for an unknown value that can change over time, like the battery level or the date.
Scene — A custom-made user interface. You can create your own layout of buttons, menus, popups, and other UI elements.
Project — A group of profiles, tasks, scenes, and variables. Each project has its own tab (at the bottom of the main screen) with a user-defined project name. You can also export or import projects. You can even export a custom project as a standalone Android app (APK): just tap on the project name/icon, select Export, and choose “As App.”

Overwrite array value

Hello
I’m trying to overwrite an array value. The array containing the values that need to be changed is %ObdFuelAvgArr the index of the value I’m trying to set is %ObdPlaceHolder and the value that I’m trying to insert is %ObdPercent. I’ve tried various ways of entering this into tasker. The latest iteration was this:
Code:
Variable Array
%ObdFuelAvgArr(%ObdPlaceHolder)
Values
ObdPercent
Could someone help me find a solution?
Thanks,
Loren
You need to Use the Array Push action probably in conjunction with the Fill Spaces parameter. Depending on whether the array element is already occupied, you may need to empty it before updating using a Variable Clear.
From the Tasker user guide: variables page;
Inserting Elements
Use the Array Push action.
The Fill Spaces parameter might need more explanation. It is only relevant if one or more of the array elements are undefined. As an example, if we have the array elements %arr1 and %arr3 containing apple and banana:
Array Push %arr1, 1, pear
leaves %arr1, %arr2 and %arr4 containing pear, apple and banana.
but Array Push %arr2, 1, pear, Fill Spaces
leaves %arr1, %arr2 and %arr3 containing pear, apple and banana.
Removing Elements
Use the Array Pop action. Note the difference between Array Pop and Variable Clear: Pop reduces the number of elements in the array, while Clear merely changes elements to undefined.
Example: if we have the array elements %arr1, %arr2, %arr3 containing apple,pear and banana:
Variable Clear %arr2
leaves %arr1 and %arr3 containing apple and banana.
but Array Pop %arr2
leaves %arr1 and %arr2 containing apple and banana.
Click to expand...
Click to collapse
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers

Categories

Resources