[android-developers] Re: Open-Source Opertunity

2009-05-30 Thread Marco Nelissen
On Sat, May 30, 2009 at 7:46 PM, Alex Jurgensen wrote: > > Hi, > All, > > I was wondering if some developers would like to work on Android > Accessibility. It is Open-Source and hosted on Google code. > > The URL is: > > http://slimvoice.googlecode.com/ . I don't see any source code there. Is it

[android-developers] Re: Testing among peers - A new group proposed

2009-05-30 Thread JP
On May 30, 6:44 am, Ravi wrote: > Please advice. http://groups.google.com/group/android-app-distribution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send emai

[android-developers] Re: Google Talk Shared Status Messages

2009-05-30 Thread Micah
Just wanted to bump this up to see if anyone on the weekend browsing crew knew an answer. On May 23, 3:18 pm, Micah wrote: > I'm interested in creating an Android application that will set the > user's Google Talk custom status message to something created by my > application.  Details on doing

[android-developers] sub-thread issue.

2009-05-30 Thread Gavin
Hi, I have some questions about threads. Threre is a main thread A, and then it creats a sub-thread B. I want to know: 1) If main thread A exits or crashs, thread B can continue running? 2) if the upper question's anwser is yes, is there a method that A can notify B before A ex

[android-developers] Multicast receive broken in Android 1.5?

2009-05-30 Thread Dave
I have an application that sends and receives DatagramPackets on a MulticastSocket. This application works fine on Android 1.1. I just loaded the application onto Android 1.5 and it can no longer receive packets from other hosts. It can receive the packets that it sends out though. Packets sen

[android-developers] Open-Source Opertunity

2009-05-30 Thread Alex Jurgensen
Hi, All, I was wondering if some developers would like to work on Android Accessibility. It is Open-Source and hosted on Google code. The URL is: http://slimvoice.googlecode.com/ . Any help is appreciated. A To-dos list can be found in the downloads section in the SAML specifications packa

[android-developers] Re: Testing among peers - A new group proposed

2009-05-30 Thread aayush
Nice initiative Ravi. Go for it.. On May 31, 1:45 am, "Eric Wong (hdmp4.com)" wrote: > I am in if this idea goes anywhere :) > > It is probably better for you to recruit power (geek) users to do the > testing and free up developer time to actually work on the apks. > > Note: I am a power user,

[android-developers] Re: How to find out screen status: active/dark?

2009-05-30 Thread JP
Got it, thank you; works perfectly. On May 29, 11:38 am, Jeff Sharkey wrote: > > I've dug through the documentation but couldn't find a call that would > > fit: Is there a way to find out the screen status (Active/dark)? > > You can listen for Intent.ACTION_SCREEN_OFF and ACTION_SCREEN_ON > br

[android-developers] Re: Testing among peers - A new group proposed

2009-05-30 Thread Eric Wong (hdmp4.com)
I am in if this idea goes anywhere :) It is probably better for you to recruit power (geek) users to do the testing and free up developer time to actually work on the apks. Note: I am a power user, not developer. Eric On May 30, 11:44 pm, Ravi wrote: > Hi, > > I would like to propose a test e

[android-developers] Re: PNG transparency and OpenGL ES

2009-05-30 Thread Anton
No, I actually haven't been able to. It threw me for a loop because I was expecting non-premultiplied because that's what the PNG spec says. What do you want to do with non-premultiplied that you are having trouble doing with premultiplied? -Anton On May 29, 4:40 am, djp wrote: > I wa

[android-developers] Re: Missing MapPoint in 1.5r2?

2009-05-30 Thread Mark Murphy
Raphael wrote: > Please file a bug at b.android.com and we'll have a look. A small > code/apk snippet would be ideal too. Filed as: http://code.google.com/p/android/issues/detail?id=2806 I tested this code under 1.5_r1 and 1.5_r2: package com.commonsware.android; import android.app.Activity;

[android-developers] Re: Maps and StreetView missing in Android SDK 1.5?

2009-05-30 Thread pawpaw17
The first time I get the failure, this is in the logCat: 05-30 23:12:50.607: DEBUG/InetAddress(570): www.google.com: 209.85.225.104 (family 2, proto 6) 05-30 23:12:50.637: DEBUG/InetAddress(570): www.google.com: 209.85.225.147 (family 2, proto 6) 05-30 23:12:50.637: DEBUG/InetAddress(570): www.go

[android-developers] Re: Using Prebuilt Toolchain with configure and make

2009-05-30 Thread Mark Murphy
Rich wrote: > I'd like to know more about porting C applications to native ARM for > use on Android devices. You'll probably want to ask those questions on one of the discussion lists that pertains to that topic: http://source.android.com/discuss This list is for people using the Android SDK fo

[android-developers] Re: intent from dialog and back ?

