ContentDialog on Screen Timeou - Windows Phone 8 Development and Hacking

In my app im showing up a custom ContentDialog. Now my question is, how can i prevent of hiding the ContentDialog, when the Phone was put in standby (turn off display). After turn on the display, the ContentDialog is not showing anymore.

andy123456 said:
In my app im showing up a custom ContentDialog. Now my question is, how can i prevent of hiding the ContentDialog, when the Phone was put in standby (turn off display). After turn on the display, the ContentDialog is not showing anymore.
Click to expand...
Click to collapse
Your app is unable to run in background
Use geolocation and ID_CAP_LOCATION to run app in bg
Problem will be solved

Im using windows phone store app, do i need there also geolocation capability to do this?

andy123456 said:
Im using windows phone store app, do i need there also geolocation capability to do this?
Click to expand...
Click to collapse
I don't know about Windows Store apps
you have to run your app under LockScreen or background anyway
You can use MSDN search for possible ways to do that .
Best Regards
NGame

I did not found a way to do this. It seems to be only available on silverlight apps. Correct me, if i am wrong.

andy123456 said:
I did not found a way to do this. It seems to be only available on silverlight apps. Correct me, if i am wrong.
Click to expand...
Click to collapse
surely you are wrong .
at least there's one way and I'm sure about it .
BackgroundMediaPlayer
---------- Post added at 04:41 PM ---------- Previous post was at 04:34 PM ----------
andy123456 said:
I did not found a way to do this. It seems to be only available on silverlight apps. Correct me, if i am wrong.
Click to expand...
Click to collapse
Using these links can help :
http://stackoverflow.com/questions/22698669/how-to-add-background-task-to-windows-store-app
http://msdn.microsoft.com/en-us/library/windows/apps/dn263238.aspx
https://social.msdn.microsoft.com/S... in background in c#&emptyWatermark=true&ac=4

Related

A few odd discoveries I've made

