I'm just getting started on Samsung Smart TV development, and so far my first baby step has been a big failure.
I am running Linux, and because I already have Eclipse installed and configured for Android development, I haven't had success in getting the Smart TV SDK installed and working. However, encouraged by How to build & deploy a Samsung SmartTV app without the IDE (e.g: on Linux), I have decided to go forward without it.
I do have the VirtualBox emulator running, however. So right now, I have built a basic app from the example here:
http://www.samsungdforum.com/upload_files/files/guide/data/html/html_2/getting_started/coding_js.html
And would like to see if I can just get it to start up on my emulator.
If I understand correctly, I need to take the directory structure of my app (with config.xml, index.html, and the Resources, JavaScript and CSS folders), package it into a .zip, and drop it in the "Apps" folder I have shared with the emulator. But when I do that, if I go to the emulator, refresh it, and hit "Open App", I am presented with an empty App list.
I know that the emulator is seeing the Apps folder, because if I put a subdirectory in it, then that directory shows in the Apps list in the emulator. But it's not showing the .zip file for my app.
I have been scouring the web for any useful information, but all tutorials just say something along the lines of "now test the app in your emulator to make sure it works. Now on to deployment...". Nobody gives any information on how to test the app in the emulator.
Can someone please shine some light on this for me?
Unzip your app in the app folder it should look like this
Samsung TV SDK 4\apps\yourapp\index.html
Samsung TV SDK 4\apps\yourapp\config.xml
Samsung TV SDK 4\apps\yourapp\other files and folders
Related
I installed a chrome app on my Pixelbook which has dev mode enabled. I'm trying to find where app is physically installed. Where can I find it?
Tried looking around the web and don't seem to find an answer.
I'm using Android Studio 2.3.3 and I need to test my app on an emulator without Google Play Services. I know that it was pretty easy to create one using the old device manager (as described in this question), but I can't figure out how to do it with the new one.
The SDK Manager tells me that the system images that I want/need (API level 25) are installed:
Android Wear Intel x86 Atom System Image
Google APIs Intel x86 Atom System Image
At the "Select a system image" step for my new virtual device, only images with the Google APIs are presented under the "Recommended" tab. I've checked "x86 Images" and "Other Images" but no options without Google Play Services are to be found anywhere. I've also looked through all the settings options available at the "Verify Configuration" step without finding anything useful.
Does anyone know how to do this, or is it perhaps in fact no longer possible?
I am trying to launch online apps but not able to launch them on the emulator. While offline apps (Selendroid test app, Offline Dictionaries etc.) are able to launch on the AVD emulator.
Please let me know What could be the solution.
By strictly guessing, you're trying to install applications with native libraries compiled for arm on an x86 image - which means you have to download the proper APK, or switch to an arm image.
If that's not the case, please add additional information like which image you are using, how you're trying to install the application and what the error is.
We managed to get hold of a new Samsung TV that support AIR. I followed the few example files out there that show how to setup an AIR for TV file in Flashbuilder and my packaged export is an .airi file. So far so good.
The problem I'm having though is how to deploy this file to the TV. I tried copying it to a usb key but can't find a menu item to import it. Even when logged in with a developer account into smartTV.
Also tried to deploy via apache webserver as you do with html widgets, but no success.
Does anyone know how to deploy AIR files to a Samsung TV?
Thank you
I figured out that you have to do following steps in order to get your AIR app running:
Create your AIR project with air version 2.6
Compile and pack your AIR applications as an .airi file
Unzip the .airi file
Add a config.xml with your desired configuration to the unzipped folders
Make sure the config.xml has these settings
<flashplayer>y</flashplayer>
<apptype>13</apptype>
Zip up the files again and deploy via
local server as documented in the
Samsung documentation
Have a look at this Samsung TV hello world blog entry (I haven't tried it yet). The instructions are related to a standard web app, but it may also work with your AIR app.
In case this blog dissappears, the key Samsung document he references is here.
You may also find the details you need on this video.
I want an android and iphone emulator to run on windows to test my gwt application on windows. can someone point me to a proper emulator because i've been trying some with no success
The official iPhone simulator does not run on Windows. Seems you have to get a Mac ;-)
However the Android emulator can be installed pretty much anywhere:
http://developer.android.com/guide/developing/tools/emulator.html
If you point the Andorid browser in the emulator to your GWT application you should be able to test it. You can find messages from the browser in LogCat, watch out for the logging tag WebCore. You can even log from within your code and get the output in LogCat, see:
http://developer.android.com/guide/webapps/debugging.html