[android-developers] what book to buy to explain translate(), rotate() of images in the specific context of Android phones. (all screen sizes!)

2014-07-02 Thread cellurl
I am tired of experimenting and I don't understand the documentation and 
there is only javascript explained on Khan Academy

Can anyone point me to a text?

Thanks.
Man I miss this group and I don't particularly like the rigid structure 
(putting it nicely) of Stackoverflow


Jim Pruett
Wikispeedia.org
901 213 7824
gpscru...@gmail.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Is it possible to track mileage with the GPS on the phone?

2014-07-02 Thread cellurl
go to sourceforge and search for Zombie Speed Limit.
Have fun.


On Wednesday, June 25, 2014 10:57:31 AM UTC-5, Dan Cha wrote:

 I'm looking to better track my own personal mileage on my truck.. so was 
 looking into the GPS module and seems it may be possible, but wanted to ask 
 before spending to much time building something that will never work.
 since this is going to be for my personal usage, it is going to be a 
 simple app that ill turn on when in the truck and have it track my miles 
 for the day and so on.. 
  
 I know sounds like a pain to have to turn it on and off but since this is 
 a work that can be part of our daily routine to log everything, turn on app 
 and so on.. 
  
 any links to good source would be great if this is possible..
  
 thanks.


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Demo Code For Clock with Auto-Location?

2014-07-02 Thread cellurl


 i need analog clock source code. Just to understand rotate(), translate(). 
  Any leads appreciated!  gpscru...@gmail.com  Jim Pruett

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] need BT bluetooth champion

2013-07-17 Thread cellurl
Hi Experts,

I need one of you experts to help build something amazing.

A cruise control that knows the speed limit.

Open Source, cheap, I supply the hardware.

Interested? Please please help.

The speed limit interface is here:
You can host it on svn here if desired.
https://code.google.com/p/speedlimit/

It will be reviewed by a prominent magazine.

Here's the hardware. Cypress is helping us too:
http://www.element14.com/community/message/79498

The gizmo will be open source for sale.
Any profits benefit wikispeedia.org
They are a charity.
No one there receives any salaries, all proceeds go to donors and running 
servers.

Ok, I have spammed this email enough.

Don't be shy.
Please email me back gpscru...@gmail.com
Jim Pruett
Memphis TN
901 213 7824


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] How to use adb to inject Mock GPS Locations to an HTC G1 phone.

2013-01-28 Thread cellurl
In the Menu, I enables Development-AllowMockLocations

Eg, I want to test my app on the phone with KML-ish locations over USB.

I read somewhere that I might have to use telnet geo commands to the 
phone.

Is there a tutorial or experience somewhere?

Thanks for any leads!
cellurl

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] how to make scrolling text overlay for debugging

2012-07-23 Thread cellurl
Hi,

I am trying to debug on a phone.
So I am trying to put some messages over the display.
Some simple way to have messages stream down or such.

Simple is good. I didn't see any examples anywhere..
Heres my layout. I have a touchview but I can remove that temporarily...

Thanks for looking!
-cellurl


?xml version=1.0 encoding=utf-8?
FrameLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=fill_parent

org.wikispeedia.screamingspeedometer2.JetBoyView 
android:id=@+id/JetBoyView
android:layout_width=fill_parent
android:layout_height=fill_parent / 

 TextView  
android:id=@+id/touchView 
android:background=# 
android:layout_weight=1 
android:layout_width=fill_parent 
android:layout_height=fill_parent 
/

/FrameLayout


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] need debug screen on top of app screen.

2012-07-23 Thread cellurl
Hi,

I am fairly green in Android coding.
I need to debug a live app.
My thought was to put a trace/stack/debug text layout over the app 
temporarily.
Some kind of quickie scrolling Log() somehow.

Q: What is the simplest way to achieve that.

Here is my layout.
Thanks for any leads!
-cellurl


?xml version=1.0 encoding=utf-8?
FrameLayout xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=fill_parent

org.wikispeedia.screamingspeedometer2.JetBoyView 
android:id=@+id/JetBoyView
android:layout_width=fill_parent
android:layout_height=fill_parent /
 
 TextView  
android:id=@+id/touchView 
android:background=# 
android:layout_weight=1 
android:layout_width=fill_parent 
android:layout_height=fill_parent 
/
/FrameLayout



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] need image recognition library

2012-06-12 Thread cellurl
For car app using camera.
I need a library that identifies the car ahead.
Just rough distance, that's it.

Nothing fancy, just want to see if any one knows of anything close...
Something to buy, license, butcher, whatever.

Thanks for any leads!
cellurl




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Upload error to Android Market: W/ResourceType(14362): Failure getting entry for 0x7f0800a0 (t=7 e=160) in package 0 (error -75)

2012-02-08 Thread cellurl
I get this error when I upload.

The file is invalid: W/ResourceType(14362): Failure getting entry for
0x7f0800a0 (t=7 e=160) in package 0 (error -75) ERROR getting
'android:icon' attribute: attribute is not a string value


I have checked icon and app_name and it works on a G1 aok...
I also googled the error and can't find it.

I feel stupid not being able to fix this one, so I ask the pros...

Any help appreciated.

-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Upload error to Android Market: W/ResourceType(14362): Failure getting entry for 0x7f0800a0 (t=7 e=160) in package 0 (error -75)

2012-02-08 Thread cellurl
I found an answer here:
https://groups.google.com/a/googleproductforums.com/forum/#!category-topic/android-market/technical-help/4Wecj9kz9Dw

What I did was got rid of res/drawable-ldpi, etc and just moved
everything into res/drawable-port and drawable-land

Whodathunk.
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] when I tap the screen, it registers multiple taps, not just one...

2012-02-07 Thread cellurl
I tap the screen and it registers multiple-taps.

It didn't do that on the emulator, but on a G1, if I tap once, it
fires multiple times.

Q: How do I get rid of the double taps?

Thanks in advance!
-cellurl

-code---


public class JetBoy extends Activity implements View.OnClickListener {


public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

final View touchView = findViewById(R.id.touchView);

mTouchView= ((TextView)touchView);

mTouchView.setText();


touchView.setOnTouchListener(new View.OnTouchListener()
{
@Override
public boolean onTouch(View v, MotionEvent event) {

Log.d(TAGGG,onTouch
 );


//see if we tapped on the right or left side of screen
boolean right=false;
if(event.getX()  Global.mCanvasWidth/2) {
right= true;
}

//ignore ACTION_UP, just RETURN HERE
if(event.getAction() == 0x0001) {
Log.d(TAGGG,Action_UP);
return true;//get rid of double hits from DOWN
and UP. I couldnt get ACTION_UP so I used hex
}

return true;
}
});
}


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: when I tap the screen, it registers multiple taps, not just one...

2012-02-07 Thread cellurl
Thanks for that.
I googled debounce. Also, in Android-developers, Still nothing...

Q: should I use gestureDetector() or throw in some timeouts in the
code I already have above??

I wrote that code a year ago, and thought there might be a better way
by now ;-)

Any leads appreciated!
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how to be a game developers in android

2012-01-11 Thread cellurl
use appinventor in a few wks when it resurfaces.
http://info.appinventor.mit.edu/
I wrote a game in it in 1hr.
No Java required.

Or a thing called scratch, It looks the same, perhaps not Android??
Dunno.
http://scratch.mit.edu/

Many games are written in higher level software like this,
you just never knew it.

And if you like pain, ck out my tutorial.
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/

-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how do i know if i am on road between two points in android

2011-12-02 Thread cellurl
some api's return the accuracy, closeness to the point.
I would dig in google-map-api or ask on their group.

-cellurl
Speederaser: No more tickets
http://goo.gl/iIKqD



