Share one android device for developing - titanium

We are several people (in different cities) developing on titanium. We have only one device to check how the application works on a real device.
Can we share somehow one device to check how application works on a real device?
The idea is to have one PC with remote access and Titanium running with connected git\mercurial repositories. Android device connected to this PC by USB. The user connects by Remote Control to the PC, pulls data from repository and runs application on the device.
The problem that we have is how to get access to screen of the Android device on the PC to control it.
Does someone have an idea how it could be organized?

This link (http://code.google.com/p/androidscreencast/) says it will help, but it has limitations. I guess this solution would make sense if you are doing most of the testing on the local emulator and the physical device is a final check for functionality.

Related

React Native Expo can't connect from phone to laptop on same wifi

I am building react native app with expo and I'm currently using public wifi because I'm traveling.
On the bus and in the hostel's wifi I've experienced an issue:
- Phone can't connect to Expo running on Laptop (same LAN wifi)
After trying many times to connect using the wifi, and also trying to see if Windows firewall has something to do with it, I finally found out what might be the issue and a temporary workaround.
Issue:
Some routers have a configuration called AP Isolation, that might be activated on the router/wifi of the public place you're using, to avoid someone hack into someone else's computer. So basically no device on the same network can communicate with the other.
Temporary workaround:
The only way I've got this working was by enabling a Wifi Hotspot on my Android phone and connecting the laptop to it. This means I'm using my phone's 4G connection for internet too. Expo seems like it needs to access the Internet and if you don't have data won't work.
The other way might work is if your Windows or Mac computer is able to create a virtual access point. So instead of connecting laptop to phone, you do it the other way around.
Hope this helps someone!
You should be able to run on a virtual device via expo. On my Macbook I run on iOS if doing work in a place where I do not have internet but on a PC you should be able to run the Android Emulator.
While this might not provide the not intuitive way of doing things as you'll be using a virtual device instead of a physical one, it still is very quick and responsive. Just know that animations may not be as smooth.
I fly frequently and running on virtual devices has enabled me to work when otherwise it would be impossible.

React-Native simulate device is disconnected

Turning genymotion (or device) wifi causes app be unable to connect to app bundle and goes to show the red error in react-native. So how can I simulate app behavior when is disconnected from the internet (and also developing to have a good react (I mean it's not just about testing, also developing))?
There are only 4 states possible:
connected with good connection (have access to remote servers)
connected with poor connection (loss percentage is high)
connected with zero connection (have not access to remote servers - 100% loss)
not connected
Simulations way depends on which situation you need and where your app is running (device:iOS, Android?, simulator: mac, windows?)
On iOS you have Developer menu in the preferences and Network Link Conditioner in.
On Mac you can install Network link conditioner by this
I`m sure android has some tool for it.
Can`t say something about windows, sorry

Camera Remote API : Camera + iPad + PC?

I'm currently studying the Development Guide given with the Sony Camera Remote API beta SDK, and what I've understood so far, is that in order to send and receive messages between a camera and a mobile device, the smartphone or tablet should be connected through Wifi to the camera, which acts as an access point.
Actually, what I'd like to do after downloading a picture on the mobile device from the camera, is to pass it to a PC so that I will be able to print it and use it for other purposes. This process should be completely transparent and automatic for the final user.
Thus, my problem is that I need the mobile device to be connected, through Wifi, to both camera and PC.
The solutions I have in mind are :
Make the mobile device, and the PC, connect to the camera access point, so that they can be located on the same network.
Is this possible? I mean, can the Sony camera handle more than one client when acting as an access point? If yes, can I have a fixed IP for mobile device and PC so that I can easily make them exchange data?
Use a simple wifi router and make the camera, mobile device, and PC connect to this router.
Without acting as an access point (i.e. simple network client), can the camera be used with the remote control function?
If you guys see any other options, I'd be glad to read them !
Thanks,
Bertrand
Unfortunately, neither of your solutions would be supported. Only one device can be connected to the camera AP at a time, and the camera itself has to act as the access point (certain models support connecting to an access point from the camera but the Camera Remote API is not supported in this case).
If you don't need the mobile device to have access to the pictures, your best bet may be to directly connect the PC to the Camera and transfer the images using the API. The API is REST based so can be used on any platform.

Detect if device is connected to a specific network(office wifi)

I have an enterprise iOS app and I am trying to detect if the device running the app is connected to the office wifi.
I can't find relevant information and I am not sure if this is possible.

Get type of device inserted to windows 8 pc via USB port

I've been asked to work on a project for Windows 8 where I have to detect:
Type of device inserted to USB port (mass storage drive or android phone or windows phone etc.)
Port in which device was inserted. (if I have 4 USB ports in PC then identify which port received new device)
Detect when the device was ejected from the PC
Are there some managed C# API's that can be used to query or if there are some callbacks that can be subscribes to.
Any help or direction will be very useful.
Thanks
You don't specify whether you are writing a desktop app, or a Modern UI app. If it is the latter, I'm afraid you are going to be out of luck as this level of information is simply not passed down to the app's sandbox.
You may have better luck with a desktop app. I don't have any direct experience of doing what you ask for, but I do remember having read that it may be possible through .NET.