[android-developers] Re: Pixelated Image

2009-09-05 Thread nimph
Yep... If I put the image in the 'res/drawables' directory, all looks as expected. I only see this if loading the image from the file- system. // On Sep 4, 1:54 pm, "Balwinder Kaur (T-Mobile USA)" wrote: > And you are sure you have an image of appropriate size ... > > Balwinder Kaur > Open So

[android-developers] Re: Image Pixelation (PNG)

2009-09-05 Thread nimph
Thanks, had not tried that, but... No luck... I tried adding the following to the ImageView. android:maxHeight="32px" android:maxWidth="32px" android:minHeight="32px" android:minWidth="32px" Are these the attributes you set? // On Sep 4, 11:34 pm, String wrote: > I've ha

[android-developers] Re: logcat api?

2009-09-05 Thread Chris Stratton
On Sep 5, 3:44 pm, Dianne Hackborn wrote: > logcat doesn't need to run as root. Technically true, it usually runs as system, but that also seems out of reach for an ordinary application on the phone... wheras adb gets you a shell as this semi privileged uid. It probably is possible to use the a

[android-developers] Re: logcat api?

2009-09-05 Thread Dianne Hackborn
All eclipse is doing is running "adb logcat" to capture the output. If you want to read them on the device, I believe there is a permission to be able to do so, and you could look at what logcat does to do the same thing, though this is outside the bounds of the SDK so it may break in the future.

[android-developers] Re: How update TextView?

2009-09-05 Thread Lance Nanek
Not sure exactly what problem you are seeing. If you want separation between the things you append, then append some extra space or line feeds like this: mTextView.append("\n"); mTextView.append(mText); If you want to replace the things that were previously in the TextView, then use the setText

[android-developers] Re: Why I can not play the ringtone in the real device?

2009-09-05 Thread feeling3_4
oh, my bad... the G2 phone from my friend is a developer phone, this phone was given at Google I/O conference, this phone can paly the contact ringtone. but another G2 phone from HTC does not have this issue. thank you guys... On Sep 4, 2:34 pm, Gulfam wrote: > Hi feeling, > >  Can you please

[android-developers] Re: logcat api?

2009-09-05 Thread schwiz
so would there be a way to pull the info out on android and put it into strings to read it outside of the terminal? I want to make it more like it is in eclipse On Sep 5, 2:44 pm, Dianne Hackborn wrote: > logcat doesn't need to run as root. > > > > > > On Sat, Sep 5, 2009 at 5:05 AM, NPerry wr

[android-developers] Re: Debug mode vs. Release mode

2009-09-05 Thread Andrei
can you use Config.DEBUG? On Sep 5, 8:28 pm, Brady wrote: > Sorry, I misspelled your name. Thank you Pieter! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

[android-developers] Re: Android emulator window small size

2009-09-05 Thread Yusuf Saib (T-Mobile USA)
Did you click "Apply"? Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 4, 8:06 pm, tim wrote: > Hello, > > I add

[android-developers] Converting Canvas to Drawable ?

2009-09-05 Thread hc
Is it possible to convert a Canvas to Drawable? I may be really off in my solution, so if you have a better suggestion, please do tell me. This is what I'm trying to do. I'm trying to create a custom RadioButton. to set different states of the radio button, I need to use this parameter StateLis

[android-developers] Re: Junk AppWidgets after App Uninstall

2009-09-05 Thread Romain Guy
This is a current known limitation. On Sep 5, 2009 4:02 PM, "Lee" wrote: When my app is uninstalled, it's app widgets get left behind with a lovely white error message on a black background. Is it expected that the user has to clean these things up when an app is uninstalled, or am I missing s

[android-developers] Re: Debug mode vs. Release mode

2009-09-05 Thread Brady
Sorry, I misspelled your name. Thank you Pieter! --~--~-~--~~~---~--~~ 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

[android-developers] Re: Debug mode vs. Release mode

