Bluetooth low energy application Metro style - windows-8

I want to develop a windows 8 metro app (C# and XAML) which support the bluetooth low energy(BLE) feature. I found a sample Windows Phone app for this.I tried to convert to Windows 8 app, but some features are not supporting in Windows 8 like Windows.Devices.Bluetooth.BluetoothLEDevice . Is there any Windows 8 application for BLE? Please help me.
Please see the link: Windows phone app for BLE
https://code.msdn.microsoft.com/windowsapps/Bluetooth-LE-Explorer-91669105

Related

Handling background data Transfer on windows phone 8.1

I am new to windows phone OS development and I want to implement a background data transfer on windows phone 8.1 and I want to do it even after app is running in background. On windows 8 there is an Windows.Networking.BackgroundTransfer API but what about windows phone OS. Thanks.
Windows.Networking.BackgroundTransfer is in fact supported on windows phone 8.1, here is the sample code : http://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61
But if you want to maintain windows phone 8 support you can use BackgroundTransferService instead. Sample code for it can be found here : http://msdn.microsoft.com/en-us/library/windows/apps/hh202959(v=vs.105).aspx

windows phone 8 and windows 8 tablet

I'm wondering how to develop an app for both Windows Phone 8 and a Windows 8 tablet? When creating a new Windows Phone project in Visual Studio, I don't see any options to target phone and tablet devices like in Xcode. Are there any guidelines or tutorials on how to create the same app for both devices?
As mentioned you need to create two separate projects.
It is possible to create a library called Portable Class Library where you can put code that can be shared between a Windows Phone 8 app and a Windows Store app. See Maximize code reuse between Windows Phone 8 and Windows 8
Another technique mentioned in the article is to use MVVM to be able to separate UI (which differs more between platforms) from logic (which is easier to share).
Although they are using the same core, Windows 8 (RT) and Windows Phone 8 are distinct operating systems. This is different that iPhone/iPad which both run iOS.
You will need to create individual projects for Windows Phone 8 and Windows RT. If you are coding in C#/XAML, the code should be fairly portable between the two platforms. Here is a good session from the Build conference on how to leverage your code across Windows 8 and Windows Phone 8.

What is difference between Windows 8 Mobiles app and Windows 8 metro style app

I am newbie to windows platform.
I have few questions mentioned below.
What's diff between Windows 8 metro style app and the Windows 8 mobile app?
What diff languages I can use to develop windows mobile app?
The answers to above questions will quickstart my windows mobile development.
Waiting for your responses.
They are basically the same except for some API that are available for phone only
Windows Phone 8 now shares a common core with Windows 8. This means you can expect to write apps for one and easily port it to the other, with UI retooling of course. Developers targeting both should use C#/VB + XAML and JS for apps, and C++/D3D for games.
VB/C# + XAML, C++ + DirectX (for complex graphics), JS can be used Windows 8 surface but not with phone (got this from jump start to windows 8)

windows 8 app for mobile device

I am new to Windows Phone applications and Windows 8 Apps. All I know about windows 8 is the metro style and the news that it will run on the PCs, tablets and Phones as well.
I want to get started developing an App for an expected Windows 8 Phone Device. All the guideline I found for windows 8 is for developing the apps for windows 8 tablets or PCs (not phones). Here is a link for windows 8 SDK, I am looking at.
Should I start developing a regular windows 8 app (for tablet) assuming that it will run on the expected upcoming windows 8 phone device?
Does anyone have any idea?
Microsoft has made very few announcements so far on the developer story for Windows Phone 8. What little news has been announced can be viewed in the Windows Phone Summit video here:
http://channel9.msdn.com/Events/Windows-Phone/Summit
The only statement made so far regarding development across the two platforms is that applications developed using C# and Xaml will have "high compatibility" between Windows Phone 8 and Windows 8.
Windows Phone 8 is due out later this year so hopefully development tools aren't far off. If you want to get started right away I recommend you try your hand at developing a Windows 8 application using C# and Xaml. That should catch you up to speed and get you prepared for Windows Phone 8.
You can get started at http://dev.windows.com
I think there is nothing really official about the development of applications windows phone 8 (except as regards the integration of the new features of future devices). Everything in internet indicates that one of the reasons that drove microsoft to update wp7 is precisely the desire to converge development for windows 8 with development for windows phone8. This convergence will be visual (for example the pivot layout will be characterized by a single page horizontally scrollable similar to windows 8 apps) and under the hood (with a kernel very similar).
The enhanced hardware will perform more complex operations (thus tending toward user experience similar to pc).
What we also know that in some metro style app in actual microsoft store someone found comments in the source related to the integration of the app in windows phone 8.
What I can suggest then is to develop your app for windows 8. In all likelihood make the porting to Windows phone 8 will be simple (different sized images for backgrounds, different icons, but side code probably will not change anything).

Developing for WP8 with only WP7 device?

I don't understand from today's WP8 event: will I be able to develop apps working on both 7.5 and 8, having only one 7.5 (7.8) device for testing?
I don't like WP emulator, even though it's better than iOS/Android ones. I know that in Visual Studio 2012 it will become even better. But still!
Current devices running Windows Phone 7.X will be able to be upgraded to Windows Phone 7.8 but not Windows Phone 8.
If you want to use a feature that is specific to WP8 you'll either have to wait for hardware or use the eumlator (when available).
I don't like WP emulator
But you should. The emulator for Windows Phone 8 is a full featured Hyper-V emulator, that can even run unmanaged code.
As pointed out by Matt, you'll not be able to do any deployment of Windows Phone 8 apps to your Windows Phone 7 device, and as such you'll need a new device, or use the emulator.
And as the SDK is likely to be released before any devices, I'll strongly encourage you to do development in the emulator until the real devices are on the market.
You'll have to use Windows Phone 8 emulator, or cross your fingers that the equivalent to XDA-Developers for Windows Phone roots your model of phone and is able to get Windows 8 working(hint: unlikely)
The Windows Phone 8 emulator is really very nice though. The only big troubling thing about it is that it requires hardware Hyper-V support and Windows 8. This means you can't run the phone emulator inside of most virtualization technologies. However, I've been using VMWare 9 which appears to include an "unsupported" feature to allow Hyper-V to work though.. So your only choice for running the phone emulator is to either buy VMWare 9 or upgrade a physical machine to Windows 8