2009-05-30 Thread Mark Murphy
guruk wrote: > Hi, i am in a dialog builded with AlertDialog.Builder > > from there i call another activity with startActivity. > > all fine.. > > JUST..when i press back in my new activity > i crash with "unable to resume activity". What does the stack trace tell you? You can get the Java sta

[android-developers] Re: Maps and StreetView missing in Android SDK 1.5?

2009-05-30 Thread pawpaw17
Yes, that's it, thanks! Works like a charm. The only other nutty thing I keep noticing with Android 1.5, that I noticed in 1.1, is the "first" call to geocoding always fails for me after I create the geocoder object. In the code below I always hit the exception. The second call always works though

[android-developers] intent from dialog and back ?

2009-05-30 Thread guruk
Hi, i am in a dialog builded with AlertDialog.Builder from there i call another activity with startActivity. all fine.. JUST..when i press back in my new activity i crash with "unable to resume activity". i guess its because i call the new activity within a dialog.. but what can i do?? I just

[android-developers] Re: Missing MapPoint in 1.5r2?

2009-05-30 Thread Raphael
Please file a bug at b.android.com and we'll have a look. A small code/apk snippet would be ideal too. Thanks in advance. R/ On Sat, May 30, 2009 at 10:44 AM, Mark Murphy wrote: > > I am attempting to build an application that uses the Google Maps Add-On. > > I get compile errors on this code: >

[android-developers] Re: Maps and StreetView missing in Android SDK 1.5?

2009-05-30 Thread patrick
oops, was too slow :) On 31 mai, 00:33, patrick wrote: > in fact, when u create the avd, u have currently 3 target available: > 1.1 > 1.5 > 1.5 + google maps apis > > so i guess u choosed the 1.5 target. > > On 30 mai, 22:50, pawpaw17 wrote: > > > Everyone, > > > Thanks in advance for any thoug

[android-developers] Re: Maps and StreetView missing in Android SDK 1.5?

2009-05-30 Thread patrick
in fact, when u create the avd, u have currently 3 target available: 1.1 1.5 1.5 + google maps apis so i guess u choosed the 1.5 target. On 30 mai, 22:50, pawpaw17 wrote: > Everyone, > > Thanks in advance for any thoughts on this. In v1.5 of the SDK, the > Maps/Streetview app > is not installed

[android-developers] Re: Maps and StreetView missing in Android SDK 1.5?

2009-05-30 Thread Raphael
You will have maps if you create an AVD that targets the "Google APIs" add-on: $ android create avd --name some_avd_name --target 3 ... $ emulator @some_avd_name (or using Windows > AVD Manager in Eclipse). I think with 1.5_r2 you also get streetview in the emulator, not sure. R/ On Sat, Ma

[android-developers] Maps and StreetView missing in Android SDK 1.5?

2009-05-30 Thread pawpaw17
Everyone, Thanks in advance for any thoughts on this. In v1.5 of the SDK, the Maps/Streetview app is not installed in the emulator. I'm relying on launching an implicit intent which maps my addresses for me. Is there a way to test this in the emulator, i.e, do I need to install something extra? I

[android-developers] getFromLocation broken with Android 1.5 SDK?

2009-05-30 Thread pawpaw17
I just upgraded to v1.5 (running in Eclipse on Windows) today and all calls to getFromLocation() return immediately without an exception. However the locations object that is returned contains no entries. Is anyone else seeing this? I see some earlier posts, but surely if they are shipping cupcake

[android-developers] Using Prebuilt Toolchain with configure and make

2009-05-30 Thread Rich
Hello! I'd like to know more about porting C applications to native ARM for use on Android devices. I can make simple programs using the prebuild toolchain which comes with the source, but how can I use this toolchain with applications which are more than one file and require configure and make?

[android-developers] Re: Geocoder not returning results in 1.5 preview