2009-09-05 Thread Brady
Hi Peter, thank you for the suggestion. Yes we are using ant. We already use some scripting like that to update a build java src. I'm not sure if we'd add that to the build.xml (because it's autogenerated) but we could update a static like you suggest. Any ideas if we can compare the debug key v

[android-developers] dalvikvm: No implementation - Trying to load lib

2009-09-05 Thread Shawn Brown
What does this mean? W/dalvikvm( 9042): No implementation found for native Lcom/intel/bluetooth/BluetoothStackBlueZ;.isNativeCodeLoaded ()Z D/dalvikvm( 9042): Trying to load lib /data/data/com.example.android.helloactivity/lib/libbluecove.so 0x430c6ec8 D/dalvikvm( 9042): Added shared lib /data/da

[android-developers] Disabled / Enabled the click and move in mapView

2009-09-05 Thread Sylvain MOUQUET
Hi It's possible to disable/enable the google map movement when we click and move on the map ? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

[android-developers] Re: Translucent GLSurfaceView

2009-09-05 Thread Illidane
Thanks! But when I copied colors, strings and styles.xml files to "Translucent GLSurfaceView" project and wrote android:theme="@style/ Theme.Translucent"> in Android.manifest - background became just black. On 5 Вер, 23:57, Dianne Hackborn wrote: > The one with the dark background has a custom

[android-developers] Re: Android Market 1.6

2009-09-05 Thread Dan Sherman
Gotcha, Still the same effect :) Apps at the top of the list will have a larger number of downloads (and assuming an equal retention rate), a higher active count :) Not really complaining, just pointing it out :) - Dan On Sat, Sep 5, 2009 at 1:31 PM, Max_well wrote: > > I don't think it's do

[android-developers] Re: buttons hidden

2009-09-05 Thread Mark Murphy
Carl wrote: > I'm trying to show a simple layout where I can call this activity and > fill in some values, then hit the save or cancel button. Unfortunately > the save and cancel buttons never appear. Can someone help please? Use hierarchyviewer to figure out where your missing widgets are: http

[android-developers] buttons hidden

2009-09-05 Thread Carl
I'm trying to show a simple layout where I can call this activity and fill in some values, then hit the save or cancel button. Unfortunately the save and cancel buttons never appear. Can someone help please? http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent"

[android-developers] Re: Translucent GLSurfaceView

2009-09-05 Thread Dianne Hackborn
The one with the dark background has a custom theme that sets the background: android:theme="@style/Theme.Translucent"> On Sat, Sep 5, 2009 at 1:26 PM, Illidane wrote: > > They have just the same code. > android:theme="@android:style/Theme.Translucent" in the > Android.manifes

[android-developers] Re: Making an advanced layout with moving/scaling

