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

2009-10-30 Thread javame_android
Hi, I want to fetch the IMSI number so that I could keep it in memory and detect whenever SIM card changes. Is it actually possible? Is there anyone who can guide me a bit? Hope to get a positive reply soon. Regards Sunil --~--~-~--~~~---~--~~ You received

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

2009-10-30 Thread Dianne Hackborn
The standard platform doesn't do this. If this is only happening on the Hero, one possibility is HTC introduced some kind of caching that is broken. On Thu, Oct 29, 2009 at 9:40 PM, Robert Green rbgrn@gmail.com wrote: Ok so maybe not cache but the thing that bothers me is that once

[android-developers] Android SDK 2.0

2009-10-30 Thread Sasikumar.S
Hi, How to download Andoird SDK 2.0 file... I need Andoird SDK 2.0 like 1.5... I tryed to download that. But it downloaded only 2.0 file updates. we want to update it from 1.5 or 1.6... Any one know how to donwload 2.0 pls reply to me -- Thanks Regards Sasikumar.S

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

2009-10-30 Thread Beth
I have a question about the background thread handling change that went into SDK 1.6. I read here that BG threads get placed in a scheduling class that can't use more than 5-10% of the CPU in order to keep the foreground responsive. Do system services get into that scheduling class? My app

[android-developers] Re: Camera Picture Size on Samsung i7500 Galaxy

2009-10-30 Thread spietari
Thanks but that's not it. It doesn't crash and anyway I'm catching any exceptions there. On Oct 28, 10:18 pm, Greivin Lopez greivin.lo...@gmail.com wrote: It is possible that you are facing the same problem described in this

[android-developers] Re: Android WVGA support

2009-10-30 Thread tberthel
The Highest resolution I can get in the emulator is 1000x500. I need 1200x600. How do I do it? or can I yet? On Oct 29, 9:29 pm, Dianne Hackborn hack...@android.com wrote: Dammit yeah that would be broken.  I'll make sure this is fixed in the next version; for now i guess you will need to

[android-developers] Re: How to capture Soft keyboard key events.

2009-10-30 Thread Gulfam
Hi Banny, Thanks alot. I have implemented the code same as you its working very well for me. It was very big issue for my app but now resolved :) Thanks again. Regads, Gulfam Hassan On Oct 30, 7:53 am, Banny helloba...@gmail.com wrote: I find the same problem of it. Finally, I found

[android-developers] Re: Interrupting the app uninstaller

2009-10-30 Thread biAji
On Oct 27, 3:27 am, Doug dougforp...@gmail.com wrote: I completely agree that there should be no way for an application to prevent its uninstallation - but there are valid reasons why the application may want to pop up some important information to the user either before or after the

[android-developers] Re: Android WVGA support

2009-10-30 Thread Nikolay Ananiev
YES drawable-hdpi-v6 works for me too. I'll use it in my next release as a workaround Thanks Artem! On Fri, Oct 30, 2009 at 7:15 AM, Artem Petakov p.ar...@gmail.com wrote: This will sound crazy, but -v6 works for me. There must be a strange reason why this works, or maybe there is a subtle

[android-developers] Searching Youtube from developer's app

2009-10-30 Thread Hunter Peress
Is there a way to search youtube from my app? Ideally it would be as easy as an Intent with ACTION_SEARCH and some user level place where i can make youtube queries within my developer app for now, I cannot find a way. Failed paths: com.google.android.youtube.QueryActivity is not available to

[android-developers] Re: VBO on Motorola CLIQ

2009-10-30 Thread Hexage
I'm not using logging or tracing, at least I'm not aware of that. I'm using EGL/GL directly (not via GLSurfaceView) and it works on G1/Magic/ Hero/Droid. While playing with EGL config selection on CLIQ I've noticed a strange behavior. First config reported by eglChooseConfig is usually: red=5

[android-developers] layout orientation problem

