[TOOL] WP7 auto launcher - Windows Phone 7 Development and Hacking

Hello folks,
here is the "WP7 auto launcher" app: a small utility to automatically run specific programs on WP7 insertion/removal events (occurs when you connect or disconnect phone to PC via USB cable).
Unfortunately, I can't use Windows native events (probably, MS Zune software handles corresponding messages), so I've implemented "poll scheme". Every n (configurable) seconds application queries WMI subsystem and check specified USB device ID. Process priority set to idle, so the CPU load isn't big.
Update: I redesigned app to use WMI events so no more polling at all
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
UI is very simple: select application(s) to run, and press button App will minimize to tray; click to restore window, close to exit. That's all folks
I don't have time for proper testing; probably app full of bugs. Send bug reports/feature requests here, please.
Note 1: by default it should run WPConnect for 64-bit system so check your path first.
Note 2: console applications runs in "hidden" mode; no output at all.
UPDATE: I've added ability to run program(s) with command line; now you are able to run batch-files (*.cmd or *.bat)
For example, to run WP7 application, you may use my another utility called RemoteExecute (see attachment or http://forum.xda-developers.com/showpost.php?p=19201807&postcount=13)
1) create file C:\Windows\run.cmd with content:
Code:
"C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\WPConnect\x86\WPConnect.exe"
"C:\Program Files\Microsoft SDKs\Windows Phone\v7.1\Tools\WPConnect\x86\RemoteExecute.exe" 446ff2e5-c7cf-413a-a2a3-1b22a59b8acd
Run auto launcher, choose at "On insertion run:" field C:\Windows\System32\cmd.exe, at command line (below), type /c C:\Windows\run.cmd
Now, when you connect PC to phone, it will run application with guid 446ff2e5-c7cf-413a-a2a3-1b22a59b8acd

what does this do?
any examples?

It launches specific applications when you plug in the phone - see above
Sent from my OMNIA7 using XDA Windows Phone 7 App

Good example of what you could use this for: Auto launch the WM Device Center app on full unlocked phones.

I should write this utility a long time ago: I'm working (professionally) with media playback on WP7 so I can't use Zune (Zune is blocking media playback).

Jaxbot said:
Good example of what you could use this for: Auto launch the WM Device Center app on full unlocked phones.
Click to expand...
Click to collapse
Well, on full unlocked phones you can just add rapiworker to startup

Update: no more polling, now using events!
Please, re-download app.

Little BIG app!
It is one of the best applications on the XDA. Are you working anybody on BT or WiFi automatical connection too?

Related

[APP] (Another) GPS Logger