2009-09-05 Thread nEx.Software
I too would like to accomplish something similar... On Sep 2, 2:14 am, Deren wrote: > I need a layout where the children are moving and scaled dynamically > when Imovemy finger (almost like a Listview, but simply offsetting > the childrens' x/y coordinates won't suffice, they need to be scaled >

[android-developers] Re: Translucent GLSurfaceView

2009-09-05 Thread Illidane
They have just the same code. android:theme="@android:style/Theme.Translucent" in the Android.manifest file. But looks different. On 5 Вер, 22:47, Dianne Hackborn wrote: > Because that's just how the two demos set their UIs up.  Copy from each as > you want. > > On Sat, Sep 5, 2009 at 12:26 PM,

[android-developers] Junk AppWidgets after App Uninstall

2009-09-05 Thread Lee
When my app is uninstalled, it's app widgets get left behind with a lovely white error message on a black background. Is it expected that the user has to clean these things up when an app is uninstalled, or am I missing some notification ? (or option 3) Thanks, Lee --~--~-~--~~-

[android-developers] Re: How update TextView?

2009-09-05 Thread Francesco Pace
Up! 2009/9/5 Francesco Pace > Hi developers, > I have a question. > In my android application I have a TextView in a ScrollView. > > I want to update TextView dinamically and I write this statement : > > mTextView.append(mText); > mScrollView.pageScroll(ScrollView.FOCUS_DOWN); > > and so my appl

[android-developers] Re: Translucent GLSurfaceView

2009-09-05 Thread Dianne Hackborn
Because that's just how the two demos set their UIs up. Copy from each as you want. On Sat, Sep 5, 2009 at 12:26 PM, Illidane wrote: > > Hi! > I'm looking at two samples: "Translucent GLSurfaceView" in Graphics / > OpenGL ES and "Translucent" in App / Activity of ApiDemos. > Why the background

[android-developers] Re: Accessing the Calendar

2009-09-05 Thread Dianne Hackborn
Sorry, the calendar provider is not yet part of the public API. On Fri, Sep 4, 2009 at 11:35 PM, Canukadroid wrote: > > Hi There, > > I'm trying to access the calendar data and according to > > http://developer.android.com/guide/topics/providers/content-providers.html#querying > it gives the fol

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

2009-09-05 Thread jordanro
Hi all, I've submitted my first app ever on android. The whole process was quite fun, sleepless nights and brain buzzing with ideas.. Application name is GeoAlert under tools/productivity. It is an alarm clock based on location. Simply click on a location on the map to set it up and it would no

[android-developers] Re: logcat api?

2009-09-05 Thread Dianne Hackborn
logcat doesn't need to run as root. On Sat, Sep 5, 2009 at 5:05 AM, NPerry wrote: > > su -c logcat > /path/to/where/you/want.txt > > On Sep 5, 7:38 am, Chris Stratton wrote: > > Get an adb shell and type logcat (or maybe /system/bin/logcat) the > > only hard part seems to be getting it to stop

[android-developers] Re: unable to start service --

2009-09-05 Thread Dianne Hackborn
2009/9/4 joyband > 1.yes > No it doesn't. Just write the full package name without a leading "." -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-ma

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

2009-09-05 Thread Pwn with your Phone
I submitted 3 applications, all of which are based on (what I hope is) a creative use of TTS. Talking Calendar (Productivity/Tools) - Talking Calendar integrates with your Android/Google calendar and reads aloud the corresponding event(s) at the specified time(s). Me and several people I know fin

[android-developers] Re: unable to start service --

2009-09-05 Thread joyband
1.yes 2.in AndroidManifest.xml ,the attribution of packeage specifies the package name for the main activity launched.Other android:name is relative to it. Be my view only. On 9月5日, 上午8时00分, sdphil wrote: > saw this related post > --http://groups.google.com/group/android-developers/browse_threa

[android-developers] Re: logcat api?

2009-09-05 Thread NPerry
su -c logcat > /path/to/where/you/want.txt On Sep 5, 7:38 am, Chris Stratton wrote: > Get an adb shell and type logcat (or maybe /system/bin/logcat)  the > only hard part seems to be getting it to stop > > On Sep 5, 12:13 am, schwiz wrote: > > > > > I don't mind if it requires root.. do you kno

[android-developers] Re: copy file to emulator sd card

2009-09-05 Thread joyband
I tried your code in my Eclipse,it looks fine. ins = getResources().getAssets().open("tmp.txt"); byte[] buffer = new byte[1024]; int length = 0; while((length = ins.read(buffer)) > 0){ Log.d(LOG_TAG, new String(buffer,0,length)); } --~--~-~--~~~---~--~~ You re

[android-developers] Accessing the Calendar

2009-09-05 Thread Canukadroid
Hi There, I'm trying to access the calendar data and according to http://developer.android.com/guide/topics/providers/content-providers.html#querying it gives the following examples as valid URIs: android.provider.CallLog.Calls.CONTENT_URI android.provider.Calendar.CONTENT_URI The only problem

[android-developers] Re: Android Market 1.6

2009-09-05 Thread Max_well
I don't think it's download count. It's more "active installs" count. -Max On Sep 5, 12:16 am, Dan Sherman wrote: > Agreed, > > I've got a few very highly rated apps, but continue to be dominated by apps > with lower overall ratings due to (what I assume is) download count. > Basically the issu

[android-developers] Virtual keyboard open event

2009-09-05 Thread Mathias
How can I get an event when the user opens or closes the virtual keyboard on the G2? Thanks for your help Mathias --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: Bluetooth Support in Eclair

2009-09-05 Thread heedoo
Does anybody please give any specific documents or reference codes of Eclair Bluetooth ? On 9월1일, 오후8시56분, cybergen wrote: > Will there be aBluetoothAPI inEclair? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-developers] Android emulator window small size

2009-09-05 Thread tim
Hello, I added -scale 0.2 to the Default emulator option under eclipse and launched the emulator. After that I got a really small window. I then removed the -scale 0.2 but the emulator window remains small. I can start the emulator from command line and i get the normal size, but not with eclips

