Log in or register to post comments

Core Sample Android App not working correctly

May 26, 2015 - 1:58am #1

I follwed the getting started guide and do all necessary things after importing "Core Sample" App to Eclips workspace. There is no error and App installed to the phone correctly and this activity started. https://vuforiacontent.qualcomm.com/Images/android_deploy_and_run_application.png

When I click "Image Target" it will open another activity with some introduction and contain web page urls. There is a Start button on bottom of the activity layout.

After I click the Start button it again rederected to the previous activity. -- > https://vuforiacontent.qualcomm.com/Images/android_deploy_and_run_application.png  

I think that when I click start button App will be able to launch camera view activity and allow us to track targets.

How can I fix above issue?

Thank you in Advance

 

 

 

teapot touch events with java

June 15, 2016 - 10:39pm #40

Hi,

    I have run the sample of vuforia I am not using c++ I am just using java for android. I want to to apply touch events in java how can I rotate teapot and grab accordingly in java?? Before I have found the code in the forum but that is in C++ and it is not working I put it in java file.  I do not have ImageTargets.cpp, I have ImageTargets.java. Please guide me how can I do that thanks

Core Sample Android App not working correctly

August 3, 2015 - 2:58pm #39

I tried the Vuforia Samples on Moto X running 4.4.4 model number XT1053 and the app works fine. Also did you create dataset from a 3D model to be used in ObjectReco sample app? If you didn't add any dataset, you will be getting an error pop up saying "Database not found: Please scan an object and load a database". You can use other apps like Image Targets to test if the app is working fine, if you didn't scan any model. I have also tested in Nexus 5 and Samsung S3/S4/S5/S6 and the app works fine without any issues. Did you follow the guide properly when you build the sample app? Thanks!

Core Sample Android App not working correctly

August 2, 2015 - 12:39pm #38

Hey, I've done as you said. I downloaded the latest version of the SDK and the samples but they appear to give the same problems, with one exception. On an Android 4.4.4 running on a moto x first gen the [Object Reco] sample exhibited the same flashing screen, but some times a black screen took over the entire screen and made the device to reboot. Testing on a moto g second gen 5.0.2, the blinking screen persisted but other error showed up. check the attachment. I've heard the trying everything with a nexus 5 could give a different result. I'll try to get one ir order to test it. Which devices you guys use to test? 

I also tried the followig:

Clearing the cashe, restating the device, forcing it to stop.

I'll keep doing things here.

Core Sample Android App not working correctly

July 30, 2015 - 2:24pm #37

We didn't see any activity in the logs from your device. Also can you confirm the same app works fine on other devices and only on the Moto Maxx it doesn't work? Btw we relesed Vuforia 5 yesterday, did you get a chance to try out the latest Vuforia 5 sample app, just to verify whether the app works using the latest SDK or not. Let me know how your tests go. Thanks!

Core Sample Android App not working correctly

July 23, 2015 - 12:23pm #36

Hi, I´ll do as you say.

I´m using Vuforia 4.2.3 .  I am going to keep the activity on the app installed on the phone.

AttachmentSize
Image icon packageApp.png60.38 KB

Core Sample Android App not working correctly

July 22, 2015 - 4:53pm #35

Sent you a message with the details required.

Core Sample Android App not working correctly

July 22, 2015 - 12:50pm #34

I´m sorry but I don´t understand what you mean by message you my app name and the package name. What exactly you want to know? 

Core Sample Android App not working correctly

July 20, 2015 - 11:26am #33

Thanks for trying it out. Can you message me your app name and the package name? I can try to look it up in the logs and see if your device picks up any incorrect values. Also repeat the same steps again as mentioned previously regarding clearing cache, etc and post a message once done, so I can look up the logs.

 

Core Sample Android App not working correctly

July 17, 2015 - 11:15am #32

I´ve done as you said and the error persists. I tried with wifi and cellular connections but none of them worked.

Core Sample Android App not working correctly

July 17, 2015 - 9:33am #31

Can you try the following? In your device settings, go to application manager and for the Vuforia sample app, can you clear cache and force stop the app and then relaunch the app and let me know if see the same error? Also make sure the device is connected to Wi-Fi when you relaunch the app.

Thanks