2009-05-30 Thread pawpaw17
Has anyone heard about the fix for this yet? I updated to 1.5 today and have the same problem. On May 21, 8:18 am, Android Users wrote: > Any help on this as this is stopping our work. Searched in all android > forums, but no luck.. :( --~--~-~--~~~---~--~~ You re

[android-developers] Re: Webview + self signed ssl cert

2009-05-30 Thread Disconnect
..or you have a known safe channel (such as adb or local secured/trusted wifi) you can use to get the cert the first time. And what does that have to do with "how do I do this" anyway? On Mon, May 25, 2009 at 11:02 AM, Mike Hearn wrote: > >> The server and url in question is private and no one

[android-developers] Finish all previous Activities?

2009-05-30 Thread guruk
Hi, is it possible with one call to finish all previous Activities. (like: this.finish(all) :) I have a main activity, calling a preferences and there is a switchuser point that switch the user and call the main activity again. But than i dont need that the user can go back, step by step, It wou

[android-developers] Re: Development in G1 in Ubuntu 9.04

2009-05-30 Thread Abdul Mateen
I want to know what these number means ? On Sat, May 30, 2009 at 5:52 AM, Christine wrote: > > If 51 doesn't work, try a higher number. For some reason on my MSI > Wind with Ubuntu Intrepid, 51 didn't work but 90 did. > > > On May 5, 10:46 pm, "Luis E. Yupangui" wrote: > > This helped my out as

[android-developers] Re: Call Activity from Widget, have only one instance. I am confused.

2009-05-30 Thread Tom Gibara
I'm having a similar issue, but related to PendingIntents via notifications. http://groups.google.com/group/android-developers/browse_thread/thread/56a0c58dc6e1b0a1# Like you, I feel I understand the task con

[android-developers] Re: SampleView in a Layout?

2009-05-30 Thread jcpalmer
Chris, Sub-Classing View is not going to work. You need to subclass ViewGroup. There are many predefined already to choose from. Here is a LinearLayout Example. private class sampleViewGroup extends LinearLayout{ private final Button button1; private final Button button2; private fi

[android-developers] Missing MapPoint in 1.5r2?

2009-05-30 Thread Mark Murphy
I am attempting to build an application that uses the Google Maps Add-On. I get compile errors on this code: GeoPoint status=new GeoPoint((int)(lat*100.0), (int)(lon*100.0)); saying: [javac] StatusMap.java:31: cannot access com.google.map.MapPoint [javac

[android-developers] Conversion to Davik failed with error 1

2009-05-30 Thread Francois
Hello, I have searched the forums, but none of the solutions proposed cured my problem. Since I have upgraded to version 1.5 of the dev kit (and updated my Eclipse plugin), I cannot compile my project. I get this error, followed by : Project 'RuntimeAndroid' is missing required source folder 'g

[android-developers] Re: video capture doesn't seem to work in 1.5

2009-05-30 Thread Derek
I'm having trouble too and it seems to revolve around the prepare() when it is trying to load up the file location. I get a FileNotFoundException during prepare(). The exception says it can't find /external/video/media/5 which is the URI path. I'm guessing it wants a more physical path but even

[android-developers] Re: Bluetooth and ADB

2009-05-30 Thread biAji
I'm very curious about how can you connect a device to PC through BT? Is it possible? On May 27, 10:48 pm, "romka.shakhman...@googlemail.com" wrote: > Can you help me with my question? Is it possible to use adb commands > if device connected via Bluetooth? > > Regards, > Roman. --~--~-~-

[android-developers] Re: Seekbar - Snap to value

2009-05-30 Thread mscwd01
Thanks for the quick reply. I shall do as you suggested. Pity there isn't support for a vertical seekbar though :( On May 30, 4:26 pm, Marco Nelissen wrote: > On Sat, May 30, 2009 at 8:19 AM, mscwd01 wrote: > > > Hey, > > > Quick question... > > > Is there a way to define set values (i.e. 0%,

[android-developers] Re: ADC2 announced

2009-05-30 Thread Disconnect
How do you enforce that for closed source apps? (It is already enforced for open source apps, so..) On Sat, May 30, 2009 at 1:00 AM, Christine wrote: > > I think the competion gets more interesting if only unpublished apps > can compete. Maybe they should add a rule that  you can only submit > a

[android-developers] Re: Seekbar - Snap to value

2009-05-30 Thread Marco Nelissen
On Sat, May 30, 2009 at 8:19 AM, mscwd01 wrote: > > Hey, > > Quick question... > > Is there a way to define set values (i.e. 0%, 25%, 50%, 75%, 100%) for > the seekbar widget that enables the slider to "snap" to the nearest > set value? For example instead of allowing the user to position the > s

[android-developers] Seekbar - Snap to value

2009-05-30 Thread mscwd01
Hey, Quick question... Is there a way to define set values (i.e. 0%, 25%, 50%, 75%, 100%) for the seekbar widget that enables the slider to "snap" to the nearest set value? For example instead of allowing the user to position the slider at an percentage through 0-100, instead the slider can only

[android-developers] Re: How to get an applications permission?

2009-05-30 Thread SizzlingSkizzorsProgrammer
Thanks Mark --~--~-~--~~~---~--~~ 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

[android-developers] Re: Drawing Masked Bitmaps

2009-05-30 Thread Salentinux
Someone know how this could be achieved? Thank you. On 28 Mag, 19:53, Salentinux wrote: > Hi all, > > I want make a Mask effect with 2 bitmaps. The first has to bemasked > by the second. What is the best way? I need it to redraw portions of > the screen the are involved in animations. I have an

[android-developers] Testing among peers - A new group proposed

2009-05-30 Thread Ravi
Hi, I would like to propose a test exchange where few can test apps for others and vice versa. We can go by credit system where when you test an app you get credits and use when your app is being tested by others. Or may be even have developers purchase the credits. Revenue can be shared among

[android-developers] Re: Resume my activity from thread

2009-05-30 Thread Mark Murphy
fala70 wrote: > Hi Mark, when your new book on 1.5 sdk ? :-) All three books will be updated over the next several weeks, with two being updated within about 10 days. The original Android book will take longest, mostly because I want to get the other two in print. > Mainly I need to capture an i

[android-developers] Call Activity from Widget, have only one instance. I am confused.

2009-05-30 Thread Michael Elsdörfer
I've read through the Application Fundamentals three times today (and I had done so before), but I still can't quite wrap my ahead around the task concept. Or I guess I thought I understood it, but usually, the results I am seeing don't match up to what I would expect to happen (maybe a tool to se

[android-developers] Re: Resume my activity from thread

2009-05-30 Thread fala70
Hi Mark, when your new book on 1.5 sdk ? :-) Mark the problem born around intent ACTION_IMAGE_CAPTURE. Mainly I need to capture an image from camera. I tried to use ACTION_IMAGE_CAPTURE with the follow code: final Intent imageCaptureIntent = new Intent (MediaStore.ACTION_IMAGE_CAPTURE);

[android-developers] Re: implementation of onDestroy for a service containing a worker or backround thread

2009-05-30 Thread Mike Hearn
Why does your service need to run all the time? That's pretty rare, and is going to impact battery life. --~--~-~--~~~---~--~~ 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] virtual keyboard & EditText

2009-05-30 Thread allian...@groupmedianet.com
Hi I had an EditText that was working perfectly on the emulator. Now that I am doing test with the htc magic (which has a virtual keyboard) is giving me some problems: this is the code that I use: myEditText.setOnKeyListener(new View.OnKeyListener() { public boolean onKey(View arg0, int arg1,

[android-developers] Re: Why the Android docs are inconsistent?

2009-05-30 Thread Mike Hearn
Sadly I wouldn't recommend contributing any doc patches until they've got the merging between open and private repos sorted out. I contributed a doc patch a few months ago and the Cupcake SDK shipped with the (bad) doc bug in it anyway, because it was never merged in. For now just file a bug and l

[android-developers] Re: What's the best way to handle an task w/progress dialog on orientation change?

2009-05-30 Thread Mike Hearn
> Are you trying to tell me that it's totally safe to throw stuff in > static fields? You have to be careful you don't accidentally pin things into memory, eg, putting a View or a Drawable or anything that inherits from Context into a static field would be a bad idea. Otherwise it's not a problem

[android-developers] Re: How to get an applications permission?

2009-05-30 Thread Mark Murphy
SizzlingSkizzorsProgrammer wrote: > I mean the permissions that are shown in the Android market when you > download it (internet, cell phone, gps, etc). Use PackageManager to get a PackageInfo object on the desired package. PackageInfo has a String[] requestedPermissions that should have the name

[android-developers] Re: Adding intent filter in code

2009-05-30 Thread Mark Murphy
Sujay Krishna Suresh wrote: > hi mark... > can u give an example for option (2)?? Uh, I think option (2) was registering a receiver, then using PackageManager to enable/disable it. If so, then I don't have any example code -- I just found out about the technique myself a day or so ear

[android-developers] Re: Resume my activity from thread

2009-05-30 Thread Mark Murphy
fala70 wrote: > I've an activity with a Runnable thread into. From a button command I > call the camera external application. Into my thread there is a check > for news picture file is created. > > Now I need to resume my activity from my run func. I tried to recall > startActivity of my own but

[android-developers] Re: Resume my activity from thread

2009-05-30 Thread Saurav Mukherjee
what i have understood from your query is that u have implemented the Runnable interface. if u have done so, u have to use an Handler object to get hold of the ui elements... if this does not help u, please explain your problem properly. On Sat, May 30, 2009 at 5:13 PM, fala70 wrote: > > I've an

[android-developers] Resume my activity from thread

2009-05-30 Thread fala70
I've an activity with a Runnable thread into. From a button command I call the camera external application. Into my thread there is a check for news picture file is created. Now I need to resume my activity from my run func. I tried to recall startActivity of my own but doesn't work. The other so

[android-developers] Re: UnLock screen is not coming when I building source and running the emulator

2009-05-30 Thread Eric Chen
I met the same problem, Any new comments. Best Regards Eric Chen On Mon, May 25, 2009 at 11:55 PM, RajuM wrote: > > I am trying to change the 9 circle unlock widget screen. I added one > more text view in UnlockScreen.java layout file > keyguard_screen_unlock_portrait.xml. But after compilin