Hey everyone
Saw a few people were looking for a patched version of the ScanSearch application that ships with LG phones (http://forum.xda-developers.com/showthread.php?t=912217). I popped open reflector and modified it enough that it now launches on my non LG device.
[LINK]
@mods: if you want me to take the link down, please edit this out. PM me if the link disappears
Cheers
Oh, just so you know, you will have to use this tool to install it. You will need to tick the "Replace assembly signatures" and "Remove DRM" options for it to work correctly.
now thats a great app, thanks
Here are links to:
ScanSearch
Toolbox
Photo Stylist
LooknType
http://forum.xda-developers.com/showpost.php?p=10623038&postcount=34
All apps I have tested yesterday on my OMNIA 7.
Deploy them with Xap Deployer V1.4 and mark the checkboxes...
Can you patch Panorama Shot too?
hm, it always direcing to east is bad..but otherwise its a great app...perhaps you can fix the issue of it always facing east?
Yes in scan search, compass does not work on hd2 hd7. stays in one direction.
Should be possible to make some kind of bridge that intercepts the calls to the non-existent LG driver and return it meaningful compass data, right? I don't quite have the knowledge to do it myself, but if you can mess with it enough so that it doesn't check if it's on an LG phone, it should be possible to direct it at a different DLL...
I don't get it, it's missing all the features but one.
The app can also scan CDs, books, movie posters, bar codes, etc. and none of that is here. It should have a list of icons on the left hand side to toggle between these, yet when installed on HD7 and Focus, it's all gone (I have LG Quantum too, so I can compare).
malatesta said:
I don't get it, it's missing all the features but one.
The app can also scan CDs, books, movie posters, bar codes, etc. and none of that is here. It should have a list of icons on the left hand side to toggle between these, yet when installed on HD7 and Focus, it's all gone (I have LG Quantum too, so I can compare).
Click to expand...
Click to collapse
This functionality might have been implemented in an update? The only XAP I got to patch was the v1.0.0.0 ripped from the ROM. If you have a newer XAP, and post it, I'll be all to happy to update my site and post.
Strike that, I did patch the latest version. Will look into it.
Patched it, download from the same URL as before. It was a carrier check, meaning that only certain US Carriers could access those features. Now granted all devices the same supportedFeatures value.
If someone has a way of getting the orientation of other devices, I'm happy to give it a go, see if I can tweak it to a degree.
doesnt work, additional features are still not available for barcodes etc.
won't install on my focus
There's a Samsung Compass Homebrew library out there, which might be usable for this app with a bit of hacking. I've never tried it, though. Download the source for the "Functional Webserver" and it's in there.
as there is a htc compass app out now there, too.
someone interested in making a scansearch app with support for all devices?
ScanSearch is nice... Panorama shot is man oh man... so much better. I would say of the bunch its is the best... Also I get a manifest error...
ryotgz said:
won't install on my focus
Click to expand...
Click to collapse
Mine either now it appears - Resign File with valid WP manifest...
jessiethe3rd said:
ScanSearch is nice... Panorama shot is man oh man... so much better. I would say of the bunch its is the best... Also I get a manifest error...
Click to expand...
Click to collapse
yeah panorama shot is awesome app
why is none else able to code such thing...
wheres the files?
Works on my Dell Venue Pro....
Thanks : D
Edit: it loads, but it lok like it hasn't got access to the compass, because moving the phone does not move the compass in the scansearch app...
Related
I know some people have been looking for these. Hopefully opening these up can possibly give us undocumented access to the camera and other functions, as well as someone possibly helping me with coming up with registry and file editors.
Included are:
- ScanSearch (augmented reality POI locator)
- PlayTo (LG's DLNA)
- Panorama Shot (one touch camera panorama)
- Tool Box (world clock, unit converter, world holidays, date calc, sale price calc, level meter, flashlight [uses screen, not led camera flash], random number)
- Photo Stylist (edit photos)
- Look n Type (uses camera to project what's in front of you while you type)
- Network Setup
- Voice to Text
Use at your own risk, I don't know if these apps will be like samsung's (work for everyone) or htc's (works for htc exclusively).
If I'm in violation of any xda rules I'll remove the links:
http://rapidshare.com/files/442425435/LG_Apps.rar
http://www.megaupload.com/?d=Z5GULSW2
02/16/2011 UPDATE!!!
People, I've upped some more exclusive LG apps for us to tinker with:
- Metro Scanner (requested)
- QR Reader (actively scans, no picture taking)
- PostNote
- Today (basically Samsung's Now app, but has a twitter page that you can see tweets from)
- Weather & Clock (think HTC Hub, but as an app)
- Updated version of Scansearch (v1.2)
http://rapidshare.com/files/448299121/LG_Apps_Pt._2.rar
http://www.megaupload.com/?d=U0B5X2PR
http://hotfile.com/dl/105333610/4dfc8fe/LG_Apps_Pt._2.rar.html
Again, if I'm in violation I will remove the links.
03/03/2011 UPDATE!!!
luppo8 said:
MFG APP,
http://forum.xda-developers.com/showthread.php?t=841892
I posted mfg.xap to developers who want to extract native LG dll's to develop hybrid homebrew apps. Apps that have access to functionality normally only available for OEMs and MOs.
Click to expand...
Click to collapse
Thanks for this link
some LG apps are really cool
but majority work only on LG Device.
i'm trying to patch some Dll to allow run on other brand.
xboxmod said:
Thanks for this link
some LG apps are really cool
but majority work only on LG Device.
i'm trying to patch some Dll to allow run on other brand.
Click to expand...
Click to collapse
Cool, let me know how those work out.
xboxmod said:
Thanks for this link
some LG apps are really cool
but majority work only on LG Device.
i'm trying to patch some Dll to allow run on other brand.
Click to expand...
Click to collapse
Please do! I'd love to have that augmented reality app
I'd love that voice to text app. Either way, glad to see some start on this.
http://forum.xda-developers.com/showthread.php?t=912486
Voice to text app for all device. thx eried
Newbie question
How do you get LG apps out of the LG device?
Thanks!
What would be nice is to extract the MFG app whch allow tethering on LG device.
(nico) said:
What would be nice is to extract the MFG app whch allow tethering on LG device.
Click to expand...
Click to collapse
i actually can't activate the MFG on my device.
Sent from my GW910 using Board Express
EarthQ said:
How do you get LG apps out of the LG device?
Thanks!
Click to expand...
Click to collapse
I didn't extract, I was able to download from their section of the app store.
Sent from my GW910 using Board Express
i used wp7 3MktPlace to download all LG apps.
PanormaShot doesnt even start...therefore would be nice if someone could patch it.
I still dont understand why the crappy WP7 cams dont have more options than now. Even some old phones I own do have panorama...
I just got in can anyone verify or deny whether lg network setup has similar properties and dlls of the htc connection setup and has the ability to overwrite provxml?
domineus said:
I just got in can anyone verify or deny whether lg network setup has similar properties and dlls of the htc connection setup and has the ability to overwrite provxml?
Click to expand...
Click to collapse
i'm checking
i tell you this in a minute but it also need to accept custom provxml
there is other tools to deploy provxml into windows but doesn't accept custom file.
YES
in fact prov xml are in the XAP so really simple to edit and deploy I hope this accept custom xml! i'm pretty sure yes!
if an LG USER CAN CONFIRM THAT CAN BE REALLY USEFULL
maybe a simplest way to deploy provxml on all device
xboxmod said:
http://forum.xda-developers.com/showthread.php?t=912486
Voice to text app for all device. thx eried
Click to expand...
Click to collapse
Works great on Focus! Amazing.
xboxmod said:
i'm checking
i tell you this in a minute but it also need to accept custom provxml
there is other tools to deploy provxml into windows but doesn't accept custom file.
YES
in fact prov xml are in the XAP so really simple to edit and deploy I hope this accept custom xml! i'm pretty sure yes!
if an LG USER CAN CONFIRM THAT CAN BE REALLY USEFULL
maybe a simplest way to deploy provxml on all device
Click to expand...
Click to collapse
THAT'S EXACTLY WHAT I WAS THINKING!
fb is an lg user maybe a PM to him...I figured this could work
now the elusive mfg app...
domineus said:
THAT'S EXACTLY WHAT I WAS THINKING!
fb is an lg user maybe a PM to him...I figured this could work
now the elusive mfg app...
Click to expand...
Click to collapse
I'm looking to use this apps on non lg device
i have send a pm to eried.
if you can ask fb
Looking at LG connection setup source code, it seems indeed that they are using provxml. I'll try to extract the code and build a test app.
thanks a lot
Ok, here is a customized version of the custom theme app that try to use LG DLL if it's not on a HTC device.
WARNING. I don't own an LG, and this method has never been tested by anyone. So use it at your own risk!
XAP here: http://bit.ly/geOBKk
All of these applis don't work with an HD2 ?
Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
I just slightly modified the original code and added a few (probably useful but not sure ) services.
App interface is very simple: run application, focus on barcode, and wait until code is recognized. Touch handset screen to run recognition again.
Buttons description:
- "Save" saves captured barcode to jpeg;
- "Bing" and "Google" used for barcode web lookup (probably this part needs more work)
- "Mail" and "SMS" used for sending recognized code text.
Enjoy!
UPDATE 1: v 1.1, auto focus added;
UPDATE 2: v 1.2, orientation-less UI added, project moved to opensource at googlecode: http://code.google.com/p/barcodescan/
UPDATE 3: v 1.2.1, slightly changed autofocus logic, now works better on HTC. Download link: http://barcodescan.googlecode.com/files/BarcodeScanner.xap
UPDATE 4: v 1.2.2
- barcode search improved;
- added HTC detection, changes in autofocus logic;
http://barcodescan.googlecode.com/files/BarcodeScanner_1.2.2.xap
Is this a marketplace app?
sensboston said:
Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
I just slightly modified the original code and added a few (probably useful but not sure ) services.
App interface is very simple: run application, focus on barcode, and wait until code is recognized. Touch handset screen to run recognition again.
Buttons description:
- "Save" saves captured barcode to jpeg;
- "Bing" and "Google" used for barcode web lookup (probably this part needs more work)
- "Mail" and "SMS" used for sending recognized code text.
Enjoy!
Click to expand...
Click to collapse
I can't seem to get it to do anything. It says 'Scanning...' and I'm trying different distances to codes, but nothing ever happens. Any pointers?
Is this limited to any country or is it just reading out what the barcode says?
OK, lets go through step by step:
- it's not a marketplace app and have no chance to be published 'cause it uses undocumented camera API; you should download and unpack attachment and sideload the app;
- if you can't capture the barcode, try better lighting. Also, move a handset to autofocus camera. In my tests the scanner captured 100% of barcodes: from books, computer part boxes, foodstuff...
- it's not limited to US 'cause (I believe) the barcodes are international. And yes, it's just reads the barcode; however you may bing or google results, in the most cases search engines able to find product/book description or specifications.
It's a very basic scanner; if someone can recommend online API/service to parse barcode value, I can add it to the program (but I really do not want to spend much time for this)
It technically works but the issue is lack of AF or Macro access.
On my Focus, it only works if I scan a barcode off of my PC (do an image search for one) --then it's super fast and quick.
Books, CDs, etc. do not work, regardless of lighting or distance--I suspect because the camera is not trying to AF. Any work around to that?
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
sensboston said:
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
Click to expand...
Click to collapse
Boom.
Working great on Focus now. Nice job. Think I'll try an LG next... bwahaha
As far as changes, no none right now. I'm sure what other apps use for barcode price comparisons--but perhaps a tie into Amazon or eBay would be good. Too bad you can't just jack into ShopSavvy's system with it, lol. If I think of any, will post back.
Edit: Working on LG Quantum too!
sensboston said:
I've tested first on HTC Surround - work perfect (I can prove). But you've right about Focus'es bad autofocus (LOL, sound nonsense - "Focus have no autofocus"!).
Will see what I can do... Any other suggestions or wishes (about barcode lookup, UI, etc.)?
P.S. Fixed (reload version from the first post), now working good on Samsung Focus.
Click to expand...
Click to collapse
hmm, 1.0 wasn't upside down, but 1.1 is upside down on my Focus. Anyone else see this?
davux said:
hmm, 1.0 wasn't upside down, but 1.1 is upside down on my Focus. Anyone else see this?
Click to expand...
Click to collapse
Nope. Fine on my Focus. It does work with accelerometer, you sure that isn't it?
Works well on my HD7! Great job! Hopefully it will tie in with Amazon and save previous searches within the app etc
sensboston said:
Hi guys.
Who wanted a free barcode scanner? Here we are...
No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
Enjoy!
UPDATE: v 1.1, auto focus added;
Click to expand...
Click to collapse
Do you have any interest in releasing the source? I may have some time to improve upon this a bit, but I'd rather not start from scratch (or step on any toes re-creating virtually the same thing).
malatesta said:
Nope. Fine on my Focus. It does work with accelerometer, you sure that isn't it?
Click to expand...
Click to collapse
Good call, I was holding it strangely every time I opened it before. It works great.
davux said:
Do you have any interest in releasing the source? I may have some time to improve upon this a bit, but I'd rather not start from scratch (or step on any toes re-creating virtually the same thing).
Click to expand...
Click to collapse
Why not? I'm really do not have time for that project...
Here we are: http://code.google.com/p/barcodescan/
Send me a PM with your gmail and I'll add you to the project contributors. Do not forget comment each commit, increment solution version and promptly build community release (and upload xap to the project's download page!) - and you allset
BTW, there are many things to improve: better UI (completely orientation-less), additional functionality - commit found barcodes to database etc. etc. etc.
Please review and follow these rules, it appears you aren't following them, you most likely aren't following the template. So fix it quick . It is not a harsh criticism, it is just for consistency and better for the user. PM me for help or support!
If this post is here and your thread is closed, it means that you aren't following them and your intentions are for gain only.
~~Tito~~
problem htc hd7
how do i copy this scanner programme to my htc hd7
i really hate this phone i had a htc touch pro 2 and it was far better can someone help me out here and also if some one can teach me how to customize personal ringtone would be great
Thx for the code. Really usefull to learn from this
Sometimes when you scan a barcode and touch the screen to start again. After a few seconds it stops and shows the last barcode again.
It looks like the UI thread is catching up scanning some images. How to get rid of this?
ajhvdb said:
It looks like the UI thread is catching up scanning some images. How to get rid of this?
Click to expand...
Click to collapse
Sorry, I don't have a time for that application now but it should be significantly refactored.If you want you may join the project and continue development, we can share some ideas for app improvement etc.
As for problem u described, you should play with the different capture resolutions or give some hardcoded "pause" to recognition library Also, MS camera API (still not officially allowed) is not documented and very poor... However it's a great field for experiments and hacks
Thanks! That works great on my HD7.
~~Tito~~ said:
Please review and follow these rules, it appears you aren't following them, you most likely aren't following the template. So fix it quick . It is not a harsh criticism, it is just for consistency and better for the user. PM me for help or support!
If this post is here and your thread is closed, it means that you aren't following them and your intentions are for gain only.
~~Tito~~
Click to expand...
Click to collapse
Please follow up on this!
sensboston said:
Sorry, I don't have a time for that application now but it should be significantly refactored.
Click to expand...
Click to collapse
Im not that experienced in multiple threads. Do you think the problem is in the Zxing lib?
Looking at the code the Zxing lib should have a completed event from which you can restart or show the image.
This code works but is racing and racing in the UI thread and after finding a barcode and restarting it looks like something from a buffer is used..
Code:
private void GrabFrame()
{
Dispatcher.BeginInvoke(() =>
{
if (_Camera != null && CameraVisualizer.Visibility == Visibility.Visible)
{
WriteableBitmap wb = new WriteableBitmap(640, 480);
_Camera.GetCurrentFrame(wb);
wb.Invalidate();
ScanBarcode(wb);
wb.DisposeIfPossible();
GrabFrame();
}
});
}
Have a look at this
http://www.youtube.com/watch?v=jipqNtc_PPU&feature=player_embedded
Our own developer Jaxbot is up to his tricks again, and this time, it's paid off: Finder of a hack that brought instant resuming to Windows Phone 7, he has been developing a full fast app switching/multitasking solution for Windows Phone 7.
Shown in the video above, the preview of the application is triggered by pressing the half shutter button (pressing the camera button halfway, not to the point where the camera would launch), and allows the user to jump between desired applications. The applications run in the background to a degree, as shown with the timer, and no time is required to bring the applications back from their background state. It's all very technical, but rest assure that he will be sharing some more details in the future.
Keep in mind the application is a preview-the interface and how it functions may very well change before release, and no release date is available. But if you're interested in having it on your device, share some thoughts about how you think it should look, function, etc, in the comments below.
Without further ado, watch the video above for a demonstration of fast app switching on Windows Phone 7.
Click to expand...
Click to collapse
Source
Yeah, checked the article out yesterday. Hopefully he'll be releasing something to everyone soon. It's the one thing I'm dying without No third party alarms (as the one MS provides kind of blows) and all this resuming nonsense is becoming slightly annoying.
That looks pretty slick! Would love to see this one in the wild soon, now if I could only get Pandora I would be set.
kwill said:
Yeah, checked the article out yesterday. Hopefully he'll be releasing something to everyone soon. It's the one thing I'm dying without No third party alarms (as the one MS provides kind of blows) and all this resuming nonsense is becoming slightly annoying.
Click to expand...
Click to collapse
Its still work in progress, there are limitations... people work as hard as they can to overcome these limitations and make it work for all devices.
Currently I believe its not possible to automatically find the titles of the running apps, so they are manually added (hardcoded) however they can find the paths to the files... so the remaining thing is getting access to the files in these paths to extract the title and tile image.
However what you see really works, its real and should work with every app once this is accomplished.
Marvin_S said:
Its still work in progress, there are limitations... people work as hard as they can to overcome these limitations and make it work for all devices.
Currently I believe its not possible to automatically find the titles of the running apps, so they are manually added (hardcoded) however they can find the paths to the files... so the remaining thing is getting access to the files in these paths to extract the title and tile image.
However what you see really works, its real and should work with every app once this is accomplished.
Click to expand...
Click to collapse
Thanks a lot for the insight on the operation and the obstacles they have to overcome. I'll be monitoring for any progress or assistance I can provide. Although, I'm sure my non-expert help won't be of much help.
kwill said:
Thanks a lot for the insight on the operation and the obstacles they have to overcome. I'll be monitoring for any progress or assistance I can provide. Although, I'm sure my non-expert help won't be of much help.
Click to expand...
Click to collapse
you can monitor here: http://forum.xda-developers.com/showthread.php?t=1006331
and here: http://forum.xda-developers.com/showthread.php?t=1021135
btw I have nothing to do with the developments, I was just excited by the news and kept contact with Jaxbot who made this app/video with the code wrapper provided by fiinix
Looks great! I like the idea of a half shutter press. Very elegant solution.
Want that app!
Is this app on the video released?????? I can't find any link to download, although it was introduces about 2 years
Hello again
I figured out a quick little change in the WMAppManifest.xml file that allows you to make your XAPs resume, rather than restart, when clicked on from the start menu.
Here's a demonstration:
So here's how it works:
In every WMAppManifest.xml file, located inside the XAPs, there's a line called "DefaultTask". In the Visual Studio IDE, there's little you can do with this line, but if you edit it post-compiling, you can actually do a lot of things. In this case, adding the term ActivationPolicy="Resume" to your DefaultTask will make the application resume the task, rather than replace it (default action). Here's an example:
Original:
Code:
<DefaultTask Name="_default" NavigationPage="PivotPage.xaml" />
Resumable:
Code:
<DefaultTask Name="_default" NavigationPage="PivotPage.xaml" ActivationPolicy="Resume"/>
This follows the same rules as the back button resuming, for example, if my dehydration hack is enabled, the code will resume instantly, and otherwise, it will resume with the usual "resuming..." message. It'll make sense
Should be fairly easy for you guys to figure out, and hopefully we'll see some developers integrate this directly into their code
For the end users, though, I've created a simple tool that does this patch for them, then deploys. Info and download over on my website:
http://windowsphonehacker.com/resumablexap
I'd say more, but I'm in a bit of a hurry. Let me know what you guys think, if you have any questions, etc.
Your friend,
Jaxbot
Awesome. Imma try this in a bit with some .xap files I got stored somewhere... jejeje
Sent from my []D[][]V[][]D ARRIVE using Board Express
thanks for this app
really nice find
Cool hack thanks again
I have been experimenting with some xaps with this.
I found some quirky apps:
- Facebook (u already know)
- IMDB
- NU.nl
- Daily motion (does not play the video anymore)
All others I tested seem to work fine. I did not test any games.
Its probably bad coding or not storing the back history or something.
Thanks for the tool. It helps with productivity.
I btw notice more quirky behaviour with the dehydrate on (I could be mistaken)... how is your batterylife Jaxbot? Is it fine with normal use? Or do we have to be sure to close the apps etc?
Are the apps stored in ram temporarily?
Does it affect general performances if you have 4/5 apps in "soft sleep" ?
Sakem said:
Are the apps stored in ram temporarily?
Does it affect general performances if you have 4/5 apps in "soft sleep" ?
Click to expand...
Click to collapse
If you have my dehydration hack enabled, yes, they're in the RAM.
In my experience, no, the performance isn't really affected (there's a reason for that), and as an example, I've had Twitter open for the last few days and I've seen no negative impacts.
So its an updated version of this one:http://forum.xda-developers.com/showthread.php?t=999475
FPM
FlowerPotmen said:
So its an updated version of this one:http://forum.xda-developers.com/showthread.php?t=999475
FPM
Click to expand...
Click to collapse
Not really. That dehydration hack allowed applications to stay open in the background. This method allows applications to be resumed from that state, directly from the start menu.
Eg, the instant resuming allowed Twitter to be instantly resumed when the lock screen popped up, or when you dive into messages and then click Back.
This allows Twitter to be navigated from, and then returned to, say, a day later, and it will still be where you left it. Nifty, I thought.
Does this new hack improve IM+ functionality? Will the app still have to reconnect with this hack? If so is this related to the lack of sockets in NoDo?
blindpet said:
Does this new hack improve IM+ functionality? Will the app still have to reconnect with this hack? If so is this related to the lack of sockets in NoDo?
Click to expand...
Click to collapse
It has to reconnect yes. This is the way IM+ is coded. However the contacts will still be displayed on the screen so its less annoying for sure.
It will look the same as opening IM+ then exit by pressing windows button, than click back, the exact same effect... only now you will have the same if you press a live tile
Thanks for the quick reply, guess I'll have to wait for Mango for true messaging functionality despite all the hard work of devs.
blindpet said:
Thanks for the quick reply, guess I'll have to wait for Mango for true messaging functionality despite all the hard work of devs.
Click to expand...
Click to collapse
If you use native sockets, you can get around this, but it means you'll have to code your own IM client, which is no fun.
if do this to all of your xap and dehydration hack.
it look like u have real multitask.
parnunu said:
if do this to all of your xap and dehydration hack.
it look like u have real multitask.
Click to expand...
Click to collapse
Indeed yes... Unfortunately in some cases it screws up the order of the backbutton press and you will not be able to "escape" from apps or go back to the main Menu. IMDB, FB, some others as well will have to be recoded in order to work with this hack
posted on wmpu
awesome job jaxbot per usual! cheers!
domineus said:
posted on wmpu
awesome job jaxbot per usual! cheers!
Click to expand...
Click to collapse
Thanks for the post (saw it a second ago), but you need to update it:
This is for *current* Windows Phone builds, not Mango. Mango already has this feature built in.
Eg, if you have a developer unlocked device, you can use this on NoDo, pre-NoDo, RTM, etc. You don't need Mango.
Jaxbot said:
Thanks for the post (saw it a second ago), but you need to update it:
This is for *current* Windows Phone builds, not Mango. Mango already has this feature built in.
Eg, if you have a developer unlocked device, you can use this on NoDo, pre-NoDo, RTM, etc. You don't need Mango.
Click to expand...
Click to collapse
I said that in the article too
domineus said:
I said that in the article too
Click to expand...
Click to collapse
Yes, but this has nothing to do with Mango. In fact, it probably wouldn't even work on Mango.
Regardless, I do appreciate the mention
Jaxbot said:
Yes, but this has nothing to do with Mango. In fact, it probably wouldn't even work on Mango.
Regardless, I do appreciate the mention
Click to expand...
Click to collapse
and I'm sorry too
I've been trying to amend it and it won't amend
However I did note in the comment it works on all devices
I sincerely apologize for the mixup darn thing didn't save at all ><
wordpress fail sorry man
domineus said:
and I'm sorry too
I've been trying to amend it and it won't amend
However I did note in the comment it works on all devices
I sincerely apologize for the mixup darn thing didn't save at all ><
wordpress fail sorry man
Click to expand...
Click to collapse
No worries, I know the drill Just wanted to make sure you knew, wouldn't want trolls getting on ya
Good luck man, and again, thanks for the mention
~Jaxbot
Tada. Here's a little stupid-simple something I made to cure my frustrations.
Whooo. New version, basically wiped up the whole post. Oops.
Anyway, here's orientation lock, an application that, well, locks your orientation. It does this by setting the accelerometer to power state D4, then back to D0 to revive it.
Using DllImport:
Code:
DllImportCaller.lib.StringIntIntCall("coredll", "SetDevicePower", "ACC1:", 1, (int)Phone.Network.WiFi.PowerState.D0);
Simple. Worked on my HD7, Lumia, and Focus. Lmk if you have any issues.
Oh, and known problem: HTC devices detect the accel sensor as active, even when it isn't. Weird. Toggling the button back and forth works, though.
Download: http://windowsphonehacker.com/articles/orientation_lock_release-02-06-12
Cheers!
DeactivateDevice() ACC1: on HTC device will make phone reboot.
ted973 said:
DeactivateDevice() ACC1: on HTC device will make phone reboot.
Click to expand...
Click to collapse
Is that from this application or when you do it using native APIs?
Jaxbot said:
Is that from this application or when you do it using native APIs?
Click to expand...
Click to collapse
oh, i try this before and your app is same result.
DeactivateDevice()
change registry "Dll"
ActivateDeviceEx()
Process above, sometimes works on HTC Device, but it is real "sometimes"!
ted973 said:
oh, i try this before and your app is same result.
DeactivateDevice()
change registry "Dll"
ActivateDeviceEx()
Process above, sometimes works on HTC Device, but it is real "sometimes"!
Click to expand...
Click to collapse
I know you can change it in the registry, but I was hoping for something a little more integrated. I wonder what the deal with HTC is.
Jaxbot said:
I know you can change it in the registry, but I was hoping for something a little more integrated. I wonder what the deal with HTC is.
Click to expand...
Click to collapse
does samsung & lg device have this in registry:
[HKLM\Drivers\BuiltIn\Accelerometer]
"ForegoundModule"="\Windows\TaskHost.exe"
ted973 said:
does samsung & lg device have this in registry:
[HKLM\Drivers\BuiltIn\Accelerometer]
"ForegoundModule"="\Windows\TaskHost.exe"
Click to expand...
Click to collapse
Samsung doesn't, nor does it have all the X Y Z values.
works on focus s, surprisingly....
ManelScout4Life said:
works on focus s, surprisingly....
Click to expand...
Click to collapse
Why wouldn't it? And I saw your comment on Wpcentral, thanks for that. I don't blame anyone, even I get confused with all these different devices and driver versions. Seems only the end consumer has a consistent experience
Jaxbot said:
Why wouldn't it? And I saw your comment on Wpcentral, thanks for that. I don't blame anyone, even I get confused with all these different devices and driver versions. Seems only the end consumer has a consistent experience
Click to expand...
Click to collapse
With all the changes in the gen2 software, I figured it wouldn't work. Just like none of the interop apps work so far I figured this would be on the same boat.
ManelScout4Life said:
With all the changes in the gen2 software, I figured it wouldn't work. Just like none of the interop apps work so far I figured this would be on the same boat.
Click to expand...
Click to collapse
Nah, they don't work because of other changes, but it's a good thought, and I was worried myself. Glad to see it does, though
More specifically, most homebrew interop apps don't work on Samsung Gen2 because they use OEM drivers that are specifically designed to allow apps to do high-privilege things their sandbox normally prevents. In gen2 firmware, Samsung crippled those drivers somehow, locking them down to their own apps only (bears more investigating, but that's the best explanation I've found so far).
This, on the other hand, is simply opening a driver that's built into the phone - all phones, apparently - and is an actual device driver, not a software driver intended forleaving the sandbox. Samsung can't cripple that, or it wouldn't be possible for any app to use the accelerometer. Interop unlock is still required, though - in simple terms, what ID_CAP_INTEROPSERVICES regulates is "Can the app open a direct handle to a driver?" and this app needs to do this.
Update for everyone:
No more interop unlock, now allows toggling. You're welcome =D
http://windowsphonehacker.com/articles/orientation_lock_release-02-06-12
Also a video with my sexy new phone (Lumia 800) in it ^^
http://www.youtube.com/watch?feature=player_embedded&v=7tNiDn-7Szw
Too bad that this can't be put in the Marketplace; it's the kind of app a lot of people have been asking for. All the more reason for Microosft to provide more Chevron Labs unlock tokens, I guess...
EDIT: I guess that having the Sensors capability gives enough permissions to call SetDevicePower on it? I would have expected ERROR_ACCESS_DENIED. In any case, well done. Works on my HD7. One minor bug is that it doesn't remember or detect when disabled, so to re-enable it I have to first toggle to Disabled, then back to Enabled, because when the app is launched it *always* says Enabled. Might be an HTC firmware oddity.
GoodDayToDie said:
Too bad that this can't be put in the Marketplace; it's the kind of app a lot of people have been asking for. All the more reason for Microosft to provide more Chevron Labs unlock tokens, I guess...
Click to expand...
Click to collapse
Exactly. It's harmless, stays at LPC level. Wish Microsoft would let in some more /dangerous/ applications.
Awesome, good job. I've been looking for this. Works well on optimus 7
SetDevicePower really nice solution!!!
One simple fix for HTC, if they always report the accelerometer as available: can you use GetDevicePower? The method signature is the same, except the third parameter is a pointer (which .NET will see as an "out" parameter, if you declare it as such). I'm not sure if DllImport supports those, but it could be done very easily using COM.
Actually, turns out the problem is more universal than I thought. I'll find a fix for it soon, should be simple enough.
Liking this update very much Looking forward to the toggle fix.