Single application for touch and non-touch blackberry devices? - blackberry

Do i have to write different applications for Blackberry touch devices and Blackberry non-touch devices? or single application works for both?
Any suggestions for writing code for device using trackball or touch or both?
Suggest some references for the same.
Very much confused regarding
Which OS is to be targeted.
What devices should we acquire from client for testing the application?

I'm assuming we're talking about Java apps here. If so, the same application will work on both touchscreen and non-touchscreen devices. You can use the Touchscreen.isSupported() API to determine what kind of device you're on.

Related

Bluetooth iOS Windows

I recently developed an application for a client, an app iOS, Android and windows, the mobile app acts as a controller and launches certain events on the windows application. The Windows application also shares data at random (not known to the mobile app) moments. The communication was done by TCP. And works great.
The client now wants it for bluetooth. Between Android and Windows, it's not been a problem and has been done, and works well. But iOS is sadly not the same story... The use of Bluetooth low energy seems to complicate things.
I've hunted high and low on google to find anything on communication between a .net application and a Swift application, to no avail. This surprises me that no one talks of a bluetooth communication between Windows and iOS.
My question is, very simply. Is it possible? I know very little about bluetooth and I've tried researching devices and all I find is a BeeWi device that's in our office, not my computer (I maybe need to launch something on computer first? The devices are paired)
My computer has a Bluetooth 4.0 dongle and the BLE emulator is present in the Device manager.
If this isn' possible, tell me know and put me out of my misery, otherwise give me hope!
Any additional advice is warmly welcome - Thank you all !
Beau Carrel
Windows has support for being a BLE client. Just Google it and you'll find many examples, such as https://developer.microsoft.com/en-us/windows/iot/Samples/BLEGatt2.
You need to set up iOS to be an advertising peripheral.

Is it possible to get the data from an HID through bluetooth in IOS platform?

Our company developed a project keyboard using bluetooth 4.0 (BLE) to connect with iPhone. It is a HID and can send both keyboard and mouse data depending on the mode it is on. My job is to develop an iOS application to catch the data from it. In my last case, IOHIDLib in OS X platforms can do it easily, but in iOS platform i found that it is hard to get something similar with IOHIDLib. I have tried some ways.
CoreBluetooth, but this library can't communicate with HID.
BluetoothManager, but private framework is hard to maintain and it doesn't
support iOS 9.3
Gamekit, but this is only for two IOS devices.
ExternalAccessory, but our product don't have a MFi license and have no plan
to get one.
To put it simply, what I need exactly is a way or a framework allows me to read and write data with a HID through BLE in IOS platforms.
I will appreciate any help!! :目
P.S. The project keyboard works well, I can use it to type letters on my iPhone correctly.
P.S. I use Objective-c.

Which blackberry for testing?

I have a t-mobile pre-paid sim and wifi. I'm working on a website that would like to target BB 6 and newer. One of the unique things about the BB is that many of the devices have a keyboard and touchpad.
Is there a device with a keyboard I can get that would work with my sim and wifi that would let me test websites? (without a data plan)
I looked at the BB Bold 9900. This seems to be the right type of device but that particular model is a bit pricey. Would be nice to go back a generation.
Just to be clear, my requirements are:
Work without a data plan (therefore wifi)
Keyboard / touchpad (touch screen optional but nice)
Compatible with t-mobile prepaid sim.
BlackBerry OS 6
I'd love to hear your suggestions, thanks!
BB 9700 - while launched with OS5, can meanwhile run OS6 too. No touch screen though
I'd just get the cheapest one. Not sure you need your SIM to work in it if you're just using WiFi.
FYI, you can download blackberry simulators from RIM. They're not quite the same as using the actual device (namely in terms of keyboard simulation) but they work in a pinch.
Why don't trying the 9930 Blackberry device running OS 7.0
It will meet all your requirements

IPhone Bluetooth Connectivity to Non IOS Devices

I was wondering, if there is a way to use IPhone as an HID device, with some other device like PS3. I checked out the Bluetooth specification and IOS Devices do support HID Profile. So I thought it would be easy to pair my iPhone using passkey mechanism and should be able to start using my iPhone as keyboard or mouse without much hassle. But I found very soon that this assumption is naive and I need to develop custom solution.
I was initially thinking about using GameKit framework, but I think it only works between two compatible IOS Devices. If I want to extend this capability, then I have to use iPhone External Accessory API .In my analysis, I also found that iPhone will only communicate and pair with devices that are licensed by Apple. (Made for iPhone\iPod program). Does it mean that, if I want to use iPhone with another device, I need to get that device approved by Apple. ( Which will not surprise me one bit). Also if someone could point me to more detailed documentation on this, that will also be helpful.( What is an MFI developer board ??)
I do not want a solution that needs me to jailbreak an iPhone. (or any solution that will disqualify my app by Apple).
So to summarize:
1- Please validate my findings, correct them if they are wrong?
2a- How does External Accessory API Work?
b- Can I use this to connect to third party accessories ? (or is this only for accessory developers).
3- Or is there a better solution without using External Accessory API?
Please provide supportive documentation or link if you can. Thank You.
You are unlikely to get on the External accessory program from apple unless you are a big company ( you can try, but I have read this a number of places) . iPhones use a proprietary Bluetooth interface that and hardware must also implement this interface, so not much chance of getting it to connect to any other hardware directly.
Most apps like this (Remote Mouse) for example, connect to your wifi network, and have another application installed on your computer. The iphone can then talk to this application over the wi-fi network, but not bluetooth. I would suggest that the only way I can see this would be possible to to create the server app that you install on a computer on the wi-fi network that then in turn controls the 3rd party device if there is an API that you can use from the desktop app to control the 3rd party device.
This is just what I have found when I researched about this for making an app for iPhone to control a bluetooth watch. I had to jailbreak in the end to replace the bluetooth stack on the iPhone with one that could connect to any hardware device. Not limited by apple.

Mobile device testing for BlackBerry smart phones - acquiring test phones

I have been developing a BlackBerry application for about 7 months, and I have started to do a lot of testing.
Does anyone have any advice on the best way to test my application on different BlackBerry devices (without having to purchase them)? I have the BlackBerry Tour and the BlackBerry Storm, but I can only have my Verizon network on one at a time.
Is there a specific way that mobile developers go through this type of testing?
If you join the BlackBerry Alliance program, they have various Smartphone programs to get devices for development and testing.
try this deviceanywhere
they are providing remote access for variety of blackberry devices.
For the most part, the simulators that come with the JDE are true to the real thing.
You can try www.perfectomobile.com. They charge an hourly rate, but you can get 7 free hours.

Resources