On Dec 2, 3:00 am, PaulH paul.harti...@gmail.com wrote:
 Roads don't necessarily travel in a straight line between two points.

 On Dec 2, 1:10 am, TreKing treking...@gmail.com wrote:







  On Thu, Dec 1, 2011 at 5:49 AM, PaulH paul.harti...@gmail.com wrote:
   how can I check if my current location is in the zone if I have only the
   start point and end point?

  If you're saying you have a set of points that define these zoned roads,
  than some basic math will allow you to find the nearest points to your
  location and the distance to the line formed by those points. This of
  course has nothing to do with Android specifically.

  --- 
  --
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
  transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: urgent help for the project

2011-11-21 Thread cellurl
watch a movie on how to setup eclipse and sign your app...
http://goo.gl/9gtgC

-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: PLZ HELP!!!! APPLICATION NOT GETTING UPLOADED ON EMULATOR

2011-11-14 Thread cellurl
Perhaps, also try some other examples first.
You didnt mention if anything worked...
Like notepad or jetboy...
-cellurl



On Nov 12, 6:16 am, Shrav ni.hat...@gmail.com wrote:
 Hi,
 I am trying to work with google map , as instructed I have got the
 certificate ,etc.
 My appl is getting compiled with NO ERRORS but the application is not
 being displayed on the emulator!!
 The emulator is running properly with its default applications,,plz
 help..

 [2011-11-12 17:41:23 - HelloMapGoogle] --
 [2011-11-12 17:41:23 - HelloMapGoogle] Android Launch!
 [2011-11-12 17:41:23 - HelloMapGoogle] adb is running normally.
 [2011-11-12 17:41:23 - HelloMapGoogle] Performing
 com.example.hellomapgoogle.HelloMapGoogle activity launch
 [2011-11-12 17:41:23 - HelloMapGoogle] Automatic Target Mode:
 launching new emulator with compatible AVD 'map_me'
 [2011-11-12 17:41:23 - HelloMapGoogle] Launching a new emulator with
 Virtual Device 'map_me'
 [2011-11-12 17:41:44 - Emulator] emulator: warning: opening audio
 output failed
 [2011-11-12 17:41:44 - Emulator]
 [2011-11-12 17:41:47 - HelloMapGoogle] New emulator found:
 emulator-5554
 [2011-11-12 17:41:47 - HelloMapGoogle] Waiting for HOME
 ('android.process.acore') to be launched...
 [2011-11-12 17:43:03 - HelloMapGoogle] HOME is up on device
 'emulator-5554'
 [2011-11-12 17:43:03 - HelloMapGoogle] Uploading HelloMapGoogle.apk
 onto device 'emulator-5554'
 [2011-11-12 17:43:08 - HelloMapGoogle] Installing
 HelloMapGoogle.apk...

 thanks in advance...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Recommendation for Android Training

2011-10-20 Thread cellurl

http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: The file is invalid: W/ResourceType( 9654):

2011-10-13 Thread cellurl
I figured it out.

I renamed   res/values-en to res/values

cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Newbie Question About Eclipse and SDk

2011-10-12 Thread cellurl
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How do I navigate to the SD card?

2011-10-05 Thread cellurl

thanks guys.
I put the apk on a website, enabled-3rdPartyAPps and browsed to it.
Thanks again.
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to simulate worst Network Latency / Speed

2011-10-04 Thread cellurl
I have a customer who can't send data to my site.
Everything works except that.

Everything works in the emulator, so I am guessing one of my timeouts
is hitting from his slow network??

Q: What is the slowest, worst settings I can use in the Emulator? I
have tried a couple but it always works in emulator...

My app uses:
API level: 3-12+

The Market says his phone is:
Android 2.3.3+
HTC Evo 4G
United States

Anything else I might try?

Thanks for any suggestions!
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] anyone have upload errors?

2011-10-04 Thread cellurl
I asked this a couple days ago.
I will try one more time.

I have uploaded hundreds of times.
This time I get a wierd error.
error getting android:icon

http://www.wikispeedia.org/uploaderror.png

The app works great. I have tested it several places,
its just the market-upload that isn't happy.

Any help appreciated.
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] The file is invalid: W/ResourceType( 9654):

2011-10-02 Thread cellurl
When I upload my *.apk to the market, it yells at me saying:


The file is invalid: W/ResourceType( 9654): Failure getting entry for
0x7f06 (t=5 e=0) in package 0 (error -75) ERROR getting
'android:icon' attribute: attribute is not a string value


Even though it complained, it appears in the apk list, so now I don't
know whether to trust it or not. I have uploaded many times and this
is the first error of this type. Usual errors are package number wrong
or whatever

thanks for any leads!
cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How do I navigate to the SD card?

2011-09-29 Thread cellurl
I want to run a non-market .apk located on SD card.

Q: How do I navigate to it?

I don't have a data plan, so I can't put it on a website,
or can I use wifi to do this somehow??

Thanks for any leads!
cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How do I navigate to the SD card?

2011-09-29 Thread cellurl
We just tried it and it didn't work.
Its an ATT Aria phone?! No SIM card.
In Settings it didn't have an allow 3rd party apps button...

There is no file-manager and no way to get a file-manager.

We were able to use a micro-USB cable to put the *.apk file in,
but we couldn't figure which directory to use (perhaps its
invisible...)

-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to obtain the GPS position of the user and actualice a textview everytime the position has changed?

2011-09-23 Thread cellurl
Also, here's a fairly simple example.
http://code.google.com/p/speedlimit/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Programming in Android

2011-09-05 Thread cellurl
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Can't get same log as other testers.

2011-08-31 Thread cellurl
I mean, is there any more logging info available other than Eclipse/
Logcat? Is there a way to get more verbose logging? Perhaps Amazon has
their own test/plugin/whoknows??

Any guidance appreciated.
-cellurl


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Can't get same log as other testers.

2011-08-30 Thread cellurl
Amazon gave me this log which I can't replicate.
In LogCat, I never see anything like they see.
Am I missing something? See Line3.

Any help appreciated.
-cellurl

