Thank you for your answer.
The answer to your question is yes.
I attach the application made by App Inventor and the file I received from Google Play.
I can't attach the application file here...
Hello again Jisoo
- Sorry but private messages are not accepted.
Please add your posts to your original Forum Topic. - We need to see your Project file (.aia), or at least your Blocks.
- We need to see the actual Google Play file.
Attach files to your post via:
You can export your Project via the "My Projects" drop-down menu:
You can capture your Blocks Code in App Inventor. Via the right-mouse-click menu, select "Download blocks as image".
Ok, so your App consists of five buttons that goto web pages on your website. The web pages consist of text, images and YouTube links.
The site is clearly religious.
Where is the Google Play document that rejects your App?
Google Play has issues with at least some apps that provide links to YouTube. Your app probably will violate the TOS terms of service if you upload to Google Play. See this Forum discussion https://groups.google.com/forum/#!searchin/mitappinventortest/imperati$20bean|sort:date/mitappinventortest/AKUPgHqRlZE/2zf3R0uABwAJ
Load an app with a link to a YouTube video to GooglePlay and the app probably will be suspended or not allowed to be posted on Google Play. What probably is happening is YouTube does not want developers accessing the videos on their platform other than using YouTube's apps and Google is indicating that you are not allowed to create an app that links to one or more off the YouTube video's in your app. You can build the app but are not allowed to distribute it on Google Play because it violates their policies.
Regards,
Steve
Hello. Thanks to you, I was able to make it using the App Inventor on our homepage. I was happy to sign up for Google Play last week, but I was rejected for violating my policy due to YouTube's background play. When I checked, I was able to see that the YouTube video in the homepage plays through the app, unlike when I watch YouTube videos on my browser, even if the screen on my phone is turned off.
How should I solve this problem?
Homepage is http://gnpnews.org/
Please check.
Hello Jisoo_Lee
Your website plays your own videos, hosted by YouTube, on demand - is that correct?
- We need to see your Project to understand what happens with your App.
- We also need to see a screen capture of the rejection by Google Play. Can't help you without that.
...and the written Google document?
Hello. Christopher.
I got it in Korean, so I'll summarize the contents.The e-mail I received from Google that I could not upload the app because it violated information about device and network abuse policies. So I sent an e-mail asking for a detailed explanation, and the response I received was about running the background of YouTube when cell phone was in standby mode.
Jisoo, no problem with the document being in Korean.
Jisoo LEE κ°λ°μλ, μλ
νμΈμ.
μ΅κ·Ό 볡μκΈ°λμ λ¬Έ(appinventor.ai_hukuin0316.GPN_0624) μ±μ κ²ν ν κ²°κ³Ό μ±μ΄ νλ μ΄μμ κ°λ°μ νλ‘κ·Έλ¨ μ μ±
μ μ€μνμ§ μλ κ²μΌλ‘ νμΈλμμ΅λλ€. μλμμ μ± μνμ λ¬Έμ ν΄κ²° λ°©λ²μ μμΈν μμ보μκΈ° λ°λλλ€.
κΈ°κΈ° λ° λ€νΈμν¬ μ
μ© μ μ±
κ΄λ ¨ μ 보
μ¬μ©μμ κΈ°κΈ°, κΈ°ν κΈ°κΈ° λλ μ»΄ν¨ν°, μλ², λ€νΈμν¬, μ ν리μΌμ΄μ
νλ‘κ·Έλλ° μΈν°νμ΄μ€(API), μλΉμ€(κΈ°κΈ°μ μ€μΉλ κΈ°ν μ±, Google μλΉμ€, μΉμΈλ μ΄λν΅μ μ¬ λ€νΈμν¬λ₯Ό ν¬ν¨νλ μ΄μ κ΅νλμ§ μμ)λ₯Ό λ°©ν΄νκ±°λ, μλμ μ§μ₯μ μ£Όκ±°λ, μμνκ±°λ, 무λ¨μΌλ‘ μ‘μΈμ€νλ μ±μ νμ©λμ§ μμ΅λλ€.
μ±μ΄ μλΉμ€ μ½κ΄μ μλ°νλ λ°©μμΌλ‘ μλΉμ€ λλ APIμ μ‘μΈμ€νκ±°λ μ΄λ₯Ό μ¬μ©ν΄μλ μ λ©λλ€. μλ₯Ό λ€μ΄, μ±μμ YouTube μλΉμ€ μ½κ΄μ μλ°νλ λ°©λ²μΌλ‘ YouTube λμμμ μ€νλΌμΈ μ μ₯νκ±°λ μ¬μ©νκ³ μ΄λ₯Ό ν΅ν΄ μμ΅μ μ°½μΆν΄μλ μ λ©λλ€.
μ± μν: κ±°λΆλ¨
μ μ±
λ¬Έμ λ‘ μΈν΄ μ±μ΄ κ±°λΆλμμΌλ©° κ²μλμ§ μμμ΅λλ€. κΈ°μ‘΄ μ±μ μ
λ°μ΄νΈλ₯Ό μ μΆνμ κ²μ΄λΌλ©΄ μ΄μ μ κ²μλ λ²μ μ Google Playμμ μ¬μ©μμκ² κ³μ μ 곡λ©λλ€.
μ‘°μΉ νμ: μ
λ°μ΄νΈν μ±μ μ μΆνμ¬ κ²ν λ°κΈ°
Google Playμ μ±μ κ²μνμλ €λ©΄ λ€μ λ¨κ³λ₯Ό λ°λ₯΄μΈμ.
- [κΈ°κΈ° λ° λ€νΈμν¬ μ μ©]μ μ± μ μ½κ³ μμΈν λ΄μ©μ νμΈν©λλ€.
- μ±μ΄ μ μ± μ μ€μνλλ‘ λ³κ²½νκ³ μμ μ€λͺ λ λ¬Έμ λ₯Ό ν΄κ²°ν©λλ€. λν ν΄λΉνλ κ²½μ° μ±μ μ€ν μ΄ λ±λ‘μ 보λ μ μ± μ μ€μνλμ§ νμΈν©λλ€.
- μ±μ΄ λ€λ₯Έ λͺ¨λ κ°λ°μ νλ‘κ·Έλ¨ μ μ± μ μ€μνλμ§ λ€μ νλ² νμΈν©λλ€.
- [Play Console]μ λ‘κ·ΈμΈνμ¬ μ± μ
λ°μ΄νΈλ₯Ό μ μΆν©λλ€.
μ§μνμ λ¬Έμ
μ μ± μ κ²ν νμΌλ©° Googleμ κ²°μ μ΄ μλͺ»λμλ€κ³ μκ°νμλ©΄ Google [μ μ± μ§μν]μ λ¬ΈμνμκΈ° λ°λλλ€. μμ μΌ κΈ°μ€ 2μΌ μ΄λ΄μ μ°λ½λλ¦¬κ² μ΅λλ€.
Google Playκ° κ°λ°μμ μλΉμ λͺ¨λμκ² λ§μ‘±μ€λ¬μ΄ κ²½νμ μ 곡ν μ μλλ‘ μ§μμ μΌλ‘ νλ ₯ν΄ μ£Όμ μ κ°μ¬ν©λλ€. Google Playμ μ±μ μ λ°μ΄νΈλ λ²μ μ΄ κ²μλ μ μκΈ°λ₯Ό λ°λλλ€.
[μ€λ¬Έμ‘°μ¬(2λ¬Έν)μ μ°Έμ¬νμ μ κ°λ°μ νκ²½ κ°μ μ λμ°Έν΄ μ£ΌμΈμ.
OK, I think we may be able to fix that, I will take a look.
Hi again Jisoo
Some things of note:
-
Your 512 x 512 icon will crash the installation on some phones. Change it to a 96 x 96 PNG file (preferably zero compression).
-
Your Screen1 JPG image file can also cause an installation crash - it's highly compressed. I suggest that you crop it tightly to the logo area and save it as a 24 bit PNG with zero compression. You can position it on screen in a Horizontal Arrangement. The Text at the bottom, 'Gospel Prayer Newspaper' can simply be text in a Label.
https://www.professorcad.co.uk/appinventortips#TipsImages
https://www.professorcad.co.uk/appinventortips#TipsApk
- You might want to consider reducing the time the User has to stare at the Screen 1 image! In fact, I have found that it causes an issue. When the User is returned to Screen 1, the timer will send him/her back to Screen 3. So, that timer has to be replaced with a button to enter the website.
On Screen 3 you are using labels as separators, good practice but you must give a height - it can't be automatic because that results in a height of zero. Also, setting the width in pixels will make the tool bar too small on some phones and too wide on others - best to use % values.
Concerning the YouTube links continuing to play when the App is Closed. We can return the Web Viewer to the home URL and return the User to Screen 1, Closing Screen 3. The User can exit the App from Screen 1 - encourage this with an exit button (which closes the App). This is not a perfect solution because it is still possible for the User to exit the App while on Screen 3 via the device button, so I have added an exit button to the Screen 3 toolbar as an added incentive for the User to use the App buttons.
I really do not know if Google will accept it.
Test the attached as an APK
GPN_0703_2.aia (110.8 KB)
Screen 1
Screen 3
Hi Christopher
Thank you very much.
I'll try.
Thank you so much.
what about using the tools extension together with its ActivityStateChanged event?
if state = pause
then do what ever you like to do, for example stop playing the video
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Hi Taifun
By 'state = pause' you mean detect that the home button has been tapped to dismiss the App?
Hello. Christopher
If you click an article on the webviewer page, you have to go to the article page, but it doesn't. I think we need to solve this problem. And I don't think the video problem on YouTube has been solved.
and I will study more about the activityStateChanged you taught me. Thank you.
Hi Jisoo
If links on the website do not work in the Web Viewer:
- Check the properties palette - is "follow links" selected ?
- The web page has something incompatible with the Web Viewer
I think the issue of the video continuing to play after the App has been closed via the device home button is a 50-50 issue. We have put in place measures to prevent the issue, including a note to the User. That may or may not be acceptable.
The Activity State Change was suggested by my colleague Taifun. I have not worked out how to apply it to your case.