[android-developers] Re: Can't get LVL working.

2010-07-30 Thread jeffro
I don't believe the Android Market is included on the emulator and the licensing service is included with the Market app. I have it working successfully, but I did all my development and testing with a real phone (N1 Froyo). Jeff Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer

[android-developers] Re: Checking to See if I directory Exsits

2010-07-29 Thread jeffro
public static boolean TrackmasterDirectoryCheck(boolean makeDir){ File trackmasterDirectory = new File(Constants.SYSTEM_TRACKMASTER_DIR); if(makeDir!trackmasterDirectory.exists()){ trackmasterDirectory.mkdir();

[android-developers] Re: How to pass geopoint location to Google turn-by-turn navigation

2010-07-29 Thread jeffro
http://groups.google.com/group/android-developers/browse_thread/thread/83d2803f799c6f5f Jeff Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 28, 7:12 am, Ethan V. Mateja ethan.mat...@gmail.com wrote:   I am trying to pass location data from my

[android-developers] Re: How to zoom in/zoom out to ImageView

2010-07-29 Thread jeffro
You could create your own view and override the draw method to perform the scaling for you: @Override public void draw(Canvas canvas) { super.draw(canvas); canvas.translate(dx, dy); //for dragging canvas.scale(scale,

[android-developers] Re: Choosing an Image

2010-07-23 Thread jeffro
Try this instead: Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); photoPickerIntent.setType(image/*); startActivityForResult(photoPickerIntent, 1); Jeff Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 23, 4:44 pm, KG

[android-developers] Re: Eclipse Helios

2010-07-22 Thread jeffro
Yes, stay on 3.5. You will get a bunch of editor errors when attempting to edit XML files. Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 21, 12:55 am, hippy firsthi...@gmail.com wrote: On Jul 3, 6:25 am, kihbord kihb...@gmail.com wrote: Any

[android-developers] Re: Updates from a Web Server

2010-07-22 Thread jeffro
I'd just send a simple HTTP Get Request periodically and process the response. URL url = new URL(http://;); url.openStream() //process the stream Jeff Visit Trackaroo.com! Trackmaster - Motorsports Lap Timer Dynomaster - Performance Dyno On Jul 21, 2:22 pm, KG kevinconca...@gmail.com

[android-developers] Re: aidl's, service, and multiple packages

2010-07-21 Thread jeffro
You're absolutely on the right track. You will define your remote service and callback using aidl: IRemoteService.aidl IRemoteServiceCallback.aidl You will then define a service in another package (APK) that will return the remote service via onBind to any caller. Your calling package will

[android-developers] Re: App disappears from the Market after upgrade

2010-06-16 Thread jeffro
I'm also seeing this after recently updating my app. It is also using uses-permission android:name=android.permission.BLUETOOTH Discussion on Android Market: http://www.google.com/support/forum/p/Android+Market/thread?tid=45694f3cad2f7172 I've filed issue 9137:

[android-developers] Re: any lawyer types out there that can get this site down?

2010-04-09 Thread jeffro
They use paypal. Submit this form to close their paypal account. https://cms.paypal.com/cgi-bin/marketingweb?cmd=_render-contentcontent_ID=ua/InfringementRpt_fulllocale.x=en_US On Apr 9, 3:18 pm, SoftwareForMe.com SoftwareForMe.com softwareforme@gmail.com wrote: Personally, I think the

[android-developers] java.lang.NoClassDefFoundError: android.view.ScaleGestureDetector

2010-02-06 Thread jeffro
I have a user complaining about a FC on my app and they were kind enough to post the stacktrace. It's a class that I cannot find anywhere and it sounds like it is related to multi-touch. I don't specifically call this class, MapView does so I don't have any control over it. It kind of looks

[android-developers] Re: java.lang.NoClassDefFoundError: android.view.ScaleGestureDetector

2010-02-06 Thread jeffro
that were not meant for his phone. On Sat, Feb 6, 2010 at 9:14 AM, jeffro j...@trackaroo.com wrote: I have a user complaining about a FC on my app and they were kind enough to post the stacktrace.  It's a class that I cannot find anywhere and it sounds like it is related to multi-touch.  I

[android-developers] Re: publish a web app to android Market

2010-01-20 Thread jeffro
It would need to be a downloadable app. You could create a pretty simple app that uses the WebView widget to display your web app. Here's a WebView tutorial to get you started. http://developerlife.com/tutorials/?p=369 Jeff

[android-developers] Re: simple web search based on location

2010-01-20 Thread jeffro
Check out the GeoCoder class and the getFromLocationName methods. You can input a search string like whole foods, los gatos, CA and it will return a list of Address results. You can also specify a bounding box if you want to limit your results to your current map.

[android-developers] Re: market doesn't refresh downloads?

2010-01-07 Thread jeffro
I see the same issue. Jeff ___ Trackaroo.com Trackmaster - Motorsports Lap Timer http://trackmaster.trackaroo.com Dynomaster - Performance Dyno http://dynomaster.trackaroo.com On Jan 7, 7:30 am, Éva Lovrencsics lovi...@gmail.com wrote: Hello, My downloads and

[android-developers] Re: Creating databases

2009-12-15 Thread jeffro
Here's an example: @Override public void onCreate(SQLiteDatabase db) { Log.d(getClass().getName(), Creating Database.); db.execSQL(VEHICLE_CREATE); db.execSQL(RUN_CREATE); db.execSQL(DATA_CREATE);

[android-developers] Re: GPS beacon vs. locked

2009-12-11 Thread jeffro
You might be better off checking the accuracy of your GPS location instead. Even though GPS is locked, your GPS accuracy may be too poor for what you need for your application. /* (non-Javadoc) * @see android.location.LocationListener#onLocationChanged (android.location.Location)

[android-developers] Re: Display multiple locations on Map

2009-12-11 Thread jeffro
Some nice step by step tutorials: http://www.helloandroid.com/tutorials/tourguide-virtual-sightseeing http://www.anddev.org/google_driving_directions_-_mapview_overlayed-t826.html http://www.anddev.org/the_friend_finder_-_mapactivity_using_gps_-_part_i_-_ii-t93.html Jeff Trackaroo.com

[android-developers] Re: landScape mode problem

2009-12-11 Thread jeffro
You may need to define a landscape specific layout XML for your app. Please this layout in '/res/layout-land' More info: http://www.devx.com/wireless/Article/40792/1763/page/3 Jeff Trackaroo.com Trackmaster - Motorsports Lap Timer http://trackmaster.trackaroo.com Dynomaster - Performance Dyno

[android-developers] Re: Educating Users

2009-12-09 Thread jeffro
Here are a few ideas to reduce these comments and educate your users: -provide a userguide in the app and on your product web site. -add Toasts throughout your app that provide tips for using your app. -add a Tips dialog on launch that provides helpful hints. -add a forum to your product web site

[android-developers] Re: Fullscreen dialog

2009-11-30 Thread jeffro
I had to specify the ListView height. If you specify in dip then it should scale accordingly for large or small screens. ListView android:id=@+id/dialog_list android:layout_width=fill_parent android:layout_height=200dip

[android-developers] Re: KML and Google Map Application

2009-11-30 Thread jeffro
Is that URI format supported? This is what is listed in the developer guide: geo:latitude,longitude geo:latitude,longitude?z=zoom geo:0,0?q=my+street+address geo:0,0?q=business+near+city I don't see a url to KML file supported. http://developer.android.com/guide/appendix/g-app-intents.html

[android-developers] Re: Upgrading database for an app

2009-11-29 Thread jeffro
Here's a snippet of code that may help you. I rename the old table, create the new table, and then insert the data into the new table while modifying the data. @Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { Log.d(getClass().getName(),

[android-developers] Re: Different screen sizes + API level

2009-11-29 Thread jeffro
You'll need to specify which screen sized you support in your manifest file if you use SDK1.6. supports-screens android:largeScreens=true android:normalScreens=true android:smallScreens=true android:anyDensity=true / Read more here:

[android-developers] Re: Android listview with pre selected checkboxes

2009-11-29 Thread jeffro
You can create your own ListAdapter and then override the getViews method to setup the checkboxes similar to this: /* (non-Javadoc) * @see android.widget.Adapter#getView(int, android.view.View, android.view.ViewGroup) */ public View getView(int position, View

[android-developers] Re: Setting the ID in a SimpleAdapter

2009-11-18 Thread jeffro
You need to implement the Adapter method to pass the id value you want: public long getItemId(int index) {} On Nov 18, 7:17 am, jax jackma...@gmail.com wrote: How do you set the Id attribute for a SimpleAdapter so that when you run onItemClick(AdapterView? parent, View view,int position,

[android-developers] Be Careful of Upgrading App with New SDK Version

2009-11-16 Thread jeffro
I thought I would just post this to let other devs know about this issue. You should think carefully before posting a new version of your app that uses new features from Android 1.6 or Android 2.0. I have released a new app version that takes advantage of new Android 1.6 features. Because of

[android-developers] Re: Be Careful of Upgrading App with New SDK Version

2009-11-16 Thread jeffro
Thanks for posting that. Man, that's ugly. The best solution would be for Android Market to support multiple app version rather than having the dev add all this extra inefficient code. On Nov 16, 10:19 pm, siuying siu.y...@gmail.com wrote: You may use minSdkVersion=3, and within the code, use

[android-developers] Re: Be Careful of Upgrading App with New SDK Version

2009-11-16 Thread jeffro
I just submitted an issue for this so that the market can support multiple versions of an app in order to support multiple SDK versions. If you agree that this is a better solution, please vote for it: http://code.google.com/p/android/issues/detail?id=4851 On Nov 16, 11:13 pm, jeffro j

[android-developers] Network-based App Authentication

2009-09-01 Thread jeffro
I'm trying to figure out how to develop a network-based authentication for my apps. I need some way to authentication an ID from the phone with an ID from the purchase order. Google Checkout has an ID in the order listing at the end: Trackmaster - Trackmaster is a powerful racing lap timer

[android-developers] Next focus left to right then down?

2009-06-18 Thread jeffro
I have textfields laid out horizontally with another row below. Is there any way to control the next focus key (actionNext) so that it goes to the next textfield to the right before going down to the next row? --~--~-~--~~~---~--~~ You received this message

[android-developers] getRotationMatrix and accelerometer values

2009-05-25 Thread jeffro
I'm trying to use the rotation matrix to translate the accelerometer values from the device coordinates to the world coordinates. It's not clear how to do this. Theoretically, I should be able to do something like this: double[][] accelArray = {

[android-developers] Re: how to remove the image displayed in ImageView

2009-01-23 Thread jeffro
Not sure what you're trying to accomplish, but you can use View.setVisibility(View.GONE or View.INVISIBLE) to not display the image. On Jan 23, 12:55 pm, Sundog sunns...@gmail.com wrote: Haven't tried SetImageBitmap to null, but I know SetImageResource to null does not work. I've been

[android-developers] Re: Email attachment not being sent

2009-01-18 Thread jeffro
This worked for me. I wrote my file to the sdcard. Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject); sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse (file://+Environment.getExternalStorageDirectory()+/data.csv));