08-30 07:47:41.022 W/KeyCharacterMap(1530): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin
08-30 07:47:51.332 W/dalvikvm(1530): threadid=1: thread exiting with
uncaught exception (group=0x400259f8)
08-30 07:47:51.792 E/AndroidRuntime(1530): FATAL EXCEPTION: main
08-30 07:47:51.792 E/AndroidRuntime(1530):
android.content.ActivityNotFoundException: Unable to find explicit
activity class {org.wikispeedia.roadrage/
com.android.internal.app.ResolverActivity}; have you declared this
activity in your AndroidManifest.xml?
08-30 07:47:51.792 E/AndroidRuntime(1530): at
android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:
1563)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
android.app.Instrumentation.execStartActivity(Instrumentation.java:
1537)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
android.app.Activity.startActivityForResult(Activity.java:2858)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
android.app.Activity.startActivity(Activity.java:2964)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
com.amazon.mas.client.framework.MyServiceImpl
$5.onPostExecute(MyServiceImpl.java:531)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
com.amazon.mas.client.framework.MyServiceImpl
$5.onPostExecute(MyServiceImpl.java:1)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
com.amazon.mas.client.framework.async.PriorityAsyncTask.finish(PriorityAsyncTask.java:
431)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
com.amazon.mas.client.framework.async.PriorityAsyncTask.access
$0(PriorityAsyncTask.java:430)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
com.amazon.mas.client.framework.async.PriorityAsyncTask
$InternalHandler.handleMessage(PriorityAsyncTask.java:443)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
android.os.Handler.dispatchMessage(Handler.java:99)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
android.os.Looper.loop(Looper.java:144)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
android.app.ActivityThread.main(ActivityThread.java:4937)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
java.lang.reflect.Method.invokeNative(Native Method)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
java.lang.reflect.Method.invoke(Method.java:521)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
08-30 07:47:51.792 E/AndroidRuntime(1530): at
dalvik.system.NativeStart.main(Native Method)
08-30 07:47:51.802 W/ActivityManager(97):   Force finishing activity
com.amazon.venezia/.MyAppsActivity
08-30 07:47:52.312 W/ActivityManager(97): Activity pause timeout for
HistoryRecord{46004238 com.amazon.venezia/.MyAppsActivity}
08-30 07:47:54.032 E/ActivityManager(97): fail to set top app changed!
08-30 07:47:54.102 W/InputManagerService(97): Got RemoteException
sending setActive(false) notification to pid 1530 uid 10082
08-30 07:47:58.723 W/KeyCharacterMap(1367): No keyboard for id 65541
08-30 07:47:58.723 W/KeyCharacterMap(1367): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin
08-30 07:48:02.382 W/InputManagerService(97): Window already focused,
ignoring focus gain of: com.android.internal.view.IInputMethodClient
$Stub$Proxy@46298fc8
08-30 07:48:07.242 W/KeyCharacterMap(1367): No keyboard for id 65541
08-30 07:48:07.242 W/KeyCharacterMap(1367): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin
08-30 07:48:12.052 W/IInputConnectionWrapper(1367): showStatusIcon on
inactive InputConnection
08-30 07:48:17.222 W/IInputConnectionWrapper(506): showStatusIcon on
inactive InputConnection
08-30 07:48:17.222 W/InputManagerService(97): Starting input on non-
focused client com.android.internal.view.IInputMethodClient$Stub
$Proxy@45e3e800 (uid=10022 pid=506)
08-30 07:48:25.212 W/KeyCharacterMap(1367): No keyboard for id 65541
08-30 07:48:25.212 W/KeyCharacterMap(1367): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin
08-30 07:48:37.002 W/InputManagerService(97): Window already focused,
ignoring focus gain of: com.android.internal.view.IInputMethodClient
$Stub$Proxy@45e076a8
08-30 07:48:41.882 W/KeyCharacterMap(1367): No keyboard for id 65541
08-30 07:48:41.882 W/KeyCharacterMap(1367): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin
08-30 07:48:42.032 W/KeyCharacterMap(1367): No keyboard for id 65541
08-30 07:48:42.032 W/KeyCharacterMap(1367): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin
08-30 07:48:47.012 W/IInputConnectionWrapper(1367): showStatusIcon on
inactive InputConnection
08-30 07:48:50.682 W/IInputConnectionWrapper(506): showStatusIcon on
inactive InputConnection
08-30 07:48:50.682 W/InputManagerService(97): Starting input on non-
focused client com.android.internal.view.IInputMethodClient$Stub
$Proxy@45e3e800 (uid=10022 pid=506)
08-30

[android-developers] Re: Giving licenses as present.

2011-08-22 Thread cellurl
I have an app with a promo code.
I print them on biz cards and hand them out.
Its one of these.
http://goo.gl/DO1jb
-cellurl


On Aug 22, 5:31 pm, sblantipodi perini.dav...@dpsoftware.org wrote:
 what a raw market.

 On Aug 22, 10:33 pm, Adam Ratana adam.rat...@gmail.com wrote:







  On Monday, August 22, 2011 4:01:01 PM UTC-4, sblantipodi wrote:

   Hi,
   is it possible to give a free license of our apps to some users?

   I mean, can I let some people to download freely our paied apps?

   Is there a way to do that?

  If I remember correctly this was asked during one of the fireside chats at
  this year's google I/O, regarding gift certificates and the like similar to
  iTunes gift certificates.  I can't recall if it was this question was
  outright dismissed, but I don't remember the response being positive, or any
  time horizon for this.

  As a developer I would love to be able to comp other developers or friends
  and colleagues who otherwise would have no use for my paid app, through the
  use of a free one-off download code, or even some form of gift currency.
   Right now the options seem to be the awkward if you buy it, I'll refund
  your money (not very helpful for people who actually have never purchased
  anything in the market before, and are loath to give their credit card info
  out to yet another service), and sideload this onto your phone, here's the
  instructions, but you wont be able to get any updates.

  I imagine though with the market now selling movies and music, books, etc,
  this concept will gain traction with the Market team.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] need thread on UI / lifecycle Gotchas

2011-08-19 Thread cellurl
I keep getting told that my code violates the UI and lifecycle rules
and I have no idea how to find/fix it.

I first read this:
http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html

Then, I figured I needed to replace things like this:
(TextView)findViewById(R.id.definition).setText(Hello);

to now read:

TextView t=  (TextView)findViewById(R.id.definition);
t.post(new Runnable() {
 public void run() {
  t.setText(Hello);
 }
});

But I still get told that I am in violation.

Q: Are there ways I can flush out these bugs? Are there tools people
use, or ways to scrutinize the log? or must I just push-buttons real
fast on a real device?

Any help appreciated!
-cellurl


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cheap Bluetooth devices sought

2011-08-11 Thread cellurl
thank you all very very much!
http://goo.gl/iIKqD
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cheap Bluetooth devices sought

2011-08-10 Thread cellurl
$32/qty1. Pretty affordable...
Thanks
cellurl

On Aug 8, 11:06 pm, Lotfi blot...@gmail.com wrote:
 Hi

 LMX9838
 you need to add a microcontroller (PIC24F64A002 or something else)

 best

 On 8 août, 18:55, cellurl gpscru...@gmail.com wrote:







  Anyone know of a $10 bluetooth device that I can buy in low
  quantities? For example something a phone could turn on/off?

  I need 2 remote switches. Just on and off.

  There are hacking options, but that seems last resort.
  A: Butchering a BT-headset and sending/decoding DTMF.

  B: Butchering RemoteControlBluetooth cars...

  But I am hoping someone can point me to a super cheap BT slave device
  or point me to a more appropriate group.

  Thanks for any leads!
  cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Current location in android

2011-08-08 Thread cellurl
I started with Hello Map View. It works perfectly.
Then I learned KML which fakes locations in the emulator.
It moves around just like you want it to automatically.

http://developer.android.com/guide/tutorials/views/hello-mapview.html

-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Cheap Bluetooth devices sought

2011-08-08 Thread cellurl
Anyone know of a $10 bluetooth device that I can buy in low
quantities? For example something a phone could turn on/off?

I need 2 remote switches. Just on and off.

There are hacking options, but that seems last resort.
A: Butchering a BT-headset and sending/decoding DTMF.

B: Butchering RemoteControlBluetooth cars...

But I am hoping someone can point me to a super cheap BT slave device
or point me to a more appropriate group.

Thanks for any leads!
cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Simulate GPS speed and heading on Android Emulator

2011-07-26 Thread cellurl
I don't think the emulator reports speed and heading.
I always fake those two on the emulator.
For heading I use a thing in Location called bearingTo().

http://developer.android.com/reference/android/location/Location.html


-cellurl



On Jul 24, 1:57 am, Alexey Zakharov alexey.v.zaha...@gmail.com
wrote:
 Im trying to test my phonegap gps location application on Android Emulator.

 I need to simulate W3C gps speed and heading on Android 
 Emulatorhttp://dev.w3.org/geo/api/spec-source.html.

 Using DDMS i was able to setup kml path. However navigation.watchPosition
 only see latitude and longitude changes, heading and speed parameters are
 undefined.

 Any ideas how to solve it?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Noob: Automatic moving background

2011-07-22 Thread cellurl
you might watch the 30min video on udemy.
I too forget how to import samples successfully,
so I made videos.
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/