2009-10-30 Thread Wojciech Topolski
Hi I have problem with orientation in my app. When phone is in vertical orientation everything is ok, but when orientation changes to horizontal layout (RelativeLayout) creeps. On the screen there is only a part of layout. Maybe I need 2 files, one for horizontal, second for vertical orientation,

[android-developers] Re: how to set a shortcut key to launch an activity ?

2009-10-30 Thread swapnil kamble
Hi, Thanks for your replies. I tried writing a service, overriden onKeyDown(). But it could not get that message. Do I need to modify Home Activity's code ? Or is there any other way too ? Thanks in advance Swapnil On Wed, Oct 21, 2009 at 10:56 PM, Forest Wang wangme...@gmail.com wrote:

[android-developers] Re: Is there any way to display 8000 * 8000 jpeg file without OutOfMemoryException

2009-10-30 Thread James Wang
Thanks Mark! I will take a try. On Oct 22, 8:23 pm, Mark Murphy mmur...@commonsware.com wrote: James Wang wrote: Hi, We are going to develop an app supporting 8000 * 8000 jpeg file (over hundreds of Megabytes). Is there any way to achieve it in ADP1? Step #1: Don't do that. Step #2:

[android-developers] How to return Typeface from Cursor

2009-10-30 Thread James Wang
I want to make a contentprovider for font file. But I can not find any way to return a Typeface from Cursor. According to SDK reference, MatrixCursor sounds like a solution, but it doesn't support any object except String,Long,Double,Short,Flow. Can anybody help me? Best Regards

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

2009-10-30 Thread croco
I was put forward by Samsung France during the competition for the android Galaxy phone. World of Bombs received a place of honor in the competition for its Samsung potential and quality. OK I don't win the prize top5 but i'm in top 10 and visible on the Samnsung portal So is a beautiful form of

[android-developers] Difference between View margin and padding , mPadding and mUserPadding?

2009-10-30 Thread GPU
Difference between View margin and padding , mPadding and mUserPadding? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: How to capture Soft keyboard key events.

2009-10-30 Thread Nandy
Hi Banny, Hassan, Even i faced the same problem and added on text change listener through text watcher. But in this case I am not able to catch the events of keys like caps, shift, changing from abc to 123. Any idea on this how to solve? Thanks and Regards, Nandy On Oct 30, 12:17 pm, Gulfam

[android-developers] how to call an Activity method from another java file

2009-10-30 Thread Stefan
Hello, i have following problem: I have my MainActivity. In this Activity, i start a thread (SaxParser in another normal java file). Now I want to call a method from the MainActivity out of the normal java file? I have read something of an Application object, but i only find things, where i have

[android-developers] ContentValues being overwritten

2009-10-30 Thread Sena
Hi, We're seeing some very odd behaviour regarding ContentValues. It appears that the key value pairs are being overwritten. We are seeing the right mod count but not all the values are written in. Any ideas would be much appreciated, the code in question is below. int length =

[android-developers] Re: Can't query contacts in Android 2.0 emulator?

2009-10-30 Thread agirardello
Try to use: android.provider.ContactsContract.Contacts.CONTENT_URI On Oct 28, 7:10 am, Yao cicikaka2...@gmail.com wrote: Hi guys, I can't get contacts via content provider in Android 2.0 emulator. The test code is pasted. When I click Account in the menu, it shows Force close. Thanks a

[android-developers] first app - please check and tell suggestions

2009-10-30 Thread gatza
Hello! I just uploaded an early version of our first app to android market called BABBL. Please write critics, ideas, suggestions if you would like to :) http://uk.androlib.com/android.application.com-babbl-droid-znwE.aspx sorry for beeing a bit offtopic. thanks for your time

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