[android-developers] How to license Google Closed Source Apps for device

2009-09-05 Thread MC
Where can I find information to license Google closed source apps for Android devices? These apps include * Gmail * Google Map * Google Talk * Android Market --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android

[android-developers] Re: can anyone get the layout tab to work in eclipse for layout xml files?

2009-09-05 Thread David Bernstein
I found http://code.google.com/p/android/issues/detail?id=2021 and attached a stack trace. On Sep 3, 5:39 pm, sdphil wrote: > is there any better tool for being able to graphically modify the > layout xmls besides eclipse + ADT plugin? > > On Sep 3, 10:23 am, "Yusuf Saib (T-Mobile USA)" > Mobil

[android-developers] Translucent GLSurfaceView

2009-09-05 Thread Illidane
Hi! I'm looking at two samples: "Translucent GLSurfaceView" in Graphics / OpenGL ES and "Translucent" in App / Activity of ApiDemos. Why the background of" GLSurfaceView" is fully alfa, but in "Translucent" it's some eclipsed? I want to make "Translucent" background but in "Translucent GLSurfaceVi

[android-developers] Re: Donut Development Environment

2009-09-05 Thread skink
On Sep 5, 8:57 pm, skink > btw looking into requirements page, google supports U Dapper Drake - > at least this is their testing box > > thanks > pskink they are even more conservative than me - Dapper Drake is U6.0.6 ;) pskink --~--~-~--~~~---~--~~ You received

[android-developers] Re: Donut Development Environment

2009-09-05 Thread skink
On Sep 5, 7:41 pm, Al Sutton wrote: > To be honest I don't know. > > I know that if you're using Eclipse you'll need the donut ADT, but I > don't know if you can run the 1.6 image in the cupcake emulator. > > What Linux distro are you using?, I'm building on Ubuntu 9.04, but I > have virtualbox

[android-developers] Re: Start Intent from onResume?

2009-09-05 Thread Joba Chamberlain
> Is there a reason Google wouldn't want to automatically register any > class inheriting Activity in the manifest as an Activity? > > As I wrote in my original message, the Activity equivalent to Test > will eventually have GUI elements (a Button, for example) whose events > will trigger SecondAc

[android-developers] Re: Donut Development Environment

2009-09-05 Thread Al Sutton
To be honest I don't know. I know that if you're using Eclipse you'll need the donut ADT, but I don't know if you can run the 1.6 image in the cupcake emulator. What Linux distro are you using?, I'm building on Ubuntu 9.04, but I have virtualbox on my main machine so I could roll another build i

[android-developers] how to restore a removed repo directory

2009-09-05 Thread king qin
I have download a android project by repo. But i removed a sub directory,now I want to restore this directory,I try command: repo download repo sync But they don't work, What shall I do? thanks very much. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: App Widget and Orientation Changes

2009-09-05 Thread Lee
Hello, problem solved here, though not elegantly. In case it helps, I discovered that at boot time the size of the bitmap file was only 104 bytes (and therefore probably other times it disappears). However, at widget creation time the file is always perfect. So I cache the file at widget-creation

[android-developers] Re: Start Intent from onResume?

2009-09-05 Thread Andrew Shu
It looks like you got your problem sorted out, but I thought I'd point out another solution that avoids the behavior Mark described with the back button relaunching SecondActivity: using AliasActivity for Test. http://developer.android.com/reference/android/app/AliasActivity.html and check out /

[android-developers] Re: App Widget and Orientation Changes

2009-09-05 Thread Lee
Just a quick update: instead of using the application icon returned from the PackageManager with views.setImageViewBitmap, I saved the bitmap to a file and set it with views.setImageURI( "/data/data/etc.../ z.png" ). That seems to have fixed my problem with icon disappearing after a few minutes.

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

2009-09-05 Thread Sheado
Howdy. Hopefully it's not too late for this reply (fyi to any google people: my RSS reader (Akregator) stopped reading the feed from this forum). App:Time-Lapse Category: Media Description:Allows you to easily record time-lapse videos directly to .mov files th

[android-developers] Re: Donut Development Environment