On Jul 21, 8:56 pm, TreKing treking...@gmail.com wrote:
 On Thu, Jul 21, 2011 at 10:51 AM, Luke Taylor websto...@gmail.com wrote:
  I was wondering if it were possible (which I'm sure is) to
  state in my program, that I want my background to move automatic from
  top to bottum, as if you were scrolling.

 I'd look into animations - particularly Translations.

  One last question, how do I import sample projects?

 I can't seem to get it right.



 What does can't seem to get it right mean?

 --- 
 --
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Can I sell hardware+app together on Android Market?

2011-07-20 Thread cellurl
thanks for that, but inapp wont work for this. IMHO thats for games.

Since no marketing people have responded,
I am just going to put it on the market and see what happens.
The downside is that it will be a quick-and-crappy version
since I don't know if it will get prohibited somehow...

-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android SDK Courses

2011-07-17 Thread cellurl
There is a video on:
http://www.udemy.com/



On Jul 16, 1:15 am, Saad Alghaidani adebofi...@gmail.com wrote:
 Hello Guys,

 i just joined the group today , and i am very interesting in android
 development, so
  Could you please help me how can i take Course in Andriod SDK  for junior?
  and where it will be?and inform me for any new course.

 thank you for this Wonderful group.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Can I sell hardware+app together on Android Market?

2011-07-17 Thread cellurl
I want to sell a companion piece of hardware with my app.

Can anyone point me to where this is OK, not-OK
in the terms.

I need facts only please.

Thanks
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Can I sell hardware+app together on Android Market?

2011-07-17 Thread cellurl
I don't see where it is prohibited here:
http://www.android.com/us/developer-distribution-agreement.html

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: GPS app

2011-07-15 Thread cellurl
the google map api will show you road name, county, everything except
speed limit.

Jim Pruett
wikiSPEEDia.org

I couldn't resist



On Jul 15, 1:12 pm, cmosser chris.mos...@gmail.com wrote:
 Hi guys,
 New to Android developing, but I do have slight experience in Php and
 Java, so I'm not a complete newbie. From searching online, it appears
 that it is pretty trivial to get GPS coordinates out of the phone. My
 question is if there is any existing interface available that would
 allow me to take the GPS coordinates and retrieve, for example, what
 county I'm in, what the closest lake or state park is, etc. I imagine
 that it will require some kind of interface with an external map
 server; ArcGis, Google maps, etc. I don't necessarily want to show a
 map of the closest lake, park, etc, but rather just use the name to
 extract attributes of the lake, park, etc from a separate DB. I
 already have the external DB, so it's just a matter of being able to
 come up with a name to reference the entries. Is this something that
 can be accomplished, perhaps with the google maps API?

 Thanks in advance,
 Chris

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Read Shapefile in Android

2011-07-08 Thread cellurl
You might ask these guys if they have a Java version...
http://www.google.com/search?sourceid=chromeie=UTF-8q=shapelib
-cellurl


On Jul 6, 9:02 pm, Wellington C. Lopes wlo...@gmail.com wrote:
 Dear,

 I wonder if anyone knows some library to read files in Shapefile format (.
 Shp) for android.
 I need to read these files, maps and displays them on screen.
 Can anyone help me?

 Thank you very much

 Wellington

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Need a Live CD containing Eclipse Android-SDK

2011-07-08 Thread cellurl
I want to teach Android programming and
 give each student a bootable Live-CD containing Eclipse + SDK.

Does anyone know of such?

Any leads appreciated.
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: About Location Service

2011-06-18 Thread cellurl
Look at working code.
Here is some.
http://code.google.com/p/speedlimit/


On Jun 16, 8:18 pm, Baodong Chen chenbdche...@gmail.com wrote:
 Hi:
  I have a APP using Location Service, and i tested it and found that
  my Location Listener's onLocationChanged() was not called for more
 than ten seconds.
  but onGpsStatusChanged() was called normally.
  this means that i can not decide user's location for too long time.
  I want to know why this happens?
  is this a normal case or a bug cause this?

  ps: I have posted this to android-ndk, and they suggested me posting here.

  best regards, thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: any experience in time to port ios app to android

2011-06-04 Thread cellurl
Thanks everyone.

What 3rd party tools might help me?
The app is just a biz app showing XML feeds mostly.

-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] any experience in time to port ios app to android

2011-06-03 Thread cellurl
I have to port an app from ios to android.
It contains email, pictures, xml...

Anyone want to share any experiences.
I want to ask the client how long it took him to write the ios one and
then multiply it by X.

any leads appreciated.
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Context LocationManager

2011-05-23 Thread cellurl
Here's the API if anyone has an app that needs to know the
speedlimit...

http://goo.gl/kQYqZ


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Context LocationManager

2011-05-22 Thread cellurl
Context is a good idea too. Thanks
-cellurl

On May 22, 3:08 am, Kostya Vasilyev kmans...@gmail.com wrote:
 22.05.2011 8:38, cellurl пишет:

  I want to create a library that people link to.
  It tells them when the speedlimit changes.
  I have it all working, just not the library part.

  It would have methods like:

  SpeedlimitListener();
  requestSpeedlimitChanges( speedlimitListener );

 Maybe:

 SpeedlimitListener(Context context);

 ?

 Then this class would be able to obtain all needed Android services
 (which may change over time, so you'll be able to keep the interface
 unchanged).

 -- Kostya

  In my mind, its very similar to LocationManager.
  In my case, SpeedlimitManager.

  -cellurl

 --
 Kostya Vasilyev --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Context LocationManager

2011-05-22 Thread cellurl
How do I make speedlimitListener call back onSpeedLimitChanged() ?
Thanks for helping!
-cellurl

 --
 SpeedlimitListener speedlimitListener;

  speedlimitListener = new SpeedlimitListener() {
  public void onSpeedLimitChanged(String speedlimit) {}
  };

 SpeedlimitManager slm= new SpeedlimitManager(getBaseContext());

 slm.requestChanges( speedlimitListener );

 ---SpeedlimitListener.java
 public class SpeedlimitListener {

 }
 --SpeedlimitManager.java-
public class SpeedlimitManager {

   public SpeedlimitManager(Context baseContext) {
  LocationManager lm= (LocationManager)
baseContext.getSystemService(Context.LOCATION_SERVICE);
   }

   public void requestChanges(SpeedlimitListener speedlimitListener) {

//??? do magic then callback. HOW?

   }
}

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Context LocationManager

2011-05-22 Thread cellurl
worked great.
Thanks TreKing y Kostya
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Context LocationManager

2011-05-21 Thread cellurl
Obviously, I don't fully context.
Q: How do I get the second lm_distance variable to not be null below.
Thanks for any leads!
-cellurl



package org.wikispeedia.com.example.android.simplewiktionary4;

public class Translate extends Activity implements OnClickListener {

   @Override
   public void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  onCreate(savedInstanceState);

  lm_distance =
(LocationManager)getSystemService(Context.LOCATION_SERVICE);
  //lm_distance is android.location.LocationManager@1234

  Speedlimit speedlimit= new Speedlimit();

}



package org.wikispeedia.speedlimit;

public class Speedlimit {

public Speedlimit() {
  lm_distance =
(LocationManager)getSystemService(Context.LOCATION_SERVICE);
  //lm_distance null
}
}

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Context LocationManager

2011-05-21 Thread cellurl
it doesn't single step well.
Ok, spank me, then give me a hint.


On May 21, 5:07 pm, TreKing treking...@gmail.com wrote:
 On Sat, May 21, 2011 at 4:41 PM, cellurl gpscru...@gmail.com wrote:
  Q: How do I get the second lm_distance variable to not be null below.

 Q: Does that even compile?

 --- 
 --
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Context LocationManager

2011-05-21 Thread cellurl


 Why not just pass the location manager to the SpeedLimit constructor ... ?


I am trying to create a library that people will link to to get the
speedlimit.
It should do everything under the covers, if possible.






-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Context LocationManager

2011-05-21 Thread cellurl
I want to create a library that people link to.
It tells them when the speedlimit changes.
I have it all working, just not the library part.

It would have methods like:

SpeedlimitListener();
requestSpeedlimitChanges( speedlimitListener );

In my mind, its very similar to LocationManager.
In my case, SpeedlimitManager.

-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: A PROBLEM WITH HELLO WORLD

2011-05-20 Thread cellurl
try this jetboy video tutorial.
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/