2009-10-30 Thread Mihai Fonoage
Any help on this issue is greatly appreciated. Mihai Fonoage On Oct 29, 3:44 pm, Mihai Fonoage fonoag...@gmail.com wrote: Hello everyone, I have two views, one of which is a Chronometer. Whenever the Chronometer gets updated (every second, automatically, after its start () method has been

[android-developers] Re: IP broadcast on emulator

2009-10-30 Thread Anders
No info on this? On Oct 17, 8:17 am, Anders lanils...@gmail.com wrote: Bump On Oct 15, 3:12 pm, Anders lanils...@gmail.com 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

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

2009-10-30 Thread Justin Giles
If this is a HTC problem, then who has enough arm twisting power to get them to take notice? Me along with some of my friends have contacted them about this and we have received no response. On Fri, Oct 30, 2009 at 1:10 AM, Dianne Hackborn hack...@android.comwrote: The standard platform

[android-developers] Re: how to call an Activity method from another java file

2009-10-30 Thread Mark Murphy
Stefan wrote: i have following problem: I have my MainActivity. In this Activity, i start a thread (SaxParser in another normal java file). Now I want to call a method from the MainActivity out of the normal java file? Option #1: Pass the Activity in the constructor of your object from your

[android-developers] Re: Difference between View margin and padding , mPadding and mUserPadding?

2009-10-30 Thread Mark Murphy
GPU wrote: Difference between View margin and padding , mPadding and mUserPadding? For the purposes of determining the boundaries of a background, padding is considered inside the widget (and so padding area gets the background) and margin is outside the widget (and so does not get the

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

2009-10-30 Thread Mark Murphy
James Wang wrote: I want to make a contentprovider for font file. But I can not find any way to return a Typeface from Cursor. According to SDK reference, MatrixCursor sounds like a solution, but it doesn't support any object except String,Long,Double,Short,Flow. You cannot return a Typeface

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

2009-10-30 Thread Justin Giles
Installed, played 1 round, rebooted, icon text looked fine. Game started with no problems. Justin On Thu, Oct 29, 2009 at 11:35 PM, Robert Green rbgrn@gmail.com wrote: Ah ha! Ok, that at least shows something. Before I changed the raw string to @string/app_name, it was causing the

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

2009-10-30 Thread Mark Murphy
Mihai Fonoage wrote: Any help on this issue is greatly appreciated. Your question cannot be answered in the abstract. You need to find this out for yourself. Put a breakpoint or dump a stack trace in onDraw() of your second view. Figure out from there what is triggering it. If I had to guess,

[android-developers] Re: how to call an Activity method from another java file

2009-10-30 Thread Stefan
Hi, thanks for your answer. i try option 1 today, but i couldnt call the funtion in my MainActivity class: My steps: in MainActivity: xmlHandler = new XMLHandler ( MainActivity.this ); // -- is that the Activity, i think so ?? in XMLHandler (normal java file): Activity main; public

[android-developers] Re: getting open source eclair source code

2009-10-30 Thread Disconnect
There was finally a statement yesterday afternoon that eclair source will land in AOSP. (No info on timing - could be there already for all I know, or it could be months, but it will happen.) This shouldn't have needed to be said :( Even in 1.5/1.6 it was when not if, but all week 2.0 has been

[android-developers] How to reverse the childs position in RelativeLayout

2009-10-30 Thread GPU
By reversing the mRules - result : not working in all places By changing the child.onLayout - mLeft and nRight? not getting the childs exact position By changing applySizeRules() like changing getRelatedViewParams(rules, LEFT_OF); to getRelatedViewParams(rules, RIGHT_OF); or is their any

[android-developers] Re: How to capture Soft keyboard key events.

2009-10-30 Thread Dianne Hackborn
There are no events for those things. They are just internal state changes in the IME. Some IMEs may not even have such changes -- for example a handwriting one may allow you to write letters and numbers in the same area. On Fri, Oct 30, 2009 at 3:56 AM, Nandy satirthana...@gmail.com wrote:

[android-developers] Re: how to call an Activity method from another java file

2009-10-30 Thread Mark Murphy
Stefan wrote: thanks for your answer. i try option 1 today, but i couldnt call the funtion in my MainActivity class: My steps: in MainActivity: xmlHandler = new XMLHandler ( MainActivity.this ); // -- is that the Activity, i think so ?? in XMLHandler (normal java file): Activity

[android-developers] How to get the childs right and left position from RelativeLayout.onLayout() ralted to the parentLayout width

2009-10-30 Thread GPU
How to get the childs right and left position from RelativeLayout.onLayout() ralted to the parentLayout width If i call the child.getLeft or child.getRIght its giving 0 in onLayout (); --~--~-~--~~~---~--~~ You received this message because you are subscribed to

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

2009-10-30 Thread Dianne Hackborn
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 be ANRs and such). On Thu, Oct 29, 2009 at 11:31 PM, Beth emez...@gmail.com wrote: I have

[android-developers] Re: how to call an Activity method from another java file

2009-10-30 Thread Stefan
Thanks a lot. That was the error :) Now it works. Regards, Stefan On Oct 30, 1:48 pm, Mark Murphy mmur...@commonsware.com wrote: Stefan wrote: thanks for your answer. i try option 1 today, but i couldnt call the funtion in my MainActivity class: My steps: in MainActivity:

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

