Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6658651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:56:18+00:00 2026-05-26T01:56:18+00:00

I downloaded and test HTC opensense SDK . But I can’t test any sample

  • 0

I downloaded and test HTC opensense SDK . But I can’t test any sample application . The main.xml file in the layout show like this

The following classes could not be found:

  • com.htc.painting.engine.HTCPaintingView (Fix Build Path, Edit XML,
    Create Class)
  • com.htc.painting.penmenu.PenMenu (Fix Build Path, Edit XML, Create
    Class)

How can I solve this problem ?

I see log cat error like this

10-04 12:02:05.001: ERROR/dalvikvm(580): Could not find class 'com.htc.painting.penmenu.PenMenu', referenced from method com.htc.demo.penmenu.MainActivity.init
10-04 12:02:05.510: ERROR/AndroidRuntime(580): FATAL EXCEPTION: main
10-04 12:02:05.510: ERROR/AndroidRuntime(580): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.htc.demo.penmenu/com.htc.demo.penmenu.MainActivity}: android.view.InflateException: Binary XML file line #55: Error inflating class com.htc.painting.engine.HtcPaintingView
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1748)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1764)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.app.ActivityThread.access$1500(ActivityThread.java:122)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1002)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.os.Handler.dispatchMessage(Handler.java:99)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.os.Looper.loop(Looper.java:132)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.app.ActivityThread.main(ActivityThread.java:4025)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at java.lang.reflect.Method.invokeNative(Native Method)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at java.lang.reflect.Method.invoke(Method.java:491)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at dalvik.system.NativeStart.main(Native Method)
10-04 12:02:05.510: ERROR/AndroidRuntime(580): Caused by: android.view.InflateException: Binary XML file line #55: Error inflating class com.htc.painting.engine.HtcPaintingView
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:682)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:724)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:727)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.view.LayoutInflater.inflate(LayoutInflater.java:391)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.view.LayoutInflater.inflate(LayoutInflater.java:347)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:223)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.app.Activity.setContentView(Activity.java:1780)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at com.htc.demo.penmenu.MainActivity.onCreate(MainActivity.java:42)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1712)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     ... 11 more
10-04 12:02:05.510: ERROR/AndroidRuntime(580): Caused by: java.lang.ClassNotFoundException: com.htc.painting.engine.HtcPaintingView in loader dalvik.system.PathClassLoader[/data/app/com.htc.demo.penmenu-1.apk]
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:251)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at java.lang.ClassLoader.loadClass(ClassLoader.java:540)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at java.lang.ClassLoader.loadClass(ClassLoader.java:500)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.view.LayoutInflater.createView(LayoutInflater.java:542)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:671)
10-04 12:02:05.510: ERROR/AndroidRuntime(580):     ... 21 more
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T01:56:19+00:00Added an answer on May 26, 2026 at 1:56 am

    I speak with a person from HTC,in samples only one example is working there will be update in few weeks and whole functions will be supported other

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I downloaded the SharpSVN example they give to try and test it out but
I downloaded the jira4r-jh gem and tried to test it from irb, but as
I have downloaded and installed linq-to-sqlite from http://sqlite.phxsoftware.com/ But the following test code: [
If you have downloaded any android source code, you would see a test folder
On all previous SDK-s apk is working fine. Tried to test on 4.0. Downloaded
I tried to test the USBPrivateDataSample application downloaded from developer.apple.com. I tried to run
I've downloaded the iOS 5 beta and want to test my app, but since
I've downloaded the djangoappengine project sample django-guestbook from www.allbuttonspressed.com to test how it works
I'm trying to build a sample test class using junit framework. I've downloaded junit4.9b3.
I downloaded and installed the Aptana Studio free version. But apparently, to install the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.