Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fast Initiation - Windows to Android without Google Files app #2434

Closed
aditya-mankal opened this issue Apr 12, 2024 · 2 comments
Closed

Fast Initiation - Windows to Android without Google Files app #2434

aditya-mankal opened this issue Apr 12, 2024 · 2 comments
Labels
duplicate Issue is closed as a duplicate of an existing issue type: question General questions (we may not have time to provide an answer)

Comments

@aditya-mankal
Copy link

Hello,

I am creating an app for Windows to share files from Windows to Android. I am able to transfer the files to nearby Android devices, but I need to use Google Files app (or) launch this Activity Intent on the Android device to be able to discover my Android device on Windows.

Action: com.google.android.gms.RECEIVE_NEARBY
Mime type: */*

I want to avoid the above and achieve Fast Initiation, which I have attempted with these bits.

constexpr uint8_t kFastInitiationServiceId[] = {0xfe, 0x2c};
constexpr uint8_t kFastInitiationModelId[] = {0xfc, 0x12, 0x8e};

However, the Android device is not being nudged into a discoverable mode.
Can someone please help me with the right approach to nudge the Android device into a discoverable mode?

image

Reference: fast_initiation_advertiser.cc - chromium

@aditya-mankal aditya-mankal added needs-triage Issue still needs to be assigned, labeled and deduplicated type: question General questions (we may not have time to provide an answer) labels Apr 12, 2024
@bourdakos1
Copy link
Collaborator

Hey @aditya-mankal, I'm in the process of converting "question" issues into discussions.

The original issue has been converted to a discussion and can be found here: #2446. I'm going to mark this as a duplicate, but feel free to repost the info as a comment to the discussion. I'll see if I can find more info on the exact advertising format and get back to you in that thread :)

@bourdakos1 bourdakos1 added duplicate Issue is closed as a duplicate of an existing issue and removed needs-triage Issue still needs to be assigned, labeled and deduplicated labels Apr 16, 2024
@aditya-mankal
Copy link
Author

Thank you @bourdakos1! Looking forward to your input on this question. Will keep an eye on this post and also on #2446

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue is closed as a duplicate of an existing issue type: question General questions (we may not have time to provide an answer)
Projects
None yet
Development

No branches or pull requests

2 participants