2009-10-30 Thread Justin Giles
Oh, forgot to include my firmware build number: 1.29.651.1 CL69164 release-keys On Fri, Oct 30, 2009 at 7:20 AM, Justin Giles jtgi...@gmail.com wrote: Installed, played 1 round, rebooted, icon text looked fine. Game started with no problems. Justin On Thu, Oct 29, 2009 at 11:35 PM,

[android-developers] Paint (fill) a Path with a texture

2009-10-30 Thread mscwd01
Hey, I currently draw Paths to the screen and fill them with a simple color; however, is it possible to take a bitmap and fill the path with this texture? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] How to get the version of os used in the phone

2009-10-30 Thread Dilli
Hi all, How can i get the os version currently using the android mobile is any way to get that programatically Thank you Dilli Rao.M --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Time To Lift Dev Phone Purchase Limitations

2009-10-30 Thread Disconnect
You can do ad-hoc deployment to as many devices as you want. So far, all retail devices allow for installation of any app you want. That is one of the big differences between android and iphone. On Thu, Oct 29, 2009 at 1:21 PM, Madjack jack.fro...@gmail.com wrote: With the new Android devices

[android-developers] Re: How to get the version of os used in the phone

2009-10-30 Thread Mark Murphy
Dilli wrote: How can i get the os version currently using the android mobile is any way to get that programatically Look at android.os.Build. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training:

[android-developers] Re: how to call an Activity method from another java file