2009-09-05 Thread skink
On Sep 5, 5:04 pm, Al Sutton wrote: > If you want to play with the Donut SDK & ADT eclipse plug-in, I've just built > them both from the open source repository and you can get them at; > > http://andappstore.com/AndroidApplications/sdk/ > > The latest code from the repo includes the WVGA and Q

[android-developers] Re: Have GET_INTENT_FILTERS been supported?

2009-09-05 Thread Dianne Hackborn
On Fri, Sep 4, 2009 at 11:15 PM, EboMike wrote: > However, if you want to voice your opinion and want to tell the > Android developers that GET_INTENT_FILTERS is important to you, go to > issue 3217 and star it. Here: > http://code.google.com/p/android/issues/detail?id=3217 If you really care a

[android-developers] Re: no activity in project

2009-09-05 Thread Dianne Hackborn
No, you can't prevent the user from stopping your app. On Sat, Sep 5, 2009 at 6:21 AM, Honest wrote: > > I want to run my project in background. So for that i am starting my > application when phone starts. But when user go in settings and press > force close my application it close. So i do n

[android-developers] Re: unable to start service --

2009-09-05 Thread Dianne Hackborn
Write out the full name. On Sat, Sep 5, 2009 at 5:46 AM, sdphil wrote: > > when I put it inside the tag, it complains that > com.myco.test.myservice does not exist, that's because it's in > com.myco.service.myservice. > > On Sep 4, 9:35 pm, Dianne Hackborn wrote: > > It has to be inside of the

[android-developers] Re: Donut Development Environment

2009-09-05 Thread Satya Komatineni
Al, Thank you. this is great help Satya On Sat, Sep 5, 2009 at 11:04 AM, Al Sutton wrote: > > If you want to play with the Donut SDK & ADT eclipse plug-in, I've just built > them both from the open source repository and you can get them at; > > http://andappstore.com/AndroidApplications/sdk/ >

[android-developers] Donut Development Environment

2009-09-05 Thread Al Sutton
If you want to play with the Donut SDK & ADT eclipse plug-in, I've just built them both from the open source repository and you can get them at; http://andappstore.com/AndroidApplications/sdk/ The latest code from the repo includes the WVGA and QVGA skins and the supports-screens manifest tag

[android-developers] Re: The ADC2 require the application that I submitted operates in only G1?

2009-09-05 Thread Maps.Huge.Info (Maps API Guru)
Whatever, it's too late to do anything about it so I suggest you sit back and enjoy. -John Coryat "What Zip Code?" --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Photo editors intent-filters and ACTION_EDIT

