Debug WP7 app without zune - windows-phone-7.1

During the debugging of my WP7 app I want to access photo gallery, which is not possible if you are connected to zune, but zune is required to attach a debugger.
I know there a batch script which allows to connect a debugger to your WP7 app without zune, but I don't remember the name of that script, neither I can find it on the web. Please share a link if you know about it.

After you have connected with Zune, you can close Zune and then run WPConnect.exe
Find it at:
"C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.1\Tools\WPConnect\x64\WPConnect.exe"
This will allow VS to connect to the device and debug your app but without the locking of parts of the OS (such as photos and the Zune library).

Related

How to create IPA package on Windows from Visual Studio 2019 when successfully paired to MAC

I have read the following documentation on setting up and building iOS apps from Visual Studio 2019 on a Windows machine,
Pair to Mac for Xamarin.iOS development
Introduction to Xamarin.iOS for Visual Studio
IPA Support in Xamarin.iOS
Free provisioning for Xamarin.iOS apps
It seems there is tons of critical information missing even after spending days reading and researching on this. When I attempt to build the iOS project is succeeds and shows
Pair to Mac is not connected, so the build will be performed offline. To do a full build please connect and try again.
in the output window. This makes some sense since the documentation clearly states you must have an active connection to a MAC machine. I then open the remote device dialog and click the connect button.
I am now successfully connected to my MAC build machine that has XCode, Mono, etc installed on it. However, this is a modal dialog! No other functionality in Visual Studio is accessible via the UI while this window is open. The fact this is not mentioned anywhere is mind boggling. At this point are you suppose to run the build command from a cmd or powershell? If so, how do I know the command string VS 2019 is running behind the scenes? In general, what is the point of visual studio at all if it allows me to pair to a mac but then prevents you from using the IDE to perform any build functions?
I have figured out the solution for this and its extremely simple. I can't decide if it's stupidity on my part, a terrible and confusing way to present a UI, or a combination of both.
Just select the "X" icon in the upper right-hand corner and close the dialog and you will remain connected.
You can easily confirm that you are still paired to the mac by hovering over this icon in the visual studio toolbar

Sending cod files via bluetooth in blackberry

In android device where .apk files are shared and send via bluetooth and then install on device.
Can similar thing is available in Blackberry devices lower versions below OS 10 ?
Can we send or share and install .cod applications via bluetooth in blackberry.
Please do let me know
The short answer is that there is no OS (standard) supplied method to do this.
I think this is a variation on this question
Can we share application in blackberry without the use of jad files
and as with that question, using CodeModuleManager (as suggested in another answer) requires an application that is already on the phone. In this situation, this installer application would have to know how to open a Bluetooth connection, and read the data and then create the new Application using CodeModuleManager I suspect this solution also assumes that there is another application that is sending the file, from a device what is paired with the phone. Is this a workable solution?

How to send data to windows application using Blackberry sdk

I'm trying to figure out how to programatically send data back and forth from a Blackberry device to a Windows applications in the same type of manner that BlackBerry Desktop Software does. I would like to be able to query status of my BlackBerry app and have it send me a data buffer etc.
The device side API you need is the syncrhonization package.
I believe this document contains the starting point for writing the PC side of the synchronization.
It is located in C:\Program Files\Common Files\Research In Motion\USB Drivers

Writing to files on Mac when running on iOS device attached to Xcode

When running an app on an iPhone/iPad via Xcode, is there anyway to open files for writing on the Mac?
I have an app which requires the device to run, so using the simulator isn't an option. I do however need to analyze some of the app's output. Currently I have to write to files on the device, and then manually sync them to the Mac. I'm looking for a way to write my files to the Mac directly.
I recommend using NSLogger to stream your log data via Bonjour to the Mac. It has a Mac application that allows you view the data as it is coming in.
For more advanced logging you can also combine NSLogger with the CocoaLumberJack framework using this connector project.
Probably the best possible solution for your situation probably rests with leveraging the console and NSLog to redirect output to a file - that's an open channel between the device and the Mac you can leverage as long as your running the app from Xcode.
There are a number of questions and answers relating to how to do this - here's one:
Log XCode gdb output to file with .gdbinit
This solution assumes that you only need to be doing this when running the app through Xcode, which your question implies. If you need to write to the Mac when running the app directly on the device (not debugging) you would need to use some type of network file transfer, such as FTP or HTTP. You could probably whip up a simple HTTP-based logging app that would run on the Mac using:
https://github.com/robbiehanson/CocoaHTTPServer
Then you would just send the content line-by-line to the server. Many other possible approaches along those lines, and probably an existing Mac-based solution you could leverage.

I can deploy my Blackberry app to a device by cable with JavaLoader, and it runs fine, but the BB Desktop Software refuses to touch it. Why?

Installing by cable with 'javaloader -usb load app.cod' works fine, and the app runs on the device with no problems, as on the simulator. The cod is using restricted APIs, but it's signed. The alx is a trivial nearly-empty one generated by JDE 5.0.
Despite all this, trying to load it onto the device (BB 8900) in the applications section of the Blackberry Desktop Software says:
'There was an error importing files.
No additional applications can be found. Your file might contains applications that already exist in the application list, are not compatible for your device, or have errors'.
I quite need this to be installable with users' standard tools. What can I do about this? Is there any way I can get the desktop app to give me more information?
Not really enough information to answer but on potential cause is the version data in your ALX. If you have not removed the application (using javaloader) before trying to install with Desktop Manager, and the version information in the ALX is not higher than the module version data the software won't install.
There could be other problems, but without the acutal ALX, and the OS version information for the device it is difficult to say what they may be.

Resources