2009-10-30 Thread Dilli
You can implement some listener concept write a interface in your normal java file and implement that method in activity then by calling that method in the normal java file you can make a call to implemented method in activity class Use handlers to do any Operations in the activity ( in

[android-developers] Re: How to get the version of os used in the phone

2009-10-30 Thread Dilli
Thank you, On Oct 30, 6:31 pm, Mark Murphy mmur...@commonsware.com wrote: Dilli wrote: How can i get the os version currently using the android mobile is any way to get that programatically Look at android.os.Build. -- Mark Murphy (a Commons

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

2009-10-30 Thread Robert Green
Justin, Thank you SO MUCH for testing this! I can now say with certainty that I have fixed the problem going forward and have identified at least one thing that triggers this problem. Hero doesn't like raw string app labels. It was probably developed with the assumption that app labels are

[android-developers] Re: Can't query contacts in Android 2.0 emulator?

2009-10-30 Thread Yao
On Fri, Oct 30, 2009 at 7:25 PM, agirardello andrea.girarde...@gmail.comwrote: Try to use: android.provider.ContactsContract.Contacts.CONTENT_URI It works. Thanks! On Oct 28, 7:10 am, Yao cicikaka2...@gmail.com wrote: Hi guys, I can't get contacts via content provider in Android

[android-developers] Re: VBO on Motorola CLIQ

2009-10-30 Thread Robert Green
I gotta throw it out there: Can you try with GLSurfaceView and report your result? On Oct 30, 3:40 am, Hexage ga...@hexage.net wrote: I'm not using logging or tracing, at least I'm not aware of that. I'm using EGL/GL directly (not via GLSurfaceView) and it works on G1/Magic/ Hero/Droid.

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

2009-10-30 Thread Justin Giles
I'm not entirely sure the raw string vs resource string is the full issue here though. It might be part of the problem, but not the whole explanation. As Greg mentioned earlier, he never had his app name set as a raw string and he is experiencing the problem. On one of my applications I'm

[android-developers] How will dev phone be able to run Eclair?

2009-10-30 Thread Tamas Jozsa
Hi All, I have read and double checked that there is theoretically no chance to have Eclair on G1 productive phone. Take a look at this site: http://androidandme.com/2009/10/news/g1-owners-could-miss-out-on-android-2-0/ I was wondering if there is actually a method to repartiotion the system

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

2009-10-30 Thread niko20
Well I still havent' heard anything back from him myself. Maybe my posting was way to negative lol. -niko On Oct 28, 1:56 pm, newbyca newb...@gmail.com wrote: niko, fyi, we emailed Quentin the same day his post appeared and he actually called us the next day... On Oct 28, 2:39 pm, niko20

[android-developers] Disable 2g and 3g networks

2009-10-30 Thread Anton Pirker
Hi all! I am developing an application that is used for a sort of tournaments. The requirements are that if the application is running it should be impossible to make and receive phone calls. Can i disable 2g/3g from within my app? (Airplane mode is no option, because i still need GPS) Thanks

[android-developers] Re: Disable 2g and 3g networks

2009-10-30 Thread Jamie
GPS receiver is independent of the cell receiver. GPS can be turned on while airplane mode is ON. Good luck!! On Oct 30, 10:59 am, Anton Pirker l...@ignaz.at wrote: Hi all! I am developing an application that is used for a sort of tournaments. The requirements are that if the application

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

2009-10-30 Thread niko20
See I think this is starting to prove my point. I sent an email to Quentin. Didn't hear anything back for over 3 days. So I tried to forward it to Sara's email. It got bounced back (unknown account). So once again as I said before, this is how it usually goes down, lots of talk, but little

[android-developers] Re: Sometimes the running emulator is not found from within Eclipse?!

2009-10-30 Thread Mariano Kamp
The issue still happens with Android 2.0 and ADT 0.94. 2009/10/13 Diego Torres Milano dtmil...@gmail.com +1 (Linux) On Oct 12, 2:55 am, idoun idou...@gmail.com wrote: I have also same problem after upgrading the plugin to 0.9.3 On Oct 10, 10:31 pm, Mariano Kamp

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

2009-10-30 Thread agirardello
Dear all, I'm trying to adapt my application (Personalytics) for the brand new Android 2.0, however I'm facing an issue while accessing contacts' phone numbers... What I need to do is to retrieve the name associated to a stored contact based on his/her phone number. At present I'm doing this in

[android-developers] Re: Keyboard, detect ALT Locked

2009-10-30 Thread vovkab
Any examples on how to detect locked state (shift or alt)? On Oct 29, 10:04 pm, Dianne Hackborn hack...@android.com wrote: Again, there is no lock state in general.  The text receiving input maintains its own internal state for some things like this; if you want to get at that state, you can

[android-developers] Re: App Fault [SIGSEGV]

2009-10-30 Thread vovkab
Filled two bugs here: http://code.google.com/p/android/issues/detail?id=4417 On Oct 28, 8:59 pm, fadden fad...@android.com wrote: On Oct 27, 5:12 am, vovkab vov...@gmail.com wrote: Why this can happen?   950                   DEBUG  I  *** *** *** *** *** *** *** *** *** *** *** *** ***

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

2009-10-30 Thread Greg Donald
On Fri, Oct 30, 2009 at 9:41 AM, Justin Giles jtgi...@gmail.com wrote: I'm not entirely sure the raw string vs resource string is the full issue here though.  It might be part of the problem, but not the whole explanation.  As Greg mentioned earlier, he never had his app name set as a raw

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

2009-10-30 Thread Mihai Fonoage
Hi Mark, The stack trace is as follows: W/System.err( 769): java.lang.Throwable: stack dump W/System.err( 769):at java.lang.Thread.dumpStack(Thread.java:610) W/System.err( 769):at package_name.SecondView.onDraw(SecondView .java:381) W/System.err( 769):at

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

2009-10-30 Thread String
On Oct 29, 7:44 pm, Mihai Fonoage fonoag...@gmail.com wrote: I have two views, one of which is a Chronometer. Whenever the Chronometer gets updated (every second, automatically, after its start () method has been called), the onDraw method of my second view is called. Any way I can stop this

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

2009-10-30 Thread Moto
Guys this is true... I got contacted by them via email not through this forum... So its legit... -Jona On Oct 30, 11:04 am, niko20 nikolatesl...@yahoo.com wrote: See I think this is starting to prove my point. I sent an email to Quentin. Didn't hear anything back for over 3 days. So I

[android-developers] Re: How to modify system preferences?

2009-10-30 Thread Grahamdroid
Settings.System.getInt(ContentResolver, settingToGetAt); On Oct 15, 1:40 am, Armond Avanes armond...@yahoo.com wrote: Hi Guys, Does anyone know how I can access and modify the system preferences (the options you see on system 'Settings' application)? Cheersss, Armond

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

2009-10-30 Thread niko20
Well great for you then.. But see my posts above. I had an email BOUNCED BACK. An email that was posted as we were supposed to be able to use. Once again it's disorganized (or seems so), so it starts to wither my faith. I think these companies need to understand, that as developers, we have

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

2009-10-30 Thread Mihai Fonoage
Thanks for the link String! I am trying to figure out what Drawable is shared between the Chronometer and my SecondView (which draws some bitmaps), but I cannot come with anything. Looking at my stack trace, there is nothing there to suggest anything similar. I will look more into that, but my

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

2009-10-30 Thread Mark Murphy
Mihai Fonoage wrote: I have a LinearLayout that contains the Chronometer (+ some TextViews all in another LinearLayout), and the SecondView view. I guess the problem is that all child views (Chronometer + SecondView) of the root LinearLayout view are updated in case one of its child views

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

2009-10-30 Thread skink
On Oct 30, 12:36 pm, Mihai Fonoage fonoag...@gmail.com wrote: Any help on this issue is greatly appreciated. Mihai Fonoage On Oct 29, 3:44 pm, Mihai Fonoage fonoag...@gmail.com wrote: Hello everyone, I have two views, one of which is a Chronometer. Whenever the Chronometer gets

[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

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

2009-10-30 Thread skink
On Oct 30, 5:15 pm, skink psk...@gmail.com wrote: On Oct 30, 12:36 pm, Mihai Fonoage fonoag...@gmail.com wrote: Any help on this issue is greatly appreciated. Mihai Fonoage On Oct 29, 3:44 pm, Mihai Fonoage fonoag...@gmail.com wrote: Hello everyone, I have two views, one

[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

[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: 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 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: 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: 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

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

2009-10-30 Thread Mihai Fonoage
Mark Murphy mmur...@commonsware.com 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.

[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 kumaravel.kandas...@gmail.com wrote: Quentin Perry, FYI -

[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: 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 devuni...@gmail.com

[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

[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

[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: 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: 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 lanils...@gmail.com 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

[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

[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: 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 fhu...@gmail.com 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).

[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

[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

[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 rbgrn@gmail.com wrote: I gotta throw it out there:  Can you try with

[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 eweq-t...@live.com wrote: Hey guys, I read this article herehttp://androidcommunity.com/android-coming-to-the-htc-touch-hd-20081007/

[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

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

2009-10-30 Thread pdecat
On 29 окт, 01:01, sanczo_dev adamfar...@gmail.com 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

[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

[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] 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

[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

[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 log

[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 adam.ornst...@gmail.com wrote: Hi all! Trying to set

  1   2   >