[android-developers] Re: Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread viktor
Make your Layout in classes it takes 1-3 seconds. On 20 Лют, 06:56, Zsolt Vasvari wrote: > Yes, this is a very long standing bug.  Up until 1-X files, the build > process is fast, once you hit X+1, it becomes unbearably slow.  I've > lived with this issue for the past year patiently waiting for

Re: [android-developers] Re: Possible to deserialize java object on Android?

2011-02-19 Thread Bob Kerns
Actually, while I don't disagree with the advice Mark gave, he's not correct about what Java serialization is designed for, nor is there any issue of byte-code compatibility here, because Java serialization does not have anything whatsoever to do with byte codes. The Java serialization protocol

Re: [android-developers] How to close browser ?

2011-02-19 Thread cuil yahoo
On Sun, Feb 20, 2011 at 12:22 PM, Kristopher Micinski < krismicin...@gmail.com> wrote: > > > On Sat, Feb 19, 2011 at 5:57 PM, cuil yahoo wrote: > >> Appreciate the prompt response. >> >> >> On Sun, Feb 20, 2011 at 4:15 AM, Mark Murphy wrote: >> >>> On Sat, Feb 19, 2011 at 5:33 PM, cuil yahoo wro

Re: [android-developers] How to close browser ?

2011-02-19 Thread Kristopher Micinski
On Sat, Feb 19, 2011 at 5:57 PM, cuil yahoo wrote: > Appreciate the prompt response. > > > On Sun, Feb 20, 2011 at 4:15 AM, Mark Murphy wrote: > >> On Sat, Feb 19, 2011 at 5:33 PM, cuil yahoo wrote: >> > I am making an app. which uses google authentication. For this, i pass >> on >> > intents to

Re: [android-developers] Re: ImageView hardcoded into layout referencing drawable resources

2011-02-19 Thread Justin Anderson
If you want to be able to use it, the link I gave you mentions a way to create an alias that would allow you to use the drawable in the hdpi folder. You would create an alias to it in your normal drawable folder. On Sat, Feb 19, 2011 at 11:35 PM, Keith Wiley wrote: > Fair enough. My project ha

[android-developers] Re: How to get the best double buffering?

2011-02-19 Thread Peter Webb
In fact, the whole idea is to *not* create a new bitmap on each frame. Create the bitmap and clear it at the start of your animation, then just keep drawing to this bitmap. You keep it in scope, so the stuff you draw to the bitmap in previous frames is remembered. The only additional overhead from

[android-developers] Re: ImageView hardcoded into layout referencing drawable resources

2011-02-19 Thread Keith Wiley
Fair enough. My project has such a folder, but of course I suppose it is only accessed when the app is run on certain devices. Thanks. Cheers! On Feb 19, 4:25 pm, Justin Anderson wrote: > Drawables in the "drawable-hdpi" folder are only available on high-density > devices.  When you say you "d

[android-developers] drawBitmapMesh

2011-02-19 Thread loril...@gmail.com
Hi, I want to apply a bulge effect on my image using a circular brush. I found a useful method drawBitmapMesh using which I can define a mesh and apply the warp effect. But I'm not sure how to define a bulge effect. Can anyone please help? -- You received this message because you are subscribed

[android-developers] Re: Android SDK and AVD Manager shows already installed updates as "Available"

2011-02-19 Thread Zsolt Vasvari
Yes, of course. It only effects the 3 items listed above, not everything. On Feb 20, 7:53 am, Justin Anderson wrote: > At the bottom of the dialog there is a checkbox that says "Display updates > only"... Is that box checked? > > On Sat, Feb 19, 2011 at 3:36 AM, Marcin Orlowski > wrote: > > > >

[android-developers] Re: Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Zsolt Vasvari
Yes, this is a very long standing bug. Up until 1-X files, the build process is fast, once you hit X+1, it becomes unbearably slow. I've lived with this issue for the past year patiently waiting for a fix, but there hasn't been one. It's a problem even if you just change a text resource, if you

Re: [android-developers] Re: Activity inside TabActivity doesn't work properly

