[android-developers] Tut (SDK 1.5) Get google account of user

2009-06-04 Thread Sujay Krishna Suresh
hi guys i finally got a simple method to get the google accounts in SDK 1.5... i'm attaching the code for everyone who needs this piece of code... This piece of code prints all methods in the class & invokes the static method getAccount... try { for (Method ele : Class.forName("com.google.android

[android-developers] Re: Fwd: Activity to service on click of BACK (arrow key on dev) and bring the same activity on click of notification

2009-06-04 Thread Sujay Krishna Suresh
is it workin dude??? On Thu, Jun 4, 2009 at 9:17 PM, Saurav Mukherjee < to.saurav.mukher...@gmail.com> wrote: > dude, > try this: > Notification n=new Notification(); > n.setLatestEventInfo(context, contentTitle, contentText, > contentIntent); > the contentIntent is the target intent tha'

[android-developers] Re: onclick event works even on top of the another view

2009-06-04 Thread Sujay Krishna Suresh
I'll advice u to make use of viewgroups... i think then u'll be able to differentiate between between the listeners of the two views... but i'm not sure... if it works out do lemme no... On Fri, Jun 5, 2009 at 11:21 AM, quill wrote: > > Hi Jyotiranjan, > you can override the bottom view's onTouch

[android-developers] Re: simple question about android porting

2009-06-04 Thread Roman
Hello Jacky, to 1. Go to the following web page and download cupcake http://source.android.com/download The page explains all the steps you need dependent on which platform you are working on. In general you have not to worry about porting to arm because the Android build environment supports

[android-developers] Re: onclick event works even on top of the another view

2009-06-04 Thread quill
Hi Jyotiranjan, you can override the bottom view's onTouchevent(), and than check whether the sliding drawer opened or not, if opened, just return false; I think it is a way to solve your problem but not the best way. :) On Jun 5, 12:20 pm, JITU wrote: > Hi All, > > I am facing some problem Like

[android-developers] Re: Advice on debug tool for I/O

2009-06-04 Thread Roman
You could try to do tcpdump on your destination device or on a PC which is attached to your LAN network. In the second case both tcpdump or Wireshark might give you an idea what is happening. Only problem is that you might see a lot of traffic and you have to set some filters or grep for a certain

[android-developers] Re: How to prevent multiple instance of the same widget being added to the homescreen

2009-06-04 Thread acemaker
Hi Jeff, Thanks for the quick reply, I get the idea of allowing the widget to be installed on different home screen app, so should it be he widget host's responsibility to enforce the singleton if necessary then? I will try to read thru the launcher code, just spot one thing though, should the s

[android-developers] 2D animation with User interaction

2009-06-04 Thread sagar.indianic
Hello, I want to develop a simple application which will move an image accelerometer readings change. How can i implement that? is it possible using openGL only?? Another problem is that how can i get notified when two images intersect while animating??? Thanks for the help --~--~-~

[android-developers] Help: 1.5 AutoCompleteTextView Problem

2009-06-04 Thread efan
This layout xml file contains an AutoCompleteTextView: http://code.google.com/p/zz-doctor/source/browse/trunk/ZZ/res/layout/welcome.xml does not show in 1.5 AVD. No error in either screen or console log. It worked fine in 1.1, in both AVD and eclipse visual layout. When try to open it in eclipse

[android-developers] Re: how to handle hardware volume controls

2009-06-04 Thread Josh
I figured out my problem. I was overriding onKeyDown. I removed the override and it works as it should. On Jun 4, 9:10 pm, Josh wrote: > That did not work for me either. Once my app starts and I press the > hardware volume controls i see nothing on the screen. but if i press > it before i start

[android-developers] onclick event works even on top of the another view

2009-06-04 Thread JITU
Hi All, I am facing some problem Like: Scenario:Three buttons enabled by on click event. -I am using sliding drawer... on which no of buttons are there. -When sliding drawer is opened...its overlapping the preveously defined three buttons. My problem is... when i am clicking on sliding drawer

[android-developers] Re: Is there any equivalent API/Class like in Java ME ? javax.microedition.lcdui.game.TiledLayer,Sprite. CollideWith()

