Posts

android - ok glass is not displayed in contextual voice menu- google glass -

यह मेरा कोड है @Override सुरक्षित शून्य पर क्रिएट (बंडल सहेजे गए इन्स्टैंसस्टेट) {सुपर onCreate (savedInstanceState); । GetWindow () requestFeature (WindowUtils.FEATURE_VOICE_COMMANDS); requestWindowFeature (Window.FEATURE_NO_TITLE); setContentView (R.layout.activity_sample); } @ ओवरराइड पब्लिक बूलियन क्रैक पैनैल मेनू (इंट फीस आईडी, मेनू मेनू) {if (featureId == WindowUtils.FEATURE_VOICE_COMMANDS) {getMenuInflater ()। फुलाएँ (आर.मेनू। मेन, मेनू); वापस सच; } // सेटअप टच मेनू से सुपर तक पहुंचें। वापसी सुपर.कोनटेटपैनेलमेनू (फीचर आईडी, मेनू); } @ ओवरराइड पब्लिक बूलियन ऑन क्रेट ऑप्शन मेनू (मेनू मेनू) {getMenuInflater ()। फुलाएँ (आर.मेनू। मेन, मेनू); वापस सच; } @ ओवरराइड पब्लिक बूलियन ऑन मेन्यूइटम चयनित (इंट फीस आईडी, मेनू इटैम आइटम) {if (featureId == WindowUtils.FEATURE_VOICE_COMMANDS) {स्विच (item.getItemId ()) {केस R.id.dogs_menu_item: // शीर्ष-स्तरीय कुत्तों मेनू आइटम ब्रेक को संभाल ; डिफ़ॉल्ट: वापस सही; } वापस सच; } // सुपर ट्रांस्लेशन के माध्यम से पारित करने के लिए अच्छा अभ्यास अ...

sbt - Why are new dependencies not picked up by Play 2.3.4 project in Eclipse? -

I insert my project in build.sbt with some dependencies along with the following lines Updated: libraryDependencies + = "mysql"% "mysql-connector-java"% "5.1.33" libraryDispension + = "org.springframework"% "spring- jdbc"% " 4.1.1.RELEASE " classes_managed was added to the square path, but the directory does not exist and the lbs are not present. I deleted the Clear ad project, all errors (including all references to classes in managed labs), compile , but still directories and lbs Are unavailable. SBT It seems that the Libs do not have to download ... it is not sure what I am doing. dependency managed by SBT ~ / .ivy2 / cache (this is) Ends in When you declare a project dependency with libraryDependencies you should execute update (clarify your project assembly such as package or assembly or any other order that is pulling them down (via code, is update indirectly). There may be a war...

c# - The best way to pass SDF objects between forms -

I want to find the best way to pass the object from SQL Server CE database into my desktop Winforms application to reduce memory. Am use I have a local database connected to the project by a .sdf generated DBML. In addition I have 4 forms: Mainform - A main parent form with the button to select the product object. ProductSelectForm - Form to select the product from the database. > Main Product Format - MDI children displaying information and charts about the selected product and button to edit this information. ProductForm - The form can add or edit new product about the selected product. I see two options: either to pass the item ID or pass the item object. Based on the example given below, by ID or by object: What would be the best way to pass the information between the form? Perhaps other recommendations? M Ann form: Public ManForm () {Initialize Component (); } Private Zero ProductSelectBarButton_ItemClick (Object Sender, ItemClickEventArgs e) {P...

Excel vba macro to connect to a particular webpage - search and retrieve data -

I have a column, called column A, in which there are 1500 rows of each string (hexadecimal encoded) Connect is to paste the string, press on the decode, copy the result and paste it back into column B. Any help would be very helpful I am new here Example :. String in column A: 5468616e6b732061206c6f7420696e20616476616e6365 To search the website: Then hit to decode Copy from Excel cell and paste in the tab (under heading)> Finally my Paste back into Excel Sheet in Column B. is moving forward for an answer. Thanks a million in advance. Are you doing it as an exercise to automate the browser? It seems as if you can more easily do this directly in VBA: sub-tester () Debug.Print fConvertHexToString (_ "5468616e6b732061206c6f7420696e20616476616e6365") End Sub Public function fConvertHexToString (strHexString string as strings) String dim intLenOfString integer dim intCounter integer dim strBuild string 'hex string must be as valid as that ...

php - get the value from URL using number sign # -

Hello if I have an href with # test = 10 , then I How can I get Codeigniter? Example: I have www.example.com/tester#test=10 what it is possible to get the value of the test Try to use PHP $ url = Parse_url ("http: // domain .com / # test = 10 "); Copy $ url ["fragment"]; If the URL fragment test = 10 then explosion () $ e = explosion ('=', $ url Use) ["piece"]); Echo $ E [1]; or use Javascript warning (window.location.hash); And divide it for more: -

ios - How to use private framework's .h file in XCode -

I am trying to use the SBSRemoteNotificationClient.h file of the SpringBoardServices infrastructure downloaded from GitHub I am I dragged and dropped the SCSRMOM authentication client HK file into XCode and tried to compile it. But I am facing down error during compiling. Undetermined symbol for architecture armv7: "_OBJC_CLASS _ $ _ SBSRemoteNotificationClient", referenced from: objc-class-ref in MyClass.o ld: mark (s) not found for architectural armv7 clags : Error: Linker with Command Failed Failure Code 1 (Use -V to view invitation) I added "SBSRMot Notification Client H" to my MyClass.m file. I also added the path of SBSRemoteNotificationClient.h in the build settings - & gt; Search Path - & gt; The user header is facing the error mentioned above like / user / accessor 006 / desktop / iphone-private frameworks-master / springboard services / . Is this the correct way to use .h files of private framework? This is a linky error header ...

How to install a ruby gem in Jenkins? -

I'm looking for a way to install ruby ​​ , mani And finally a specific gem ( sass & amp; compass ) only with the jenkins account Which root ). I had a look but tried to do sudo to install Ruby in "single-user" mode ( apt-go ), So it fails because we are not in the interactive bash, and my Jenkins user will not have the right to set up stuff in Ubuntu anyway. Any thoughts? sudo su-l use rvm $ your_ruby This is probably the simplest way. If you are trying to do this many times, RVM is better to change the permissions of the gems folder so that the Jenkins user will keep it - the root will still be able to install it.