[mythtv-commits] Ticket #13229: Android frontend needs a HostName

MythTV noreply at mythtv.org
Wed Feb 28 21:35:08 UTC 2018


#13229: Android frontend needs a HostName
----------------------------------+-----------------------------
 Reporter:  pbennett              |          Owner:  pbennett
     Type:  Bug Report - General  |         Status:  accepted
 Priority:  minor                 |      Milestone:  30.0
Component:  Ports - Android       |        Version:  Master Head
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+-----------------------------

Comment (by markspieth):

 Replace both includes with
 {{{
 #include <QtAndroidExtras>
 }}}

 Replace the first call with
 {{{
 QAndroidJniObject activity = QtAndroid::androidActivity();
 }}}

 See mythdisplay.cpp for example (search DispInfo: and then LOC)

 I usually don't bother with exception checking.

 Also Im not sure you need an object since the final is a static object
 method call. Not sure whats required in this case.

 The string param in the last call could probably be just a literal.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13229#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list