2009-06-04 Thread Nightwolf
You can define bounding rectangles for your sprites using Rect or RectF. And then use methods like boolean contains(int x, int y) //Returns true if (x,y) is inside the rectangle. boolean contains(Rect r) //Returns true if the specified rectangle r is inside or equal to this rectangle. static bo

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Alexander Davis
I should add that this is in no way closed. If you have a workaround, please poast! On Jun 4, 3:22 pm, Alexander Davis wrote: > Yeah, thats what I have gleaned from the other group posts. Thanks for > the info, I appreciate it. I'll look into it more and maybe make my > own package to make this

[android-developers] Re: how to handle hardware volume controls

2009-06-04 Thread Josh
That did not work for me either. Once my app starts and I press the hardware volume controls i see nothing on the screen. but if i press it before i start the app i see the ringer volume indicator. On Jun 3, 11:16 pm, Saurav Mukherjee wrote: > hi, > try to get the instance of AudioManager by usi

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-04 Thread iDeveloper
Can someone please help me with this Have been trying to solve this problem for the past week now. The GPS notification icon is there all the time, but I can't get a fix. Can anyone please tell me what could possibly be the problem? On 05-Jun-09, at 1:31 AM, Georgy wrote: > > Correcti

[android-developers] Re: shut off shutter sound

2009-06-04 Thread Sheado
not happy with this solution (since it disables all notification sounds!), but it works: ((AudioManager)systemService).setStreamMute ( AudioManager.STREAM_SYSTEM, true/false ); make sure you re-enable this at onPause or you'll piss some people off! =) On Jun 2, 9:31 am, Wayne Wenthin wrote: >

[android-developers] Re: What's the deal with onRetainNonConfigurationInstance()?

2009-06-04 Thread adamphillips12
I have not tested it but if you register for orientation configChange, perhaps onConfigurationChanged() will be called prior to onSave..()? Though if indeed you feel like 99.9% of the situations onSaveInstanceState() is called is for orientation changes, then why don't you just use onRetain.. exc

[android-developers] Multiple ItemizedOverlay conflicts

2009-06-04 Thread Derek
Searched around and haven't seen anyone complaining about this so I guess I'll toss it out. Our app uses a MapView and we create 4 instances of a custom ItemizedOverlay object and add all to the MapView overlays. Our app creates events and based on the event type, adds it to the appropriate inst

[android-developers] Re: A question on Intents.

2009-06-04 Thread aayush bhatnagar
Thanks for the valuable pointers. Basically, the services i described are going to be built upon a protocol stack, namely SIP. All services i mentioned will be registered as listeners to the stack. For the call control etc to work, my SIP stack needs to be alive and kicking to receive messages fro

[android-developers] Re: How to send an intent from command line?

2009-06-04 Thread Joe
That worked. I hope there is documentation of these command some where. I didn't find any links. 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] Re: How to get bitmap infomation before decode an image file?

2009-06-04 Thread quill
Is there any limit to use inJustDecodeBounds? When my picture is small enough, it works well, but it will report "failed binder transaction" in logcat when the picture size is larger than 100k. I have not use any binder, and it works well even the bitmap size is 1M before using Options argument.

[android-developers] 1.5 ant build problems

2009-06-04 Thread Michael Thomas
Hi all, I'm having pukage when I try building from ant. I followed the sdk upgrade instructions: $ android update project --path /path/to/my-project --target 1 and when I try to build: $ ant release I get: Buildfile: build.xml BUILD FAILED java.lang.NoSuchMethodError: method java.lang.Strin

[android-developers] Re: 1.5 addjavascriptinterface

2009-06-04 Thread Mark Murphy
Michael Thomas wrote: > Well, both methods _do_ work. What do you mean by trouble anyway? If it works, cool. > And why would a try/catch block be a problem? The native method isn't > what's > throwing the error, it's the _lack_ of the jsi method (ie, on a non- > android > device). Surely the jsi

[android-developers] Re: 1.5 addjavascriptinterface

2009-06-04 Thread Michael Thomas
On Jun 4, 4:49 pm, Mark Murphy wrote: > Michael Thomas wrote: > > would it be better to just > > try { > >    window.phz.backbutton () > > } catch () > > > instead? this need to be cross-browser safe. > > Oof. That could be trouble. Well, both methods _do_ work. What do you mean by trouble any

[android-developers] Re: 1.5 addjavascriptinterface