Most of what I've found isn't odd, or even new, but it's interesting to me.
1. My Nook is able to ignore my school's proxy servers. With all of the computers in here, whether I'm using the XP on them or a bootable USB, I need to configure it to use the proxy server. I don't know why my Nook is able to get past it without me having to enter anything, but I kind of like it.
2. If the Nook is in landscape orientation and I tell it to shut down, the shutdown image is rotated and there are black borders around it. Also, the same thing applies to the screen saver.
3. Several times when I go to do something, it just reboots, but when it does it's about 20% faster than normal. When it pulls back up, the screen saver is still the same as it was before, not the normal Authors background that I get when I shut it down normally and boot it back up.
[I'll add more as I remember then]
I haven't been able to ignore those same proxies as you. Is there anything that you have done that I need to do, or does it just do it?
It just gets through some how. I don't do anything to tweak it, it simply works. This message also proof that it gets through some how.
Sent from my NOOK using XDA App
brendan10211 said:
I haven't been able to ignore those same proxies as you. Is there anything that you have done that I need to do, or does it just do it?
Click to expand...
Click to collapse
http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol
---------- Post added at 12:25 AM ---------- Previous post was at 12:22 AM ----------
Googie2149 said:
2. If the Nook is in landscape orientation and I tell it to shut down, the shutdown image is rotated and there are black borders around it. Also, the same thing applies to the screen saver.
Click to expand...
Click to collapse
Same here.
I guess, B&N didn't bother to check if orientation was changed in every program they wrote. It's not supposed to change after all, right?
I guess B&N forgot to remove the entirety of android.
Thanks for the link..
brendan10211 said:
I guess B&N forgot to remove the entirety of android.
Thanks for the link..
Click to expand...
Click to collapse
You are welcome

[Q] Camera disabled by system administrator

I am getting a popup when I try to launch my camera that says "Camera has been disabled by your System Administrator" ... has anyone else seen this, have a fix for it?
thedford said:
I am getting a popup when I try to launch my camera that says "Camera has been disabled by your System Administrator" ... has anyone else seen this, have a fix for it?
Click to expand...
Click to collapse
Hi there,
The only thing that I can imagine this would be is an application or email client that is restricting your device's capabilities. Travel to setting/security & screen lock/device administrators, and see if any applications are enabled as device admins. If so, remove the app/apps until you determine which one was stopping your camera function. Hope this helps you out
RAZR
ShadowRAZR said:
Hi there,
The only thing that I can imagine this would be is an application or email client that is restricting your device's capabilities. Travel to setting/security & screen lock/device administrators, and see if any applications are enabled as device admins. If so, remove the app/apps until you determine which one was stopping your camera function. Hope this helps you out
RAZR
Click to expand...
Click to collapse
Turns out it was our Corporate Email (Good For Enterprise). I appreciate your response.
thedford said:
Turns out it was our Corporate Email (Good For Enterprise). I appreciate your response.
Click to expand...
Click to collapse
No problem I'm open to a message if you need anymore assistance.
Sent from my XT905 RAZR M with Root access. XDA Premium
i am having the same problem except when i tried to do that it said the same thing that its blocked by the system administrator
---------- Post added at 06:50 PM ---------- Previous post was at 06:45 PM ----------
ShadowRAZR said:
Hi there,
The only thing that I can imagine this would be is an application or email client that is restricting your device's capabilities. Travel to setting/security & screen lock/device administrators, and see if any applications are enabled as device admins. If so, remove the app/apps until you determine which one was stopping your camera function. Hope this helps you out
RAZR
Click to expand...
Click to collapse
i am having the same problem except when i follow your instructions they same thing that the app is blocked by the system administrator.:crying:

Controlling system volume

As far as we know, there is no documented way or API to change system-wide volume on WP8, however...
It looks like author of the Quiet Hours application found an udocumented way to do this! Probably he is using ISimpleAudioVolume interface but I really don't know...
Any thoughts?
P.S. Guys with interop-unlocked handsets: could you please install the app and download/post the executable/assembly?
Look here: http://forum.xda-developers.com/showthread.php?t=2594420
Seems like the quiet hours dev just monetized his idea..
sensboston said:
As far as we know, there is no documented way or API to change system-wide volume on WP8, however...
It looks like author of the Quiet Hours application found an udocumented way to do this! Probably he is using ISimpleAudioVolume interface but I really don't know...
Any thoughts?
P.S. Guys with interop-unlocked handsets: could you please install the app and download/post the executable/assembly?
Click to expand...
Click to collapse
I tried this app it didn't work for me i set time but it can't set my phone in silent mode.
I'm really interested that this app can change system volume.
I remember there was an app for fully unlocked wp7 devices to change system volume but now i can't find it.
Maybe Ativ S users with Interop Unlock and Full FS can help with this. They can get app files and upload them to check how is it possible.
I looked for decrypted xap file but i didn't find that
---------- Post added at 05:25 PM ---------- Previous post was at 05:22 PM ----------
th0mas96 said:
Look here: http://forum.xda-developers.com/showthread.php?t=2594420
Seems like the quiet hours dev just monetized his idea..
Click to expand...
Click to collapse
no quiet hours dev is developer of pocket file manager
th0mas96 said:
Look here: http://forum.xda-developers.com/showthread.php?t=2594420
Seems like the quiet hours dev just monetized his idea..
Click to expand...
Click to collapse
Yep, looks like the void Shell_AdjustVolume(int) call is exactly what he's using... Hmm, I need to try myself!
ngame said:
I tried this app it didn't work for me i set time but it can't set my phone in silent mode.
Click to expand...
Click to collapse
Try to pin app first, and manually toggle the volume by tapping tile (you don't need to wait 30 minutes).
sensboston said:
Yep, looks like the void Shell_AdjustVolume(int) call is exactly what he's using... Hmm, I need to try myself!
Try to pin app first, and manually toggle the volume by tapping tile (you don't need to wait 30 minutes).
Click to expand...
Click to collapse
I tried waiting over 1 hours to be silent but didn't work .
I know Pin tile work it has no problems but working with time is better .
Adjusts the volume by the number of steps specified either up (positive) or down (negative).
Code:
HRESULT Shell_AdjustVolume(int numberOfSteps);
I also noticed that if you set the volume to 0, and play a WhatsApp voice message, it plays on full volume although it is set to mute. Anyone know how this is done? It would be cool to be able to use this to set important reminders
AlvinPhilemon said:
I also noticed that if you set the volume to 0, and play a WhatsApp voice message, it plays on full volume although it is set to mute. Anyone know how this is done? It would be cool to be able to use this to set important reminders
Click to expand...
Click to collapse
What'sApp voice messages use the "phone call" volume (/10) instead of the normal system (/30) volume. So it doesn't matter if your system volume is muted the app will use the headset phone call volume...
Sent from my RM-820_nam_canada_200 using Tapatalk
There are serveral ways can get the pointer of LoadLibraryExW. Then your xap can upload to market with any api
reker said:
There are serveral ways can get the pointer of LoadLibraryExW. Then your xap can upload to market with any api
Click to expand...
Click to collapse
Could you please list your "several ways"? Thanks!
P.S. I know the only one; and AFAIK, it's very unique and tricky...
P.P.S. I already got answer on my question, and tested the "unapproved" API's via Windows Store (not published but beta)

[Q] Settings Rooted Note 3

Hi, I recently rooted my Note 3. I used to have any iPhone 5 that I jailbreak that had a good app that could hide (minimise) certain settings in the settings menu that you don't need. Is there any app out there for this. I have searched google and the app store to no avail.
This would be really helpful if one exists and I would be very grateful if someone could let me know, I really want to hide easy mode etc...
Thanks
Regards
Will
Anyone got anything?
No one has anything?
Remove or greenify the app you Don t need but you can t hide in settings
Hi
rayman95 said:
Remove or greenify the app you Don t need but you can t hide in settings
Click to expand...
Click to collapse
I mean standard settings. For example hide Wi-Fi and flight mode and data usage etc.. Just to minimize stuff that takes up space.
Thanks
garnerwills said:
I mean standard settings. For example hide Wi-Fi and flight mode and data usage etc.. Just to minimize stuff that takes up space.
Thanks
Click to expand...
Click to collapse
I understand well but I Don t know. ...
rayman95 said:
I understand well but I Don t know. ...
Click to expand...
Click to collapse
Ok thanks
If you were a developper, maybe (I'm not too sure...) you should do some changes in the "sec.Settings.apk" and associates.
In fact, many custom Rom's have a "developper section ". But this is to ADD features, not to hide it...
AOSP/AOKP Rom's seem to bemore flexible about this. Get a look to that world. But, then, forgot TW world.
aftnoon2 said:
If you were a developper, maybe (I'm not too sure...) you should do some changes in the "sec.Settings.apk" and associates.
In fact, many custom Rom's have a "developper section ". But this is to ADD features, not to hide it...
AOSP/AOKP Rom's seem to bemore flexible about this. Get a look to that world. But, then, forgot TW world.
Click to expand...
Click to collapse
AOSP/AOKP does not have the mentioned setting removal option.
---------- Post added at 11:30 PM ---------- Previous post was at 11:27 PM ----------
garnerwills said:
Hi, I recently rooted my Note 3. I used to have any iPhone 5 that I jailbreak that had a good app that could hide (minimise) certain settings in the settings menu that you don't need. Is there any app out there for this. I have searched google and the app store to no avail.
This would be really helpful if one exists and I would be very grateful if someone could let me know, I really want to hide easy mode etc...
Thanks
Regards
Will
Click to expand...
Click to collapse
Try this, it should work the same way.
http://forum.xda-developers.com/showthread.php?t=2184207
Thanks all

[Q&A] [ROM][4.4.4][OFFICIAL][D800/801/802/803/LSVS980] LiquidSmooth [10/10]

Q&A for [ROM][4.4.4][OFFICIAL][D800/801/802/803/LSVS980] LiquidSmooth [10/10]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer. Thanks for understanding and for helping to keep XDA neat and tidy! :smile:
Everything seems to work, but I installed the LG stock camera built for AOSP roms on here, and it doesnt open, it starts up, shows the camera shutter icon in the middle of the screen, and then blanks out... no FC... just blanks out, leaving the navigation bar buttons only.. anyone else have this issue?
I want the modem as ls rom not showing network excess please provide thanks
Sent from my LG-LS980 using XDA Free mobile app
What's the name of the feature when I slide the notification left it opens up in a window or something? How do I disable it? It always crashed on me when I tried it with hangouts, using the latest build.
Autorotate
Hi!
i really love this ROM, but Auto Rotation doesnt work. I installed the 10/10 with full wipe but no rotation.
barklight said:
What's the name of the feature when I slide the notification left it opens up in a window or something? How do I disable it? It always crashed on me when I tried it with hangouts, using the latest build.
Click to expand...
Click to collapse
In settings/backup & reset/reset preferences
---------- Post added at 06:17 PM ---------- Previous post was at 06:15 PM ----------
vimal_jakmola said:
I want the modem as ls rom not showing network excess please provide thanks
Sent from my LG-LS980 using XDA Free mobile app
Click to expand...
Click to collapse
You just need to be on the stock kitkat modem. They're over here
---------- Post added at 06:19 PM ---------- Previous post was at 06:17 PM ----------
nabi81 said:
Hi!
i really love this ROM, but Auto Rotation doesnt work. I installed the 10/10 with full wipe but no rotation.
Click to expand...
Click to collapse
That's weird. rotation works for me, on the stock modem. Try this
Baseband Modem
Art Vanderlay said:
In settings/backup & reset/reset preferences
---------- Post added at 06:17 PM ---------- Previous post was at 06:15 PM ----------
You just need to be on the stock kitkat modem. They're over here
---------- Post added at 06:19 PM ---------- Previous post was at 06:17 PM ----------
That's weird. rotation works for me, on the stock modem. Try this
Click to expand...
Click to collapse
Ok thank you. My mistake was, that i flashed a AOSP Baseband Modem and not the KK Modem. After flashing the KK Modem now everything works fine.
DSB?
moved....
I'm noticing that in most applications when I bring up the Google keyboard, it covers up at least half of the typing area and also any send button that maybe in the application but not on the keyboard itself. Does anybody know how I may be able to fix this? I'm finding typing in this ROM very difficult. Mistakes are coming up that I swear have never happened in any other rom work keyboard I've used. Is this possibly a scaling issue? Thanks for any help someone may be able to offer.
pilotgav said:
I'm noticing that in most applications when I bring up the Google keyboard, it covers up at least half of the typing area and also any send button that maybe in the application but not on the keyboard itself. Does anybody know how I may be able to fix this? I'm finding typing in this ROM very difficult. Mistakes are coming up that I swear have never happened in any other rom work keyboard I've used. Is this possibly a scaling issue? Thanks for any help someone may be able to offer.
Click to expand...
Click to collapse
I noticed it to but after I replaced the stock keyboard with this themed Google one from Shaftamle I'm not having it.
Arrgh... Getting message that I don't have permission to post screenie wth?
sent from my Liquidsmoothed LG-VS980
Anyone got tips on how to get GPS to work? Tried different gpsconfigs and apps that update aGPS info. No dice.
Sent from my LG-LS980
Ascertion said:
Anyone got tips on how to get GPS to work? Tried different gpsconfigs and apps that update aGPS info. No dice.
Click to expand...
Click to collapse
I had to double check some stuff and what i found seemed to confirm what I have read around here. I dont have the Sprint variant but there are quite a few people that seem to have your same problem on the ls980 after leaving stock. From what i gather the most used method is to flash all the way back to stock and get a gps lock. copy your gps.conf file to your pc and then copy that over after you flash your custom rom.
It doesnt seem to be a guarantee a fix either but has worked for some people.
---------- Post added at 02:56 AM ---------- Previous post was at 02:41 AM ----------
pilotgav said:
I'm noticing that in most applications when I bring up the Google keyboard, it covers up at least half of the typing area and also any send button that maybe in the application but not on the keyboard itself. Does anybody know how I may be able to fix this? I'm finding typing in this ROM very difficult. Mistakes are coming up that I swear have never happened in any other rom work keyboard I've used. Is this possibly a scaling issue? Thanks for any help someone may be able to offer.
Click to expand...
Click to collapse
Mixed Answer. Most AOSP roms *unless drastically changed* will have terrible scaling on devices with our screen. its because at 480 dpi everything gets stretched out and thats why some menus and items will seem out of place on install. Now some keyboards are better than others. i find the recent google keyboard *not in the playstore* works great but I also scale my device to either 440 dpi or 420 dpi and that seems to be a perfect fit.
daryelv said:
moved....
Click to expand...
Click to collapse
this was changed i realized but...On DSB and other newer features coming down to LS Rev3nt3ch doesnt really have much say in if these features get added. He is simply building what the LS devs add and then push those for our device. To put it simply...any new 'features' will have to be added by the LS devs first..
What's everyone's governor preference and why?
http://androidforums.com/xperia-mini-all-things-root/513426-android-cpu-governors-explained.html
This may not cover all and bacon, which I use, is fairly new. I think bacon is somewhat of a hybrid of ondemand and the intellidemand. It appears to ramp up fairly quickly and back down while not going all the way to max CPU if not needed...this is a plus for battery life
Sent from my LG-D800 using XDA Free mobile app
What could be causing this wakelock?
I use lion tamer for wakelocks. Google services have been out of control lately depending on how many location services you use...google now is a big culprit unfortunately
Sent from my LG-D800 using XDA Free mobile app
LGStreamingplayer
Coming from Stock-ROM and really like the LGStreamingplayer but can't get it to work. Tried putting into data/app and system/app with permission rw-r-r but doesn't work.
Any idea how to get it to work? or is it simply not compatible with AOSP?
Play Market problem
after latest firmware and gapps installed, found that can not connect to Market- says no connection
OLegGio said:
after latest firmware and gapps installed, found that can not connect to Market- says no connection
Click to expand...
Click to collapse
Try a reboot
dirty flashing on d802 still having auto brightness issues
will try clean flash later

Categories

Resources