[android-developers] Re: Strange TabHost NullPointerException

2009-06-25 Thread nEx.Software
I get no errors when I use TrackBall click to select a tab in TabActivity. Tested on my apps targeting each 1.1 SDK and 1.5 SDK. Now, I am not using separate activities for my tab contents, so that may make a difference. On Jun 25, 2:21 am, Explore Android stetest...@googlemail.com wrote: I am

[android-developers] Re: Delete assets at runtime

2009-06-27 Thread nEx.Software
Alternatively, you could download the file at first run, do whatever it is that you need to do with it then delete it. On Jun 25, 5:44 am, nuno nba...@gmail.com wrote: Thanks Mark, I though that was the answer. I'll have to live with the file. Cheers, Nuno On Jun 25, 1:39 pm, Mark Murphy

[android-developers] Re: OpenGL .dae model loader

2009-07-02 Thread nEx.Software
I was able to get the ModelRenderer to work on the 1.1 firmware. Haven't bothered to do anything with it though since 1) it was too slow for my needs and 2) I wasn't interested in a GPL solutions ince I didn't want to GPL my game. I ended up writing my own file format and parser which worked best

[android-developers] IME - Main Dictionary

2009-07-07 Thread nEx.Software
I am attempting to do an IME and am wondering the best way to use the main dictionary for the suggestions to work? Using the User Dictionary is pretty straight forward, but I am not sure how to use the main dictionary. The System IME appears to use BinaryDictionary and a native method to do this?

[android-developers] Re: IME - Main Dictionary

2009-07-07 Thread nEx.Software
to implement your own for your IME.  The LatinIME code is open source, so to start you can just copy it (especially now that we have the NDK available). On Tue, Jul 7, 2009 at 2:56 PM, nEx.Software justin.shapc...@gmail.comwrote: I am attempting to do an IME and am wondering the best way to use

[android-developers] Re: IME - Main Dictionary

2009-07-08 Thread nEx.Software
which look to be a part of the base/include/utils portion of the source tree. I assume these are not a part of the NDK scope at this point? On Jul 7, 4:13 pm, nEx.Software justin.shapc...@gmail.com wrote: Awesome, thanks for the info. I had a feeling that was the case. Thanks for confirming

[android-developers] Re: IME - Main Dictionary

2009-07-08 Thread nEx.Software
the fd.  The only limitation is that the asset will need to be stored uncompressed.  (Alternatively, an .apk is just a zip file, so worst case you could compile the zip code into your app and use that to extract the file you want.) On Tue, Jul 7, 2009 at 11:54 PM, nEx.Software justin.shapc

[android-developers] Re: IME - Main Dictionary

2009-07-08 Thread nEx.Software
= afd.getFileDescriptor(); Is there anything else I would need to do? I will be storing my dictionary in raw, as it the case with the LatinIME. On Jul 8, 5:49 am, nEx.Software justin.shapc...@gmail.com wrote: Great... thanks for the info Dianne. I appreciate i. On Jul 8, 12:25 am, Dianne

[android-developers] Re: Can't install usb driver because Windows do not pop New hardware wizard

2009-07-09 Thread nEx.Software
Good FAQ Mark... For those who don't necessarily want to mess with the registry, you can try this utility: http://www.nirsoft.net/utils/usb_devices_view.html Via: http://forums.androidandme.com/topic/help-with-screen-shot-guide On Jul 9, 7:20 am, john john4...@gmail.com wrote: 1.insert 2G

[android-developers] Re: Clickable ListView element?

2009-07-09 Thread nEx.Software
You'll need an ItemClickListener set for your ListView - Though I am sure that you already know that... Something like: alarmsListView.setOnItemClickListener(ItemClickListener); On Jul 9, 8:46 am, extrapedestrian extra.pedestr...@gmail.com wrote: sory not onKey but onClickListener... On Jul

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-09 Thread nEx.Software
Presumably, if you knew the ClassName and the extras it was expecting, you could accomplish this. On Jul 9, 10:39 am, Mike michaeldouglaskra...@gmail.com wrote: Does no one know the answer to this question?  Even a no you can't do that. response would be better than nothing.  Google framework

[android-developers] Re: Using Intent to view specific App in Android Market

2009-07-09 Thread nEx.Software
me how?  I am the owner of the other app I am trying to open in the market from the first app. - Mike On Jul 9, 12:42 pm, nEx.Software justin.shapc...@gmail.com wrote: Presumably, if you knew the ClassName and the extras it was expecting, you could accomplish this. On Jul 9, 10:39 am

