[android-developers] Re: App name/icon problems on Hero after reboot

2009-10-30 Thread James W
For what its worth, I cannot reproduce this on a non-Sprint Hero. I have had mine for a couple of months now, a European version, and has been out in Asia for a while with no reported similar errors. I am a close follower of the XDA Developers board, and it has not been seen there either. Perhaps i

[android-developers] Re: Android 2.0 SDK is here!

2009-10-30 Thread luoqii
cl working On 10月28日, 上午12时45分, Xavier Ducrohet wrote: > Hello everyone! > > We've just announced the Android 2.0 > SDKhttp://android-developers.blogspot.com/2009/10/announcing-android-20-... > > If you already have the 1.6 SDK, note that you can simply use the SDK > Manager to add Android 2

[android-developers] Avoid "Force Close Message Box"

2009-10-30 Thread Honest
My application used to execute in background by service. But sometimes when it goes in exception it is giving Exception with the Force Close Message Box. I want to avoid that Message box. Is there any way to avoid it ? -- You received this message because you are subscribed to the Google Groups "

[android-developers] Re: Google Streetview for 2.0 emulator, to test invocation through an Intent

2009-10-30 Thread JP
I had used the .apk off a device... it didn't occur to me that there's an image on Cupcake avd's... That worked, so for some reason the builds seem to differ or something. On Oct 30, 7:05 pm, davemac wrote: > I tried the same thing. I have a demo app that invokes streetview via > an Intent. It

[android-developers] Including extra sqlite databases?

2009-10-30 Thread Mark Wyszomierski
Hi, I have some external sqlite files I'd like to include with my app. It looks like I can add them to the /assets folder, then read them from there? Is the /assets folder the appropriate location for them? I've used SQLiteOpenHelper to open databases my app creates at runtime, which just uses a

[android-developers] Re: How to return Typeface from Cursor

2009-10-30 Thread James Wang
Thanks. So developers can return any user-defined-object by Cursor, am I right? Can I create a Typeface from Stream? I notice Typeface.createFromFile got supported since 1.6. On Oct 30, 8:15 pm, Mark Murphy wrote: > James Wang wrote: > > I want to make a contentprovider for font file. > > But I

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-30 Thread JP
I am sure by posting this you're already in violation of the NDA, so it won't hurt if you share with us what that developer program that might be. On a general note here: So now your busting your tail off for an early release just to find that you're releasing into a sea of apps that might not fu

[android-developers] Re: Assign EditText android:singleLine="true" programmatically

2009-10-30 Thread adamphillips12
TextView.setSingleLine() or TextView.setLines(1) For the future if you look up the documentation of any view: http://developer.android.com/reference/android/widget/TextView.html You can see a handy list of xml attributes to related methods. On Oct 31, 3:20 am, bennyb wrote: > How can you progr

[android-developers] Re: AppWidgetProvider

2009-10-30 Thread adamphillips12
There are bugs with widgets and there are incorrectly or undocumented features. Part of your problem is probably this: http://groups.google.com/group/android-developers/browse_thread/thread/4d13337361d1f088/ca57751f9203b077?lnk=gst&q=widgets#ca57751f9203b077 The other part might be a problem with

[android-developers] Re: Android 2.0 Suppress local search on key event

2009-10-30 Thread JP
I guess I'm answering myself again. *** And a question below. First to get this out of the way: Suppressing the quick search box works as before. Catch keyCode == KEY_SEARCH and return true; in the overriden onKeyDown() or onKeyUp() I got confused here for a while by the following problem: Follow

[android-developers] usb device absent from adb after Ubuntu Karmic upgrade

2009-10-30 Thread kostmo
Hello Ubuntu users, Just finished upgrading from Jaunty to Karmic, and my ADP1 doesn't show up in "./adb devices" anymore. I have tried the solution proposed here (http://groups.google.com/group/android-developers/msg/ 7f3990c5d5367dbb) but it doesn't work for me. Phone is also missing from the "

[android-developers] Re: Google Streetview for 2.0 emulator, to test invocation through an Intent

2009-10-30 Thread davemac
I tried the same thing. I have a demo app that invokes streetview via an Intent. It doesn't work in stock Android 2.0 because as you pointed out, Street.apk is not there. I fired up a Donut Maps AVD in the emulator, used "adb pull" to get Street.apk (and Maps.apk for good measure) off, quit that AV

