René's URL Explorer Experiment


Title: Incorrect advice in android_support.h file from SDK. · Issue #57 · playgameservices/cpp-android-basic-samples · GitHub

Open Graph Title: Incorrect advice in android_support.h file from SDK. · Issue #57 · playgameservices/cpp-android-basic-samples

X Title: Incorrect advice in android_support.h file from SDK. · Issue #57 · playgameservices/cpp-android-basic-samples

Description: In the gpg-cpp-sdk v 3.0.1 there is a file android/include/gpg/android_support.h This file mentions: *

Example code for an Android 4.0+ game using a Java Activity

* In your Java Activity, please add the following. You may need t...

Open Graph Description: In the gpg-cpp-sdk v 3.0.1 there is a file android/include/gpg/android_support.h This file mentions: *

Example code for an Android 4.0+ game using a Java Activity

* In your Java Activity, ...

X Description: In the gpg-cpp-sdk v 3.0.1 there is a file android/include/gpg/android_support.h This file mentions: * <h1>Example code for an Android 4.0+ game using a Java Activity</h1> * In your Jav...

Opengraph URL: https://github.com/playgameservices/cpp-android-basic-samples/issues/57

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Incorrect advice in android_support.h file from SDK.","articleBody":"In the gpg-cpp-sdk v 3.0.1 there is a file **android/include/gpg/android_support.h**\r\n\r\nThis file mentions:\r\n\r\n```\r\n* \u003ch1\u003eExample code for an Android 4.0+ game using a Java Activity\u003c/h1\u003e\r\n * In your Java Activity, please add the following. You may need to merge this\r\n * code with your existing lifecycle functions.\r\n * \\code\r\n * public class YourActivity extends Activity {\r\n *   protected void onActivityResult(int requestCode,\r\n *                                   int resultCode,\r\n *                                   Intent data) {\r\n *     super.onActivityResult(requestCode, resultCode, data);\r\n *     nativeOnActivityResult(this, requestCode, resultCode, data);\r\n *   }\r\n *\r\n *   // Implemented in C++.\r\n *   private static native void nativeOnActivityResult(\r\n *       Activity activity,\r\n *       int requestCode,\r\n *       int resultCode,\r\n *       Intent data);\r\n * }\r\n * \\endcode\r\n * Then, in your native library, add the following forwarding functions.\r\n * \\code\r\n * void Java_com_example_yourapp_YourActivity_nativeOnActivityResult(\r\n *     JNIEnv* env,\r\n *     jobject thiz,\r\n *     jobject activity,\r\n *     jint request_code,\r\n *     jint result_code,\r\n *     jobject data) {\r\n *   gpg::AndroidSupport::OnActivityResult(\r\n *       env, activity, request_code, result_code, data);\r\n * }\r\n * \\endcode\r\n```\r\n\r\nThese code snippets are incorrect.\r\n\r\nThe Java part of the code defines a static function, without a 'thiz' pointer.\r\n\r\nThe C part of the code defines a non static function, with a 'thiz' pointer.\r\n\r\nThese do not rhyme.\r\n\r\nCausing android studio to warn:\r\n\r\n![image](https://user-images.githubusercontent.com/455280/53825775-f51d6a00-3f2b-11e9-9057-1468e1f9e903.png)\r\n\r\nPlease address, @hak ","author":{"url":"https://github.com/stolk","@type":"Person","name":"stolk"},"datePublished":"2019-03-05T17:51:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/57/cpp-android-basic-samples/issues/57"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b0114b96-8603-53b8-4ae9-956abc5f4349
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9170:36A82:11D6AF9:188383B:69694628
html-safe-nonce16fba93fbd2a27f4edca8a5bd2897e39255e22fb1f6e1c1922b10dbae48aee93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTcwOjM2QTgyOjExRDZBRjk6MTg4MzgzQjo2OTY5NDYyOCIsInZpc2l0b3JfaWQiOiI3ODIyNzU5MDAxMjU2OTY5NzY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac853af32554c08ca6cf125dea7ff78e856a6d88859a7d87b9553ea469ee0cdbb9
hovercard-subject-tagissue:417422763
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/playgameservices/cpp-android-basic-samples/57/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9ddd9d6c84be7c3d9d98b6123537c6852e0df2659a2d6281ce85c8c40bbbe010/playgameservices/cpp-android-basic-samples/issues/57
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ddd9d6c84be7c3d9d98b6123537c6852e0df2659a2d6281ce85c8c40bbbe010/playgameservices/cpp-android-basic-samples/issues/57
og:image:altIn the gpg-cpp-sdk v 3.0.1 there is a file android/include/gpg/android_support.h This file mentions: *

Example code for an Android 4.0+ game using a Java Activity

* In your Java Activity, ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamestolk
hostnamegithub.com
expected-hostnamegithub.com
None54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d
turbo-cache-controlno-preview
go-importgithub.com/playgameservices/cpp-android-basic-samples git https://github.com/playgameservices/cpp-android-basic-samples.git
octolytics-dimension-user_id4439547
octolytics-dimension-user_loginplaygameservices
octolytics-dimension-repository_id17817139
octolytics-dimension-repository_nwoplaygameservices/cpp-android-basic-samples
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17817139
octolytics-dimension-repository_network_root_nwoplaygameservices/cpp-android-basic-samples
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
released69ac0477df0f87da03b8b06cebd187012d7a930
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/playgameservices/cpp-android-basic-samples/issues/57#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplaygameservices%2Fcpp-android-basic-samples%2Fissues%2F57
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplaygameservices%2Fcpp-android-basic-samples%2Fissues%2F57
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=playgameservices%2Fcpp-android-basic-samples
Reloadhttps://github.com/playgameservices/cpp-android-basic-samples/issues/57
Reloadhttps://github.com/playgameservices/cpp-android-basic-samples/issues/57
Reloadhttps://github.com/playgameservices/cpp-android-basic-samples/issues/57
playgameservices https://github.com/playgameservices
cpp-android-basic-sampleshttps://github.com/playgameservices/cpp-android-basic-samples
Notifications https://github.com/login?return_to=%2Fplaygameservices%2Fcpp-android-basic-samples
Fork 137 https://github.com/login?return_to=%2Fplaygameservices%2Fcpp-android-basic-samples
Star 319 https://github.com/login?return_to=%2Fplaygameservices%2Fcpp-android-basic-samples
Code https://github.com/playgameservices/cpp-android-basic-samples
Issues 28 https://github.com/playgameservices/cpp-android-basic-samples/issues
Pull requests 1 https://github.com/playgameservices/cpp-android-basic-samples/pulls
Actions https://github.com/playgameservices/cpp-android-basic-samples/actions
Projects 0 https://github.com/playgameservices/cpp-android-basic-samples/projects
Wiki https://github.com/playgameservices/cpp-android-basic-samples/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/playgameservices/cpp-android-basic-samples/security
Please reload this pagehttps://github.com/playgameservices/cpp-android-basic-samples/issues/57
Insights https://github.com/playgameservices/cpp-android-basic-samples/pulse
Code https://github.com/playgameservices/cpp-android-basic-samples
Issues https://github.com/playgameservices/cpp-android-basic-samples/issues
Pull requests https://github.com/playgameservices/cpp-android-basic-samples/pulls
Actions https://github.com/playgameservices/cpp-android-basic-samples/actions
Projects https://github.com/playgameservices/cpp-android-basic-samples/projects
Wiki https://github.com/playgameservices/cpp-android-basic-samples/wiki
Security https://github.com/playgameservices/cpp-android-basic-samples/security
Insights https://github.com/playgameservices/cpp-android-basic-samples/pulse
New issuehttps://github.com/login?return_to=https://github.com/playgameservices/cpp-android-basic-samples/issues/57
New issuehttps://github.com/login?return_to=https://github.com/playgameservices/cpp-android-basic-samples/issues/57
Incorrect advice in android_support.h file from SDK.https://github.com/playgameservices/cpp-android-basic-samples/issues/57#top
https://github.com/stolk
https://github.com/stolk
stolkhttps://github.com/stolk
on Mar 5, 2019https://github.com/playgameservices/cpp-android-basic-samples/issues/57#issue-417422763
https://user-images.githubusercontent.com/455280/53825775-f51d6a00-3f2b-11e9-9057-1468e1f9e903.png
@hakhttps://github.com/hak
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.