[android-developers] Re: A question regarding the MotionEvent

2009-07-10 Thread nEx.Software
The chances that your start and end location will be exactly the same are slim to none. If you want to do it all in a regular old onTouchEvent(), you'd want to have some sort or range... If down and up occur within some small range such as within 10 or something like that. Depending on what

[android-developers] Re: Linking to apps in the Android Market

2009-07-13 Thread nEx.Software
That statement is obsolete, since it certainly does work via browser link. Check http://www.cyrket.com for an example. On Jul 13, 3:09 pm, Carl Whalley carl.whal...@googlemail.com wrote: you can't currently load the URIs in a web browser, either on a desktop machine or on the device. Thats

[android-developers] Re: Some G1 phones getting device not found with adb...

2009-07-13 Thread nEx.Software
This occasionally happens to me on both my G1 and my Ion. I think its related to the data pins not contacting competely. Usually the old NES trick (blow in the cartridge) works for me. A quick little blow in both the USB connectors and it works like new. Unfortunately, I think there is a chance

[android-developers] Re: Google market(vending.apk)

2009-07-15 Thread nEx.Software
The Market application is not intended to run on the emulator. On Jul 14, 6:26 pm, T_sky tinali85...@gmail.com wrote: I  installed the vending.apk to emulator, but it shows:install failed missing shared library how to solve this problem? Thank you!

[android-developers] Re: Fast, efficient usage of an object pool

2009-07-20 Thread nEx.Software
It is buried in the View class... I used the grep tool on the git site to find it... http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/view/View.java#l7883 On Jul 18, 4:38 am, Fred Grott(shareme) fred.gr...@gmail.com wrote: Romain, was it renamed cannot

[android-developers] Re: App crashing on HTC Magic launching camera intent

2009-07-22 Thread nEx.Software
I tried your app, Wine By the Bar, on my Google Ion which is essentially the same as the HTC Magic. I had no issues at all. Barcode scanning worked as did the label capture. That being said... I also just tried the code you posted above on my Ion and also did not experience any issues. Not

[android-developers] Android / App Engine Integration

2009-07-23 Thread nEx.Software
I am aware that there have been several attempts to get this answered in the past, but can anyone shed some light on getting this to work properly. I am planning a game which will use App Engine to provide multi-player support. I want this to be a seamless as possible for the user, and not

[android-developers] Re: App opens previous activity - but only intermittently

2009-07-24 Thread nEx.Software
Well, I'd say if you are done with the EditPage activity, then you'd want to call finish() on it. I assume that the way this this works is: User is on HomeList, hits some button (or other trigger) to open EditPage, makes edits on EditPage, hits Back to go back to HomeList? If that is the

[android-developers] Re: TIME_TICK in an AppWidget?

2009-07-28 Thread nEx.Software
Jeff, is there some way to change the dial at runtime? On Jul 13, 3:51 pm, Jeff Sharkey jshar...@android.com wrote: Is there any way to make thedialdynamic? That's a crucial part of the app I'm trying to build. Yep, assign a drawable to android:dial just like the other attributes.  Here's

[android-developers] Re: Where can I find good remote Android developers?

2009-07-28 Thread nEx.Software
Mark, That HADO mailing you do is very cool, just wish there more opportunities out there. :) Rch, I'd be interested go see what type of app you are looking for. On Jul 28, 5:33 pm, Mark Murphy mmur...@commonsware.com wrote: Rch wrote: Can any of suggest a place where I can hire remote

[android-developers] Re: Where can I find good remote Android developers?

2009-07-28 Thread nEx.Software
Awesome, I always look forward to them. :) On Jul 28, 6:22 pm, Mark Murphy mmur...@commonsware.com wrote: nEx.Software wrote: That HADO mailing you do is very cool, just wish there more opportunities out there. :) I have a few queued up for tomorrow's mailing. It's definitely hit or miss

[android-developers] Re: How to make an ordinary view to have rounded corners in code without xml

2011-08-02 Thread nEx.Software
Just provide a background drawable that has rounded corners. There is no magic there. The View will still have a rectangular box model (that's just how views are), but the parts of the background that are transparent will be transparent. Unless you are looking to create the image in code, there

Re: [android-developers] Are Layouts Reusable?

2012-10-31 Thread nEx.Software
You can have many instances of any type of View with the same id without restriction. The id is just an int field on a view, so that the view may be identified in code. Changes to one instance will not change the other instances, regardless of their container (Activity, Fragment, ViewGroup).

<    1   2   3