On May 19, 1:30 pm, behery eng.m.beh...@gmail.com wrote:
 HI,

 I did all the configuration on eclipse helios, running on UBUNTU, and
 after copying code from the helloworld tutorial on ANDROID.COM, I run
 the application ...

 The emulator pops up and displaying  Android  Logo mirroring, but
 NOTHING HAPPENS AFTER THAT .

 I was using WINDOWS in the beginning, I had the same result, then I
 turned into UBUNTU wishing to get a better result, but it seems to
 have the same problem ...

 ANY SUGGESTION TO SOLVE THIS PROBLEM ??!!!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Need help understanding crash report.

2011-05-15 Thread cellurl
Would anyone want to help me understand this crash-descript/logcat
from Amazon.
Rgds
cellurl

--
Your application attempts to call an Android Activity lifecycle method
on a background thread. Amazon DRM does not allow developers to invoke
Android Activity lifecycle methods on background thread. For more
information on processes and threads, please visit:
http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html
Additionally, the Android UI toolkit is not thread-safe. So, you must
not manipulate your UI from a worker thread — you must do all
manipulation to your user interface from the UI thread. There are two
rules to Android's single thread model: * Do not block the UI thread *
Do not access the Android UI toolkit from outside the UI thread

Please see below for the section of aLogCat you need.  The starred
line is the problem area.

D/dalvikvm( 1051): GC_FOR_MALLOC freed 99 objects / 4264 bytes in 63ms
D/PowerManagerService(   97): New lightsensor value:320, lcdValue:130
D/dalvikvm( 1051): GC_FOR_MALLOC freed 7649 objects / 468904 bytes in
84ms
D/NativeCrypto( 1051): Freeing OpenSSL session
D/dalvikvm( 1051): GC_EXTERNAL_ALLOC freed 8476 objects / 431920 bytes
in 78ms
D/PowerManagerService(   97): New lightsensor value:640, lcdValue:160
D/dalvikvm(  639): GC_EXPLICIT freed 7400 objects / 331752 bytes in
409ms
D/dalvikvm( 1051): GC_FOR_MALLOC freed 9299 objects / 723704 bytes in
66ms
D/UpdateService( 1051): Received action:
com.amazon.mas.client.framework.UpdateService.EXECUTE_REFRESHMENT_TASKS
from intent: Intent
{ act=com.amazon.mas.client.framework.UpdateService.EXECUTE_REFRESHMENT_TASKS
cmp=com.amazon.venezia/com.amazon.mas.client.framework.UpdateService }
D/AndroidRuntime( 1051): Shutting down VM
***W/dalvikvm( 1051): threadid=1: thread exiting with
uncaught exception (group=0x400259f8)
D/dalvikvm( 1051): GC_FOR_MALLOC freed 22703 objects / 1274048 bytes
in 56ms
D/NativeCrypto( 1051): Freeing OpenSSL session
D/dalvikvm( 1051): GC_FOR_MALLOC freed 8820 objects / 541776 bytes in
48ms
D/dalvikvm( 1051): GC_FOR_MALLOC freed 1583 objects / 283936 bytes in
44ms
I/Process ( 1051): Sending signal. PID: 1051 SIG: 9
W/ContentService(   97): binderDied() at ObserverNode name system

---

I started with Jetboy and butchered it to become my app called
Steampunk Speed Limits.
So the UI is identical to Jetboy if that helps.
I added GPS, so thats the only newness...

thanks



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Amazon Appmarket is now open!

2011-03-26 Thread cellurl
I submitted 4, 3 have been under review for 2 months almost.
One went thru in a week.
The under review is a business-NO.
Bezos=Jobs

On Mar 23, 12:38 pm, Matt M matthew.mag...@gmail.com wrote:
  To those who have submitted apps to Amazon how long did it take between 
 submitting and approval?

 Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Gift certificate or something like that

2011-03-24 Thread cellurl
I just wrote Amazon regarding coupons. They replied with a sort of
no with some jargon called deeplink.No idea what that is. Heres
the link they sent me.

http://www.amazonappstoredev.com/2011/02/managing-app-dependencies.html

I am going to write to androlib to see if they would consider offering
coupons. I really need this and I can't set the price to 0 temporarily
because then I can't raise it back up again...

-cellurl



On Mar 16, 5:40 pm, TreKing treking...@gmail.com wrote:
 On Wed, Mar 16, 2011 at 5:18 PM, Indicator Veritatis mej1...@yahoo.comwrote:

  Are the hoops less cludgy at Getjar.com or slideme.org? Or will they be
  less cludgy when Amazon finally comes out with their market?

 Honestly, no idea. But given Amazon's infrastructure I'd be willing to bet
 they will offer this - or at least will be able to very easily. As opposed
 to hacking Google Checkout for virtual goods, which it was clearly never
 designed for.

 --- 
 --
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to find/associate audio files to my events

2011-03-03 Thread cellurl
I want users to associate audio files to events in my app, like
speeding, etc.

I have my own voice prompts working, I just want the user to be able
to SELECT other voice files from other applications.

What is the simplest way to do that? I just want it simple for now.

I tried this post. It finds the SD card in my emulator, but it is
empty.
http://goo.gl/7xBvB

Thanks for any leads!
cellurl




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to find/associate audio files to my events

2011-03-03 Thread cellurl
yes, the file shows up as /sdcard/file.mp3

Q: How do I play it?




On Mar 3, 12:16 pm, Marcin Orlowski webnet.andr...@gmail.com wrote:
 On 3 March 2011 19:11, cellurl gpscru...@gmail.com wrote:

  I tried this post. It finds the SD card in my emulator, but it is
  empty.

 Did you put any files on emulated SD card?

 --
 Regards,
 Marcin

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to find/associate audio files to my events

2011-03-03 Thread cellurl
Thanks for moving me along... This worked.

-
File list_path;
if (status.equals(Environment.MEDIA_MOUNTED))
  list_path = new File(/sdcard);
else
  list_path = new File(/data/sec_media);
File f_list[] = list_path.listFiles();
File file=f_list[1];
Uri base = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
Uri myBase= base.fromFile(file);
MediaPlayer up = MediaPlayer.create(this,myBase);
up.seekTo(0);
up.start();



On Mar 3, 8:12 pm, cellurl gpscru...@gmail.com wrote:
 yes, the file shows up as /sdcard/file.mp3

 Q: How do I play it?

 On Mar 3, 12:16 pm, Marcin Orlowski webnet.andr...@gmail.com wrote:







  On 3 March 2011 19:11, cellurl gpscru...@gmail.com wrote:

   I tried this post. It finds the SD card in my emulator, but it is
   empty.

  Did you put any files on emulated SD card?

  --
  Regards,
  Marcin

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Dictionary for word game ..pls help :)

2011-02-05 Thread cellurl
You might consider starting with an example.
I once started with some code from Progmatic Bookshelf called
Translate.

You should try it. I found it, its in this zip file under /code/
Translate.
It connects to wikipedia and does word searching perhaps similar to
what you require.

http://www.pragprog.com/titles/eband3/source_code


-cellurl



On Feb 5, 8:31 pm, Traveler jadkins...@gmail.com wrote:
 Have you considered Sqlite? I'm using it in a speeling app I'm
 developing.
 Jerry

 On Feb 5, 3:36 pm, nivedita arora vivaciousnived...@gmail.com wrote:







  hi,
  i really need help.
  i am making a word game for college which uses  words of length 4 to
  7.
  i have a certain array of string containing words of length 4 -7.i
  have to check if those words are valid english words or not.i was
  earlier trying to implement database containing 4 tables each having
  all possible for word of length 4,5,6,7 which were being added by
  reading respective file of words i had made .

  But its taking way too much time to create database for any user to
  wait,and the app  times out.

  so i started searching alternate ways..cant decide what should be done
  and is best considering my req.
  1)trie for dictionary
  2)hashset for storing words of each length of 4,5,6,7
   (would using this be better than trie as i hv to access just  words
  of length 4,5,6,7 only?)
  3)some dictionary api(some preinstalled db whch i cud query)

  pls any help would be really appreciated what should be selected?
  i want to make an efficient game.pls suggest what should be done?
  thanx in advance :)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how to change background of a widget

