OpenSense SDK - http://www.HTCdev.com

Search This thread

issafram

Senior Member
Feb 4, 2009
318
28
Rochester Hills
i like my thread title more...seems more appropriate...

On another note, i signed up for the notifications on their homepage or whatever.

What else does it seem like to you guys?
 

CruzECO13

Senior Member
Jun 2, 2008
623
94
unleddfasdfsdfasdfsdf.jpg
 

ElAguila

Senior Member
Mar 12, 2007
2,408
100
San Antonio
This coming on the heels of their decision to unlock all of its boot loaders shows that they are at the very least taking notice of the developer community. This will be great if it allows developers to customize the actual inner works of sense.
 

issafram

Senior Member
Feb 4, 2009
318
28
Rochester Hills
And apparently developing for the EVO 3D screen is supported:

"Be among the first to access the latest HTC technology with the Tablet pen API and Stereoscopic 3D display API and sample code."
 

issafram

Senior Member
Feb 4, 2009
318
28
Rochester Hills
This is going to be interesting because Sense in general, is HTC's proprietary software. People should not be confused to think that all of Sense is "open". An SDK (Software Development Kit) is a totally different thing. It makes developing for Sense apps if you will (themed for Sense, using Sense features, etc) much easier.
 

vudin

New member
Feb 2, 2011
3
0
Istanbul
error in sample code

Anyone tried to build CommonControlDemo sample code? I've tried and I keep getting this error. Maybe someone can help?


08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3832)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3788)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at android.app.ActivityThread.access$2200(ActivityThread.java:132)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1082)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at android.os.Handler.dispatchMessage(Handler.java:99)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at android.os.Looper.loop(Looper.java:143)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at android.app.ActivityThread.main(ActivityThread.java:4263)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at java.lang.reflect.Method.invokeNative(Native Method)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at java.lang.reflect.Method.invoke(Method.java:507)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at dalvik.system.NativeStart.main(Native Method)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): Caused by: java.lang.ClassNotFoundException: com.htc.htccommoncontrols.demo.carousel.MyProvider in loader dalvik.system.PathClassLoader[/mnt/asec/com.htc.htccommoncontrols.demo-1/pkg.apk]
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): at android.app.ActivityThread.installProvider(ActivityThread.java:4110)
08-08 20:33:58.017: ERROR/AndroidRuntime(2787): ... 12 more
08-08 20:33:58.027: WARN/ActivityManager(120): Force finishing activity com.htc.htccommoncontrols.demo/.carousel.DemoActivity
 

vudin

New member
Feb 2, 2011
3
0
Istanbul
the compile errors looks like it's missing something
" Caused by: java.lang.ClassNotFoundException: com.htc.htccommoncontrols.demo.carousel.MyProvider in loader dalvik.system.PathClassLoader[/mnt/asec/com.htc.htccommoncontrols.demo-1/pkg.apk]"

I just checked the emulator provided by HTC. There's a /mnt/asec/ folder and it's empty.
 

faisalgeek

New member
Aug 9, 2011
2
0
HTCSense Demo not running

I am also getting the same exception, can't run the example project. Anybody have success running it?

08-09 18:51:57.079: ERROR/AndroidRuntime(432): FATAL EXCEPTION: main
08-09 18:51:57.079: ERROR/AndroidRuntime(432): java.lang.RuntimeException: Unable to get provider com.htc.htccommoncontrols.demo.carousel.MyProvider: java.lang.ClassNotFoundException: com.htc.htccommoncontrols.demo.carousel.MyProvider in loader dalvik.system.PathClassLoader[/data/app/com.htc.htccommoncontrols.demo-1.apk]
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.app.ActivityThread.installProvider(ActivityThread.java:3557)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.os.Handler.dispatchMessage(Handler.java:99)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.os.Looper.loop(Looper.java:123)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.app.ActivityThread.main(ActivityThread.java:3683)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at java.lang.reflect.Method.invokeNative(Native Method)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at java.lang.reflect.Method.invoke(Method.java:507)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at dalvik.system.NativeStart.main(Native Method)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): Caused by: java.lang.ClassNotFoundException: com.htc.htccommoncontrols.demo.carousel.MyProvider in loader dalvik.system.PathClassLoader[/data/app/com.htc.htccommoncontrols.demo-1.apk]
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
08-09 18:51:57.079: ERROR/AndroidRuntime(432): at android.app.ActivityThread.installProvider(ActivityThread.java:3542)
 

jasonhendry

New member
Sep 17, 2011
1
0
Melbourne
OpenSense Carousel MyProvider exception

Me too.

I updated my HTC Desire from 2.2 to 2.3.3 using the HTC Desire 2.3 upgrade RUU from the kernel sources part of the dev site.

Tried adding the <uses-library> elements to the Android Manifest, but have to admit was only guessing at the library names sine they aren't mentioned on the htc dev site.

Code:
		<uses-library android:name="com.htc.content" android:required="true"  />
		<uses-library android:name="com.htc.view" android:required="true"  />
		<uses-library android:name="com.htc.widget" android:required="true"  />

All that did was produce an error on install due to failure to locate shared library.

Tried running and debugging in emulator and on phone, no luck.

I've only tried the common controls sample.

Any one got a clue?
 
Last edited:

Top Liked Posts