Hello out dare,
This is my first release of the GPS Logger, a GPS tracking program.
Please try it and let me know if you like it
Rob
https://sites.google.com/site/radapplications/home/gps-logger
The program:
The primary feature of the program is to record and log waypoints, this can be a single point or more than one, in that case the output wil be a track containing more points.
Features:
Current position
The number of satellites
The interval (in seconds) before the next GPS location is determined
(When the device is cradled and charging, the interval is always 1 second)
The current speed you are going
The altitude, comparison with sea level
The number of points recorded for a track (or 1 if a single waypoint has been selected)
Afterwards, when you open the created KML files in the explorer, it will start the associated program Google Maps (if you have it on your device) and show the logged waypoints.
Options:
Start GPS automatic
If selected the GPS is automatic connected when the program starts
Start logging automatic
If selected the logging is started immediately when the program starts
Keep the device active
If selected the device is kept alive by means of the 'KeepAlive' program call and setting the Backlight to ON
Go to today screen when logging
If selected the device is switched to the today screen when logging starts
I added this option when using the program in combination with Wisbar Advance Desktop where I use the a 'Lock Page' as today screen.
In that screen all keys are locked and via the registry I can monitor the status of the GPS logger program.
Track output format ...
GPX eXchange
Google Earth KML
TomTom route
Waypoint output format ...
GPX eXchange
Google Earth KML
Describe tracks automatic
If selected tracks/files are automatically named
Describe waypoints automatic
If selected waypoints/files are automatically named
About
Shows some information about the program.
Buttons:
Connect/Disconnect
Connects or disconnects the GPS module
Start/End log
Begins or ends a track logfile
Waypoint
Creates a waypoint file for a single waypoint
Screendump:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thankx I`ll Try it
Hi rapvanbrunschot, this looks like a great tool!
I'm going to try it on my HTC S740 with WM6.1 Standard.
edit: it doesn't work yet, I get the following error:
Basic4ppc
Error loading program. NotSupportedException
But I'm sure you'll find a way to fix it
Chillout said:
Hi rapvanbrunschot, this looks like a great tool!
I'm going to try it on my HTC S740 with WM6.1 Standard.
edit: it doesn't work yet, I get the following error:
Basic4ppc
Error loading program. NotSupportedException
But I'm sure you'll find a way to fix it
Click to expand...
Click to collapse
Hi chillout,
I think it occurred because you try to install the program, intended for touchscreen ion th smartphone without touch availability.
I would have to rewrite it in order for you to be able to use it :>
I wil think about it.
Regards, Rob
A very useful application of this type. Thanks. Like I would have liked that the application to run in the background with the lights off to save battery, and recording rate to be at a second. Best regards, gXg.

Kill kill kill everything (app wanted)

Hi guys
I'd really like an app which when run tries to close all managed windows and if it can't then it kills the process. So often when a program's not responding all I can do is access voice command, so if i could say "start kill all" i'd be sorted.
Currently my issue is with pRSSReader, which is a brilliant app, but it keeps stalling lately.
Thanks
Anti Freeze 4 apps & device with FdcSoft TaskMgr / htcAddicts CleanRAM
Fingerfriendly FdcSoft TaskMgr Screenshot;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features:
- Process manager
- CPU usage (with CPU graph)
- Application Manager
- Service Manager!
- Device Manager (only WM2005 and above)
- Windows Manager
- Notification Manager!
- IP Config utility
- Ping utility
- Net Stats utility
- Registry Editor! One of the best 4 free
- Run program utility
The Missing Piece of Windows Mobile! -=[ CLEANRAM ]=- Welcome to a world without Soft Reset !!!
With the above two applications you will encounter less freezing of your device IMO!!! If not here are a few RSS alternatives;
FeedMe is a lightweight and neat RSS/podcast/photostream client for Windows Mobile phones.
UCWEB a great browser and RSS viewer (and more..)
YomoMediA is a free service, including a desktop RSS feed reader and mobile phone reader software.
pRSSreader site (project discontinued).
I hope this 'll help,
Senax
No, not an app with a UI. I have a task manager. That thing will never start up if the phone is hanged. An app which does what I said all by itself as soon as it's started. No visibility, feedback or UI at all. A Mortscript would probably do, thinking about it.
2 line Mortscript:
Code:
frozen = ActiveProcess()
Kill ( frozen )
Assign it to a hw key (the frozen program must be the current active window). Does this do it?
PS: I use WkTask terminate feature to kill frozen apps. For processes with no window I use dotFred's Task Manager.
Hi. Thanks. Actually that causes the phone to crash, but I'm sure it's along the right lines.
How about this?

[APP] ImmersiveTaille for Windows 8

I created this software that can merge the traditional desktop and new home screen of Windows 8
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The application is responsible for making up the new home screen of Windows 8 (with dynamic thumbnails) and the traditional Windows desktop in the same window. This fusion avoids having to switch from one to the other at all times.
Using the options you can choose to set automatic shutdown while restoring the original appearance of the home screen. Useful if you enable the option to see the home screen when the program starts (combined with oblytile) you can have your personal space as an example for your games, software ...
Advanced mode allows you to set the home screen where you want on your desktop and the size you want.
Latest Version::
2.0
Changelog:
2.0 :
-Graphic change
-Advanced mode recording with a preference
-And new tab with options for various settings to make combination
For example:
click software -> displays StartScreen -> start a game -> software that closes itself and you can restore the size if you want StartScreen
Old :
-First apps with basic graphic and advanced setting. No more options.
Download:
here
This software is in english. Windows 8 32/64 RTM (i not tested in other windows 8 ...)
Is it also working on Windows RT?
I do not have windows RT to test above. You can always try, if it works I put it is compatible
I just tried it on my rt and do nothing. it stay in the task manager for 1 sec and then vanish.
I was looking for something that would let me keep my taskbar in the start screen. Thank you very much for this!
Your Sourceforge page says it's GPL'd, know where I can get at the source at?
Awesome work! Loving it!
Fantastic app, I appreciate the work. Got any new features you going to bake into this soon?
Personally, I'd love it if we can make the Modern screen stick to the desktop and not disappear when I click out of it. Is this possible?
Thanks,
This is a rather nice idea.
Is possible.
I'm not saying I'll do it.
But if I do it it will be in one week, or more.
I keep having a problem using it, When I press start it does this (look to the right)
Location of start screen: Fullscreen + Taskbar
I is not implemented when the taskbar is on the left, right and top (for the next update probably).
Otherwise to settle your problem, you go to the advanced menu and you do the adjustment manually.
You can save the adjustment.
That way you can return to the basic menu selection and you lose another location you your adjustment.
Like that you can switch from one to another for further facilitates and load your adjustment.

General This app lets you take back control over how Android 12 opens links

https://www.xda-developers.com/how-to-fix-android-12-link-handling/
I don't really have a problem with Android 12's default behavior in this respect, but it's good to have options.
Among all the fantastic features and changes that Android 12 brings along, it also introduces some rather controversial changes. We have already talked about how Android 12’s new background app limitations can run havoc on apps like Termux. Another annoying change in Android 12 is the way it handles external links. If you’ve recently upgraded to Android 12, you probably would have noticed that when opening links, you no longer get that familiar “Open with” dialogue. Links will either automatically open in their corresponding apps or take you straight to Google Chrome or your default browser. If you’re not a fan of this change and want to restore the way things were in older Android versions, read on.
Starting with Android 12, Google now only allows “verified links” to be opened in external apps. Verified links allow app developers to ensure that only their app can handle links from their domain. If a link is non-verified, Android 12 will open it in the default browser, instead of showing you the app selection dialogue. But thankfully there’s an app called Better Open With that lets you get around Android 12’s new link handling behavior.
How to fix the handling of links on Android 12 with “Better Open With”​
Download the “Beter Open With” app from the Play Store.
Now on your Android 12 phone navigate to Settings > Default apps > Browser app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Set Better Open With as your default browser.
Now go to Settings > Default apps > Opening links and turn off the “Open supported link” toggle for every app that supports verified links.
That’s it. Now whenever you open a link, you’ll see the familiar Complete Action With dialogue listing out all the apps that can handle that link — just like in previous Android versions.
Even if you’re not running Android 12, “Better Open With” is still a great replacement for the system app chooser as it gives you more customizations and control.
DownloadQR-Code
Better Open With
Developer: Giorgi Dalakishvili
Price: Free
Click to expand...
Click to collapse
Nice app. I've been using it for a couple of years and didn't see any difference when moved to A12 as the app is my "a must". That's why I was so surprised when I read the the news about A12 unusual link handling.
Happy to know I'm on the right side.
Thank you. very helpful for me 🤝🏼
AutoShare is excellent at customizing which app opens with fine grained Tasker control

Hacking the Philips Screeneo U4

Hi, I am not sure, whether this is the right position to post for the Screeneo U4 because it is a projector and no TV. So if it is wrong here, sorry for that and the moderators might move it to the right place. But it is running Android TV.
I recently received a Philips Screeneo U4 ultra short throw projector. This projector uses Android TV and I did some research. I thought that somebody might be interested in the results. The screenshots show german Text but the steps should be self explanatory, so I did not change the language of the machine.
The first impression is that they use their own launcher on that machine which hides “normal” Android. But not totally .
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If you go to Settings and there to serial number, press OK on the remote five times. Then you find a hidden menu. Once there go to ABDDemo and you will find the standard Android developer options. On my machine they were already activated. Go to USB-Debugging, activate it and you have standard USB-Debugging access with all adb-commands working. I also activated file transfer as standard usb-setting. The projector then shows as maxtv on your computer with the standard directories in the internal storage.
If you transfer an apk-file to InstallableApps it can be installed on the machine with the app-installer in the hidden directory. You could also use adb shell commands for installing.
In that menu you also find an entry called settings which leads to another standard android settings menu. Showing for example Wifi-Settings although there is no Wifi on board.
So far the first research steps. I would be interested whether there are other owners of that projector who know more and would also be interested in suggestions to do deeper research. And might be suggestions for useful software to try.
Detlev
Hello and thank you for the information, I have connected a key with two apk, IPTV and Kodi in usb but I do not see them, you are talking about ADB shell but how to connect it since there is no integrated wifi or RJ45 network cable, can you help me please?
fabio
Hello,
you have to transfer the files to the Installable Apps directory (see above).
I use the connection to the projector which I have, when connecting an usb-cable to the computer.
Kodi would probably make sense for media on a connected harddisk or stick if Kodi recognizes those. I did not try this. But the installed vlc media player does quiet a good job in playing videos and music.
I do not see the point with IPTV without any Network connection. I did not manage to activate Wifi or ehternet via usb - did you?
Detlev

Categories

Resources