Core Sample Android App not working correctly

July 14, 2015 - 6:55pm #30

unfortunately yes. It happens with all samples. I have tested with Android 4.4.4(API 19), 5.0.2(API 21) and I'm looking for a device with 4.3.x(API 18) since the code make reference to the version (API 18). I'm trying everything I can, if you can help me with any tip. Is there something specific about the configuration of the environment I might be missing?

Thanks.

Core Sample Android App not working correctly

July 14, 2015 - 3:29pm #29

Thanks for the video, I saw that you were clicking on Object Reco sample app. Did the same blinking error happen on other samples (like Image Targets)?

Core Sample Android App not working correctly

July 14, 2015 - 10:34am #28

Thanks, I didn´t know it. 

If you follow this link[ https://youtu.be/GG8yTlrt0hw ] and go straight to the end of the video you´ll see the exact same error I´m facing on my device. 

Core Sample Android App not working correctly

July 13, 2015 - 11:27am #27

Vuforia does not support the Emulator; it can only run on device.

Core Sample Android App not working correctly

July 13, 2015 - 10:53am #26

Yes, correct. And other weird thing is that it doens't run on the emulator either.

Core Sample Android App not working correctly

July 13, 2015 - 10:45am #25

Thanks for the device info.

So, to summarize, you can reproduce the "invalid qct format" error on the device Moto Maxx on Android 5.0.2, and this can also be reproduced using the Vuforia Samples native Android apps.

Correct ?

 

Core Sample Android App not working correctly

July 13, 2015 - 9:20am #24

hey, here is an image with the information you asked.

AttachmentSize
Image icon versionPhone.png204.57 KB

Core Sample Android App not working correctly

July 9, 2015 - 11:18pm #23

The fact that your device supports OpenGL ES 3.0 should not be a problem; normally this should simply means that it should be capable of running both OpenGL ES 2.0 and 3.0 applications.

 

could you provide the exact Model number of your device and Android OS version as they appear in your Device Settings ?

 

Core Sample Android App not working correctly

July 9, 2015 - 5:52am #22

Hello again,

I've tried running the samples on other devices and the error "Invalid qct format..." has gone. It really looks device specific(Adreno 420). Speaking of OpenGL ES, the samples are using the 2.0 version while my devices are in the 3.0, any problems? I'm worried about the API level too, Android target SDK version =18 or Android 4.3 and all my devices are on the API 21. What do you think? I have attached some commom erros during the debbuging.

Core Sample Android App not working correctly

June 25, 2015 - 10:59pm #21

This also sounds new;

by searching the internet for your error message ( " Adreno getnativeformatfromqctpixelformat invalid qct format ") , there are a few threads in the internet (non-Vuforia related) that mention same error, usually related to things like live streaming of video;  the error per se seems to point to an issue in the EGL initialization phase;  this might originate  for instance from a problem in the OpenGL driver;  

since the error message mentions the "Adreno" GPU, it sounds like this is device specific; have you seen this specific error on other devices too ?

 

Core Sample Android App not working correctly

June 25, 2015 - 6:13pm #20

Hi Alessando,

I've done as you said and the ADB error has gone but the white bliking screen still persists while trying to run any example on the device or the emulator. I have searched on the forum but couldn't find anything similar. This is the only message I'm getting at the moment. Have you faced such situation?

Core Sample Android App not working correctly

June 14, 2015 - 10:43pm #19

If you receive an ADB connection rejected message, 

try restarting the ADB server with these 2 commands:

adb kill-server

adb start-server

if the issue persists, try disconnecting your device, switch it off, restart it and reconnect it to your computer.

 

Core Sample Android App not working correctly

June 14, 2015 - 3:51pm #18

Hey, I did everything as you said and it worked. There's no compilation error anymore, the samples were installed nice and smooth with the same key. But when I tried to test them on the device a white screen blinked and a message was shown. I ran them on the emulator too, but  the message persisted. There's another one indicating that the connection with the ADB was closed. [DeviceMonitor: Adb rejected connection to client:      closed] I tried to restart the ADB, but with no success. Any tips? 

Thanks again.

Core Sample Android App not working correctly

June 11, 2015 - 4:30am #17

See my PM.

Core Sample Android App not working correctly

June 9, 2015 - 6:38pm #16

Hello,

I tried the sample on other devices with other version of android. I receive the same error. [INIT_LICENSE_ERROR_PRODUCT_TYPE_MISMATCH].

In order to install the samples, I changed the part of the code that was stopping the installation. It worked, but obviously without the right license I received the same error on the device. What takes me to the license again. I generated another one assuming there was something wrong with the first, but I got the same. Do you have something? Thanks.

AttachmentSize
Image icon licenseKeyErrorAndroid.jpg86.11 KB

Core Sample Android App not working correctly

June 3, 2015 - 5:38am #15

I haven't had the chance to try it in other device. I'll do it and then I'll let you know.

Thanks fot the infomation.

Core Sample Android App not working correctly

June 3, 2015 - 5:35am #14

Ok, then in principle it should work, as Vuforia Mobile does not have specific device restrictions, except that it requires Android 2.3 or higher and OpenGl ES 2.0 support as a mimimum.

Have you tried on any other device?

  • If the problem is occurring on multiple/different devices it migth be a problem related to the App Key;
  • on the other hand, if it's only affecting one device, it might be an issue related to that specific device model / instance.

 

Core Sample Android App not working correctly

June 3, 2015 - 5:27am #13

Vuforia Mobile.

Core Sample Android App not working correctly

June 3, 2015 - 5:21am #12

Are you using Digital Eyewear or Vuforia Mobile ?

 

Core Sample Android App not working correctly

June 3, 2015 - 5:02am #11

Hey, I've done what you said, but I still have the same issue. I'm wondering if this problem is related with my device. A Motorola one. I've read some things saying that is only compatible with Samsung and Nexus 5. is It? Does it cause this kind of problem?

thanks in advance.

Core Sample Android App not working correctly

June 2, 2015 - 8:17am #10

You can just locate the SampleApplicationSession file, where you can paste the license into the QCAR::SetInitParamateres() method. This will work for all the sample features in the "multi-sample" project called VuforiaSamples-4-2-3

 

 

Core Sample Android App not working correctly

June 2, 2015 - 8:00am #9

Sorry for not mentioning, I´ve copied just part of the license as I imagined that was something bad. Thank you.

This is going to be my next try. When I loaded the Vuforia.jar file, all the samples appeared on the IDE like it was one app. I tought that when I launched it, a menu option would appear in order to pick the sample. Do you have any guide for importing just one sample?

Core Sample Android App not working correctly

June 2, 2015 - 7:45am #8

I've removed your attached screenshot as it's not a good idea to show your license in a public forum ;-)

