[android-developers] Trouble with AssetManager

2008-11-30 Thread Casey Borders
I am using this code to try to access my assets: try { Resources res = context.getResources(); AssetManager assMan = res.getAssets(); String assets[] = assMan.list(Models); InputStream is = assMan.open(Models/Ship.Obj); ObjLoader loader = new ObjLoader(is); mVertexBuffer = loader.getVerts();

[android-developers] Re: How to order T-Mobile G1?

2008-09-23 Thread Casey Borders
That's a good question. Can developers who are not with T-Mobile get devices? On Tue, Sep 23, 2008 at 6:55 PM, PowerGUI [EMAIL PROTECTED] wrote: T-Mobile G1---The First Android Phone has announced,I am very excited. I don't know how to order the android phone,can somebody talk about such

[android-developers] Re: Easter eggs

2008-09-02 Thread Casey Borders
The guy with the coffee cup is from the movie Office Space. On Tue, Sep 2, 2008 at 10:28 AM, Peli [EMAIL PROTECTED] wrote: Other easter eggs: * Sensor manager includes constants for GRAVITY_DEATH_STAR_I , GRAVITY_THE_ISLAND , and a SENSOR_TRICORDER :

[android-developers] Re: Is MapView without roads possible?

2008-08-31 Thread Casey Borders
Why do you want a map with no roads? On Sat, Aug 30, 2008 at 11:23 AM, plusminus [EMAIL PROTECTED] wrote: It enables a Traffic-Overlay. On 30 Aug., 07:47, flix [EMAIL PROTECTED] wrote: Hello, I'm using the Google Maps API in my application (in satellite mode). But for my aim, it is

[android-developers] Re: Story about Android

2008-08-29 Thread Casey Borders
I was worried about the future of the platform and I still do worry about the ultimate openness of it, but I must admit that I am extremely excited about the direction it's taking and about the impending release of the HTC Dream! The new UI in the updated emulator is very attractive and

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-25 Thread Casey Borders
This new code isn't working for me. The first set worked. On Mon, Aug 25, 2008 at 6:48 PM, adamrocker [EMAIL PROTECTED] wrote: Is this a bug? Android can't recognize the difference between the motion of long touch action and the motion of move action. It is different between the long touch

[android-developers] Re: MapView and Zoom Control in 0.9 SDK

2008-08-24 Thread Casey Borders
This isn't working for me! It tells me that .setGravity(int) is not valid for type View. Why is that?! 2008/8/24 marcel-182 [EMAIL PROTECTED]: Works fine, thanks a lot. I can finally zoom.. w On 24 Aug., 16:55, adamrocker [EMAIL PROTECTED] wrote: Hi. You can move the ZoomControls

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-08-23 Thread Casey Borders
/ onTouchEvent methods? On Aug 23, 4:50 am, Casey Borders [EMAIL PROTECTED] wrote: Now I am having another weird problem. If I define the MapView in a layout xml file, everything works like you would expect. If I create it programmatically like I show above, then it doesn't register touches. Any

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-08-22 Thread Casey Borders
android:name=com.google.android.maps / tag. This post: http://groups.google.com/group/android-developers/browse_thread/thread/74b47e1e11067865/cc22e133ff88a0a5?lnk=gstq=problem+with+map+view#cc22e133ff88a0a5 was a great help to me, and shows the permissions you need to use. On Aug 22, 6:45 am, Casey

[android-developers] Re: Trouble with 0.9 beta and MapActivity

2008-08-22 Thread Casey Borders
Now I am having another weird problem. If I define the MapView in a layout xml file, everything works like you would expect. If I create it programmatically like I show above, then it doesn't register touches. Any idea what's up with that? On Fri, Aug 22, 2008 at 3:20 AM, Casey Borders [EMAIL

[android-developers] Trouble with 0.9 beta and MapActivity

2008-08-21 Thread Casey Borders
I have and application that was running fine under m5, but it fails in 0.9. I tried to nail down what was causing it to fail and I have an extremely simple MapActivity that is failing too. Here's the code: package org.moo.android.Test; import com.google.android.maps.MapActivity; import

[android-developers] Re: SDK 0.9 emulator crashes in QVGA-L?

2008-08-20 Thread Casey Borders
To reinforce this a little, you should be designing your applications for the default resolutions of the emulator: HVGA portrait and landscape (480x320 and 320x480) with a touchable UI. Take the UI of the system and applications as a strong indicator of what your target should be. But if

[android-developers] Helo with onActivityResult()

2008-07-16 Thread Casey Borders
I am starting a sub activity that browses for a file, then in the onActivityResult() method I parse the file that is returned. The trouble is that the parsing takes a little while and I am trying to pop up a progress dialog, but the file browser is visible until the onActivityResult() method

[android-developers] Re: Map and Overlay

2008-07-14 Thread Casey Borders
You just need to create a new MapViewerOverlay and add it to your map. You can do it on the button press event, or the onCreate for the MapActivity. On Mon, Jul 14, 2008 at 10:33 AM, deve [EMAIL PROTECTED] wrote: Hi there, I've a question. I coded a programm which shows me a position in SF.

[android-developers] Re: invalid resource directory name error

2008-07-10 Thread Casey Borders
It could be that you have a capital letter in the name? On Wed, Jul 9, 2008 at 6:08 PM, himanshu [EMAIL PROTECTED] wrote: Hello, I`m a beginner in eclipse and android so this could be trivial. I just added a new layout to my hello world app ( example here

[android-developers] Re: android root file system

2008-07-07 Thread Casey Borders
Here is the only information I was able to find on getting Android on real world devices. That's what I'm spending my day doing! http://elinux.org/Android_on_OMAP On Sat, Jul 5, 2008 at 3:18 AM, prashanth [EMAIL PROTECTED] wrote: Hai, where can i get android root file system for IMX31Lite

[android-developers] getBestLocationProvider.

2008-07-07 Thread Casey Borders
I'm trying to use the getBestProvider to get a LocationProvider, but no matter if I allow cost or not it returns null. Here's the code I'm using. Criteria criteria = new Criteria(); criteria.setCostAllowed(mUseAGPS); mGPS = mLocationManager.getBestProvider(criteria); Am I doing something wrong

[android-developers] Problems with WebView

2008-07-03 Thread Casey Borders
I am having trouble with WebViews. When I use mWebView.loadUrl(http://www.google.com;); It just shows a blank white page, but if I use mWebView.loadData(htmlbodyThis is working! WHY?!/body/html, text/html, UTF-8); it shows up. I have tried changing the size, but now I have it set to