blackberry device not detected when debugging on Mac - java

I have a problem when I want to debug my application from eclipse using device (I use 9700 for debugging). It's used to be like this: the device is connected to Mac using usb cable, and automatically desktop manager pops up, gives sign that my device is successfully connected, thus I can debug my project from eclipse.
Now I can't do it like that anymore. when I connect the device to Mac, desktop manager (or Mac) doesn't detect my device. I use:
Desktop Manager 2.3.1 build 5
BlackBerry Java Plug-in Version: 1.5.2.201204302029
Does anybody know how I can make my device be detected again by the system?

You might compare the results from either of these two USB utilities:
/Applications/Utilities/System Profiler.app
/Developer/Applications/Utilities/USB Prober.app

Related

How to connect android devices to vs code in flutter for check the code?i turned on debugging too

I am stuck here. I connect a USB drive from my laptop to the android device but still vs code shows no device. Image Attached
Considering that you have successfully installed Flutter and Dart and their respective VS Code Plugins.
There are 2 ways to do it
If you have a physical Android Device, you must enable USB debugging on your device and then you can connect it directly to your machine. Once the device is successfully connected and detected by your machine, then its name would appear on bottom right corner in VS Code window.
If you don't have a physical device, then you must create an emulator image of Android platform of your choice. The emulator image must be created from AVD manager present in Android SDK. Once the AVD image is ready and running, the name of the AVD would appear on bottom right corner of VS Code window.
If you see your device name on bottom corner of VS Code, then press F5 and wait for the app to load on the device/emulator.
There are basically two ways before the app is released.
USB Debugging
Wireless Debugging
Connect via USB: adb tcpip 5555
Disconnect USB, Get Phone Ip Address Settings > About Phone > Status.
Now adb connect <Your IP Address>
Refer:
How to connect a device with ADB over WiFi when making app with Flutter?
https://appmaking.com/run-flutter-apps-on-android-device

Run android emulator or sandbox on mobile itself

Is there any tool out which runs an apk on a real mobile device, like an emulator. The tool would need to execute the apk properly, but also be able to intercept certain commands. Any chance?
To make it more clear, I dont need a shell command to start and stop or so. I need more of a container emulator like tool, which might be able to inject/alter running compiled code.
The ADB connects to running devices, those are:
Running emulators;
Devices connected trough USB that have "Developer options on"+"USB debugging" on device enabled
Also, you need to accept in the device the key for debugging trough ADB after connecting.
Obs: Drivers may be necessary for the device, (google has a package in SDK manager with Google Drivers that works for some devices too)

Cordova Android Development: Looking for OTG cable options for debugging with peripherals connected

I'm developing a Cordova Plugin for Android that interacts with a printer connected to my Android device's USB port. I also have Ionic in the mix running a working Anular application. I have the Plugin working, but getting to that point was painful. There were many iterations of deploying the app from my laptop (using ionic run Android) swapping the otg cable out and pluging in the printer and testing.
I'm looking for a better develop/debug story. I'm planning to add additional features to the Cordova plugin and would like to find a cable configuration that lets me keep the Android device connected to my laptop while the printer is also connected the Android device.
I've tried a few different after market cables, but everything seem to only support charging the device while connected to the peripheral devices. Nothing seems to allow me to stay connected to the laptop and have a peripheral connected simultaneously.
Is anyone aware of a USB Hub, Switch or Router that could help ease my pain, or have suggestions on how I can easily debug my Java based plugin while it is connected to the USB printer. At a minimum I'd like to be able to attach a debugger to my plugin and step through the Java code.
Using an Emulator is out of the question because the performance is simply unbearable.
Sorry in advance if this question is not appropriate here.
I think I have a better solution for you, you can deploy to your device using adb over Wi-fi and keep your printer cable connected to test your app, here is how:
Connect your android device to your computer using a USB cable
From a command line run adb tcpip 1234 // or any port of your chosing
disconnect your android USB cable
run adb connect <your-phone-ip>:1234
Connect your printer using the USB cable
run ionic run android to deploy your app.
I just tested this combo with a Mac and an Android Nexus 5 and it works like a charm.

Can an iOS application communicate with a Java application on my Mac via bluetooth without creating an OS X application?

I have an iOS application with a tableview which I would like to send text strings via bluetooth to my Macbook indicating which cell was selected by the user. Both have bluetooth 4.0. This information will be fed into a Java application. From a CoreBluetooth perspective, the iOS device will be a peripheral and my Mac would be the central.
The problem I'm having is around setting up the central. Apple documentation gives a lot detail around building a central manager within a Mac OS X application (xcode, CBCentralManager). However, I'd like the data to be pulled into a Java application running on my Mac.
Do I need to build a Mac OS X application to wrap my Java application to build this type of communication? Should I consider another method of bluetooth communication i.e. BluetoothManager.Framework? I do not need to submit this to the Apple Store. Is this a TCP/IP problem?
I figured it out. My solution is based on Ray Wenderlich's Network Tutorial for iOS. I created the python server, tethered my iOS device via bluetooth to my Mac, and transmitted messages via port 80 on my Bluetooth PAN IP address. Then I created a Java client to connect to the python server to receive the messages!

Linux Development/Deployment for Samsung Galaxy S3

I'm using a Linux system (Xubuntu) to develop an Android app. I am using Eclipse to develop this app. I would like to be able to test on my Samsung Galaxy S3, but Eclipse cannot seem to find my device. There is nothing listed under the "Choose a running Android device" section.
I searched Samsung's website for USB drivers to the Galaxy S3, but I found none for Linux - only Windows and Mac. Where's the love for us Linux users? It seems absurd that there would be no USB driver for a Linux system to communicate with a Linux-based device. Is there a driver that I can use?
Did you try
adb kill-server
adb start-server
It is required to do the above in Linux. And also you should be logged in as root user,
https://stackoverflow.com/a/3129903/603744
Or if by any chance you haven't seen this question ,
Samsung Galaxy 7" (GT-P6210) not detecting for USB debugging?
You do not need usb driver for linux, Follow instruction from here. You need to add a file to rules.d
USB Drivers aren't required for Linux, which is why you can't find them.
To be able to deploy your application to your S3, you need to enable USB Debugging mode.
Home Screen -> Apps -> Settings -> Choose Developer options -> USB debugging
Home Screen -> Apps -> Settings -> Security -> Disable debug mode (turn this off)
Now connect your phone, and then run this command:
adb devices
It should list your device. Also, your Android notification area should show that debugging mode is enabled.
You'll now be able to deploy applications to it.
I also work on Ubuntu. You will have to set the USB Vendor IDs. Take a look on this link

Categories