2011-02-19 Thread Dianne Hackborn
Contacts is implemented like this. At least it was a while ago, I don't know if that is still the case. Still, yes, embedded activities it pretty cruddy. One of the goals of Fragment is to provide a better solution to replace it. (For some perspective on where embedded activities came from --

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Agus
Try disabling automatic build. On Sat, Feb 19, 2011 at 6:08 PM, Tom wrote: > No it happen even with one single layout file. > --Tom > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-devel

[android-developers] Re: Issue Determining the Location

2011-02-19 Thread Jake Colman
> "MM" == Mark Murphy writes: MM> getLastKnownLocation() may not have values, if nothing is causing the MM> device to go find locations. You should consider using MM> requestLocationUpdates() to get the device to figure out where you MM> are. Mark, Can we get back to this commen

Re: [android-developers] Re: Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread rich friedel
sorry that this is off topic but since it was brought up... i second that the Android team is nothing short of AMAZING! y'all have provided the means for the "little guy" like myself to flourish and create applications using some of the best, most complete and user friendly documentation i've ever

[android-developers] Re: Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread davemac
I didn't meant to imply that I wanted updated documentation this weekend. Lord no! I've heard you're the hardest working team in mobile ;-) and I believe it, but your weekends should still belong to you to do as you please. I'm very grateful that you choose to spend a big chunk of your spare time h

Re: [android-developers] ImageView hardcoded into layout referencing drawable resources

2011-02-19 Thread Justin Anderson
Drawables in the "drawable-hdpi" folder are only available on high-density devices. When you say you "don't see it" are you sure you are on a high-density device? See here for more info: http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources Hope that h

[android-developers] Re: Websites to promote your android app

2011-02-19 Thread Tom
Hi Brian, For my application, I published a blog site in wordpress.com and add some messages in numerous android forums with a link to the blog. But the time it most increase my sales was when I agreed to a contest where you could earn my license application. --Tom -- You received this mess

[android-developers] ImageView hardcoded into layout referencing drawable resources

2011-02-19 Thread Keith Wiley
If I reference a drawable in the "drawable" directory, I see the image in my layout, but if I reference a drawable in the "drawable-hdpi" directory, I don't see it (but I don't get an error of any sort either). I want to include the app icon on the splash screen, and would prefer to use the high-r

Re: [android-developers] MarkerManager for Android

2011-02-19 Thread Raymond Rodgers
On 02/19/2011 04:27 PM, Alex wrote: Hi all, I have +120 markers to display on google maps. I wish to display only a few depending of the zoom. In Javascript, MarkerManager can manage this. But I can't use it for my android application. Is there another way to do this ? Thanks What I do in may

Re: [android-developers] Android SDK and AVD Manager shows already installed updates as "Available"

2011-02-19 Thread Justin Anderson
At the bottom of the dialog there is a checkbox that says "Display updates only"... Is that box checked? On Sat, Feb 19, 2011 at 3:36 AM, Marcin Orlowski wrote: > On 19 February 2011 07:39, Zsolt Vasvari wrote: > > > Google USB Driver Package, Revision 4 > > Google Market Billing Package, Revisi

Re: [android-developers] Re: Activity inside TabActivity doesn't work properly

2011-02-19 Thread Justin Anderson
I have yet to hear of an example where someone was able to successfully put activities inside a TabActivity. Why it is allowed I'm not sure... The most success comes from having a single activity and having each tab be a different View... On Sat, Feb 19, 2011 at 8:51 AM, Kwok Chun Wing, Edwin wro

[android-developers] Where can I find information about sending/receiving MMS messages, and receiving MMS notifications?

2011-02-19 Thread E.
I'm trying to write an app that interfaces with a PC to allow sending and receiving MMS using the phone, but I'm having a hard time finding any documentation. I can query the content provider to see and delete existing messages. However, I am not sure how to send new messages, receiving notificati

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Tom
No it happen even with one single layout file. --Tom -- 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+

Re: [android-developers] How to close browser ?