[android-developers] Re: Supporting Smaller Screen Sizes

2009-10-30 Thread Lance Nanek
The build target can be set separately from the android:minSdkVersion attribute. Increasing the build target would allow you to use the supports-screens element in your manifest without that error. It can be set in Eclipse by right clicking on the project -> choosing Properties -> choosing Android

[android-developers] Re: SIGSEV and app closure

2009-10-30 Thread nwmotog...@gmail.com
filed here: http://code.google.com/p/android/issues/detail?id=4450&can=4&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars On Oct 30, 5:54 pm, "nwmotog...@gmail.com" wrote: > It's all written in Java, I will file a bug thanks. > > On Oct 30, 5:05 pm, fadden wrote: > > > > > On Oct 30, 4:46 p

[android-developers] Re: SIGSEV and app closure

2009-10-30 Thread nwmotog...@gmail.com
It's all written in Java, I will file a bug thanks. On Oct 30, 5:05 pm, fadden wrote: > On Oct 30, 4:46 pm, "nwmotog...@gmail.com" > wrote: > > > I am creating a MinMax (recursive) algorithm to play Tic Tac Toe and I > > occasionally get this.it's confusing me.  Does anyone have any > > idea

[android-developers] Device orientation - mapping device Y to screen Y

2009-10-30 Thread Ian
How do I map the device Y axis to the screen Y axis? I can't figure this out. I'm the developer of Tricorder, and I'm trying to make it so that the accelerometer and magnetometer indicators I draw always point in the right direction. On the G1 phone with the slider closed, all is well. But when

[android-developers] Re: Client server architecture problem (one receiving thread and many activities)

2009-10-30 Thread Roman ( T-Mobile USA)
Michal, I could think of to implement a dispatcher mechanism in your thread where you receive the incoming messages. I assume that you know which traffic should be routed to which activity, correct? You could put the incoming message with an destination identifier (identifier for the activity)

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-30 Thread dadical
More evidence... I've suspected that G selected their ADC2 r2 candidates about then, offered them an NDA (and a phone?) and a chance to upgrade to android 2.0. Nothing else that I can think of would explain the lame silence. On Oct 30, 6:36 pm, Chister Nordvik wrote: > Just wanted to chime in he

[android-developers] Re: SIGSEV and app closure

2009-10-30 Thread fadden
On Oct 30, 4:46 pm, "nwmotog...@gmail.com" wrote: > I am creating a MinMax (recursive) algorithm to play Tic Tac Toe and I > occasionally get this.it's confusing me.  Does anyone have any > ideas? > > 10-30 23:39:08.023: INFO/DEBUG(539): Build fingerprint: 'generic/sdk/ > generic/:1.6/DRC63C/1

[android-developers] Supporting Smaller Screen Sizes

