Start a new topic

attach google map places with POIs

image

I have created android app till this image in android studio using javascript API. I want POIs that contain google map places instead of this randon POIs. What should I do?



Hi,


you need to write your own service, that gets the information from Google Places and then inject that into your Wikitude based AR experience. There is no pre-made service for that available.


Cheers

Phil


1 person likes this
What error are you getting joel carneiro?

1 person likes this
Can you please send me ur email address so that we can talk there.

1 person likes this
Can you please tell me any reference using which i can get help about this.
Thanks for your help
Are you talking about web service?

bhoomi vaghasiya can you help me to make the setup the project in the Android Studio? I always have errors in gradle. How did you do that?


PS: I also want to do an app like yours, using the map POI.


Thanks in advance!

Right now, it is :


Error:A problem occurred configuring project ':wikitude-sdk-samples'.

> Failed to find target with hash string 'android-26' in: C:\Sdk




this is my build.gradle :



apply plugin: 'com.android.application'

android {

compileSdkVersion 26
buildToolsVersion commonBuildToolsVersion

defaultConfig {
applicationId "com.wikitude.sdksamples"
minSdkVersion 15
targetSdkVersion 26
versionName "7.2.1"
versionCode 7210
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
debuggable true
}
}

applicationVariants.all { variant ->
variant.outputs.each { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.apk')) {
def fileName = "wikitude-sdk-samples-" + variant.buildType.name + ".apk"
output.outputFile = new File(outputFile.parent, fileName)
}
}
}

flavorDimensions "arch"

productFlavors {
arm7 {
dimension "arch"
}
arm8 {
dimension "arch"
}
x86 {
dimension "arch"
}
allarchs {
dimension "arch"
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile (name: 'wikitudesdk', ext :'aar')
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'

arm7Compile project(path: ':plugins', configuration: 'arm7Release')
arm8Compile project(path: ':plugins', configuration: 'arm8Release')
x86Compile project(path: ':plugins', configuration: 'x86Release')
allarchsCompile project(path: ':plugins', configuration: 'allarchsRelease')

compile "com.android.support:appcompat-v7:26.1.0"
}

repositories {
flatDir {
dirs 'libs'
}
}


image



but it is installed

You should check SDK TOOLS instead of SDK PLATFORM

 

I have this: 

image




Did you setup from scratch or did you used the Wikitude-sdk-samples folder from the SDK?

 

 

 

I am trying to do it in both ways. But I don't have advances:/ 

If I create a new project, the compileSdkVersion 26 builds successfully. I don't understand why in the sdk-examples it doesn't work :/

which steps you have followed to create this app in android studio?Is there Any reference?

 

I also used this
Login or Signup to post a comment