2011-01-28 Thread cellurl
That worked so easily, I didn't believe it at first!
Only the experts know the workarounds. Thanks Kostya!
-cellurl

On Dec 18 2010, 3:45 am, Kostya Vasilyev kmans...@gmail.com wrote:
 17.12.2010 23:03, cellurl пишет:

  More info. It says RemoteView doesnt have setImageResource().
  Q: Does that mean I am out of luck??
  -cellurl

 RemoteViewshas setImageViewResource.

 http://developer.android.com/reference/android/widget/RemoteViews.htm...,
 int)

 Put an ImageView into your RelativeLayout, size it to fit the entire
 layout, and it's as good as having abackgroundimage.

 Might want to also setbackground=@android:color/transparent for the
 relative layout, as an optimization.

 --
 Kostya Vasilyev -- WiFi Manager + prettywidget--http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Location database

2011-01-18 Thread cellurl
1. Funny, I was just working on similar.
I use a box instead of circle.
Here is an example using IE7
(doesn't work in chrome for some reason)
http://goo.gl/LTXMW

2. I know this is overkill, but I use this haversign routine to
compute distance.
http://www.movable-type.co.uk/scripts/latlong.html

3. Mysql has a geo-difference Radius thing which I don't use, because
like I said, I prefer the box...
-cellurl




On Jan 18, 5:26 am, Marcin Orlowski webnet.andr...@gmail.com wrote:
 On 18 January 2011 12:03, miguel miguelp...@gmail.com wrote:

  Hi,
  i have a sql server containing coordinates.
  I have to make a sql query giving another coordinate and a radius so
  the server gives me the corrdinates inside the giver circunference.

  The Android part is done but... how to make that query?

 Remote server? I'd use webservice (XMLRPC, REST etc)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How best to query web repeatedly.

2011-01-17 Thread cellurl
The data is speed limit signs. I think its time I switch to a local
copy like Jonathan said. I noticed there are tons of sort routines, so
I probably don't need sqlite...
Thanks guys!
cellurl


On Jan 15, 2:47 am, Jonathan Foley jonefo...@gmail.com wrote:
 Why don't you pull down data ahead of time? You haven't told us
 exactly what you are querying.
 Maps, logging the route?? In any case, you can either pre-cache some
 of the data you'll need or cache
 the data you'll be sending and send it less frequently in either
 direction.  The only reason I can
 understand polling so frequently is if you are pulling data that is
 completely unpredictable. That is
 you have some huge table or tables and really have no idea what the
 next query is. Maybe
 you need to think a little more about how to predict what you'll need
 from either end.
 As folks have mentioned, latency and bandwidth are highly
 unpredictable and fluctuate in time
 and space. Your design will have to heave enough headroom to account
 for that while still
 delivering whatever minimum user experience your app needs..

 Jonathan

 On Jan 15, 12:14 am, Frank Weiss fewe...@gmail.com wrote:







  I would suggest being more flexible about *when* the queries are made. You
  seem to have fixated on every 50 meters. Why not every two minutes? Or every
  n minutes, depending upon the current network latency? Or even a heuristic
  scheduler based on multiple factors? I would also suggest considering
  decoupling the activity from the provider. Perhaps by using a separate
  service that pushes new queries to the activity. Avoid creating your own
  threading framework.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: I need books and links to learn android basic programing

2011-01-14 Thread cellurl
http://tinyurl.com/4zf2xg9
or
http://www.udemy.com/write-and-publish-an-app-for-your-android-smartphone/


On Jan 9, 2:24 am, Nagarjuna nagarjuna.ling...@gmail.com wrote:
 Hi all,

   This is nagarjuna, I have done my java(J2SE + J2EE) and I have
 interest in developing ANDROID ..

 So kindly pls help me to learn basics of android , pls suggest me some
 websites or books or any videos online ,

 please help me I am very much interest in andriod...

 Thanking you alll

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: searching in HUGE SQLite database

2011-01-14 Thread cellurl
Run a huge SD read/write test to eliminate the SD card.


On Jan 14, 10:34 am, Phil Endecott spam_from_goo...@chezphil.org
wrote:
 On Jan 14, 2:24 pm, Menion menion.as...@gmail.com wrote:

  CREATE TABLE tiles (x INTEGER,y INTEGER,z INTEGER,s INTEGER,image
  BYTE, PRIMARY KEY (x, y, z, s));
  SELECT DISTINCT z FROM tiles

 You need to create an index on z, then it will be much faster.

  disk I/O error

 That's not good, but it will be hard to debug.  If you just create an
 index it will be so much faster that it probably won't hit the bug any
 more.  Or, if you do get the error, you could just retry.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How best to query web repeatedly.

2011-01-14 Thread cellurl
I run GPS, and query a web based mysql every 50 meters of driving.
People tell me the app locks up and has lag, so I put each query in a
new thread. This seems to create a backlog of threads (at least in the
emulator).

URL url = new URL(http://www.website.org/marks.php;);

HttpURLConnection urlConn = (HttpURLConnection) url
.openConnection();
BufferedReader in = new BufferedReader(new InputStreamReader(
urlConn.getInputStream()));
String inputLine;
while ((inputLine = in.readLine()) != null)
response.append( inputLine );

1. Are dozens of threads wrong? Do I just use two and leave it at
that?
2. Should I keep connection open as I have heard others speak of?
3. Will I ultimately be forced to sqlite and the new headache of db
synchronization?

Anyone have any experience to offer?

Thanks in advance,
-cellurl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-12 Thread cellurl
couldn't you use the accelerometer?
Integrate that? Use time. s=Integral(a  dt)
If that doesn't work, look to skyhook wireless!
-cellurl


On Jan 12, 8:20 am, Brill Pappin br...@pappin.ca wrote:
 Well you pretty much need distance traveled over time to find speed,
 so anything you can do to determine distance travelled should allow
 you to calculate the speed.

 For instance you could use cell tower location, but I wouldn't class
 it as even remotely accurate.
 If you want to give an actual real value, your going to need the
 accuracy of the GPS unit.

 - Brill Pappin

 On Jan 11, 11:13 pm, darrinps darri...@gmail.com wrote:







  All the examples I see use GPS, and I have that working just fine but
  I've noticed that every time I'm in a car, that unless the phone is
  close to a window or the windshield the GPS does not work so...

  I thought that there should be a way using course grained location
  between cell towers. Does anyone know if this is possible and if so
  might know where I could find some sample code please?

  Thanks!

  Darrin

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Anyone know how to calculate speed WITHOUT GPS?

2011-01-12 Thread cellurl
or try an external gps receiver with bluetooth interface to phone.

On Jan 12, 9:22 am, cellurl gpscru...@gmail.com wrote:
 couldn't you use the accelerometer?
 Integrate that? Use time. s=Integral(a  dt)
 If that doesn't work, look to skyhook wireless!
 -cellurl

 On Jan 12, 8:20 am, Brill Pappin br...@pappin.ca wrote:







  Well you pretty much need distance traveled over time to find speed,
  so anything you can do to determine distance travelled should allow
  you to calculate the speed.

  For instance you could use cell tower location, but I wouldn't class
  it as even remotely accurate.
  If you want to give an actual real value, your going to need the
  accuracy of the GPS unit.

  - Brill Pappin

  On Jan 11, 11:13 pm, darrinps darri...@gmail.com wrote:

   All the examples I see use GPS, and I have that working just fine but
   I've noticed that every time I'm in a car, that unless the phone is
   close to a window or the windshield the GPS does not work so...

   I thought that there should be a way using course grained location
   between cell towers. Does anyone know if this is possible and if so
   might know where I could find some sample code please?

   Thanks!

   Darrin

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Unable to load default SVN Client

2010-12-23 Thread cellurl
I did what you said, and added this. Now svn works.

Subversion native JavaHL library

thanks
cellurl



On Dec 23, 2:54 am, Bob Kerns r...@acm.org wrote:
 Well, you've installed the user interface, and the common API library,
 so now all you need is an implementation.

 There are three possibilities. SVNKit is an all-Java implementation.
 JavaHL is a JNI binding to the SVN libraries. And it can also make use
 of the SVN command line if neither of the other two are available.

 The first two are available from that update site. The command line
 client can be obtained from the same site, or from collabnet.com if
 you want a prebuilt Windows binary with installer.

 If you're on Windows, I recommend also getting TortoiseSVN to
 integrate Subversion with the Windows Explorer. There's a similar
 facility for the Macintosh, but not as complete; I forget the name. I
 don't know about integration with the various Linux file managers.

 On Dec 22, 9:25 pm, cellurl gpscru...@gmail.com wrote:







  I have a new version of eclipse called  eclipse-java-helios-SR1-
  win32.zip

  It didn't have svn, so I did help-install New 
  Software-http://subclipse.tigris.org/update_1.6.x

  and choose these two items:
  Subversion Client Adapter provides a common API for Subversion client
  functionality.
  Subclipse is an Eclipse Team Provider for the Subversion version
  control system.

  Now when I do
  File-Import-Check out projects using SVN,
  it says
  Unable to load default SVN client

  'not sure what to do
  Any help appreciated.
  -jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Unable to load default SVN Client

2010-12-22 Thread cellurl
I have a new version of eclipse called  eclipse-java-helios-SR1-
win32.zip

It didn't have svn, so I did help-install New Software-
http://subclipse.tigris.org/update_1.6.x

and choose these two items:
Subversion Client Adapter provides a common API for Subversion client
functionality.
Subclipse is an Eclipse Team Provider for the Subversion version
control system.

Now when I do
File-Import-Check out projects using SVN,
it says
Unable to load default SVN client

'not sure what to do
Any help appreciated.
-jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Publishing app . what should be done

2010-12-18 Thread cellurl
watch this movie.
http://www.udemy.com/lectures/part-5-36203.html
It took me forever to learn so I made a movie.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how to change background of a widget

2010-12-17 Thread cellurl
More info. It says RemoteView doesnt have setImageResource().
Q: Does that mean I am out of luck??
-cellurl

---code-

   This Line unHappy-
views.setImageViewResource(R.id.widget,
R.drawable.widget_bg_normal_speedlimit);

int appWidgetId= Global.myAppWidgetId;
if(appWidgetId != 0) {
 
org.wikispeedia.SpeedLimitc.WordWidget.myAppWidgetManager.updateAppWidget(appWidgetId,
views);
} else {
Log.d(TAGG,You forgot to re-add the widget OR we are using
an old-installed one...);
}

---error--
WARN/ResourceType(615):
Skipping entry 0x7f090002 in package table 0 because it is not
complex!
WARN/AppWidgetHostView(615):
updateAppWidget couldn't find any view, using error view
at android.widget.RemoteViews$ActionException: view:
android.widget.RelativeLayout doesn't have method:
setImageResource(int)
at android.widget.RemoteViews$ReflectionAction.apply(RemoteViews.java:
438)
at android.widget.RemoteViews.performApply(RemoteViews.java:855)
at android.widget.RemoteViews.apply(RemoteViews.java:832)
at
android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java:
167)
at
android.appwidget.AppWidgetHost.updateAppWidgetView(AppWidgetHost.java:
243)
at android.appwidget.AppWidgetHost
$UpdateHandler.handleMessage(AppWidgetHost.java:73)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3948)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
at dalvik.system.NativeStart.main(Native Method)
INFO/ActivityManager(572):
Stopping service: org.wikispeedia.SpeedLimitc/
apt.tutorial.WidgetService

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to teach a bunch of newbie kids.

