Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 827 Bytes

File metadata and controls

24 lines (18 loc) · 827 Bytes

NearbyAPITest

This is a test project for Google's Nearby API

Config

Generate your API key from Google Developers Console. Then, configure your manifest with the API Key generated in the previous step:

manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.sample.app" >
<application ...>
    <meta-data
        android:name="com.google.android.nearby.messages.API_KEY"
        android:value="API_KEY" />
    <activity>
    ...
    </activity>
</application>
</manifest>

Output

Check Log to see published messages from nearby devices , using this app.