How to test app without pebble watch? - android

I have to add a feature for the Pebble smart watch in my android app. Is there any cloud or emulators available to test Pebble watch coding? How can I test my app without a Pebble watch ?

This question is a bit old, and that's probably the reason why nobody answered with CloudPebble yet.
Since Jan. 24th 2015, CloudPebble includes an emulator that allows you to run your app pretty quickly in your browser.
You have to login with your Pebble ids at https://cloudpebble.net/ide/ , import or create a new project, then you can go to Compilation > Emulator, then click "Install and run".
CloudPebble works for C SDK apps, Simply.js and Pebble.js apps too.

Since the release of the developer preview of the SDK 3.0 and as an alternative to CloudPebble you can also install the Pebble emulator based on QEMU.
Follow this instructions for linux (Mac and Win also available).
Then after building your app you can install it in the emulator as follows:
pebble install --emulator basalt /[your project path]/build/[Your app name].pbw

There's a very nice Pebble simulator at
https://github.com/Helco/PebbleLocalSim
It only seems to work with the C SDK, I can't find a way of running pebble.js javaScript, which is a shame.

There are no emulators out there to test Pebble apps. At the very least you could test the javascript end of a Pebble app with simulated data from the watch. Beyond that you need a Pebble watch to work with.

Related

Xamarin Debugging on Android Device not working

I have an Xamarin project (On a Mac) that I'm working on. Up until today I was able to Launch it under debug, it would deploy the app and start it up attached so I could hit break points on the device. If I do this in an emulator, things work fine.
So when I run in Debug on Android, it deploys, I get no errors or messages that indicate an issue, but it just stops and is no longer running.
So what I've done
I've uninstalled and re-installed Visual Studio, no change
I've tried on multiple devices, with different OS versions
I've reset my project to be the same as others on the team, they have no issue
I've verified that the same project works fine on my Windows machine.
I've verified that I can run a Release version with no problem, I hit run, it deploys and launches the app just fine.
I can deply the iOS version in an emulator with no problems.
I've verified that if I set Debug Information to Full in the Release project, I have the same issue.
I've rebooted the device, the Mac, uninstalled the app on the device, it doesn't matter.
I'm at a loss, any help would be appreciated.
Well, there are a couple of things that connecting and deploying your app require, including setting the configuration and making sure you have the ADB installed correctly. You can check on Mac by following these steps to install Chrome and DevTools.
Another user suggested(in the comments under question):
"I would suggest trying to delete the Mono Shared Runtime and any Xamarin Android API-XX Support from the installed apps" on your targeted device.
These are the docs on Configuration Management in Xamarin
on Microsoft.com
I know it's very late answer but I had same problem and could solve it so may be it could be helpful for over people facing same problem.
Android csproj file must be located two levels lower than the .sln file. Android will disconnect when debugging if it is located in another location.
For example:
C:\Projects\Mobile\My.Xamarin.sln
C:\Projects\Mobile\My.Xamarin\My.Xamarin.Android\My.Xamarin.Android.csproj

Android - Standalone emulators for testing apps

I know that Android studio comes with an Emulator for testing apps. but this Emulator is too damn slow and never runs on my machine.
so i was checking for alternatives like if at all there is a standalone emulator which i can install on my system and upload my APKs and test. It is good if this emulator tool kit also shows the logs.
I just want something to test my Apps without the Emulator that comes with Android SDK.
While i was browsing SO i bumped into this here check for the comment that Paul Ratazzi has written, (second comment) this one is a paid solution so i did not dig into it much.
Genymotion is free for individuals. So you can use it unless its commercials and better than Emulators.

Google Glass Application development startup on Eclipse

I am an Android Developer and I want to start working on Google Glass application. I have installed Eclipse in my computer but I learnt that it will not work for Google Glass development. Some blogs suggested I should use Eclipse Indigo.
I have checked and installed Eclipse Indigo and ADT and other plugins.
I am trying to run my glass on debug mode but system is not detecting it.
Can anybody please help me with how to set proper environment for Google Glass and how to make it detect?
Two things that you have to do first:
Install the Glass Development Kit preview via the SDK Manager (Should be under the 4.4.2 platform).
Ensure that you have Debug mode enabled on your Glass. After enabling Debug mode when you plug Glass in for the first time you should be asked if you'd like to trust the computer on the Glass. I select Always Allow so I don't get asked multiple times.
By the way, I am using Eclipse Kepler (but mostly IntelliJ), so I doubt that the version is critical.
Good luck!

Installing android market on Emulator 2.2

I have to build an application which contains push notifications feature.I read an article given on net.I need to install android market on my emulator for that purpose.Can someone please guide me the procedure to install the android market app on emulator 2.2.
According to my knowledge installing Android Market application on Emulator is not possible at all.
For that you need to test your application on real device.

Is there any Android developer OS version available?

I'm wondering if there's a possibility to have access to any of "developer version of the Android system" as the Android doc says? As you probably know some tools work on developer version only which is AFAIK available exclusively on emulator, which let's say doesn't work well.
If there would be such, I'd rather install it on one of my devices and could debug it there.
Would it be legal in that case?
If you have one of the Google phone devices you can build your own type of the Android OS for your needs without problem. Here you can find instructions how to do this and how to upload your built OS on your device. For instance, to build development version for Galaxy Nexus you should run configuration command:
lunch full_maguro-eng

Categories

Resources