Log in or register to post comments

How to save a file with target name?

December 1, 2014 - 1:01pm #1

I need get target name for my app when detected my target, I'm trying like in image but don't work. Any ideas? 

 

 

 

AttachmentSize
Image icon tentando.jpg190.83 KB

How to save a file with target name?

December 6, 2014 - 8:15pm #7

Let me see. I'm looking in google about save files with android. Maybe don't save in my pc because app is running in my cellphone.

...

 

So I searched and find the solution :)

How to save:

http://stackoverflow.com/questions/19853401/android-saving-to-sd-card-as-text-file

permission:

http://stackoverflow.com/questions/19940179/conflict-between-vuforia-plugin-and-prime31-facebook-plugin-for-android-on-unity

 

Put permession <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> in AndroidManifest.xml

How to save a file with target name?

December 6, 2014 - 6:28pm #6

System.out.printl don't work or run .bat, nothing in class. Just app in my cellphone.

How to save a file with target name?

December 6, 2014 - 6:27pm #5

It's the same in image. Whe I try showToast(trackable.getNome()) show name in my display, but don't save name :(. Do you can send me a project example where save the name? Please.

How to save a file with target name?

December 3, 2014 - 8:47pm #4

Correction to my earlier post:

Meant to reference the TargetSearchResult class and not ImageTargetResult. The TargetSearchResult class does have the getTargetName() method. What string value is returned when you call this method?

 

How to save a file with target name?

December 3, 2014 - 3:26pm #3

error:
the method is undefined for the type

How to save a file with target name?

December 3, 2014 - 2:53pm #2

Did you try result.getTrackable().getName()?

Class: ImageTargetResult

Class: Trackable

 

Log in or register to post comments