×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2014
    Posts
    2

    Is it possible to create own driver to Nokia lumia Phones?

    I need to know is it any way to develop own USB drivers to different devices (like barometer, hygrometer etc)? i read about OEM developing, but i understood that it is unpossible to write such drivers for Lumia.

    And another question: i want to develop an background apllication that would triiger on sensors on blocked phones. For example:
    double tap - to unblock phone.
    shake phone - to open camera.
    I know than it is unpossible to create such programm (because there is no access to those API on blocke devices).
    So could I use OEM development section? I understood that i could not, that is very sad.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Is it possible to create own driver to Nokia lumia Phones?

    Quote Originally Posted by MOV View Post
    I need to know is it any way to develop own USB drivers to different devices (like barometer, hygrometer etc)? i read about OEM developing, but i understood that it is unpossible to write such drivers for Lumia.
    It is complicated on multiple levels:
    - generic USB has an asymmetrical design, http://en.wikipedia.org/wiki/USB#System_design. It is already visible in the physical design, but it is also there in the protocol and circuit levels
    - USB-On-The-Go (http://en.wikipedia.org/wiki/USB_On-The-Go) is the special extension which allows implementation of USB devices which can act both as host and as peripheral endpoints. The electronics part for it is not present in arbitrary WP devices, and according to this rather new discussion, http://forums.wpcentral.com/windows-...d-out-yet.html, USB OTG is just not working right now, maybe in the future, "real" WP 8.1
    - drivers are generally hard to implement for operating systems having no documentation for driver development. While desktop Windows has DDK/WDK, there is no such thing for WP
    - installing drivers on an OS explicitly restricting 3rd party applications from accessing OS internals, that is even harder
    Of course here we are discussing about development for vanilla WP devices, no hacks/jailbreaks, etc.

    And another question: i want to develop an background apllication that would triiger on sensors on blocked phones. For example:
    double tap - to unblock phone.
    shake phone - to open camera.
    I know than it is unpossible to create such programm (because there is no access to those API on blocke devices).
    I do not know if there are sensor API restrictions for background agents, but the general thing is that background agents do not run all the time. See http://msdn.microsoft.com/en-us/libr...PeriodicAgents
    So could I use OEM development section? I understood that i could not, that is very sad.
    Is there such section?

  3. #3
    Registered User
    Join Date
    Jul 2014
    Posts
    2

    Re: Is it possible to create own driver to Nokia lumia Phones?

    Thank you.
    So? as ia inderstood:
    1. It is not possible to make own driver.
    2.
    I do not know if there are sensor API restrictions for background agents,
    From dev.windowsphone.com: Microsoft.Devices.Sensors - All APIs in this namespace are unsupported.
    But OEM Developers have possibilities to create own drivers, but needed to create new phone image :
    From https://dev.windowsphone.com/en-US/O..._Windows_Phone
    Windows Phone drivers cannot be installed at run-time and do not support co-installers. Windows Phone drivers must be included in a package that is built into a phone image.
    So yes- WP is safe system, but not customizable...

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2013
    Location
    Dublin, Ireland
    Posts
    544

    Re: Is it possible to create own driver to Nokia lumia Phones?

    Quote Originally Posted by MOV View Post
    So yes- WP is safe system, but not customizable...
    Yes - user safety is the most important reason.

    If you want to use external sensors, Bluetooth LE is the best option - connecting a device via USB to the phone is not the future.

Similar Threads

  1. Suggestion for Nokia Lumia phones
    By weatherckw in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 1
    Last Post: 2014-05-19, 13:24
  2. my nokia lumia 520 askig for driver i can install zune but askig for driver plz help
    By anil_prajapati20 in forum General Development Questions
    Replies: 1
    Last Post: 2013-04-19, 07:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×