Sony Smartwatch Emulator: Getting started - emulation

I downloaded Sony's most recent SDK which includes an unusual Emulator that is an APK that runs on an Android phone (I guess that is what you do with it).
Anyway I see no documentation about how to use this to test/deploy apps.
Am I supposed to have 2 phones and one runs the emulator and the other runs the "host application" or do I run the host application on the same phone or what?
Nothing that I can find in docs explains this.

So I've figured this out (sort of). You run the emulator on your phone, then run the Smart Extension app on your phone as well (so no bluetooth connectivity like when you have a real smartwatch).
Phone also needs to have the SmartConnect (previously LiveWare) app and the SmartWatch app installed (I think). So that's three apps (emulator, SmartConnect, SmartWatch app).
Anyway, my actual smartwatch arrived in the mail shortly after I posted the original question, so I probably won't be using emulator much anymore.

Related

BlueScreen after Run emulator android studio

When im run android studio, or run emulator for android studio with manually or with cmd, always get bluescreen.
it say "your pc ran into problem and needs to restart. we're just collecting some error info, and then we'll restart for you"
Stop code: IRQL Not Less or Equal
how can i fix it ?
im trying download another emulator and following tutorial on youtube, but it didn't work
It depends on various factor,
I happened to get this issue because of my old PC with Lesser RAM size(4GB) and to rectify it, I connected my Android phone to PC for debugging/running apps from Android Studio.
You need to enable USB Debugging in your phone for that purpose.
NOTE:
You can view this blog post I made, which addresses the same issue.
https://whysurfswim.com/2015/07/11/sick-of-your-avd-theres-a-alternate-for-it/
I had almost same problem. When I tried to install my app in emulator(Ram 8gb), my emulator crashes but kept running in background. As a result, I was unable to shut down my pc and have to disconnect power for shutting down.
use your phone for debugging your app. you can connect your phone using wifi. link here
Sometimes it happens beacause of outdated drivers, try updating your drivers to latest version, and update the windows 10 to latest version. Also try by deleteing your current emulator device and create new device by enabling software renderer. For lower end pcs like yours I would recommend to use real device instead of emulators ans use ssds for better performances.

Error while create a new react-native project

Trying to create a new app on react-native. 'react-native start' command gives no error. But I'm not able to see my app on the emulator. Can anyone help me in figuring out the problem. I'm new to react-native.
Are you using a Macbook or Windows? For Windows, you will have to use an Android emulator, thus you will need to download Android Studio, and the Android SDK.
For Mac, you will use the IOS emulator, you will need to download Expo in that case.
Also you could try using the create-react-native-app instead. I built a project with 3 other buddies in two weeks, we found that it had the most reliable boilerplate and is really good for beginning with react-native.
*** Edit:
*** Big caveat with create-react-native-app is that it won't matter what OS your computer has. If you have an apple phone, you just run "npm run ios" then scan the QR code with expo. If you have an Android phone like I had...you will run into a few issues where you need to set the phone to USB debugging mode in the developer's settings, download the USB debugging driver for your phone's model, ensure both your phone and computer are on the same wifi network, install expo, and finally be able to run "npm run android".
I was the only one on my team developing with an Android phone, so if you need advice on that, feel free to ask.
Some extra information about create-react-native-app is that it allows you to code for both Android and IOS phones by using the same project folder, rather than having to adjust settings for one platform at a time.
That has it's pros and cons for sure and there will be little differences in how one platform functions over the other...so my recommendation is to build for one platform at a time, focusing on whichever one you are testing on.
Since you're using Ubuntu
Getting started with create-react-native-app:
https://github.com/react-community/create-react-native-app
Starting Guide for Setting up the Emulator or App Environment on phone:
https://facebook.github.io/react-native/docs/getting-started.html

Is there a how to guide for testing livecode?

I have been trying for days to get a simple app any app made in livecode to display either on my tablet, smartphone or emulator. It just doesn't work. Here is what I have done:
I have installed my sdk and pointed livecode to it in preferences.
Picked 2.3 as my version
Check my google usb drivers and they are up to date.
I followed live code's step by step and no success. I am thinking that since I am running windows 7 not a Mac, maybe this cant be done. It seems all the developers run Mac's?
I even tried to make a .apk, It made the file but " There was a problem parsing the package" once I got it on my Galaxy tab. I made sure that I checked the box to allow programs to run on my tablet. So I am still stuck.
To see if the SDK is working correctly you could try to use the Android SDK emulator first.
Open the Android SDK Manager and select the menu Tools->Manage AVDs.
There you can create a virtual Android device and run it.
If the virtual device is running you can see the virtual device under "Development->Test Target in Livecode. Select it and either select "Test" under "Development" or press the "Test" button. Does this work?
That error message means that the operating system on your device is preventing the app from being installed. The most likely reason for this is that you haven't changed the "Allow installation of apps from Unknown Sources" setting on your Galaxy Tab. There are other reasons and solutions for this error message - to see them visit Panagiotis's excellent blog post on the LiveCode website, your error message is in the fifth example
https://livecode.com/how-to-deploy-apps-to-android-devices/

