[android-developers] Re: Barcode Scanner app

2012-11-01 Thread Karl Kristian Markman
You will find all you need here: http://code.google.com/p/zxing/ and here is integration explained http://stackoverflow.com/questions/2050263/using-zxing-to-create-an-android-barcode-scanning-app On Thursday, November 1, 2012 6:30:39 AM UTC+1, askl wrote: Thank you. Can you send me the

[android-developers] Re: Creating a PDF on Adroid?

2012-10-25 Thread Karl Kristian Markman
So basically anything that goes in Java should work in Android? On Friday, December 3, 2010 11:45:32 AM UTC+1, Atul Moglewar wrote: Here is the list of open source PDF libraries in Java http://java-source.net/open-source/pdf-libraries Atul On Dec 3, 10:31 am, Zsolt Vasvari

[android-developers] Re: Converting LAt Long to UTM

2012-10-19 Thread Karl Kristian Markman
)) for setting odd powers. On Friday, October 12, 2012 11:50:48 PM UTC+2, Lew wrote: Karl Kristian Markman wrote: Lew is this more what you are looking for?? Nope. I was talking about the conversion of 'int' to 'double', which does not involve any formulas. public final double a = 6378137

[android-developers] Re: Converting LAt Long to UTM

2012-10-19 Thread Karl Kristian Markman
On Friday, October 19, 2012 1:32:23 PM UTC+2, Karl Kristian Markman wrote: Sorry for the TAB usage but I just copy/past from eclipse.. I have one more problem here. The conversion sort of works but I miss the target by about 200 meters West. I have figured it out to bee this line

[android-developers] Re: Converting LAt Long to UTM

2012-10-12 Thread Karl Kristian Markman
On Thursday, October 11, 2012 7:53:22 PM UTC+2, Lew wrote: Karl Kristian Markman wrote: So here is the code I use to transform the Lat long to UTM ( in case anyone else wouders..) [code] public void convert (){ double a = 6378137; Strictly speaking, you should

[android-developers] Re: Converting LAt Long to UTM

2012-10-12 Thread Karl Kristian Markman
Lew is this more what you are looking for?? Also I have a link to the forumla I usedhttp://www.uwgb.edu/dutchs/usefuldata/utmformulas.htm public void onLocationChanged(Location location) { lat = Math.toRadians(location.getLatitude()); // Latitude in radians lng =

[android-developers] Re: Converting LAt Long to UTM

2012-10-11 Thread Karl Kristian Markman
(Math.cos(lat),2)); double UTMni = (Ki+Kii*Math.pow(pii, 2)+ Kiii * Math.pow(pii,4)); double UTMei = 50 + (Kiv*pii + Kv * Math.pow(pii, 3)); UTMn = (int) UTMni; UTMe = (int) UTMei; } [/code] On Thursday, October 11, 2012 2:12:50 AM UTC+2, Lew wrote: Karl Kristian Markman wrote: I figured

[android-developers] Re: Converting LAt Long to UTM

2012-10-10 Thread Karl Kristian Markman
Can someone pleas tell me how to get numbers in power ? Like this (syntax used in Excel): 45^(3/2) ? On Tuesday, October 9, 2012 9:16:20 PM UTC+2, Karl Kristian Markman wrote: I figured as much. I hav found the forumla but Im not sure how to use the formula in code. I mean do I just put

[android-developers] Converting LAt Long to UTM

2012-10-09 Thread Karl Kristian Markman
Hi I am currently in the process with making an app that shall show the loaction retrived from the GPS sensor and displying the position in UTM format (WGS83 datum). Is there a way to get the location info from the GPS as UTM? -- You received this message because you are subscribed to the

[android-developers] Re: Converting LAt Long to UTM

2012-10-09 Thread Karl Kristian Markman
/utmformulas.htm On Tuesday, October 9, 2012 2:17:12 PM UTC+2, Rudolf Hornig wrote: No. Location is provides as lat/lon in WGS84. You have to convert that to UTM. On Tuesday, October 9, 2012 12:40:16 PM UTC+2, Karl Kristian Markman wrote: Hi I am currently in the process with making an app

[android-developers] Button and onClickListner help needed

2011-04-04 Thread Karl Kristian Markman
This is probably a really n00b question but none the less. I cant get a button to change view (or activity) this is my code for the button: [code] package com.markel.NSF; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import