[Q] Autostart Phone7 app after power on - Windows Phone 7 Q&A, Help & Troubleshooting

I am thinking of using a phone 7.5 (htc mozart) as a (kind of very stylish ) video door bell / code lock at my home-door. Yust want to fix it behind some alu-cover and mount it on the door. Connection to my Home-Server and a a tablet for video by wlan, the door-lock is opened by a relays powered by a arduino microcontroller.
Can anyone think of a way to start the app on power-on (without lock screen or having to tap the app)? I dont want to manually restart the app after every Power-Outage... Do i need some kind of unlock (which one)?

It would definitley be possible with full-unlock (custom ROM). Root-unlock may be sufficient as well, as that gives the ability to access the filesystem and add Startup entries.

Related

[DEV] trying to develop auto-BT-sync using mortscript.

I had no luck finding a software that will automatically syncronize my laptop with the device using activesync when the devices are in BT proximity - if someone knows of such a software please let me know.
well the concept i am trying to achieve is a script that will have a running time interval and will :
1) verify that the device is in standby
2) wake up the device
3) connect via BT and sync
4) go to standby again (syncing in the background)
this way the whole calendar and files syncing is user transparent (like in Nokia s60 devices)
I tried using the new BlueStarter freeware to launch a script but it's too laggy and won't work when the device is in standby.
the help i'm after is this :
1. if someone has any knowledge of the activesync (repllog.exe) command line syntax, i couldn't find it anywhere. if there's a way to have it connect and sync through BT it would spare me the need to go through the menus with emulated key presses (which can be a bit buggy as i noticed)
2. a way to wake up the device from standby using a mortscript command. or running a file. probably also a way to bypass any screen locking SW will be needed but let's cross that bridge when we'll get there.
3. more important is a way to indicate that the device is in standby prior to waking it. (i don't want this script to launch during calls, videos etc...)
so that's it for now, if someone knows of something that might be helpful please repond as this lack of automatic BT sync drives me crazy (i am a former nokia user).
1. this thread will be moved to the Q&A section.
2. this is a guide i wrote on how to do that.. including a mortscript and the use of bluestarter...
http://forum.xda-developers.com/showthread.php?t=466909&highlight=guides

[Q] Connection Setup

So I am on Simple Mobile on an unlocked Tmobile HD7. The problem is that everytime I run the HTC Connection Setup the phone detects Tmobile as the default conncection (which is because Simple Mobile does use Tmobile networks)
however when I manually select Simple Mobile from the provider list. MMS/Picture Message seems to work fine. Of course given the fact that Data Connection is active and we don't have much APN settings for MMS on Windows Phone Mango (yet).
So I was wondering if instead of using the HTC Connection Setup if I use some other OEM connection setup app like that of Nokia or Samsung using the xap marketplace changer,
would it still work ??? I don't want to run HTC Connection Setup again and again for it might relock my deepshining custom ROM.
Please answer.
It won't work. The various setup apps work using a type of configuration file called provxml. In order to have the permissions to apply these files, the apps need to call into a high-privilege system component (a software driver, usually). These components are OEM-specific (they're part of the OEM firmware, not part of the Microsoft OS) and therefore each app targets its own OEM's component. Connection Setup won't work on any phone without the HtcProvisionDrv.dll driver binary (so, on any non-HTC phone), and the other apps won't find the component they need on an HTC phone.
That said, why are you worried about relocking? That doesn't make sense. First of all, there's no reason why that would happen (you'd have to install the equivelent of the HTC Interop Unlock XAP, but with the provxml files set to lock the phone instead of unlocking). Second of all, a Full-Unlock ROM like yours doesn't need to worry about that anyhow. That's baked into the ROM and can't be removed without re-flashing the phone.
GoodDayToDie said:
It won't work. The various setup apps work using a type of configuration file called provxml. In order to have the permissions to apply these files, the apps need to call into a high-privilege system component (a software driver, usually). These components are OEM-specific (they're part of the OEM firmware, not part of the Microsoft OS) and therefore each app targets its own OEM's component. Connection Setup won't work on any phone without the HtcProvisionDrv.dll driver binary (so, on any non-HTC phone), and the other apps won't find the component they need on an HTC phone.
That said, why are you worried about relocking? That doesn't make sense. First of all, there's no reason why that would happen (you'd have to install the equivelent of the HTC Interop Unlock XAP, but with the provxml files set to lock the phone instead of unlocking). Second of all, a Full-Unlock ROM like yours doesn't need to worry about that anyhow. That's baked into the ROM and can't be removed without re-flashing the phone.
Click to expand...
Click to collapse
ok...got it...thanks for your reply. Well I was worried because I read it somewhere that running HTC Connection Setup might lock the device again. Can't remember where. Anyways it really is annoying to run the setup again and again...I wish there was a registry fix to input the MMS settings manually.

[Q] Locking phone on specific message (app idea)

Hello everyone !
My question is about (Android) an app that would lock the phone if it receives a specific type of message. (Mostly in any case of stolen or lost phone)
I know those apps exists in many kinds. But the thing I imagine is a really "powerful" app, that would lock everything, disable almost everything (screen too), every buttons (even power button so it won't be switched off), etc. But yet it lets GPS on, and for example, it sends messages every 2 minutes with the exact location.
Plus, I suppose it will be recommended on phones without removable batteries. The only way for the "robber" (if there is one) is to know how to access recovery, etc.
The phone can be reactivated by another specific message, I suppose, but that's not the point. The subject is more about locking the phone to its maximum.
The thing is, I don't know anything about coding on Android, that's why I tell you this. And also, I suppose it will need root access to disable all those things, so it will be even harder, even if I wanted to create the app ...
Do you think such an app exists (or could be created) ? Can you inform me a bit more about this ?
Thanks everyone !
Up, anyone ? ^^'

[Q] Unlock PC with phone (NFC)

Heya,
So I had this idea where I'd unlock my PC with my phone. Here's how I thought it could work:
I have 2 users on my PC, me and my girl, however, on the same account, so no need to switch accounts. Depending on which phone I use to unlock it (via NFC, no idea how) it should:
For me:
- Unlock screen
- Run certain apps
- Set skype to online from away
- Play music
For girl:
- Unlock screen
- Run certain apps
- Leave skype away
- Play music
Upon removal of the phone from the dock (?) it should lock the pc and kill the apps etc. I know how to task all this but here are the questions:
- How do I lock my PC in such manner that it can't be accessed in any other way other then unlocking it with NFC (screen/keyboard/mouse lock, processes online should still be running)?
- How do I trigger all this with an NFC tag?
Thanks!
Loldawg said:
Heya,
So I had this idea where I'd unlock my PC with my phone. Here's how I thought it could work:
I have 2 users on my PC, me and my girl, however, on the same account, so no need to switch accounts. Depending on which phone I use to unlock it (via NFC, no idea how) it should:
For me:
- Unlock screen
- Run certain apps
- Set skype to online from away
- Play music
For girl:
- Unlock screen
- Run certain apps
- Leave skype away
- Play music
Upon removal of the phone from the dock (?) it should lock the pc and kill the apps etc. I know how to task all this but here are the questions:
- How do I lock my PC in such manner that it can't be accessed in any other way other then unlocking it with NFC (screen/keyboard/mouse lock, processes online should still be running)?
- How do I trigger all this with an NFC tag?
Thanks!
Click to expand...
Click to collapse
Do research lazy bum
Sent from my Nexus 7 using xda app-developers app
androidsoccer said:
Do research lazy bum
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I think I looked over all threads that come up when you search for NFC on the forums >.> But sure, I'll look more
I don't believe there's any technology that would allow you to do that, currently. There'd have to be much tighter integration between your phone and desktop OS and I think if anyone is going to do that it's probably going to be Apple and not a random Android phone vendor.
I thought about the experience that you're trying to create and I think one way that could be realized in the future is if your phone IS your whole PC, and docking your phone just connects it to external resources: monitor, keyboard, mouse, speakers, and other peripherals. When you're done, you just undock and someone else can dock their phone in. There could be kiosks for this in internet cafes and at the airport where you can work and charge your phone at the same time. Maybe the dock would connect you to wired internet service too, so while you were docked you didn't need to worry about mobile data coverage and usage. Phones are relatively limited in storage space but with network-attached storage and cloud-hosting you could have access to all the data you need.
Well those are my thoughts. Sorry I couldn't give you a solution but it might be 10 years too early for one.
Damn. It sounded so good locking your pc with something you carry rather then having an usb just to unlock it. Oh well thanks for the reply I hope someone looks into it. Would enhance work security too, even if someone gained access to your work pc they would still need your phone to abuse it.
Thanks again!
Sent from my Nexus 7 using Tapatalk HD
The Idea isn't bad at all.
What you would have to do to get it to work is to write your own CSP to allow Windows to use your device as it:s logon credential.
IT's the same framework that smartcard pluggins andd so on uses so it's not impossible. MS built in the capability to extend the login functions but it won't be easy
mace2442 said:
The Idea isn't bad at all.
What you would have to do to get it to work is to write your own CSP to allow Windows to use your device as it:s logon credential.
IT's the same framework that smartcard pluggins andd so on uses so it's not impossible. MS built in the capability to extend the login functions but it won't be easy
Click to expand...
Click to collapse
I'm basically looking to lock screen/keyboard/mouse only, not necessarily log out the user, as I want background programs to keep running. Now I have no idea if a PC can know which phone is tapped into the NFC. Basic idea would be to have sticker/reader on the desk, put the phone there and use PC. Upon removal, the PC would be locked. From what I understand, NFC has 2 modes (like connected and not) so it wouldn't be a battery drain. Or would it
Loldawg said:
I'm basically looking to lock screen/keyboard/mouse only, not necessarily log out the user, as I want background programs to keep running. Now I have no idea if a PC can know which phone is tapped into the NFC. Basic idea would be to have sticker/reader on the desk, put the phone there and use PC. Upon removal, the PC would be locked. From what I understand, NFC has 2 modes (like connected and not) so it wouldn't be a battery drain. Or would it
Click to expand...
Click to collapse
locking/unlocking is handled through the same components as login/logout so it will be the same type of
code/system calls anyway It will be a lot less for only locking so it will be easier though :good:
mace2442 said:
locking/unlocking is handled through the same components as login/logout so it will be the same type of
code/system calls anyway It will be a lot less for only locking so it will be easier though :good:
Click to expand...
Click to collapse
Aye =) I'm gonna dive into this, my dev is busy with some other work, but I think he can pull this off. Would be interesting to see it anyway, maybe do a GUI with basic functions like login skype to this user, play this music, open up this chrome etc.. Does a dime on effectivness with shared computers @ work or at home.
Next step might be to make user specific files - Sonya/Download for instance - inacessible for anyone but the owner.
If anyone knows an open source project that has some of the lock functions already, but is made for USB locks or anything, do let me know it will speed up the process. I plan on sharing the app here for free anyways ^.^
Cheers

Remote Device Control - Black Screen in Apps after Update?

It would be very helpful and a life-changing safety enhancement for me to be able to remote view + control my son's S10e (he is age 6) when he is not with me, specifically for one app (Omnipod 5) to help manage Type 1 Diabetes.
When I first set up this phone, I tested with TeamViewer from a remote device to the S10e and was able to see the S10e screen, open the app I needed, tap around to control the app, etc.
Between that successful testing with TeamViewer and pairing the first glucose management device to the phone via the Omnipod app, I got 2 software updates to the S10e and took them both.
Now, when I use TeamViewer (or scrcpy or any similar tool), the Omnipod 5 app is controllable (ie, I can tap and issue clicks remotely), but the screen is not viewable - it is just a black screen on the remote device. Other apps/launcher/etc. work fine (can view and control remotely).
I suspect this might be something that was enabled as a security policy after taking one of those two updates that came through. The other option I thinDoes this sound right? If so, would downgrading to an earlier version of the stock OS perhaps resolve this issue? Looking for help on ideas to try to get remote control up and running on this app again.
Note: supposedly (according to the app manufacturer), the app has root detection (I am not currently rooted) and will block the app if rooted. I have not rooted for this reason, am happy to try it and can play with bypass solutions, but also want to be sure I can completely unroot if needed, to a stock state, to be sure the needed app will run if it detects root.
Thanks in advance for any help - I'm a bit rusty and this will truly be a life changing setup for my son if we can figure it out.
Bump… anyone?

Categories

Resources