The document describes the Polycom Cast application, which allows users to cast Polycom meeting content to a Chromecast device. It provides instructions for developers to build and run the Android project. The application uses Chromecast's casting abilities to stream meeting content from a server to a TV or monitor even if the mobile device turns off or loses battery power, by establishing a direct connection between the server and Chromecast.
Software development, by its nature, is a series of translations and compromises. What the end user wants, what the customer is willing to pay for, and what is technically feasible rarely combine to form a unified set of features. A deeper understanding between technical and non-technical people is needed, in particular at the communication divide between stakeholders and developers. We will show you how to develop a domain-specific, ubiquitous language and how to use your code base as the central source for your requirements and documentation, to improve communication for the whole team.
A short introduction to developing apps for Firefox OS.
This first roundup covers two parts:
A. Introduction
* Firefox OS Simulator
* Same Origin Policy
* WebApp Manifest
* Installation
B. Sample app
* Overview source files
* Assets and styleguide
* Deployment to simulator
* Deployment to »Firefox Marketplace«
* Getting started: 6 steps
Software development, by its nature, is a series of translations and compromises. What the end user wants, what the customer is willing to pay for, and what is technically feasible rarely combine to form a unified set of features. A deeper understanding between technical and non-technical people is needed, in particular at the communication divide between stakeholders and developers. We will show you how to develop a domain-specific, ubiquitous language and how to use your code base as the central source for your requirements and documentation, to improve communication for the whole team.
A short introduction to developing apps for Firefox OS.
This first roundup covers two parts:
A. Introduction
* Firefox OS Simulator
* Same Origin Policy
* WebApp Manifest
* Installation
B. Sample app
* Overview source files
* Assets and styleguide
* Deployment to simulator
* Deployment to »Firefox Marketplace«
* Getting started: 6 steps
Appium Mobile Testing: Nakov at BurgasConf - July 2021Svetlin Nakov
Automated testing of Android apps using Appium, AndroidDriver, Selenium and C#.
Speaker: Svetlin Nakov
BurgasConf, July 2021
Contents:
Appium: Overview, Architecture, Installation
The Android Emulator
Appium for Android App Automation
Inspecting Android apps UI from Appium
Using AndroidDriver<AndroidElement>
Using Appium for Android from NUnit
Testing on Physical Android Device
TOPS Technologies offer Professional Android Training in Ahmedabad.
Ahmedabad Office (C G Road)
903 Samedh Complex,
Next to Associated Petrol Pump,
CG Road,
Ahmedabad 380009.
http://www.tops-int.com/live-project-training-android.html
Most experienced IT Training Institute in Ahmedabad known for providing Android course as per Industry Standards and Requirement.
Getting started with Appcelerator TitaniumTechday7
Techday7, Cross platform application development using Appcelerator Titanium event's Getting started with Appcelerator Titanium By Naga Harish M, Lead Developer of Anubavam Technologies
Watch the webinar here:
http://info.perfectomobile.com/App-Dev-Daily-Grind.html?utm_source=dlc-od
Learn how to spend less time putting out fires in production, respond quickly to new platform challenges, and reclaim your time for more feature work! You'll see how to:
-Catch bugs as early as possible with improved feedback in every CI build
-Speed up test execution with Espresso and XCTest
-Quickly gain visibility into test failures that impact deployment readiness
-Perform rapid debugging and troubleshooting with access to real mobile devices right from your IDE
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...Applitools
Full recording here: https://youtu.be/AV8p2aeqsOg
Watch Jonathan Lipps' in-depth overview of the mobile test automation landscape: past, present, and future -- including an in-depth analysis of current frameworks and what's in store for Appium.
5 years ago, mobile automation was in its infancy. None of the tools that enabled testing of mobile apps was very comprehensive, but on the other hand, there were a lot of open source options. Nowadays, the players and the playing field are different, and Appium came to dominate the open source mobile testing scene.
In this talk, expert Jonathan Lipps gives an exposition of the mobile testing landscape. He talks about what writing tests looks like with each of the current tools, and discuss when each might be a good (or bad) choice. In addition, he'll share his reflections on increasingly popular modes of testing beyond functional testing (like visual testing, for example), and what challenges might lie ahead for testers.
Key takeaways from Jonathan's session:
* History of mobile automation
* In-depth overview of the current technology and trends
* Set of factors to use when picking the technology that's right for you
* All about Appium's vision for the future
Here we explain the installation & basic coding for Titanium Appcelerator which is a cross platform development tool supporting Android, iOS & Blackberry.
This document is designed for those who wants to get enter in Android development.
if you follow this doc correctly you will able to set your Hello World Android App.
It is requested to all Experts that kindly don't read this doc if you are already aware of all the facts of Android development
The unconventional devices for the Android video streamingMatteo Bonifazi
Streaming video is not just through Android smartphone and tablet.
The 2014 was the year where Chromecast reached its brightness, getting into 4 millions living rooms. The 2015 instead is the year of the Android TV, the Google way “to smart” the TV.
This talk we’ll give you an overview about the streaming in Android. Starting from video streaming on mobile devices, we will guide you into the evolution of the development through Chromecast up to Android TV.
Matteo Bonifazi and Alessandro Martellucci will be illustrating this talk with their experiences developing mobile television applications for the main Italian broadcaster providers.
TiCalabash: Fully automated Acceptance Testing @ TiConf EU 2014Andrew McElroy
Acceptance testing has become a crucial step of software development,
but it has been a noticeably missing piece of the Titanium mobile
application development puzzle. TiCalabash is a new tool, developed
specifically for Titanium to bring mobile development a significant step
forward in reducing time and resource risk and increasing user acceptance
and overall quality of development. Fully automated, using human-readable
language, and offering full end-to-end acceptance testing, TiCalabash should
be a major part of your mobile development toolbox.
9 Step Guide to Create Ripple View Effect in AndroidNine Hertz
After the release of Android Lollipop, developers are highly excited to create Ripple View Effect in Android apps. Ripple View Effect really gives an amazing look to the Android applications. Hence Nine Hertz has created a 9 step guide on how to create Ripple View Effect. Original Source: http://goo.gl/SRAH6f
This is the simple guide which helps even the beginners to develop an android app which gets the attention of the market. Build your basic app in few steps
Appium Mobile Testing: Nakov at BurgasConf - July 2021Svetlin Nakov
Automated testing of Android apps using Appium, AndroidDriver, Selenium and C#.
Speaker: Svetlin Nakov
BurgasConf, July 2021
Contents:
Appium: Overview, Architecture, Installation
The Android Emulator
Appium for Android App Automation
Inspecting Android apps UI from Appium
Using AndroidDriver<AndroidElement>
Using Appium for Android from NUnit
Testing on Physical Android Device
TOPS Technologies offer Professional Android Training in Ahmedabad.
Ahmedabad Office (C G Road)
903 Samedh Complex,
Next to Associated Petrol Pump,
CG Road,
Ahmedabad 380009.
http://www.tops-int.com/live-project-training-android.html
Most experienced IT Training Institute in Ahmedabad known for providing Android course as per Industry Standards and Requirement.
Getting started with Appcelerator TitaniumTechday7
Techday7, Cross platform application development using Appcelerator Titanium event's Getting started with Appcelerator Titanium By Naga Harish M, Lead Developer of Anubavam Technologies
Watch the webinar here:
http://info.perfectomobile.com/App-Dev-Daily-Grind.html?utm_source=dlc-od
Learn how to spend less time putting out fires in production, respond quickly to new platform challenges, and reclaim your time for more feature work! You'll see how to:
-Catch bugs as early as possible with improved feedback in every CI build
-Speed up test execution with Espresso and XCTest
-Quickly gain visibility into test failures that impact deployment readiness
-Perform rapid debugging and troubleshooting with access to real mobile devices right from your IDE
Shifting landscape of mobile automation, and the future of Appium - Jonathan ...Applitools
Full recording here: https://youtu.be/AV8p2aeqsOg
Watch Jonathan Lipps' in-depth overview of the mobile test automation landscape: past, present, and future -- including an in-depth analysis of current frameworks and what's in store for Appium.
5 years ago, mobile automation was in its infancy. None of the tools that enabled testing of mobile apps was very comprehensive, but on the other hand, there were a lot of open source options. Nowadays, the players and the playing field are different, and Appium came to dominate the open source mobile testing scene.
In this talk, expert Jonathan Lipps gives an exposition of the mobile testing landscape. He talks about what writing tests looks like with each of the current tools, and discuss when each might be a good (or bad) choice. In addition, he'll share his reflections on increasingly popular modes of testing beyond functional testing (like visual testing, for example), and what challenges might lie ahead for testers.
Key takeaways from Jonathan's session:
* History of mobile automation
* In-depth overview of the current technology and trends
* Set of factors to use when picking the technology that's right for you
* All about Appium's vision for the future
Here we explain the installation & basic coding for Titanium Appcelerator which is a cross platform development tool supporting Android, iOS & Blackberry.
This document is designed for those who wants to get enter in Android development.
if you follow this doc correctly you will able to set your Hello World Android App.
It is requested to all Experts that kindly don't read this doc if you are already aware of all the facts of Android development
The unconventional devices for the Android video streamingMatteo Bonifazi
Streaming video is not just through Android smartphone and tablet.
The 2014 was the year where Chromecast reached its brightness, getting into 4 millions living rooms. The 2015 instead is the year of the Android TV, the Google way “to smart” the TV.
This talk we’ll give you an overview about the streaming in Android. Starting from video streaming on mobile devices, we will guide you into the evolution of the development through Chromecast up to Android TV.
Matteo Bonifazi and Alessandro Martellucci will be illustrating this talk with their experiences developing mobile television applications for the main Italian broadcaster providers.
TiCalabash: Fully automated Acceptance Testing @ TiConf EU 2014Andrew McElroy
Acceptance testing has become a crucial step of software development,
but it has been a noticeably missing piece of the Titanium mobile
application development puzzle. TiCalabash is a new tool, developed
specifically for Titanium to bring mobile development a significant step
forward in reducing time and resource risk and increasing user acceptance
and overall quality of development. Fully automated, using human-readable
language, and offering full end-to-end acceptance testing, TiCalabash should
be a major part of your mobile development toolbox.
9 Step Guide to Create Ripple View Effect in AndroidNine Hertz
After the release of Android Lollipop, developers are highly excited to create Ripple View Effect in Android apps. Ripple View Effect really gives an amazing look to the Android applications. Hence Nine Hertz has created a 9 step guide on how to create Ripple View Effect. Original Source: http://goo.gl/SRAH6f
This is the simple guide which helps even the beginners to develop an android app which gets the attention of the market. Build your basic app in few steps
Developing Mobile Application using PhonegapFahim Abdullah
Develop a Mobile Application by knowing HTML,CSS & Java Script Only!!
One can convert his Web Application to apk (for android user), ipa (for i phone user), & also for windows user by knowing Phonegap!!
Do you feel trouble finding everything related to Appium set up in a single place during Automation env set up and unable to understand a few things like what is WebdriverAgent, Carthage? Why are provisioning profile and code signing required in the iOS Appium setup, and what does it mean? then it's for you.
it will help you with Appium set up in android and iOS devices on Mac OS.
Firebase crashlytics integration in iOS swift (dSYM File Required Problem Res...InnovationM
Nowadays, Firebase Crashlytics is a very important part of our projects to monitor crashes of our applications that may be an android or iOS application. For the time being it is an unbeatable tool to log your day to day crashes for each user of your application.
This is the simple guide which helps even the beginners to develop an android app which gets the attention of the market. Build your basic app in few steps
This for developers who have not yet attempted the Android SDK.
This will give the needed clarity by giving the much needed initial push to setup your Windows development environment and build a sample Android application.
3. July6, 2015 POLYCOM CAST APP
2 Cast Application| Polycom,Inc.
Introduction
Do you want to show your meeting content for a group of members? Share meeting experience
with your colleagues and friends? Do you want to cast the content even after you turned off
your mobile device? Do you want to cast your meeting content even after your mobile device
turned off?
Here is a solution for that; Polycom Cast Application. It provides the feature of casting
and uses chrome cast as casting device. Polycom Cast Application just needs username,
password and meeting ID, by entering these required credentials it will take you to the
webView of apiView and at the top of the application window you can see the cast button, you
can select the device to which you want to cast.
Preliminary Checklist
Both the casting device (android mobile or tablet) and casting to device (HDMI enabled
TV or monitor) should be in same Wi-Fi connectivity.
Check whether the casting icon at the top of the application window when you start it.
Make sure that username, password and meeting ID are known.
4. July6, 2015 POLYCOM CAST APP
3 Cast Application| Polycom,Inc.
Why chrome cast?
This section describes why we have chosen chrome cast.
The main and profitable reason is, it is very cheaper than any other casting device.
Chrome cast can cast most of the applications like Netflix, YouTube. Connecting the dongle is
pretty simple and just needs an HDMI port for TV or monitor. TabCasting is another advantage
provided by chrome cast. We can cast any site by using the option TabCast from chrome
browser.
The following table lists Major Apps compared among Google Chrome cast, Roku, Apple TV
and Amazon Fire TV.
Google Chrome Cast Roku Apple TV Amazon Fire TV
Netflix Cast Yes Yes Yes
Amazon
Instant
Tab cast Yes Airplay Yes
You Tube Cast Yes Yes Yes
Flixster Cast Yes No Yes
Starz Play Cast No No No
Crackle Cast Yes Yes Yes
PBS Tab Cast Yes Yes Yes
BloombergTV Cast Yes Yes Yes
Pandora Cast Yes Airplay Yes
Spotify Tab Cast Yes Yes Yes
5. July6, 2015 POLYCOM CAST APP
4 Cast Application| Polycom,Inc.
Rhapsody Cast No Airplay No
Tuneln Tab Cast Yes Airplay Yes
Google Music Cast No No No
Google Play
Movies and TV
Cast Yes No No
Plex Cast Yes Yes Yes
Now we can consider some questions like: What will this application can do? Why anyone
need this? Where this can be useful? How to use?
What will this application can do?
Meetings from wspbeta1 server can be casted into big screens. Casting to big screens
makes you feel better towards clarity and will be much helpful in group discussions. For
example consider a scenario of a conference where you are the only person who can access to
the meeting but remaining people also needs to listen to that meeting, at that time this will
helps you a lot.
If you have a laptop then open meeting in chrome browser and just cast it. For casting
the content view from a laptop it should be installed with chrome browser or else you can cast
it from android app which just asks to enter some credentials.
6. July6, 2015 POLYCOM CAST APP
5 Cast Application| Polycom,Inc.
Why anyone need this?
In general case if you want to show anything on big screen you can use tab casting
option from Google Cast extension but with less resolution. This application will help you to
cast meeting ApiView with high resolution also works faster than tab casting. It is very easy to
share the meeting content to friends, colleagues with Polycom Cast App. It will be very helpful
for the people for those who aren’t with good eye sight.
Where this can be useful?
Think that you are in a journey and not able to take laptop with you and have to a
meeting. If your android device has installed with Polycom Cast App Hence this application
will open webView in android device and enables cast experience, this will helps allot for big
conferences. If your device has enabled with Wi-Fi as same as chrome cast you can get cast
icon if you are not then your device already featured with webView page, by this you can
participate in the meeting.
And also in a case that where you don’t have enough battery charging on your device
you can just cast it to the big screen and can see the content. If your mobile device may get
switched off or may crash still you can see the content on your big screen since it is directly
streaming from server.
7. July6, 2015 POLYCOM CAST APP
6 Cast Application| Polycom,Inc.
How to use?
Just install and open the Polycom Cast App you can see the UI as shown in the following figure:
Then enter username, password and meeting ID and click on LOGIN button. If authentication
gets success then you will be redirected to webView and cast icon at the right top of the
window as shown in the above figure. For casting just tap on the cast icon it will show the
active cast devices you can select a device from the dropdown. Then it will be casted onto the
big screen. Final result will be Happy Casting!!
8. July6, 2015 POLYCOM CAST APP
7 Cast Application| Polycom,Inc.
Instructions for Developers
Execution of Android Project:
Install Android Studio:
Go to https://developer.android.com/sdk/index.html click on “Download Android
Studio for Windows”.
Run the installer, it will asks for permission to run just click on Ok.
Then installer wizard will be opened click next to continue, follow the
instructions and finish the installation process.
1. After installation, start Android Studio by clicking on shortcut that has been created on
the desktop or else go for path where the tool had been installed, in bin folder click on
the application file, there starts the Android Studio.
2. Select Import Project option from the window displayed.
3. Select the “NewProject” from the unzipped content and then click Ok (you can select
any other android project instead of “NewProject”).
4. After importing the project you can see only the app folder at right of window.
5. To run the project click on RUN option at tool bar, and select “Run app” option from the
popup.
6. After building the gradle successfully it will asks to choose an emulator (it will show
default emulator, better to choose that) click Ok.
7. It will launch the emulator and runs application.
9. July6, 2015 POLYCOM CAST APP
8 Cast Application| Polycom,Inc.
Generating APK file:
1. Open android application in Android Studio, on toolbar click BUILD.
2. Select Generate Signed Apk option from the popup.
3. If keystore is already existed choose existing option else choose to create new.
4. After entering keystore details click ‘Next’.
5. Select the path for apk file to be generated in and then click Ok.
6. Apk file will be generated successfully if the keystore is correct.
7. The generated apk file can be installed to any android device.
Installing APK file into Android device:
1. Connect android device with the PC and copy the apk file into your device and just tap
on it to run after installation.
OR
2. Copy apk file into the store and just tap on it to run.
If u don’t have android studio you can use command line to generate apk file. For generating
apk file for android project you can follow the steps specified below:
1. Open command line and navigate to root of the project.
2. Just type “gradlew.bat assembleDebug” (it will build debug file at appbuildoutputsapk with
name apk-debug).
3. Wait for some time, until you get a message “Build Successfull”
10. July6, 2015 POLYCOM CAST APP
9 Cast Application| Polycom,Inc.
4. After that you can type “gradlew.bat assembleRelease” (it will build debug file at
appbuildoutputsapk with name apk-release-unsigned). It will creates unsigned apk.
5. When you build using the release build type, the .apk file is unsigned, so you must manually
sign it with your own private key, using Keytool and Jarsigner settings in the module’s
build.gradle file.
6. To build signed apk follow these steps:
Open a command-line and navigate to the root of your module directory.
Edit the build.gradle file at app to build your project in release mode:
...
android {
...
defaultConfig { ... }
signingConfigs {
release {
storeFile file("myreleasekey.keystore")
storePassword "password"
keyAlias "MyReleaseKey"
keyPassword "password"
}
}
buildTypes {
release {
...
signingConfig signingConfigs.release
}
}
}
...
On command-line again run “gradlew.bat assembleRelease”command
11. July6, 2015 POLYCOM CAST APP
10 Cast Application| Polycom,Inc.
7. This will generate “apk-release.apk” at “appbuildoutputsapk”. This .apk file has been signed
with the private key specified in build.gradle file. It’s readyfor installation and distribution.
NOTE:
“myreleasekey.keystore” should be existed in root folder otherwise we should specify
the absolute path for the keystore (keystore.jks).
Background procedure:
The solution for tackling the problem of casting when your mobile device turned off is to get a
connection between server and the chromecast, for which one needs to get connected with one
of the available chromecast devices.
Two protocols are implemented on Chromecast to support discovery of chromecast device:
The first is an implementation of the DIAL (DIscovery and Launch) protocol over
SSDP. This is the primary system used for the old v1 of Google Cast SDK.
The second protocol implemented is an mDNS (multicast Domain Name System)
server. This is the primary way of discovering a Chromecast that supports the
v2API. For achieving the objective of Polycom RPWS native APP for chromecast,
latest version of Chromecast discovery protocols mDNS is used.
12. July6, 2015 POLYCOM CAST APP
11 Cast Application| Polycom,Inc.
Steps involved :
1. Check whether Chromecast is available.
2. Request a session with the APPID of the receiver.
3. Lock the horns with Receiver by
i) Session Listener (if already Exists) or
ii) Receiver Listener (to Create a new one)
4. Initialize the receiver by
a) Receiver Listener (chosen if no session exists)
i) Generates “Session” object and checks the property of availability.
ii) Availability of at least one Chromecast device on the network will lead to a
valid session.
iii) Executes the onReady Function to execute the task specified.
b) Session Listener (chosen if a valid session exists)
i) With the existing session ID checks whether the session is Alive
If false – Remove the session and make session objects as null.
ii) Else (id true) get the messages from the receiver on the bus using namespace
iii) Execute the onReady unction to execute the task specified.
13. July6, 2015 POLYCOM CAST APP
12 Cast Application| Polycom,Inc.
Actions by Sender :
1. Sender gets the Username and Password from the login Page.
2. When user clicks on login with valid meeting ID, the Sender itself “POST” request the
server to get the Token ID and username.
The Parameters in the POST request are Origin (URL), Credentials (Usrname and
Password), headers, return data type (JSON) and Content Type.
3. On successful POST Request, there exists JSON as return type containing the valid Token
ID and Username.
4. Fills up the URL with the token ID and Username and meeting ID. For instance the URL
should be
https://rpwsbeta1.cloudax.is/?embedded=true&autostart=true&pluginenabled=false&stage=tru
e&token=095B2821CEA206B9-D3B59618-A24F64B8-E44D1BAE-
BE2A0E1BEC8065FC0EDD83D3&username=”username”&meeting=”meeting id”#/apiview
5. Thus formed URL is sent to the receiver.
14. July6, 2015 POLYCOM CAST APP
13 Cast Application| Polycom,Inc.
Actions by Receiver :
1. Starts the Receiver Manager.
2. Waits at the onReady Function (Untill some sender gets connected).
3. When sender gets connected, Receiver create a castMessageBud to handle messages
over the agreed upon namespace.
4. OnMessage arrival from sender, (i.e., URL), the receiver opens a browser with URL
received and acknowledges the sender upon its success/failure.
Upon the successful communication between sender and receiver there gets established
a virtual connection between the Cast Device and the server on the particular token ID
and meeting ID as sent by the sender. Receiver directly relies on the URL specified, as
directed by the sender app built-in to invoke the receiver independent of the sender
behavior (except Disconnection). On requesting a DELETE by the sender will disconnect
the session by invoking receiver. Another way to disconnect a session is that another
user in the same network destroys the current session and casts his session.