Windows phone 8.0 error 0x89371B01 when trying to deploy app

I cant find information on this error anywhere. I am connecting to a brand new lumia icon (AKA lumia 929). Dev account is registered. I have attempted:
reinstalling windows phone SDK
restarting phone
restarting computer
ensured the app runs on the emulators properly. the only required capability of this app is network. Capabilities have not been changed from the defaults since the project was created. none of the manifest xml files have been touched.
ensured phone software version is up to date
ensured apphub account is valid and active
ensured the windows phone developer registration tool worked, unregistered and re-registered the phone to make sure
restarting the "ip over usb" windows service thingy
changing the platform built target to ARM or AnyCpu (no difference, same error)
tried alternate deployment methods such as windows phone power tools (the xap deploy) and I get the same error when trying to connect (so I know it's not an issue with visual studio, nor is it an issue with the app code)
I can successfully deploy separate code to a separate WP7 device (so I know it's not an issue with the computer)
tried multiple usb ports
tried two separate laptops
tried visual studio 2013 and 2012
The behavior is this:
Connect the phone via usb and unlock it
Attempt to connect to phone via windows phone power tools OR deploy an app via visual studio
System hangs for about 90 seconds and seems to time out
Error appears
I am able to view the phone contents, name it and explore it on my laptop, but when it comes time to deploy something I am stuck.
Error message is simply: 0x89371B01
What does that mean? Has anyone else run into this?
Have you checked the device drivers on your Windows 8.1 machine? It could be a driver issue with your USB drivers on the computer.
I have also found that, once you get it connected, going into the Device Manager and deleting the device from there and forcing it to reload has helped me in the past.
Out of curiosity, try running "sfc /scannow" at a command prompt on the PC. It may require admin elevation. I've seen some bizarre behaviors due to dll problems in sxs in win 8.1, wondering if this could be caused by that kind of thing.
Couple of things to try:
Have you installed the GDR3 Emulators and tried running it on the 1080p emulator? It looks like the 929 is a 1920x1080 phone and will have the latest the latest updates installed. First place to check.
Based on this feedback in another stackoverflow question it looks like someone was having a similar issue and disabling Hyper-V resolved it for him. If you disable Hyper-V and it works, try re-enabling it and see if you still have the issue.
jmshapland had the correct answer for me, with the same issue. Disabling Hyper-V did the trick! No thanks to microsoft phone dev center forum posting on the issue..
http://social.msdn.microsoft.com/Forums/wpapps/en-US/24bd3e48-e7b4-4d00-8d69-193f49989ce0/0x89731b01-error-during-deploy-to-device?forum=wpdevelop
Looks like I'll be disabling Hyper-V to test on my device, and re-enabling to work in emulator mode:
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
and
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
OK I was able to come up with a repeatable solution for the issue. Im HOPING that by posting this I dont tempt fate and have the phone not work again!
Here are the steps I did to resolve it (not sure if all of them are necessary):
On phone, disable wireless
Connect phone to laptop
Open device manager and click to show ALL HIDDEN DEVICES (including hidden devices is important)
Uninstall ALL phone-related devices (one in portable devices, several in USB
devices) anything that mentions lumia must go
Disconnect/reboot phone
Reboot laptop (there seems to be a process keeping the port open)
I had connectivity, then I lost it, then I re-gained it using these steps and it seems to be reliable for me (so far)

J2me mobile app run in sony ericson but not run in nokia mobile.Help me to solve it?

I am developing a mobile app using j2me. It works fine in "sony ericsson z530i". It works fine in "Nokia c2-00" mobile before 1 week. But I run the app now in nokia phone after sometime in the middle of app automatically my nokia phone switches off. I cannot resolve it but it works fine in sony ericsson mobile. I think I need to change some phone setting or the phone is in problem? I cannot find a solution so please help me solve the issue. I am using "Nokia c2-00" mobile which had "S40" sdk.
Some time problem may be in MIDP version in the mobile application check whether property and select MIDP as 2.0.
I find the solution.The problem is not in mobiles is in my application.It will not run due to ran out of heap memory.
Now i modified my code with respect to decrease the memory leak.Now its working in all mobiles which have the configuration cldc1.1 and midp2.0

Resources