2010-11-29 Thread cellurl
I am teaching a bunch of kids how to program cellphones.

What is the simplest way to get kids running on Eclipse/SDK?
This will probably take place in a library without individual laptops.

Has anyone created a live-CD for Ubuntu?
e.g. Damn Small Linux (DSL) bootable CD with Eclipse perhaps

Any suggestions appreciated.

-jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How do I add the Android directory in Eclipse after importing

2010-11-07 Thread cellurl
In Eclipse, after I import an existing project, I don't see the
Android 1.5 directory.
I see the libs, src, gen, etc, but I don't know how to get the Android
one.

Q: How do I add that?

Any help appreciated!
-jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Collecting my Market installation statistics

2010-11-02 Thread cellurl
I would use it.
Another feature would be to not show all the dead-versions.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-25 Thread cellurl
I have the same problem. It started about a month back. All lat/lon is
off by 0.001 ish. Also new is that sometimes I see some lat=0.0,
lon=0.0 showing up which goes away if I restart Emulator most of the
time. I thought this was because my *.gpx file is wrong somehow.
Perhaps someone could post a solid *.gpx file that I could try...
-jim


On Oct 25, 8:35 am, Paul idi...@gmail.com wrote:
 @Mathias Lin- No, that is not the issue. Look, I'm telling you the
 latitude/longitude received in the Location object in
 onLocationChanged event, have different values than the latitude/
 longitude that was sent from DDMS or from command line geo fix
 command. The values are close, but off in the decimal point range,
 which throws off everything when you are doing distance calculations.

 On Oct 24, 12:07 pm, Mathias Lin m...@mathiaslin.com wrote:







  The map data in the Google Maps app and the maps that are available
  for developers to use via API (i.e. a MapView in Android SDK) come
  from different providers/sources, therefore the geo coordinates differ
  and the same lat/lng pair might pinpoint another location on both
  maps.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Wrong latitude/longitude points received by Emulator with new version of Android SDK

2010-10-25 Thread cellurl
I am also using same Android 2.0.1 API level 6.
One thing for me is I do:
float distance= (float)10.0;
Global.lm.requestLocationUpdates(LocationManager.GPS_PROVIDER,
0, distance, locationListener);

Not sure if distance creates some error??
-jim


On Oct 25, 9:46 pm, Frank Weiss fewe...@gmail.com wrote:
 Hey guys, I finally got around to trying this out myself. I've been working
 on a little utility app to understand the location services.

 I haven't been able to reproduce any of the discrepencies you mentioned.

 My app registers an update listener and sets a Text view with this:

 latLng.setText(String.*format*(position: %4.6f, %4.6f,
 location.getLatitude(), location.getLongitude()));

 I also added a Log.i statement to log location.toString().

 I enter locations in DDMS using the Location controls under the Emulator
 control tab. Worst I've seen is when I enter 41.74, then logcat displays
 41.735.

 I'm running the emulator Android 2.0.1 API level 6. What are you guys
 running?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: how to telnet in Eclipse

2010-10-20 Thread cellurl
Ok, I got cygwin and telnet. Not sure if this is related, but
when I start the emulator I see:

Application Settings (in process com.android.settings) is not
responding.
Application OpenWnn (in process jp.co.omronsoft.openwnn) is not
responding.
Process system is not responding.

Then on the emulator I try to search the internet. It says:
No network connection.

Then in cygwin under Vista I do:
$telnet localhost 5554
redir add tcp:5000:6000

On the emulator I redo a regular google search and it still says:
No network connection.

On my Vista laptop, the internet is still working fine.

Thanks for continued help!
-jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] 'just had a customer say I keep getting server error when trying to purchase

2010-10-13 Thread cellurl
Is there any problem with the market,
or is this an anomaly?
(this was 1/2 hr ago)

-jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: automotive related project ideas

