Search Results

Search found 7 results on 1 pages for 'gregm'.

Page 1/1 | 1 

  • Cooking Units in Java

    - by gregm
    Are there any open source libraries for representing cooking units such as Teaspoon and tablespoon in Java? I have only found JSR-275 (http://jscience.org/jsr-275/) which is great but doesn't know about cooking units.

    Read the article

  • Asp.net url rewriting and domain redirection

    - by GregM
    I have a domain "test.com" and I want this domain to redirect to "mydomain.com/test". I'm with 1and1 for my domain test.com and with discountAsp for mydomain.com. In the control panel of 1and1 you can set a redirection from a domain to another domain, so everything is fine. But when i'm on the page mydomain.com/test I want my url to be rewritten as test.com Is this possible to do that with IIS or in my asp.page (would prefer in my page) I'm using iis7 Thanks

    Read the article

  • My checkbox does not appear in my CheckedTextView

    - by gregm
    Here is how I setup my checked text view. How come no check box appeared? I also added this but it had not effect: listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE); > <CheckedTextView > android:id="@+id/ctv_checktext" > android:layout_width="fill_parent" > android:paddingLeft="2px" > android:paddingRight="2px" > android:paddingTop="2px" > android:layout_height="wrap_content" > />

    Read the article

  • How do I add install my own LocationProvider?

    - by gregm
    I would like to create my own implementation of a LocationProvider, there seems to be a way to add a "mock" provider, but that isn't exactly what I want. http://developer.android.com/reference/android/location/LocationManager.html There also appears to be a permission called: android.permission.INSTALL_LOCATION_PROVIDER But there is no documentation about how to use this permission. How do I register a new location provider?

    Read the article

  • Why do I get access denied to data folder when using adb?

    - by gregm
    I connected to my live device using the adb and the following commands: C:\>adb -s HT829GZ52000 shell $ ls ls sqlite_stmt_journals cache sdcard etc system sys sbin proc logo.rle init.trout.rc init.rc init.goldfish.rc init default.prop data root dev $ cd data cd data $ ls ls opendir failed, Permission denied I was surprised to see that I have access denied. How come I can't browse around the directories using the commandline like this? How do I get root access on my phone?

    Read the article

  • Why is MenuItem.AdapterContextMenuInfo null when my list view has a custom adapter?

    - by gregm
    My question: Before I go and use an OnLongClickListener, is there a better way to pass the "what was clicked to create this context menu" information when your list view has a custom adapter? Here are some details: Normally, my code can just do something like this: public boolean onContextItemSelected(MenuItem item) { AdapterContextMenuInfo info = (AdapterContextMenuInfo) item.getMenuInfo(); and then go on and be happy. However, ever since I introduced a custom adapter, item.getMenuInfo() is null. This is a big problem, because my code no longer knows which item was clicked. (My custom Adapter makes each list row a checkbox and a text view) I tried this but failed: Created my own special AdapterContextMenuInfo (called "HasAViewMenuInfo"), but when I pass it in this method, it ends up being null in the menu public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { super.onCreateContextMenu(menu, v, new HasAViewMenuInfo(v));

    Read the article

1