Embedding Survey In Mobile Apps

亡梦爱人 提交于 2019-12-13 05:04:59

问题


Don't know too much about the mobile space, so I hope I'm asking the right questions. Here goes...

Is it possible to embed a quick survey into mobile apps? These are custom surveys in HTML5 format. Not a commercial service like Wufoo. This is a proprietary system. The only thing the app developer would need is a JavaScript tag from me and the rest is handled by the script that’s called.

If you’ve played Temple Run 2 recently, you might notice that sometimes before your run starts, the screen goes black, and an ad pops up. If you close out of the ad, you go back to the game. My survey would behave the same way. Each time the user answers a question and moves on to the next, a call to my server is made where the data will be captured and recorded.

Is something like this possible at the scripting level, or would the developer need to implement such a feature at the Java or Objective C level? Any advice would be greatly appreciated!


回答1:


That is totally possible on Android, you would just load a popup on android with a WebView (a browser like component) that loads a fixed page. The loaded page is totally under your control and can be changed from the outside without changing a line of Java code.



来源:https://stackoverflow.com/questions/16308138/embedding-survey-in-mobile-apps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!