2010-10-10 Thread cellurl
we discuss automotive applications such as
offline-routing
anti-speeding

on this google group.
http://groups.google.com/group/wikispeedia

CHEERS

On Oct 8, 12:23 pm, MB manoj.bi...@gmail.com wrote:
 How about an app that does offline routing?
 You would get a lot of ATT, T-mobile  customers.

 On Oct 8, 9:59 am, DanH danhi...@ieee.org wrote:



  The automotive test tool business is fairly big.  Mostly they use
  specialized equipment, but there may be a niche for using a phone with
  some sort of dongle to read computer info, do ignition analysis, etc.

  Trucking companies may be in the market for specialized apps for
  tracking their routes, etc.

  Otherwise, how about an app that just shoots the driver if he attempts
  to text while driving?  ;)

  On Oct 8, 8:55 am, kalyan kumar kalyankumar2...@gmail.com wrote:

   Hi Guys,
   Can any one help me by providing some innovative automobile(car ) related
   projects.
   --
   k.kalyankumar

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Hello Android app not working?

2010-10-06 Thread cellurl
Try the sample code link below. Its called APIdemos.
All of them work. When I started Android a year back, I tried all of
them one at a time.
That way people (like me) can discuss specifics.
http://developer.android.com/resources/samples/get.html
-jim


On Sep 30, 7:13 pm, Joel jwongps...@gmail.com wrote:
 I followed the instructions on setting up the Android SDK by
 installing the java SDK first, then the Android SDK (including the
 various platforms), installed eclipse, set up the ADT for eclipse
 plugin, and typed in the code (I copy and pasted straight from the
 site too but still didn't work)

 What I get when I run the app is the screen just saying ANDROID_

 The emulator starts up fine and everything, but none of the code runs.
 I tried the xml and the hard code example but both resulted in the
 same thing.

 What am I doing wrong? Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] how to telnet in Eclipse

2010-09-28 Thread cellurl
Hi,

About once a day, I get this message. I reboot and it goes away. Its
time I figure it out
java.net.UnknownHostException:  Host is unresolved www.wikispeedia.org:80

I found this.
http://developer.android.com/guide/developing/tools/emulator.html#networkinglimitations
which says to do these commands:

telnet localhost 5554
redir add tcp:5000:6000

Q: Where do I type in these commands? I see console, DDMS, etc but
where exactly do I enter commands?

-thanks for any leads
jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How much money do you make?

2010-09-21 Thread cellurl
ACC (Android Cruise Control) v1.4
Applications: Entertainment
(5)
Comments
614 total
153 active installs (24%)
Free Errors Published

Back Seat Driver V, Strip Line v9.8
Applications: Entertainment
(10)
Comments
2185 total
304 active installs (13%)
Free Errors Published

Speed Limit v1.65
Applications: Entertainment
(7)
Comments
44 total
15 active installs (34%)
$0.99 Errors Published

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How to market a map overlay?

2010-09-21 Thread cellurl
I want to market an overlay for Android Maps.
It will provide the speed limit.

My map will have to query the internet for updates pretty heavily as
one travels.

Q: Should I just use the Maps external Library thing?
http://code.google.com/android/add-ons/google-apis/maps-overview.html

or

Q: Can I somehow make it an option in the normal google-map system
that everyone has on their phone?

Thanks for any leads.

-jim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] How do I fix an FC on Nexus.

2010-05-07 Thread cellurl
I have reports of FC (Force Close), reported on the Nexus and Hero
phones.

What should I do? I do everything in the emulator and don't even own a
cellphone...

I am open to any ideas.

Thanks
jim pruett
Back Seat Driver


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Accessing External Database

2010-03-18 Thread cellurl
Look at line 395 of this sql access. It hits a php file I can send you
if you go this route. Good Luck. jp
http://code.google.com/p/speedlimit/source/browse/BackSeatDriverV-X-Ship-Pulp/src/org/wikispeedia/backseatdriverV/TranslateTask.java

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Using USB connection for data transfer

2010-03-17 Thread cellurl
That engaget mod you just mentioned requires a pushbutton during boot.
There must be a better way.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android MYSQL

2010-03-11 Thread cellurl
try the examples. I forget the name. Search for sqlite.


On Mar 8, 3:45 pm, Si458 simonsmith5...@googlemail.com wrote:
 Hiya,

 Im currently trying to develop a mysql app on the android, ive got the
 basics working and ive also managed to get the JDBC working with java
 but not android :(

 im running my application threw the debig in eclipse and it appears to
 be these lines it comming up with errors

 Class.forName(com.mysql.jdbc.Driver);
 Connection conn = DriverManager.getConnection(url
 +dbName,userName,password);

 what do u think im doing wrong?

 as im moving forward and forward in eclipse threw the lines (F5) it
 keeps going into
 Class.class and saying Source Not Found ???
 and also
 ClassLoader.class and saying source not found aswell

 what do u think im doing wrong or what should i do???

 thank you :)

 SASmith
 Simon Smith

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] DDMS GPS doesn't work: Send -120,35 loc = lm.getLastKnownLocation() returns null

2010-02-02 Thread cellurl
I used to be able to use the GPS inside DDMS, now it doesn't work...
Using English/Eclipse/Vista. Everything updated in eclipse-help-
check for updates.

This always returns null:
loc = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER);

Not sure what you will ask, so here goes: Using:
Google APIs Platform=2.0.1 API Level=6
AVD details:
hw.gps: yes
hw.lcd.density: 160
w.audioOutput: yes
hw.camera: no

I don't see any errors in console. The last thing it says is:
Attempting to connect debugger.
My app comes up fine, just the GPS is dead...
In eclipse, I go into DDMS, Emulator Control, enter lat, lon =
-120.0,35.0 and hit send.
Nothing happens.

I have tried to update to the latest and remove all old stuff, but no
joy...
Any inspiration appreciated
jim


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] self steering car using Camera.

2010-01-19 Thread cellurl
Any interest in building a self-steering car using Android camera?
See block diagram here.
http://docs.google.com/View?id=dz28fm9_129gxg6sfgn
Sorry, slightly off topic...
Jim


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-10-01 Thread cellurl

Hi ,

Details on our submissiont to ADC2:

App Name:   Speedlimits
Category: Games: Casual/Puzzle
Developer:James Pruett
Website:  http://www.wikispeedia.org
   http://code.google.com/p/speedlimit/

Description: A game to use while driving. It yells at the driver if he/
she speeds. We hope this gives the game enough cred to not get banned
outright. It links to http://www.wikispeedia.org for the speedlimits
and also allows the user to add ones along his daily routes. I am
going to stay exclusively on Android for this type speed-app and I
have offshoot apps/plans for this genre [if you want to help, contact
me]. Most of all, I want to beat my counterpart who thinks hes all-
that, developing on the iPhone. ( http://asafedrive.com/ ) IMHO,
Android is optimal for driving games with an edge like this one.

Bugs: I didn't get kph in it, so its very crippled.

Experience: This is my first app. My suggestion to newbies is, don't
do it on a laptop. Find instead a huge monitor for development.
Otherwise you will be moving the Android-emulator millions of times
per day. It took me two months from start to finish. I would like to
see more example code, very simple ones like translate which I based
this game on.

Feedback: If you tell me what you think of the game, I will put your
name on the frontpage of wikispeedia.org under thanks. You will be
famous...


Many Thanks,
Jim Pruett

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclipse : Unknown error: SDK is not loaded yet. * upgrade failed *

2009-07-29 Thread cellurl

I have same problem, SDK not loaded.
I fixed it by
1. Starting eclipse
2. Click Green arrow, pick Run Configurations
3. In Run Configurations, make sure target AVD my_avd is checked.
(for me, it was unchecked)



On Jun 1, 11:00 pm, Mike Wolfson mwolf...@gmail.com wrote:
 This fixed my problem.  Thanks Raphael.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---