Posts

java - How can I create Kinematic Objects in jBullet? -

i trying make game engine , want camera controlled player , effected other jbullet entities in java . got suggested use kinematic objects looked them. couldn't find documentation understand. can explain how set , use kinematic objects or @ least show me can start? the documentation kinematiccharactercontroller, found here isn't entirely helpful, source in characterdemo can be. 2 main properties defined in demo. public kinematiccharactercontroller character; public paircachingghostobject ghostobject; the ghost can used dynamic collision detection, not automatically react events. character can moved changing transform. //from source src\com\bulletphysics\demos\character\characterdemo.java transform starttransform = new transform(); starttransform.setidentity(); starttransform.origin.set(0.0f, 4.0f, 0.0f); vector3f worldmin = new vector3f(-1000f,-1000f,-1000f); vector3f worldmax = new vector3f(1000f,1000f,1000f); axisswee...

css3 - Combined Box Shadow Transition and Border Transition not working. -

i have textarea , on focus animate both border shadow , border radius, problem if try combine 2 border radius animation not work "pops out" without animation. have created fiddle show problem. code looks this: textarea{ display: block; padding-left: 3px; padding-right: 3px; border: 1px solid #e7e7e7; box-shadow: 0 0 3px #e7e7e7; background: none; color: #6b6b6b; max-width: 100%; } textarea:focus { outline: none; box-shadow: 0 0 25px #9ecaed; -webkit-transition: box-shadow linear 1s; transition: box-shadow linear 1s; border-color: #9ecaed; transition : border 500ms ease-out; -webkit-transition : border 500ms ease-out; -moz-transition : border 500ms ease-out; -o-transition : border 500ms ease-out; } css doesn't work way you're expecting to. after setting transition: box-shadow linear 1s; overriding transition : border 500ms ease-out; . have set them both on same property. like ( fiddle ): textarea:focus { outline: none; ...

python - Connecting iOS app to Windows/Linux apps -

background: i start development on mobile , desktop app. both connected local wifi network (no internet connection) , need communicate 1 another. @ outset targeting ios , windows 2 platforms, intention of adding linux, osx, , android support in order. desktop app largely database server/notification center receiving updates ios apps , sending out data other ios apps. there may front end desktop app, incorporate ios app if needed. for moment want ios app automatically detect when on same network server , display data sent server (bonjour like). as far see there 2 paths take implement this create native app each platform (windows, linux, osx). pro: ideas of having native apps performance , ease of install. con: know absolutely nothing windows or linux development. create app built using web technologies (probably python) , create easy use installer create local server out of desktop machine mobile apps can communicate with. pro: of development cross-platform , installer sh...

android - What conditions must be met for TestFlight to send activities to the server? -

i'm trying understand: on android, how testflight determine in beta-tester environment, , should upload activity testflight server? there have been similar questions asking testflight on ios, none related android. i've integrated testflight sdk company's android app because looked great solution beta-testing , remote logging (we use ios), i'm can't send session information testflight server. once install app through testflight app, see installed through testflight web console, , then... nada. no session data or remote logs, though should getting something. what have done far: quadruple-checked testflight api key verified testflight.takeoff() getting called verified testflight.isactive() reports true tried signing apk debug-only key tried signing apk our release key checked android log errors related testflight (none) contacted testflight support couple days ago (i've made contact, no progress yet) my current guess testflight lib thin...

android - Bad Listview Performance on Nexus 4, good on Nexus 7 -

i developing android application @ moment. application has deal large lists alot (thousands of entries, it's playlist). to add possibility reorder entries, use drag-sort-listview library. additionally, each row has progressbar in it. bar visible on current item (so 1 whole list). however, running huge performance problems on nexus 4 (cm 10.1.2 final), while performance @ nexus 7 (2012, stock). tracked cpu usage while scrolling list fast can (without using fastscroll mechanism. on nexus 7, cpu usage stayed below 30%, on nexus 4 hit 80% , list extremely laggy. logcat output had line i/choreographer(639): skipped xx frames! application may doing work on main thread. a few times , ui felt render 1fps. the problem can't imagine reason this. using viewholder pattern in adapter. because of custom fonts, using font cache. the getview() method of adapter: @override public view getview(int position, view convertview, viewgroup arg2) { playlistitem playlistitem = items...

ios - viewWillLayoutSubviews getting called after applicationDidEnterBackground notification -

i'm having issue app crashing on sleep, , on home. i'm getting bad_access error in thread called gpus_returnnotpermittedkillclient , tells me app making ui changes in background, understanding no-go. therefore, i'm stepping through code see happens on home / sleep, , find breakpoint in vc's -viewwilllayoutsubviews method getting hit after breakpoints in -applicationwillresignactive , -appplicationdidenterbackground notifications (in i'm attempting stop updates asynchronous callback function). that doesn't seem make sense. application's perspective, if it's not cool ui updates in background, why call viewwilllayoutsubviews after you're in background? edit: appears when app doesn't crash. lldb getting things out of order? i think need tolerant of this. per tech note , can't gles rendering in background. recommendation app set flag when applicationwillresignactive called, , before doing rendering work check flag , don...

Auto-submit HTML Form using VB in Access 2007 -

i'm @ wit's end on one. part of project i'm working on requires interaction html form bring correct page on external web-based tool. i've managed make form accept entered variables , generated on fly using document.write, haven't been able reliably trigger 'submit' action in way not throw off error 91. so far, i've been using simple getelementbyid.click call... here's list of few things i've tried trigger: testloop: pause (1) browsercontrol.document.getelementbyid("submit").click on error goto testloop *(the 'error loop' tactic didn't work @ all.) pause (3) browsercontrol.document.getelementbyid("submit").click (this works best, because different pcs might have different hardware specs , open applications might slow down, works me hasn't been working tester. if make long, end adding additional delay form i'm worried being slow.) <script type="text/javascript"...