2009-09-05 Thread Nivek
Hi all, Do you know some photo editors android app handling the Intent ACTION_EDIT on image/* ? I have been installing a few ones and it looks like none of them does. If you know for sure at least one which opens these intents, please let me know so that I can test my call. Thanks, Nivek --~-

[android-developers] meaning of "processing"

2009-09-05 Thread Shawn Brown
Hi, What does this mean (specifically "processing")? [2009-09-05 23:13:09 - HelloActivity] processing lejos/nxt/BasicMotorPort.class... In this case, BasicMotorPort.class is in a jar that is in the build path of my Android project in Eclipse. In this case, [2009-09-05 23:13:09 - HelloActivity]

[android-developers] Re: Popup a spinner when clicking on a TextView

2009-09-05 Thread Jonas
Hi, OK, I have created the spinner and it popus from a TextView (spinner initially not visible), but when choosing a item from the list the spinner widget is shown, id like to only display a list of choices with no spinner and then feed back to the TextView. Is that possible or do I need to choo

[android-developers] Re: How to use xmlrpc

2009-09-05 Thread skink
On Sep 5, 3:31 pm, SIDIBE Ali-Broma wrote: > Hello! > I want to use xmlrpc in my android application but alway I have > java.io.exception : Cannot serialize null! > This explain the  objet returnet by call client.call("","") is null > or > other problem? > What problem can provoke this exceptio

[android-developers] How update TextView?

2009-09-05 Thread Francesco Pace
Hi developers, I have a question. In my android application I have a TextView in a ScrollView. I want to update TextView dinamically and I write this statement : mTextView.append(mText); mScrollView.pageScroll(ScrollView.FOCUS_DOWN); and so my application works. Unfortunately the strings that I

[android-developers] How to use xmlrpc

2009-09-05 Thread SIDIBE Ali-Broma
Hello! I want to use xmlrpc in my android application but alway I have java.io.exception : Cannot serialize null! This explain the objet returnet by call client.call("","") is null or other problem? What problem can provoke this exception ? bad url? server? or other Who can help me to solve this

[android-developers] no activity in project

2009-09-05 Thread Honest
I want to run my project in background. So for that i am starting my application when phone starts. But when user go in settings and press force close my application it close. So i do not want to display my application entry in settings. Is it feasible ? --~--~-~--~~~

[android-developers] The ADC2 require the application that I submitted operates in only G1?

2009-09-05 Thread Hand.Feel
The ADC2 require the application that I submitted operates in only G1? The application operates in emulator, but not in G1 because it is adopted up-key. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: unable to start service --

2009-09-05 Thread sdphil
when I put it inside the tag, it complains that com.myco.test.myservice does not exist, that's because it's in com.myco.service.myservice. On Sep 4, 9:35 pm, Dianne Hackborn wrote: > It has to be inside of the tag.  It doesn't have anything to > do with a namespace. > > > > On Fri, Sep 4, 2009

[android-developers] Stalling SurfaceView

2009-09-05 Thread Michael Bollmann
Is there a way to stall a SurfaceView? My problem is when switching between two SurfaceViews and the second SurfaceView has just been created it displays one black frame. I would prefer if i could prevent the SurfaceView from blitting to the screen until i have drawn and updated the SurfaceView at

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

2009-09-05 Thread Junda
App Name: txeet Slogan: Have fun texting URL: txeet.com Category: Tools/Productivity txeet is an application that aims to making sending SMS fun and convenient. The features that I had intended in the beginning includes inserting templates, voting and submitting templates, smart placeholders su

[android-developers] Sqlite Math and load_extension

2009-09-05 Thread Alessio
Hi, i need to work with math functions (like sin,cos,sqrt,rad,degree etc.) on some geographical point stored in sqlite db. I know that sqlite doesn't support math function but there are some extension that implements this functions. Is it possible to load extension in android. If yes, how can loa

[android-developers] A Query on JAXBs portability on Android

2009-09-05 Thread Android Development
Hello, This is regarding the usage of the JAXB API on Android. There is an issue on this topic here: http://code.google.com/p/android/issues/detail?id=314 However it has been declined on the basis of an ad-hoc solution proposed by one user that does not work for the rest. Is it possible for the A

[android-developers] Project PeerDroid

2009-09-05 Thread Marco P.
Hi all, last week we released the new version of PeerDroid. http://code.google.com/p/peerdroid/ Currently PeerDroid is a porting of JXTA-J2ME (JXME) for the Android platform, enabling the development of true P2P applications for this new mobile platform. PeerDroid uses the features of JXTA alon

[android-developers] is Invalidate() causes taking more time ?

2009-09-05 Thread manoj
Hi friends, I am trying an app (just like a karaoke) which has some predefined set of lines on the canvas. After some time I will redraw the strings of each line on the canvas with another color using Timer.schedule() function. But the redrawn strings are painted more time than the given time i

[android-developers] Re: How to know software keyboard is on screen or not?

2009-09-05 Thread Agus
InputMethodService ims = (InputMethodService) (mActivity.getSystemService(Activity.INPUT_METHOD_SERVICE)); ims.isInputViewShown(); On Thu, Sep 3, 2009 at 6:00 PM, Anonymous Anonymous < firewallbr...@googlemail.com> wrote: > classcast exception !! > > will this work trying to convert to InputMeth

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

2009-09-05 Thread f_heft
I submitted Graviturn for category "Games: Arcade/Action" ( http://www.cyrket.com/package/com.fheft.graviturn ) . It's a little game where you tilt your phone to roll balls around in order to remove some but keep others (hard to explain). It's no big deal but at least it's unique, i think. I star

[android-developers] Re: Using a hyperlink to do something

2009-09-05 Thread Dmitry.Skiba
Well, actually you can embed a callback link to a TextView. You just need special clickable span, which will call your methods when clicked. Here's an excerpt from my HTMLDialog class: public void setHTML(String html) { html=html.replaceAll("(\r\n|\n)",""); Spanned spannedHTML=Ht