2009-10-30 Thread mscwd01
I have had several emails from people with HTC Tattoo devices who say they cannot find my app in the Market. After reading this page (http://d.android.com/guide/practices/ screens_support.html) I believe I have to add the tag to my manifest file. However, when I try to do this I am confronted wit

[android-developers] SIGSEV and app closure

2009-10-30 Thread nwmotog...@gmail.com
I am creating a MinMax (recursive) algorithm to play Tic Tac Toe and I occasionally get this.it's confusing me. Does anyone have any ideas? 10-30 23:39:08.023: INFO/DEBUG(539): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 10-30 23:39:08.023: INFO/DEBUG(539): Build fingerpr

Re: [android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Dianne Hackborn
The process running the current broadcast receiver is placed in the foreground scheduling class, until it has finished receiving it. This doesn't apply to receivers given with registerReceiver(), unless the broadcast they are handling is ordered for one reason or another (in which case the system

[android-developers] change scroll speed in Gallery

2009-10-30 Thread Andy Droid
I made a gallery app inspired by the wallpaper chooser in the Launcher, using the Gallery class. However, one small swipe and it goes forever, can I slow it down, or add friction to my gallery object easily? thanks - sorry if this is on here twice, i'm having trouble verifying that my posts are

Re: [android-developers] Re: Pending intent receiverPermission

2009-10-30 Thread Dianne Hackborn
Also being in the background scheduling class makes absolutely no difference unless there are foreground threads together needing to use near 100% of the CPU. One would hope that this rarely happens. On Fri, Oct 30, 2009 at 1:49 PM, Loki117 wrote: > > Damn ok seems i'll need to bite the bullet a

Re: [android-developers] Viewing android Device logs?

2009-10-30 Thread Jason Proctor
>dsukhram wrote: >> I am able to view error logs while debugging an app with logcat in >> Eclipse. However I have run into issues where my app runs fine on the >> emulator but throws errors when I put it on my G2. My question is, >> how do I view the errors that it is throwing on my actual de

[android-developers] Re: buttons in list entries

2009-10-30 Thread alexdonnini
Problem solved. On Oct 28, 1:31 pm, alexdonnini wrote: > Hello, > > I have an application that generates a list with two buttons for each > entry in the list. > > It's working to a limited extent. I have run into a problem which I > have not be able to resolve. > > Can anyone point me to a tutori

Re: [android-developers] Viewing android Device logs?

2009-10-30 Thread Mark Murphy
dsukhram wrote: > I am able to view error logs while debugging an app with logcat in > Eclipse. However I have run into issues where my app runs fine on the > emulator but throws errors when I put it on my G2. My question is, > how do I view the errors that it is throwing on my actual device? Th

[android-developers] Viewing android Device logs?

2009-10-30 Thread dsukhram
I am able to view error logs while debugging an app with logcat in Eclipse. However I have run into issues where my app runs fine on the emulator but throws errors when I put it on my G2. My question is, how do I view the errors that it is throwing on my actual device? -- You received this mess

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-30 Thread Chister Nordvik
Just wanted to chime in here since there was some negative comments about Android developer programs. We actually got a free Android device about 2 weeks ago from one of these developer programs in exchange for a NDA. It could happen to you :-) -Christer -- You received this message because you

[android-developers] How can CheckedTextView be instantiated?

2009-10-30 Thread n179911
In the android source code, CheckedTextView (frameworks/base/core/java/android/widget/CheckedTextView.java) is an abstract class. And yet, in select_dialog_singlechoice (/Volumes/android/mydroid-faves/frameworks/base/core/res/res/layout/select_dialog_singlechoice.xml), it is using CheckedTextView

[android-developers] receive GPS enable/disable settings event

2009-10-30 Thread fry
Hello, I need to receive the event on GPS enable/disable status. Example - user goes to Settings/Security and location and press "enable GPS satellites" checkbox - my application should receive some event at this moment. I did try to subscribe Intent.ACTION_PROVIDER_CHANGED and Intent.ACTION_CONF

[android-developers] Re: bitmap size exceeds VM budget

2009-10-30 Thread Streets Of Boston
How large is the bitmap (in pixels)? Don't make the bitmaps/pics in your resources too large. Don't make the larger than you absolutely need to (e.g. not much larger than your screen or larger than the view in which you tend to put them). On Oct 30, 6:17 am, Richard wrote: > I'm getting some re

[android-developers] change scroll speed in Gallery

2009-10-30 Thread Andy Droid
I made a gallery app inspired by the wallpaper chooser in the Launcher, using the Gallery class. However, one small swipe and it goes forever, can I slow it down, or add friction to my gallery object easily? thanks -- You received this message because you are subscribed to the Google Groups "A

Re: [android-developers] Manually Adding SDK's to the ADT in Eclipse

2009-10-30 Thread Xavier Ducrohet
ADT look for the installed platforms based on the location of the SDK set in its preferences. It looks like you downloaded the new SDK tools and put it in a different location than the previous SDK? If so, just edit the preferences in Eclipse and under the 'Android' tab update the location of the

[android-developers] Re: Android 2.0: Browser/WebView can no longer load fonts?

2009-10-30 Thread BoD
Here is the associated bug: http://code.google.com/p/android/issues/detail?id=4448 BoD On Oct 29, 11:57 pm, BoD wrote: > Hi, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Re: Connection dropped / app sleep on device standby?

2009-10-30 Thread Loki117
Thanks Roman this was a good solution but I didn't want to force the wake lock because of battery life. Instead I implemented the AlarmManager but now I find out that I can't use security with pending intents so there may be another rewrite in order. Tom On Oct 29, 1:31 am, "Roman ( T-Mobile USA

[android-developers] Re: Pending intent receiverPermission

2009-10-30 Thread Loki117
Damn ok seems i'll need to bite the bullet and rearchitect. Thanks for your help both of you. On Oct 29, 4:46 pm, Dianne Hackborn wrote: > Sorry it's "you can't do that".  If the receiver is in the manifest, it is a > top-level component not associated with any of your other components. > > On T

[android-developers] Re: Android SDK not working on Windows 7

2009-10-30 Thread Edo Noordhuizen
I've ran the line and found the user.home property is set to C:\Users\PARA ... there is no user named PARA on my system. I've quickly searched through the registry, and all I can think of right now is that PARA are the first 4 letters of the computer manufacturer??.. I'll be doing some more search

[android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-10-30 Thread nEx.Software
Jeff, thanks for clarifying. I'd hate to have seen a bunch of apps break in the meantime. On Oct 30, 1:26 pm, Jeff Sharkey wrote: > The original, public "android.provider.Contacts" APIs that has shipped > since Android 1.0 are still very much supported, but are now marked as > deprecated.  There

[android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-10-30 Thread Jeff Sharkey
The original, public "android.provider.Contacts" APIs that has shipped since Android 1.0 are still very much supported, but are now marked as deprecated. There are additional features (like multiple accounts) that will require upgrading to the new "android.provider.ContactsContract" APIs to acces

[android-developers] Re: Android SDK not working on Windows 7

2009-10-30 Thread jotobjects
That's weird if Windows 7 does this in a new way. You need to know where the Java system property user.home is because that is the default location for your AVD images. This one line program will list the properties - public static void main(String[] args) { System.getProperties().l

[android-developers] Is Orientation Sensor a Phyiscal Sensor Different from the Accelerometer?

2009-10-30 Thread Mohamed Amir
... or it's just some virtual sensor the uses the data provided by the accelerometer and the magnetic field sensor to calculate the orientation? Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: My appwidget broken Donut when keyboard slide out/in

2009-10-30 Thread Jeff Sharkey
There can be issues if the android:id's in your layouts conflict with other widgets. This was fixed in Eclair by having Launcher create separate SparseArray "jails" for each widget to store their state into. It's change 09ddc08b... to be specific. Could you post your layout file, or describe ho

[android-developers] Re: How does Log.isLoggable() work?

2009-10-30 Thread jotobjects
Thanks. I'll try that. Also I looked at the source for isLoggable and it looks like it is pretty expensive (doing file IO on every call I think) so you probably would not want to use this technique a lot in an app. On Oct 29, 7:14 pm, fanfan wrote: > I try this and find it works. Just use the s

[android-developers] Re: Accessing contact's phone numbers

2009-10-30 Thread RichardC
They added support for multiple accounts (woot). However as contacts are by account something had to give ... -- RichardC On Oct 30, 6:40 pm, "nEx.Software" wrote: > Hold up... I'm confused. Are you saying that Contacts portion of the > SDK is deprecated? Whatever happened to "stick to the SDK

[android-developers] Re: Problem while playing buffer data

2009-10-30 Thread niko20
Hi, This doesn't appear to be a wav, there is no valid header data in this file. -niko On Oct 30, 7:28 am, Nishant wrote: > Hi, > > I have developed application in Java using javax.sound api. > It works perfectly in Java Applet Player. > > But the same application developed in Android using an

[android-developers] Re: App name/icon problems on Hero after reboot

2009-10-30 Thread Justin Giles
>From a user standpoint, I ran across this thread on the Hero phandroids.comforum: http://androidforums.com/sprint-htc-hero/12549-handcent-shortcut-icon-missing.html#post77129 Basically you wipe the phone & sd card, reinitialize the phone, then IMMEDIATELY turn off HTC Sense UI in favor of the st

[android-developers] Re: App name/icon problems on Hero after reboot

2009-10-30 Thread jotobjects
Isn't this easy enough to create a reproducible test? Install a small test app with a raw string label. Then change it to a resource label and reinstall. The problem is provable or the cause is not that clear cut... On Oct 30, 8:14 am, Greg Donald wrote: > On Fri, Oct 30, 2009 at 9:41 AM, Jus

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Beth Mezias
Right, right... Dianne, could you possibly clarify whether or not the receiver goes in the foreground? Sent from my mobile. Regards, Beth On Oct 30, 2009 11:46 AM, "Mark Murphy" wrote: Beth Mezias wrote: > I don't read anything about broadcast receivers in > Dianne's response. "No, the alarm

[android-developers] Re: Priced apps - is there a wa

2009-10-30 Thread Disconnect
Er, not to point out the obvious but this is the official google-monitored group for the market. Perhaps asking how to fraudulently enter a contract with google is best done elsewhere..? Also, you can sell apps at andappstore.com and (I think) slideme.com, among others. Without paying the 20% tax

[android-developers] Re: Fetch IMSI or detect SIM change?

2009-10-30 Thread Roman ( T-Mobile USA)
Use TelephonyManager getSubscriberId() to get the IMSI Roman Baumgaertner Sr. SW Engineer-OSDC ·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

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Mark Murphy
Beth Mezias wrote: > I don't read anything about broadcast receivers in > Dianne's response. "No, the alarm manager does not run at the background priority, and when delivering an intent broadcast to an application it is actually pulled into the foreground scheduling class (else there would often

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Beth Mezias
Broadcast receiver's priority Sent from my mobile. Regards, Beth On Oct 30, 2009 11:41 AM, "Beth Mezias" wrote: It's intermittent. I don't read anything about broadcast receivers in Dianne's response. Sent from my mobile. Regards, Beth > > On Oct 30, 2009 11:32 AM, "Mark Murphy" wrote: >

[android-developers] Re: How do some services(like "com.android.inputmethod.latin") start when the emulator boots?

2009-10-30 Thread Dianne Hackborn
The input method manager binds to it (actually whatever the currently selected IME is) when the system starts. The service is not explicitly started. On Fri, Oct 30, 2009 at 1:48 AM, caixia wrote: > > Hi all, > > I am reading the initialization process of Android system on the > emulator. I use

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Beth Mezias
It's intermittent. I don't read anything about broadcast receivers in Dianne's response. Sent from my mobile. Regards, Beth On Oct 30, 2009 11:32 AM, "Mark Murphy" wrote: Beth Mezias wrote: > Assume that when the broadcast receiver is called, another application > might have the "UI Thread" by

[android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-10-30 Thread nEx.Software
Hold up... I'm confused. Are you saying that Contacts portion of the SDK is deprecated? Whatever happened to "stick to the SDK because those are stable apis that won't break in future versions"? Very disappointing... On Oct 30, 11:12 am, Jeff Sharkey wrote: > Could you post the exact Uri you're

[android-developers] Re: There is NO AVD Target...

2009-10-30 Thread Mr.K
Hello, the SDK Readme.txt shows that no specific Android platforms (1.6, 2.0, etc.) are populated. You have to run the Android SDK and AVD Manager located in the main SDK folder. On another note, the Android and AVD Manager allows you to create the same virtual devices you tried to create in your

[android-developers] How do some services(like "com.android.inputmethod.latin") start when the emulator boots?

2009-10-30 Thread caixia
Hi all, I am reading the initialization process of Android system on the emulator. I use "adb logcat" to see the internal output. I have read according to the following order: init -> init.rc -> zygote(init1->init2) -> systemReady(start com.android.phone and android.process.acore) However, the

[android-developers] Re: Google wave invitations...?

2009-10-30 Thread ●๋• Pяคиค√●๋•
Can you also please send me one! Thank you in advance. 2009/10/16 Kenneth Adam Miller > Who wants to be in Google wave? > I have 16 invitations > > > > -- Cheers, Pranav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Client server architecture problem (one receiving thread and many activities)

2009-10-30 Thread Michal
Hi all, I have a question concerning the following situation: 1. I'm developing a client server application using TCP/IP Sockets. 2. Android application is a client which is composed of many activities. 3. There is one dedicated thread created in android app for receiving messages from server.

[android-developers] Re: Android 2.0 SDK is here!

2009-10-30 Thread Marek Pola
Hello, You probably need to set up the proxy settings in the Android application's Settings. That did the trick for me. See also this thread for other problems which was referenced above: http://groups.google.com/group/android-developers/browse_thread/thread/63a44163a8d07cd9# Regards Marek On

[android-developers] MultiAutoCompleteTextView with simpler completion and without comma

2009-10-30 Thread hbral
hi everyone i have 2 problems with the MultiAutoCompleteTextView. first and the main one: how can i get rid of the comma at the end of the completet word when i use the CommaTokenizer. do i have to implement it on my own? second problem: is it possible to complete in a way that i don't need t

[android-developers] AppWidgetProvider

2009-10-30 Thread ben
It seems like the convenience functions (onUpdate, onEnabled, etc.) aren't being called in the emulator on Android 2.0. Is this a bug, or are these functions just being eliminated? It would have been nice to see this documented somewhere. --~--~-~--~~~---~--~~ You

[android-developers] Re: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

2009-10-30 Thread Hans
Adding sdkman.force.http=true to ~/.android/androidtool.cfg allowed me to retrieve the Sites, Packages, and Archives via the Android SDK and AVD Manager. However, when I select, for example, "SDK Platform Android 2.0, API 5, revision 1", and click "Install Selected" (button), nothing happens. I

[android-developers] Manually Adding SDK's to the ADT in Eclipse

2009-10-30 Thread Ali Collins
Hey, I made a bit of a mistake when updating to the latest Android SDK. I downloaded the SDK Manager manually, then downloaded the 2.0 (and 1.5r3) platforms, and only then updated Eclipse...and realised I probably should have updated it all from the ADT within Eclipse. So I am currently stuck w

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Mark Murphy
Beth Mezias wrote: > Assume that when the broadcast receiver is called, another application > might have the "UI Thread" by running an interactive window with the > Android end user. In this case, does onReceive run in the foreground or > background? According to Ms. Hackborn's previous reply,

[android-developers] AlertDialog setSingleChoiceItems

2009-10-30 Thread Éva Lovrencsics
Hello, I have an AlertDialog with single choice items, but these items sometimes change, so I have to update the radiobuttons array every time when the dialog is showed. I know there is a method called onPrepareDialog but the Dialog doesn't have the setSingleChoiceItems, only the Builder. Here i

[android-developers] Re: There is NO AVD Target...

2009-10-30 Thread Joe Hopper
I just had this problem as well. It looks like the SDK must not come with any platforms by default, so I did the following to fix this: - Run the SDK Setup.exe file (found wherever you extracted the Android SDK to) - Click on Available Packages on the left side. - Check the Platforms you need -

[android-developers] How do some services(like "com.android.inputmethod.latin") start when the emulator boots?

2009-10-30 Thread caixia
Hi all, I am reading the initialization process of Android system on the emulator. I use "adb logcat" to see the internal output. I have read according to the following order: init -> init.rc -> zygote(init1->init2) -> systemReady(start com.android.phone and android.process.acore) However, the

[android-developers] Re: There is NO AVD Target...

2009-10-30 Thread vojd
Hello! I had exactly the same problem. Changing the permissions on the directory where Android stores its avd and config files did the trick! (on Linux this is located at ~/.android/). sudo chmod 555 ~/.android/ On 30 Okt, 05:40, Nobody111 wrote: > Hi all! > > Trying to set up my eclipse envirn

[android-developers] Problem while playing buffer data

2009-10-30 Thread Nishant
Hi, I have developed application in Java using javax.sound api. It works perfectly in Java Applet Player. But the same application developed in Android using android.media library. I have used AudioTrack class to play the sound. The content of the buffer used in Java Player, i have written in t

[android-developers] PendingIntent fired but not received on boot

2009-10-30 Thread kapil
i am having a problem in receiving a pending intent.It is fired successfully at the requested time but if i boot my device before that time, I refire the pendingIntent on device startup in a service, pending intent is fired (which i check in OnSendFinished listener of pending intent) but not recei

[android-developers] bitmap size exceeds VM budget

2009-10-30 Thread Richard
I'm getting some reports from the remote stack trace plug-in, with this error (see below) What I'm doing, is findViewById(R.id.instructionsBack).setBackgroundResource (R.drawable.instructions1); And then when I need to change the image, findViewById(R.id.instructionsBack).setBackgroundResource

[android-developers] Re: Couldn't install Android 2.0 platform

2009-10-30 Thread pdecat
> On 29 окт, 01:01, sanczo_dev wrote: > I have the similar problem. But after download i get: "unzip failed: > Cannot run program "chmod": java.io.IOException: error=24, too many > files opened". I downloading Android 2.0 sdk and API 5. I have > installed already sdk 1.1 and 1.5 before AVD comes.

[android-developers] Re: World Of Bombs (Action Game) ADC 2 Entry

2009-10-30 Thread mike177
Croco, fun app! Keep confident... I trust this app will be among the 20 finalist in the action game category. It is a great game to play when I need to wait for something and I need a time killer. Congrats! --~--~-~--~~~---~--~~ You received this message becaus

[android-developers] Problem installing Android 2.0 on Mac (Snow Leopard)

2009-10-30 Thread Kevin
Hi all, I was trying to install Android 2.0 on Mac which running snow leopard. When I run android, it give me error message. I forgot the exact message, but it roughly says I cannot run a 32 bit code on a 64 bit virtual machine or something similar. Does anyone else have the same problem? How c

[android-developers] Re: Touch HD

2009-10-30 Thread kaguendiez
Hi Christian, you can read that http://wiki.xda-developers.com/index.php?pagename=BlackstoneLinux Cheers, Jonathan On 4 oct, 17:07, "eweq-t...@live.com" wrote: > Hey guys, > > I read this article > herehttp://androidcommunity.com/android-coming-to-the-htc-touch-hd-20081007/ > which states t

[android-developers] Re: VBO on Motorola CLIQ

2009-10-30 Thread Hexage
I've tested it with GLSurfaceView, still the same problem (called unimplemented OpenGL ES API). The problem was also reported by several unhappy CLIQ owners on retail handsets. On Oct 30, 3:40 pm, Robert Green wrote: > I gotta throw it out there:  Can you try with GLSurfaceView and report > you

[android-developers] Re: How to detect if a Bluetooth A2DP headset is connected

2009-10-30 Thread Stephen Lin
Is there anybody know the answer? I just saw the API setBluetoothA2dpOn(boolean on) in AudioManager is deprecated. I need provide a choice in my application for the user to select audio route to Bluetooth headset or speaker. I can use the API setBluetoothA2dpOn() to route audio to bluetooth hea

[android-developers] Re: setResult() for AppWidget

2009-10-30 Thread Jeff Sharkey
It sounds like the ACTION_VIEW might be launched as startActivity() instead of startActivityForResult(), which means the result is being dropped on the path back to Launcher. The forecast widget example interacts with the system search dialog, and uses singleTop and onNewIntent() to catch searche

[android-developers] Re: Priced apps - is there a wa

2009-10-30 Thread Wouter
I have this problem too! I live in belgium and cant sell my applications.. How can we do this? On Oct 30, 6:28 pm, fhucho wrote: > Hi, > I just finished a chess game and have found out that I can't sell it > on Android Market because my country is not supported (Czech > Republic). Is there a wa

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Beth Mezias
Sorry but I still need clarification here. This new 1.6 feature distinguishes between foreground and background and would seem to alter thread priorities based on that characteristic despite all priorities being normal. Assume that when the broadcast receiver is called, another application might

[android-developers] Re: [Android 2.0] Accessing contact's phone numbers

2009-10-30 Thread Jeff Sharkey
Could you post the exact Uri you're passing to query()? As the javadoc describes, you need to append a filter string to the CONTENT_FILTER_URI so it knows what to filter on. Uri lookupUri = Uri.withAppendedPath(PhoneLookup.CONTENT_URI, phoneNumber); Also, you might be able to skip your second s

[android-developers] Re: IP broadcast on emulator

2009-10-30 Thread David Turner
well, this is simply not supported at the moment. On Thu, Oct 15, 2009 at 6:12 AM, Anders wrote: > > Hi, > > I have an application that acts as both client and server. I have a > scenario that I need to test that involves three devices. One of them > needs to broadcast a message (UDP) to the oth

[android-developers] Re: Android WVGA support

2009-10-30 Thread Artem Petakov
Right, you have to use -v4 for that of course. It's similar to what Dianne had suggested above (using both -v4 and -v5), except v5 is actually v6. It just seems that somewhere deep in this part of the Eclair code there is something that makes it think that the sdkVersion is 6, not 5. Dianne, could

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Mark Murphy
Beth Mezias wrote: > OK, but my application is not running at the time. Sure it is. If your code runs, your application is running. > Does that mean it > goes into the foreground thread pool even if there is no window? Unless specifically documented, all threads in Android are normal priority.

[android-developers] Re: Quick Contacts popup

2009-10-30 Thread Jeff Sharkey
The easiest way is using the new QuickContactBadge widget. You can add it to your layout, and there are helper methods to bind it using phone, email, or a normal Uri. http://d.android.com/reference/android/widget/QuickContactBadge.html This control will automatically give you the frame around t

[android-developers] Source Code required for Android App

2009-10-30 Thread Maxood
Source code is required for a simple content based app. It involves simple vertical scrolling and random access and retrieval of data from SQLite database. Possibly random numbers are used. On each view a single random fact is fetched from the database and displayed(possibly ListView with a custo

[android-developers] Re: Android WVGA support

2009-10-30 Thread webmonkey
drawable-hdpi-v6 does indeed work in the 2.0 emulator but not in a 1.6 emulator. And because it is not exactly clear what the problem is I do not recommend using it. I am still hoping to find a solution where I can just use drawable- hdpi On Oct 30, 8:49 am, Nikolay Ananiev wrote: > YES drawabl

[android-developers] Priced apps - is there a wa

2009-10-30 Thread fhucho
Hi, I just finished a chess game and have found out that I can't sell it on Android Market because my country is not supported (Czech Republic). Is there a way to circumvent this restriction (e.g. pretend that I am from US in the registration form)? What would you advise me if I want to earn some

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-30 Thread niko20
Ok guys, an update. Quentin sent me an email about and hour ago with the info I needed, so I would like to thank him for contacting me finally :) I was started to lose hope again -niko20 On Oct 30, 12:07 pm, Kumaravel Kandasami wrote: > Quentin Perry, > > FYI - Looks like the sara_jagiel

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread Mihai Fonoage
Mark Murphy wrote: > Mihai Fonoage wrote: > > and I need to deal with > > this case specifically, which complicates my application logic a > > little (here though it is probably my fault - not a perfect design). > > Your View should not care about how many times it is drawn. Relying on > assumed

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Beth Mezias
OK, but my application is not running at the time. Does that mean it goes into the foreground thread pool even if there is no window? There is supposed to be a notification drawn on the top left but that might not qualify the code into the foreground. On Fri, Oct 30, 2009 at 10:12 AM, Mark Murph

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Mark Murphy
Beth wrote: > Would the resulting execution of my broadcast receiver from the > AlarmManager broadcast go into the background thread pool or get into > the foreground inheriting from the AlarmManager? BroadcastReceiver is invoked on "the UI thread", which is to say, the primary thread for your

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread Mark Murphy
Mihai Fonoage wrote: > and I need to deal with > this case specifically, which complicates my application logic a > little (here though it is probably my fault - not a perfect design). Your View should not care about how many times it is drawn. Relying on assumed behavior (e.g., onDraw() is only

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-30 Thread Kumaravel Kandasami
Quentin Perry, FYI - Looks like the sara_jagiel...@gspsf.com email address is misspelled in the body of the message. See on the CC of the original message. Kumar_/|\_ www.saisk.com ku...@saisk.com "making a profound difference with knowledge and creativity..." On Fri, Oct 30, 2009 at 10:50

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread Mihai Fonoage
@Mark I care because something needs to be drawn if the onDraw method is being called. If there are no actual changes to the view, then this is a waste of resources (probably unnoticeable) and I need to deal with this case specifically, which complicates my application logic a little (here though

[android-developers] Re: BG threads with 1.6; is the AlarmManager starving?

2009-10-30 Thread Beth
That's good news. Thanks for the quick response. Here is a follow on... Would the resulting execution of my broadcast receiver from the AlarmManager broadcast go into the background thread pool or get into the foreground inheriting from the AlarmManager? I'm relieved to know that a system servi

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread skink
On Oct 30, 5:15 pm, skink wrote: > On Oct 30, 12:36 pm, Mihai Fonoage wrote: > > > > > > > Any help on this issue is greatly appreciated. > > > Mihai Fonoage > > > On Oct 29, 3:44 pm, Mihai Fonoage wrote: > > > > Hello everyone, > > > > I have two views, one of which is a Chronometer. Wheneve

[android-developers] Assign EditText android:singleLine="true" programmatically

2009-10-30 Thread bennyb
How can you programmatically set the android:singleLine="true" property of a TextView? I want my EditText to open a numeric keypad with the "Done" button. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Deve

  1   2   >