2011-02-19 Thread cuil yahoo
Appreciate the prompt response. On Sun, Feb 20, 2011 at 4:15 AM, Mark Murphy wrote: > On Sat, Feb 19, 2011 at 5:33 PM, cuil yahoo wrote: > > I am making an app. which uses google authentication. For this, i pass on > > intents to the browser and then using the callback method, get the token > >

Re: [android-developers] How to close browser ?

2011-02-19 Thread Mark Murphy
On Sat, Feb 19, 2011 at 5:33 PM, cuil yahoo wrote: > I am making an app. which uses google authentication. For this, i pass on > intents to the browser and then using the callback method, get the token > back to my application. Callback method? > The problem i am facing is : After getting the to

Re: [android-developers] Re: Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread Dianne Hackborn
This working as I expect it to. What happens is when an activity is being restored from its state, all of the previously known fragments must first be created so that any attempt to check for one will succeed, instead of reporting that it doesn't exist, allowing the app to create a new one, which

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Kostya Vasilyev
Lessee... this happens when you save several layout files in a row, one by one, right? And you get the waiting dialog starting with the second one? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 19.02.2011 20:40 пользователь "Tom" написал: > On save file, the IDE is busy, a popup "User Opera

[android-developers] How to close browser ?

2011-02-19 Thread cuil yahoo
Hey I am making an app. which uses google authentication. For this, i pass on intents to the browser and then using the callback method, get the token back to my application. The problem i am facing is : After getting the token when i go to my next activity, and if i click back( which calls finis

Re: [android-developers] MarkerManager for Android

2011-02-19 Thread TreKing
On Sat, Feb 19, 2011 at 3:27 PM, Alex wrote: > Is there another way to do this ? There's nothing built in to the maps library for this, AFAIK. - TreKing

[android-developers] Re: Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread davemac
I also noticed that while you can't call setArguments() after the fragment has been attached to an activity, you can get the arguments bundle and add or modify its contents. This means in theory I could update the arguments bundle in onInflate() if the bundle already exists on the fragment, even if

[android-developers] MarkerManager for Android

2011-02-19 Thread Alex
Hi all, I have +120 markers to display on google maps. I wish to display only a few depending of the zoom. In Javascript, MarkerManager can manage this. But I can't use it for my android application. Is there another way to do this ? Thanks -- You received this message because you are subscribe

[android-developers] Re: Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread davemac
The behavior still looks odd to me. On an activity restart, when setContentView() is called in the activity's onCreate(), you'll most likely be inflating a new activity layout if you've done a rotation. But because it's a configuration change, the existing fragments are saved and restored behind th

Re: [android-developers] Re: Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread Dianne Hackborn
Thanks, I'll update the documentation. On Sat, Feb 19, 2011 at 12:46 PM, davemac wrote: > I was just going by what the documentation says. This is from > onInflate(): > > >>> Start Android documentation... > Called when a fragment is being created as part of a view layout > inflation, typically

[android-developers] Re: Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread davemac
I was just going by what the documentation says. This is from onInflate(): >>> Start Android documentation... Called when a fragment is being created as part of a view layout inflation, typically from setting the content view of an activity. This will be called immediately after the fragment is cr

[android-developers] About activity and menus for Android games

2011-02-19 Thread elioncho
Hello, I'm currently developing a game for the Android Platform. I'm developing the game using only one activity. I have a main.xml where I declared the game view: But now that I'm almost finished I need to create the menu for the game and I can't have the previous xml excerpt in my main.xml be

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Heath Borders
I just want to load a url into the WebView and be notified when it finishes loading. If I don't implement shouldOverride and call WebView#load, my redirect isn't getting followed. If I do implement shouldOverride this way, my onPageFinished gets called twice gets -Heath On Feb 19, 2011 1:38 PM,

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Heath Borders
A and B are supposed to be URLs. I'm just trying to simplify the conversation. -Heath On Feb 19, 2011 1:31 PM, "Mark Murphy" wrote: On Sat, Feb 19, 2011 at 2:14 PM, Heath Borders wrote: > Here is what occur... I have no idea what A and B are. > If I don't implement shouldOverrideUrlLoading,

Re: [android-developers] Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread Dianne Hackborn
Oh and it really doesn't make sense to set the arguments from the inflate attributes. I mean, the arguments are the ones coming from the content view hierarchy. You don't need to save them away, that just duplicates them elsewhere, and potentially leads to ambiguous situation such as if you have

Re: [android-developers] Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread Dianne Hackborn
Well basically onInflate() is called when it needs to be, which is when the content view of the activity is being inflated. If that isn't working for you... you will need to do something else. There is no other point at which this can be called, the on and only point it can happen is during infl

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Miguel Morales
Doh, my bad that's what I get from using my memory. But yeah, if you're handling your own loadUrl logic return 'true' not false. So, to clarify if you're correctly return true and using your own loadURL call then shoulOverride is !probably being caused by your ajax calls. Again this is from memor

[android-developers] Significant Fragment bug? onInflate() not called at the right time on a restart

2011-02-19 Thread davemac
I created a bug report for this a couple of days ago, but it doesn't seem to have received any attention: http://code.google.com/p/android/issues/detail?id=14796 To reproduce the problem, add the following callback override to the TitlesFragment class in FragmentLayout.java under the ApiDemos pro

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Mark Murphy
On Sat, Feb 19, 2011 at 2:43 PM, Mark Murphy wrote: > On Sat, Feb 19, 2011 at 2:37 PM, Miguel Morales > wrote: >> If you're handling your own >> loadURL in shouldOverride() you need to set return false so that the >> webview doesn't attempt to load the page twice. > > No. > > "Returns: True if t

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Mark Murphy
On Sat, Feb 19, 2011 at 2:37 PM, Miguel Morales wrote: > If you're handling your own > loadURL in shouldOverride() you need to set return false so that the > webview doesn't attempt to load the page twice. No. "Returns: True if the host application wants to handle the key event itself, otherwise

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Miguel Morales
If I recall correctly, ajax requests can indeed call the webview client. I'm not sure I understand what you're trying to implement, but the onLoadResource() callback a bit useful. If you're handling your own loadURL in shouldOverride() you need to set return false so that the webview doesn't attem

Re: [android-developers] Re: Does Android have a LinkButton. Basically like text but you click on it?

2011-02-19 Thread Miguel Morales
No, but the simple way to do it is to have a textview in your layout xml. Set the android:linksClickable="true" Then, in your code add a click listener to the textview to handle the click. To make it look like a link set the hml like so: myTextView.setText(Html.fromHtml("hello world")); On Sat, F

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Mark Murphy
On Sat, Feb 19, 2011 at 2:14 PM, Heath Borders wrote: > Here is what occurs: (==>denotes a call I make,  --> denotes a callback) > > ==>webView.loadUrl(A); > -->webViewClient.shouldOverrideUrlLoading(B) { > ==>  webView.loadUrl(B); >  return true; > } > -->webViewClient.onPageFinished(B); > -->web

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Heath Borders
Here is what occurs: (==>denotes a call I make, --> denotes a callback) ==>webView.loadUrl(A); -->webViewClient.shouldOverrideUrlLoading(B) { ==> webView.loadUrl(B); return true; } -->webViewClient.onPageFinished(B); -->webViewClient.onPageFinished(B); Notice that onPageFinished gets called t

Re: [android-developers] Re: Developing on Debian 6?

2011-02-19 Thread Kostya Vasilyev
It's probably a matter of permissions on the device file. The examples for Ubuntu specify MODE=”0666″, perhaps there is a way to do this in Debian as well. Then you won't have to start adb as root (althogh it should be harmless, it's an extra step). -- Kostya 2011/2/19 ydm > You're great! Than

Re: [android-developers] Re: How to get the best double buffering?

2011-02-19 Thread Cliff Davies
Painting to a bitmap and copying to the canvas works fine and is ideal for what you're doing. No need to clear your bitmap between frames. On 19 Feb 2011 14:59, "MobileVisuals" wrote: > I can't paint the whole screen for every frame, since the animation is > based on new polygons painting over the

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Tom
On save file, the IDE is busy, a popup "User Operation is waiting" appears and shows "Building Workspace - Invoking Android Pre Compiler" I performed some timing and actually it's more about 5-10s than 20-30s. My Android project has about 40 xml files for the layouts, and about 70 java classes.

Re: [android-developers] Re: Android 2.3 Vs 3.0

2011-02-19 Thread Sivaprakash
http://www.zdnet.com/blog/perlow/android-30-hell-yes-its-a-fork-but-who-cares/15703 On Sat, Feb 19, 2011 at 12:24 AM, Elvis wrote: > You can get the 2.3.3 API10 from the windows SDK and loop mount > the .img files + copy out what you need or start the SDK emulator and > use androidcommander to

Re: [android-developers] Augmented Reality Framework

2011-02-19 Thread TreKing
On Sat, Feb 19, 2011 at 5:21 AM, Francho wrote: > Someone know a library, framework or sample code to do this? http://stackoverflow.com/questions/1939318/augmented-reality-framework Found via Google "Android Augmented Real

[android-developers] Re: Developing on Debian 6?

2011-02-19 Thread ydm
You're great! Thank you! Now it works! On Feb 19, 4:55 pm, Alessandro Pellizzari wrote: > On Sat, 19 Feb 2011 05:03:00 -0800, ydm wrote: > > $ ./adb devices > > * daemon not running. starting it now on port 5037 * * daemon started > > successfully * > > List of devices attached > >  

[android-developers] Re: ListView/ ScrollView : What exactly is happening in onInterceptTouchEvent()

2011-02-19 Thread AUandroid
ya I was sort of expecting a similar answer. Like I said, I know we are not supposed to nest the two. My situation is the user can can "build" the app any way he wants, if the main layout has items which cannot fit in the screen the main layout scrolls both vertically and horizontally, there is no

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Tor Norbye
Do you mean that the IDE is -blocked- for 20-30 seconds, or that there is some background activity for a while after saving? 20-30 sounds abnormally large. How large is your project (rough number of files) ? Are there errors in your log? (Go to Window > Show View > Error Log) -- Tor On Sat, Feb

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Tom
Because with other projects that don't use ADT, it's quick (2s max for saving a file) --Tom -- 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

Re: [android-developers] Re: Activity inside TabActivity doesn't work properly

2011-02-19 Thread Kwok Chun Wing, Edwin
Should I put the onActivityResult in TabActivity instead of A activity? I really need them in the activity but I just want to put the acitivity inside a tab, so that I got problem. On Saturday, February 19, 2011 07:54 PM, Zsolt Vasvari wrote: There are quite a few things wrong with Activities

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Marcin Orlowski
On 19 February 2011 16:24, Tom wrote: > Yes it is the build process which takes time, but I wonder why it's so > slow... If you do not know why it is "so slow" how can you tell it is "slow" and not "max"? -- Regards, Marcin -- You received this message because you are subscribed to the Google

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Tom
Yes it is the build process which takes time, but I wonder why it's so slow... -- 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 em

Re: [android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Kostya Vasilyev
Probably because it rebuilds your project? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 19.02.2011 18:04 пользователь "Tom" написал: > Hi all, > > I'm a little disappointed, every time I save a layout file under Eclipse, it > takes about 20~30 seconds ... It's very slow... > > Do somebody

[android-developers] Saving layout file is very slow with Eclipse / ADT

2011-02-19 Thread Tom
Hi all, I'm a little disappointed, every time I save a layout file under Eclipse, it takes about 20~30 seconds ... It's very slow... Do somebody know why ? Is there a workaround ? I'm using an Intel i7 with Eclipse Elios and ADT 9.0.0.v201101191456-93220 --Tom -- You received this message be

[android-developers] Re: How to get the best double buffering?

2011-02-19 Thread MobileVisuals
I can't paint the whole screen for every frame, since the animation is based on new polygons painting over the old ones. This creates a pattern. If I painted over the old polygons, there would be no pattern. Peter Webb, you suggested that I should paint everything to a Bitmap. Wouldn't that be too

[android-developers] Re: Developing on Debian 6?

2011-02-19 Thread Alessandro Pellizzari
On Sat, 19 Feb 2011 05:03:00 -0800, ydm wrote: > $ ./adb devices > * daemon not running. starting it now on port 5037 * * daemon started > successfully * > List of devices attached > no permissions I also tried creating udev rules bot got nowhere. I now initialise adb server as r

[android-developers] Weird Camera Intent behavior

2011-02-19 Thread David Erosa García
Hi all. I'm invoking the MediaStore.ACTION_IMAGE_CAPTURE intent with the MediaStore.EXTRA_OUTPUT extra so that it does save the image to that file. On the onActivityResult I can check that the image is being saved in the intended file, which is correct. The weird thing is that anyhow, the image

[android-developers] Which is the best way to implement double buffering?

2011-02-19 Thread MobileVisuals
I am using lockCanvas(null); and unlockCanvasAndPost(c),but I wonder if there is some better way to implement double buffering? -- 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@googlegr

[android-developers] Re: Spaces in links to Android Developers reference

2011-02-19 Thread NickH
I note that I've just linked to an example API method using Google Groups' own insert link method, and it's converted the space to a plus sign, which doesn't actually work! Correct link using %20

[android-developers] Spaces in links to Android Developers reference

2011-02-19 Thread NickH
This is actually a trivial thing about the Android Developers website itself rather than about developing on Android. Has anyone else tried to insert a link to an API method on S

Re: [android-developers] Re: Problem with WebView

2011-02-19 Thread Mark Murphy
On Sat, Feb 19, 2011 at 8:33 AM, Neilz wrote: > Hi Mark, thanks for response. I like your last comment, you're > thinking on the same lines as me :-) > > Your step1 - are you thinking of code in the HTML that's loaded into > the webview, or Android code which can catch these events? HTML code tha

[android-developers] Re: Developing on Debian 6?

2011-02-19 Thread ydm
I'm using the Java ADT. Actually without any drivers the Galaxy tab works fine with adb on Ubuntu. Now I'm trying to set up the dev tools on another computer with Debian installed on it. I'm following the same procedure, but no results... On Feb 19, 3:41 pm, Daniel Drozdzewski wrote: > On Sat, Fe

Re: [android-developers] Developing on Debian 6?

2011-02-19 Thread Daniel Drozdzewski
On Sat, Feb 19, 2011 at 1:03 PM, ydm wrote: > Hello! > > I'm wondering does someone here already uses Debian for Android > developing. I'm experimenting with 3 devices (galaxy tab/htc hero/ > xperia) and only one of them (hero) works fine. Galaxy tab and xperia, > regardless of any udev rules, can

[android-developers] Re: Problem with WebView

2011-02-19 Thread Neilz
Hi Mark, thanks for response. I like your last comment, you're thinking on the same lines as me :-) Your step1 - are you thinking of code in the HTML that's loaded into the webview, or Android code which can catch these events? Another thing I've thought of: The problem can be solved by 'pinchin

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Mark Murphy
On Sat, Feb 19, 2011 at 2:59 AM, Heath Borders wrote: > When I call WebView#loadUrl I expect that I should only get a single > WebViewClient#onPageFinished call and no > WebViewClient#shouldOverrideUrlLoading call.  However, I get > a WebViewClient#shouldOverrideUrlLoading (which I implement by al

Re: [android-developers] Problem with WebView

2011-02-19 Thread Mark Murphy
Sounds like a device bug. The following solution is extremely theoretical: Step #1: Add Javascript event handling to your code to find out when a field gets focus. I'm no Javascript expert, but I seem to recall there are some events for this. Step #2: Have the Javascript notify your activity via

[android-developers] Developing on Debian 6?

2011-02-19 Thread ydm
Hello! I'm wondering does someone here already uses Debian for Android developing. I'm experimenting with 3 devices (galaxy tab/htc hero/ xperia) and only one of them (hero) works fine. Galaxy tab and xperia, regardless of any udev rules, can't be identified by the adb. The output of "adb devices"

[android-developers] Re: Does Android have a LinkButton. Basically like text but you click on it?

2011-02-19 Thread Zsolt Vasvari
You could maybe put a ImageButton over a TextView and set the button's image to a state list drawable with transparent colors for the various states. That way you would get a visual indication when your text is focused/clicked, etc. You *MAY* be able to simpy make a TextView focusable, but I am n

[android-developers] Re: Activity inside TabActivity doesn't work properly

2011-02-19 Thread Zsolt Vasvari
There are quite a few things wrong with Activities inside a TabActivity. Avoid them at all cost, if you can. You should be able to refactor your code to the point where they are not needed. On Feb 19, 6:43 pm, Edwin wrote: > Hi All, > > I have an activity named A which has TTS and service funct

[android-developers] Problem with WebView

2011-02-19 Thread Neilz
Hi. I have a WebView which loads a webpage that uses a form, for the user to complete. I set this method: webSettings.setUseWideViewPort(true); ...which helps the webpage display properly. However, for some reason, when you click in the text fields on the webpage, the soft keyboard fails to pop

[android-developers] Augmented Reality Framework

2011-02-19 Thread Francho
I'm looking for an Augmented Reality Framework to show geopoints (like Layar does). I have a database or POI (points of interest) and I like to show it in AR as part of my app. Someone know a library, framework or sample code to do this? Thanks in advance -- You received this message because y

[android-developers] Activity inside TabActivity doesn't work properly

2011-02-19 Thread Edwin
Hi All, I have an activity named A which has TTS and service functions. It works well if it is a single activity, but TTS and service are not working if I put A into a TabActivity. I am not sure which part of the program has problem. Maybe TabActivity have some effect for the onActivityResult in A

Re: [android-developers] Android SDK and AVD Manager shows already installed updates as "Available"

2011-02-19 Thread Marcin Orlowski
On 19 February 2011 07:39, Zsolt Vasvari wrote: > Google USB Driver Package, Revision 4 > Google Market Billing Package, Revision 1 > GALAXY Tab by Samsung Electronics, Android API8, revision 1 Same here. > Is there anything I can do so that I make them go away? Just ignore? Most likely it's a

Re: [android-developers] Re: Honeycomb SDK

2011-02-19 Thread Marcin Orlowski
On 18 February 2011 21:41, Indicator Veritatis wrote: > But this leaves us all wondering: how is Motorola doing 3.0 for the > Xoom, if the SDK has not been 'refreshed'? No, it's not "us all". It's just you. We manage to understand that Motorola may get more frequent updates that we, plus as kind

Re: [android-developers] Source code

2011-02-19 Thread Kostya Vasilyev
Depends on what source you need, exactly. If you just need the framework, get it as a tar.gz file here: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=summary For example, this is for Froyo: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=snapshot;h=refs/heads/

[android-developers] How to get the best double buffering?

2011-02-19 Thread MobileVisuals
Which approach to you think is the best for implementing double buffering? -- 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 t

[android-developers] Does Android have a LinkButton. Basically like text but you click on it?

2011-02-19 Thread AndroidDevTime
Does Android have a link button? -- 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...@googlegro

[android-developers] Re: Suggest some Android Projects

2011-02-19 Thread giangiammy
hi! On Feb 17, 7:42 am, Rashtrapathy wrote: > Request everyone to suggest some good & more technical Android > Projects to do on my own. > > Cheers, > Rash. I have seen googling around that there are various requests to have the possibility to execute java applet (java standard edition - j2se) o

[android-developers] Re: Android 2.3 Vs 3.0

2011-02-19 Thread Elvis
You can get the 2.3.3 API10 from the windows SDK and loop mount the .img files + copy out what you need or start the SDK emulator and use androidcommander to pull out what you need. 2.3.3 still needs some work. This runs fine on my phone Samsung touchwiz phone. How: You will need a working init