What happens if you copy-paste your license into one of the Vuforia Samples ?

 

Core Sample Android App not working correctly

June 2, 2015 - 7:36am #7

Thanks for answering,

I´ve checked every detail of the license and looks like it was generated correctly. I´m using the latest version of the AS IDE with it´s build packs installed.

Core Sample Android App not working correctly

June 1, 2015 - 10:55pm #6

This error indicates that you're using a License which is not the right one for your product:

- if you are using Vuforia 4.2 Mobile, you need to have a license for Mobile, and not for "Digital Eyewear"

- if you are using Vuforia 4.2 for Digital Eyewear, you need to have a license for Digital Eyewear

- also, make sure to use a valid License for 4.2.3; perhaps you're using a License generated for 4.0

 

 

Core Sample Android App not working correctly

June 1, 2015 - 8:47pm #5

I'm facing a similiar problem, the messege shown here is [INIT_LICENSE_ERROR_PRODUCT_TYPE_MISMATCH]. I've done everything related with the license, nothing really worked. Can you help?

Core Sample Android App not working correctly

June 1, 2015 - 12:32pm #4

I'd suggest stepping through the app using the debugger in Eclipse and see when the failure occurs. It sounds like app isn't finding the Vuforia library.

Core Sample Android App not working correctly

May 28, 2015 - 8:31pm #3

dm3d wrote:

When you compiled your project, did you put the sample app into the "samples" folder of the Vuforia SDK?

 

yes sir...

Core Sample Android App not working correctly

May 28, 2015 - 2:39pm #2

When you compiled your project, did you put the sample app into the "samples" folder of the Vuforia SDK?

Log in or register to post comments