2009-06-04 Thread Mark Murphy
Michael Thomas wrote: > would it be better to just > try { >window.phz.backbutton () > } catch () > > instead? this need to be cross-browser safe. Oof. That could be trouble. Can't you sniff on browser type and serve up the proper HTML based on whether it's an Android device? > I have noti

[android-developers] Re: 1.5 addjavascriptinterface

2009-06-04 Thread Michael Thomas
would it be better to just try { window.phz.backbutton () } catch () instead? this need to be cross-browser safe. I have noticed that the normally implicit .toString() js method causes chunks to be blown, so I'm not doubting you :) Mike On Jun 4, 4:28 pm, Mark Murphy wrote: > Michael Thoma

[android-developers] Re: 1.5 addjavascriptinterface

2009-06-04 Thread Michael Thomas
Hmm... yes, that's odd. It's been a while, but iirc not putting it in onLoadResource() in 1.0 was giving me trouble. I'm pretty sure I went to the trouble after some googling. When I put before the loadURL (), it now works again. That's pretty bizarre behavior though. I can see not loading the ob

[android-developers] Re: 1.5 addjavascriptinterface

2009-06-04 Thread Mark Murphy
Michael Thomas wrote: > 1) window.phz is not null and is an object in my js (as before in 1.0) Don't do that. > 3) window.phz.backbutton is now null (ie, the debugmsg(...) is called > in the js) Don't do that either. I do not believe it is part of the API contract that the Java objects are nec

[android-developers] 1.5 addjavascriptinterface

2009-06-04 Thread Michael Thomas
Hi all, I just got my 1.5 pushed to me yesterday and it seems that WebView.addJavascriptInterface stopped working. What I have is: public class phzJSI { public void backbutton () { mHandler.post(new Runnable () {

[android-developers] Re: 1.5 addjavascriptinterface

2009-06-04 Thread Mark Murphy
Michael Thomas wrote: > Hi all, > > I just got my 1.5 pushed to me yesterday and it seems that > WebView.addJavascriptInterface stopped > working. Visit: http://commonsware.com/AdvAndroid where you will find source code to one of my books. In that ZIP file, you will find a couple of WebKit pro

[android-developers] 1.5 addjavascriptinterface

2009-06-04 Thread Michael Thomas
Hi all, I just got my 1.5 pushed to me yesterday and it seems that WebView.addJavascriptInterface stopped working. What I have is: public class phzJSI { public void backbutton () { mHandler.post(new Runnable () {

[android-developers] Excluding test files from the compiled Android app

2009-06-04 Thread Parakoos
Hello, I am looking to add some JUnit4 tests to my android application. I am going to test some classes that are totally decoupled from the Android framework, so I don't want to involve the instrumentation bit. I will be running these tests only from eclipse. The question I have is how I can ens

[android-developers] Re: ISO2022JP->UTF-8(unicode) conversion

2009-06-04 Thread Urs Grob
This should be supported. ICU which is included supports JIS. String as well as java.nio.charset is based on the ICU library. There might be some limitations with Collation because Kanji collation data is huge and was not included in the icu data file (afaik). I think this will stay like this un

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Alexander Davis
Yeah, thats what I have gleaned from the other group posts. Thanks for the info, I appreciate it. I'll look into it more and maybe make my own package to make this easier. Alex On Jun 4, 2:54 pm, Brian Smith wrote: > It looks like it, yes.  It also looks like a custom overlay that the > develop

[android-developers] Re: aapt error with Standard menu icons (resource is not public)

2009-06-04 Thread Romain Guy
This is a known issue that was reported to the authors of the guidelines. On Thu, Jun 4, 2009 at 3:05 PM, Jeff Sharkey wrote: > > Oops, looks like some of the resources mentioned in that document > aren't exported in public.xml.  That's okay, you can still copy the > assets directly from the sou

[android-developers] Re: aapt error with Standard menu icons (resource is not public)

2009-06-04 Thread Jeff Sharkey
Oops, looks like some of the resources mentioned in that document aren't exported in public.xml. That's okay, you can still copy the assets directly from the source and use them from your project's local drawable directory. Here's where most of the framework drawables are coming from: http://an

[android-developers] Re: httpclient multipart form upload

2009-06-04 Thread Urs Grob
HttpClient 4 doesn't have that included anymore. The upstream project didn't integrate it from the 3.x client. I had to do exactly the same today. Basically I solved it by including some additional jars: mime4j httpmime This question was already on the list and there's some better explanation:

[android-developers] How to add picture in Avatar in Contact on the emulator

2009-06-04 Thread Lucius Fox
Hi, I would like to know how can I add picture in Avatar in Contact on the emulator? When i click the 'avatar icon', it just pops up 'Select picture' and no media found. How can I load some dummy images to the emulator and I can select from that 'Select picture screen. Thank you. --~--~

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Brian Smith
It looks like it, yes. It also looks like a custom overlay that the developer wrote in order to make that work. Looking at the docs for the maps library, I don't see any overlay classes for doing that sort of thing, but you can always extend the base Overlay class and roll your own. That class

[android-developers] Re: Pass a javascript function to java using the webview addJavascripInterface

2009-06-04 Thread bo
You can use JSON formatted string and then eval() it in JS code On May 12, 10:56 am, "Mark Murphy" wrote: > > I made a webview.addjavascriptinterface(geo, "geo"); > > to access the geo class from javascript, > > and, in the html-javascript I write: > > - > > function successCallback(p){

[android-developers] IllegalStateException when calling Preference.setDependency()

2009-06-04 Thread flix
Hello, I'm trying to create a PreferenceScreen with a CheckBoxPreference which depends on an other CheckBoxPreference using the setDependency() method, as shown in the code below. While calling the setDependency() method, I get the following Exception: java.lang.IllegalStateException: Dependency

[android-developers] Re: Multiple drawable name

2009-06-04 Thread Sylvain MOUQUET
Thanks I have found an example here : http://www.anddev.org/viewtopic.php?p=17846 "For example: I have a file bug.png in the "/res/drawable/", so i get its ResourceID with the following code: Java: int resID = getResources().getIdentifier ("org.anddev.android.testproject:drawable/bug", null, nul

[android-developers] IllegalStateException: get field slot from row 0 col 9 failed

2009-06-04 Thread Marcus
Hi, my app has some strange errors on some devices. The problem is that I cannot reproduce it on my device (ADP1 with JF1.5) and also not in the emulator (1.1 and 1.5). But some users encounter this error and here is the log output from him. onResume only calls to super and to refresh(). And re

[android-developers] Re: Light theme doen't work properly in 1.5 SDK

2009-06-04 Thread havexz
> So what EXACTLY did you do as the working workaround? just set the background color of the scrollviews explicitly. I mean dont leave the background color for scrollview empty. Put color there. > PS. I am surprised that the Googlers (Romain, Jeff) did not > close this topic with a workaround be

[android-developers] Re: Device Update!!!

2009-06-04 Thread havexz
are using some 1.5 related api? btw is 1.5 still not available...if not is soon gonna be available to you so have patience On Jun 4, 11:46 am, Georgy wrote: > Ok as I was fearing.. I reached a stage where the application works on > the emulator and not on the device! > > For example: after givin

[android-developers] Re: Sharing common view layouts and resources across multiple Android applications (APKs)

2009-06-04 Thread Peli
You can access resources of other packages through the resource manager. The best way to reuse components in Android though is to implement activities that can be called from other activities through intents. Peli www.openintents.org On Jun 2, 8:09 pm, Nag wrote: > I am working on developing s

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Alexander Davis
Yup, thats the maps API, not what im looking for. What i'm talking about is successfully implemented in Locale; I know its possible. Thats a mapview, right? Must be, right? Alex On Jun 4, 12:39 pm, Zoltán Kisgyörgy wrote: > Found something that might help you: > view-source:http://code.google.c

[android-developers] Re: BlurMaskFilter not blurring entire bitmap

2009-06-04 Thread Tom Gibara
Blur filters only operate on the alpha channel. If you wanted to apply them to anything else, you might consider using a ColorMatrix to juggle the channel you want to blur into the alpha channel and then paint it - that might work in some situations. In any case, a single blur operation is generall

[android-developers] Re: aapt error with Standard menu icons (resource is not public)

2009-06-04 Thread Nicolas Joyard
Ok, I found the solution. Turns out that contrary to what the icon design guidelines seem to mean, ic_menu_play_clip is not included in android 1.5 (or at least not in the SDK, which prevents the project to build). --~--~-~--~~~---~--~~ You received this message bec

[android-developers] Re: Hardware keyboard caps state

2009-06-04 Thread Spiros
Oops, duplicate of http://groups.google.com/group/android-framework/browse_thread/thread/a656b7aa896caa7f My bad, I'll re-post there -- please ignore this. Cheers, Spiros On Jun 4, 1:12 pm, Spiros wrote: > Hi, > > I'm writing a Greek IME, which also needs to translate hardware > keypresses.  I

[android-developers] Re: Spinner position incorrect after Activity resumes

2009-06-04 Thread Ben Roberts
There are at least two other people who have encountered this problem: http://groups.google.com/group/android-beginners/browse_thread/thread/252736990cf0251c http://groups.google.com/group/android-developers/browse_thread/thread/b88d99ce73de2efe?fwc=1 Any ideas? Is it a bug? At the very least, d

[android-developers] Re: Crash on Samsung HERO????

2009-06-04 Thread guruk
thanks... its solved ..i also wrote in the xda forum and it looks he used a alpha version and even did some mistake with a odex file see: http://forum.xda-developers.com/showthread.php?t=522482 --~--~-~--~~~---~--~~ You received this message because you are subscr

[android-developers] Re: Crash on Samsung HERO????

2009-06-04 Thread Marco Nelissen
On Thu, Jun 4, 2009 at 12:41 PM, guruk wrote: > > I wrote the user right now, he said it happens also with another app. > So whats different in this ** hero No idea. I'm curious which phone this user actually has, since AFAIK the 'Samsung Hero' is a low-end non-android phone. anyhow.. i change

[android-developers] Re: launching other apps

2009-06-04 Thread RS
Thanks a lot for the clarification. On Jun 4, 6:32 pm, Jeff Sharkey wrote: > > Is it possible to launch other apps from my app like the application > > launcher or home screen do? > > Yes, you just need to build the Intent correctly, either using a > well-known action string with any needed data

[android-developers] Re: how to create a pop up window?

2009-06-04 Thread automerc
Thanks for the link. I saw that the alertdialog allows us to put a list on the pop up window. I was wondering if there is a way to add images to it as well. Is it possible to associate each item on the list with a image so that when a item is selected a image associated with that item will be disp

[android-developers] Map Not Working On Device Working on Emulator

2009-06-04 Thread Georgy
Greetings, I got a simple application where I create a certain Geopoint and animate to it brining the map center to the geopoint created like the following: // This is the Current location to be pointed at GeoPoint point = new GeoPoint(3688573, -76.30486); // Animate the map to the location s

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-04 Thread iDeveloper
I still have the problem. I get the GPS icon but not the location... On 05-Jun-09, at 1:31 AM, Georgy wrote: > > Correction: I meant I AM getting the GPS notification on the screen > (GPS is enabled from the phone) > > On Jun 4, 1:21 pm, Georgy wrote: >> I am getting the same issue as iDevelo

[android-developers] Re: Getting Current Location on my Device works on emulator but not on my device

2009-06-04 Thread Georgy
Correction: I meant I AM getting the GPS notification on the screen (GPS is enabled from the phone) On Jun 4, 1:21 pm, Georgy wrote: > I am getting the same issue as iDeveloper. I tried playing around with > the listener  (putting 2, 200, or 2000) , but the thing is the map is > not changing at

[android-developers] Re: Sharing common view layouts and resources across multiple Android applications (APKs)

2009-06-04 Thread Alexey Krasnoriadtsev
There is no such way right now to share resources between the apps. However, if you are building your own version of OS, you can add this functionality into the system image. On Jun 2, 11:09 am, Nag wrote: > I am working on developing several individual android applications. We > had created co

[android-developers] Re: Crash on Samsung HERO????

2009-06-04 Thread guruk
I wrote the user right now, he said it happens also with another app. So whats different in this ** hero anyhow.. i changed quit a lot. it could be the new widget feature for example. but how to develop in the future when stuff like that happens. that makes me quit unhappy. --~--~-~--~-

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Zoltán Kisgyörgy
Found something that might help you: view-source:http://code.google.com/apis/maps/documentation/examples/marker-drag.html http://code.google.com/apis/maps/documentation/examples/marker-drag.html>look at the source of the site, its javascript but maybe the one in Android is also the same: more can b

[android-developers] Re: Crash on Samsung HERO????

2009-06-04 Thread Marco Nelissen
On Thu, Jun 4, 2009 at 12:14 PM, guruk wrote: > > Hi, > i got a strange message from a user: > > : he is talking about my application: > " > >I have been using v.7 on my new Samsung Hero device. > >When I updated to v.8 I get a force close every time I try and start it > up. It is using 1.5 kerna

[android-developers] Re: Easy one (hopefully) Inverse preference dependency?

2009-06-04 Thread gymshoe
1) invert the preference "question" for the dependency. 2) If you convert your preference from XML to code, you may have more flexibility. (You have probably considered both and neither is a good option for you...) Jim On May 22, 12:14 am, "Peter Carpenter" wrote: > Hi, > > I have a preference

[android-developers] Crash on Samsung HERO????

2009-06-04 Thread guruk
Hi, i got a strange message from a user: : he is talking about my application: " >I have been using v.7 on my new Samsung Hero device. >When I updated to v.8 I get a force close every time I try and start it up. It >is using 1.5 kernal. I have had to go back to v.7 in order to use this >>produc

[android-developers] Re: BlurMaskFilter not blurring entire bitmap

2009-06-04 Thread Marco Nelissen
On Thu, Jun 4, 2009 at 11:41 AM, Todd wrote: > > I've tried all the different blur styles to no avail. I guess the > basic problem is the blur only blurs edges of a bitmap, and not the > entire bitmap. Which would happen if you specified the SOLID blur style (you want NORMAL). But since you say

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-04 Thread Streets Of Boston
It's part of the Android distribution agreement. For apps less than $10, Google will automatically refund after a dispute and charge you back for $3.00. For apps of $10 or more, google will do an investigation: You may or may not get the charge-back, depending if the investigation determines that

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Alexander Davis
Yup there is info about markers, but what about making the markers draggable? I don't see anything... On Jun 4, 11:28 am, Zoltán Kisgyörgy wrote: > yes, for more information look at the official mapview > tutorial:http://developer.android.com/guide/tutorials/views/hello-mapview.html > >

[android-developers] Re: BlurMaskFilter not blurring entire bitmap

2009-06-04 Thread Todd
I've tried all the different blur styles to no avail. I guess the basic problem is the blur only blurs edges of a bitmap, and not the entire bitmap. There's probably some secret sauce to getting it to work the way I want, I just haven't discovered it yet. Thanks for the suggestion though. Todd

[android-developers] Re: Error about AsyncTask

2009-06-04 Thread Romain Guy
Why do you start 21 threads? Just start one task and put your loop inside doInBackground(). On Tue, Jun 2, 2009 at 2:51 AM, MIMRAN D wrote: > > Hi all, > > I am struck with an interesting problem. > > I have a listview with 30 items which contains an image (from a web > server) and a text. > So,

[android-developers] Re: Multiple drawable name

2009-06-04 Thread Romain Guy
Look at the Resources class, it has everything you need. On Wed, Jun 3, 2009 at 2:12 PM, revo wrote: > > Hi, > > I have a button and i put a picture in it. I have a list of pictures > and i want to know what is the best practice to adapt a integer to a > drawable name. > > By example, i have : >

[android-developers] Re: where to locate google i/o presentation

2009-06-04 Thread Zoltán Kisgyörgy
http://google-code-updates.blogspot.com/2009/06/android-now-beaming-io-videos-and.html http://code.google.com/events/io/sessions.html 2009/6/3 torrey pine > > Does Google publish the conference presentations yet? Thanks! > > > > -- K. Zoltán --

[android-developers] Re: Where to find Google I/O presentations?

2009-06-04 Thread Zoltán Kisgyörgy
http://google-code-updates.blogspot.com/2009/06/android-now-beaming-io-videos-and.html 2009/6/4 John > > Thanks! > > > > -- K. Zoltán --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: MapView Draggable Objects

2009-06-04 Thread Zoltán Kisgyörgy
yes, for more information look at the official mapview tutorial: http://developer.android.com/guide/tutorials/views/hello-mapview.html at the end there are also about markers 2009/6/4 Alexander Davis > > Hey > Is it easy/pos

[android-developers] Re: Publishing Paid Apps on Android Market Can Cost You Money

2009-06-04 Thread Steve
Ouch! As if using google checkout wasn't bad enough in the first place. Hope this works out for you. On Jun 3, 12:47 pm, Blake wrote: > A few weeks ago I get an email from "Google Checkout Chargebacks": > > Hello, > > On 5/12/2009 we received a chargeback notification for Google Order # >

[android-developers] Re: Is there any way to lauhc Google Maps application with direction

2009-06-04 Thread Zoltán Kisgyörgy
Hi, I Would need something like this too :) but not a source destination link in google map but a map that displays only a point from its Lat and Long data or maybe its Zoom too. Appreciate your help 2009/6/3 Android Users > Hi, > > This will help you.Pass in the source and destination points an

[android-developers] Re: Don't understand how to use SurfaceView for my game, have it working with nomrla View.

2009-06-04 Thread Robert Green
If you only need to draw in response to user input, then you just get the canvas and draw after the user inputs. Otherwise you need a thread that runs a main loop. Either way, when you do your draw, you do this. Canvas c = surfaceHolder.lockCanvas(); doDraw(c); surfaceHolder.unlockCanvasAndPost

[android-developers] Re: Releasing a Demo App from Paid App. Need to fork code? How do accomplish?

2009-06-04 Thread MrSnowflake
You could also use a scheme like preprocesser directives in C. Define a static final bool FREE and do a lot of if(FREE) to check which build you are on. The downside is you still need to do manual work. But the best approach is using ant for this, at least I think this stuff is possible using ant

[android-developers] Re: How to send an intent from command line?

2009-06-04 Thread Marco Nelissen
I think you can just omit the '-D' option. On Thu, Jun 4, 2009 at 10:18 AM, Joe wrote: > > Hi > I am trying to test how my activity responds to an intent. > I can write a test activity and send my intent. I am wondering if > there is a command line tool to just send an intent. > > I looked at "

[android-developers] Re: Not able to receive Android's Broadcast message .. !

2009-06-04 Thread Marco Nelissen
On Thu, Jun 4, 2009 at 3:44 AM, CodePupil wrote: > > Hi, > > I'm trying to receive Android's Broadcast message say > MEDIA_SCANNER_FINISHED, but not able to do so. > Here is my code snippet: > > public class MyBroadcastRec extends BroadcastReceiver > { >MyActivityClass receiver; >

[android-developers] MapView Draggable Objects

2009-06-04 Thread Alexander Davis
Hey Is it easy/possible to drag marker objects in a MapView? Alex --~--~-~--~~~---~--~~ 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

[android-developers] Re: How to prevent multiple instance of the same widget being added to the homescreen

2009-06-04 Thread Jeff Sharkey
> actually add multiple instance of the same widget to the home screen, > is there a way to prevent this? You probably don't want to enforce a limit like this, because your widget might be installed on several home screen apps. Also, you can delete widgets by long pressing on them and dragging t

[android-developers] Re: How to use android's built in zoom controls for View or ImageView

2009-06-04 Thread hanged_man
i was investigating into the same issue and it seems like that it is not possible, the zoom controls are not available for the imageview as it is in the "camera" application. However, there's a always a workaround for this using the webview, if you need a sample on how to do it you can send me a p

[android-developers] WebView alway starting as new browser

2009-06-04 Thread MufuSchnu
Hello everybody, I have a strange problem. Hopefuly somedoy can help me. The WebView I'm using is launched always as a new browser with all its functionalities. The back button brings me back to the activity, where the WebView normaly should appear. It worked fine in Version 1.1. :-( Code for l

[android-developers] Where to find Google I/O presentations?

2009-06-04 Thread John
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-develo

[android-developers] Problem with adding contents with Tab

2009-06-04 Thread RS.Giridaran
Hi All, i am creating an application with two tabs i want to add contents for each tab with Text View and Buttons.here is my layout xml definition <-> http://schemas.android.com/apk/res/android"; android:id="@+id/th_set_menu_ta

[android-developers] How to send an intent from command line?

2009-06-04 Thread Joe
Hi I am trying to test how my activity responds to an intent. I can write a test activity and send my intent. I am wondering if there is a command line tool to just send an intent. I looked at "am" tool. When I use "am -D INTENT", I get "your application is waiting for debugger connection" popup.

[android-developers] How to get and edit button in an AlertDialog

2009-06-04 Thread Thomas
Hi All, I need to build a AlertDialog with a short text ("A") and an OK Button. But if I use AlertDialog.Builder, the "ok" text button is not shown with a short text message. I tried to recover the Button object and set the layout to wrap_content. But when I try to use getButton function, it retu

[android-developers] Communication between two android emulators located on two PCs connected via LAN

2009-06-04 Thread upi
Hi, Please help me, I have been struggling for the solution for more than a month. I am trying to port a VoIP application based on SIP protocol to android. I want to test this application first on two emulators running on two different PCs connected via LAN. The problem is that, the communicat

[android-developers] Communication between two android emulators located on two PCs connected via LAN

2009-06-04 Thread Upendra Chintala
Hi, Please help me, I have been struggling for the solution for more than a month. I am trying to port a VoIP application based on SIP protocol to android. I want to test this application first on two emulators running on two different PCs connected via LAN. The problem is that, the communicati

[android-developers] Discussion on localizing-android-apps-draft

2009-06-04 Thread Rotor
im using a localized widget im loading a my own localized font to the widget (on the desktop) but i didnt find a way yo load an asset to a textview from a remote view maybe im looking in the wrong direction is it posible to set font to widgets ? and if so how is it done on runtime or xml based

[android-developers] Extends MediaController

2009-06-04 Thread Cedric
Hi everyone, I am wondering if there is a way to extend the MediaController to be able to change the layout it seems there was a function available on previous SDK, makeControllerView(View), but i can't find anything to replace it. Thanks ! --~--~-~--~~~---~--~~ Yo

[android-developers] Re: socket communication with android emulator and remote PC

2009-06-04 Thread upi
Hi Anandan, I have a similar problem, but I want to initiate communication between two different emulators running on two computers connected via LAN. any clues? Please help me. thanks, Upendra On Apr 15, 2:25 pm, Anandan Natesan wrote: > Hi, > > I am trying to create a tcp connection between

[android-developers] voip

2009-06-04 Thread sipSdkGuru
does anybody know is this good or not? http://voipsipsdk.com/Download.aspx --~--~-~--~~~---~--~~ 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@googlegrou

[android-developers] Help obtaining song metadata information for avrcp 3.0

2009-06-04 Thread udi
Hi, I am working on adding Bluetooth avrcp 3.0 support to an Android platform (the phone will be an avrcp target). I need to obtain song metadata information to pass to the avrcp controller. The platform I am working on uses a proprietary Bluetooth stack rather than open source BlueZ. I saw that

[android-developers] camera do nothing in cupcake emulator.

2009-06-04 Thread lusure
just as the subject,when I click camera,the screen is black,and later error happens with Wait or Force close. what's wrong with the emulator? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] dragging objects in MapView

2009-06-04 Thread Alexander Davis
Hey How does one drag and drop markers in a mapview? Locale has implemented this nicely... Alex --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android

[android-developers] Re: Advice on debug tool for I/O

2009-06-04 Thread Yusuf T. Mobile
One way to do this* would be to have your phone access the internet via a WiFi device-to-device connection to your computer, and then use WireShark on the computer. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in

[android-developers] Not able to receive Android's Broadcast message .. !

2009-06-04 Thread CodePupil
Hi, I'm trying to receive Android's Broadcast message say MEDIA_SCANNER_FINISHED, but not able to do so. Here is my code snippet: public class MyBroadcastRec extends BroadcastReceiver { MyActivityClass receiver; private final static String TAG = "MyBroadcastRec"; MyBroadcastR

[android-developers] Re: VerifyError with Maps Add-ons

2009-06-04 Thread broc
Hi, Is this bug limited to the SDK (=only on the emulator) or is it existing on real phone too ? Thanks, Sebastien. On 12 mai, 02:52, Dianne Hackborn wrote: > Hi, it looks like there is a bug initializing a process when it is launched > to handle a broadcast sent to an explicit component.  I

[android-developers] Re: Retrieve Call History

2009-06-04 Thread Jeff Sharkey
Use a ContentResolver to query CallLog.CONTENT_URI: http://d.android.com/reference/android/provider/CallLog.html#CONTENT_URI Then read the log from the returned Cursor. You may want to include a selection string to limit the number of entries you get back (say, only the last week of calls). j

  1   2   3   >