[android-developers] Re: Problem with app after update to 2.2

2010-06-02 Thread Zsolt Vasvari
I don't know what the source of your error is, but if this happened to me, I'd start removing stuff from my app and see what causes the exception to go away and go from there. On Jun 2, 4:23 am, Kiril Nedialkov kiril.nedial...@gmail.com wrote: Hi all, I recently update to 2.2 and encounter two

[android-developers] Re: We need Arabic support pleeeeeeas

2010-06-02 Thread Zsolt Vasvari
This for is for developers and not for end users to request new features. On Jun 2, 2:32 am, mohammed sabri moh.d_sa...@hotmail.com wrote: We need Arabic support pleeas ): -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Kill an app / package in API 8 (Froyo)

2010-06-02 Thread String
On Jun 1, 4:26 pm, Mats matshof...@gmail.com wrote: I have an app killing feature in one of my apps but up to API 7 i always worked with restartPackage(String PackageName); but since API 8 its deprecated so I tried killBackgroundProcesses(String PackageName) but that didn't work either.

[android-developers] List of all instantiated Activities

2010-06-02 Thread Ted Neward
Anybody know an easy way for an app to find all the instances of all the Activities currently alive in the current process? Yes, I could register each one into a static List someplace from the constructor of each Activity, but that requires developers to remember to put that code into every

[android-developers] Re: sendWallpaperCommand() behavior changed in 2.2

2010-06-02 Thread String
On Jun 1, 11:22 am, Ericson, Anders anders.eric...@sonyericsson.com wrote: Why should only the Home application send commands to the wallpaper? Shouldn't any application that displays the wallpaper as background be able to send commands? From what Romain said, this is indeed the case - any

Re: [android-developers] Re: Change Developer Account

2010-06-02 Thread Brad Gies
My guess is that it won't work. I unpublished an app several months ago, and it still shows in my developer account. I think you will have to rename your .apk, publish the new one and then modify the old one and add a message encouraging users to download the new one. You can always give them

[android-developers] Re: content provider, activity.startManagingCursor and simple dao

2010-06-02 Thread kamiseq
oh well what if you come back to app after a while and you need take first row from a table. oh comon this not a rocket science. sql is all well known. so how to query calllog in some normal manner Put in a constraint based upon date or something. -- You received this message because you are

[android-developers] how to reduce xml parsing time

2010-06-02 Thread Er. syed imran ali
hi all, in my application i have to read xml from web-service, it is working fine, but major problem is it is taking more time to parse data, though same data is taking less time on iPhone and Blackberry. i have similar code on blackberry it is taking less time to parse. is any fast parsing

[android-developers] Re: Tvout with Android Phones

2010-06-02 Thread FrankG
Hello Lance and Vivek, I simply wanted to point out that the hardware with HDMI and android support is there. The other question is, which features the concrete vendor can support on his platform .. these may differ. Maybe for the marketing and selling of a device it is enough to have a single

Re: [android-developers] Re: Asynchronous Http Request

2010-06-02 Thread Martins Streņģis
c'mon infinite loop :) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Re: Socket freezes using GSM connection

2010-06-02 Thread ayanir
Kostya, I've changed the reading as you suggested and I haven't found any significant improvement although I do think that you proposal is a better programing to avoid problems like connection problem which cause missing packets. I didn't understand if your implementation with NIO give you better

Re: [android-developers] how to reduce xml parsing time

2010-06-02 Thread Indrajit Kumar
On 6/2/2010 12:25 PM, Er. syed imran ali wrote: entBuilder db = dbf.newDocumentBuilder(); doc = db.parse(in); NodeList nodes = doc.getElementsByTagName(Member); if(nodes.getLength() 0){ for (int i = 0; i nodes.getLength(); i++) {

[android-developers] Re: Developer Console not showing number of apps

2010-06-02 Thread Tomáš Hubálek
I have the same issue. It looks like http://www.google.com/support/forum/p/Android+Market/thread?hl=entid=62421154b5203024 is still not solved. Tom On 1 čvn, 05:09, Edim eders...@gmail.com wrote: Hello, ps: sorry about my English... I had published an app and in two days the number of

[android-developers] Re: Developer Console not showing number of apps

2010-06-02 Thread Tomáš Hubálek
Edim, there is still issue (today we celebrate first week anniversary of this issue as this issue still seems to be living) in Developer Console (http://www.google.com/support/forum/p/Android+Market/thread? tid=62421154b5203024hl=en). Please fill out this form

[android-developers] Re: Android finishActivity()

2010-06-02 Thread kamiseq
do not startactivityfor result just start another activity On 2 June, 05:29, mike hasitharand...@gmail.com wrote: hi guys, i have 2 activities. (Activity A and Activity B). Main Activity A is the Starting Activity. Activity B will run on top of Activity B and is a Blur View. when i'm

RE: [android-developers] how to reduce xml parsing time

2010-06-02 Thread Ted Neward
Use a StAX parser instead of a DOM parser. StAX will let you look at the elements in order, but without having to read the entire thing into memory at once and then navigate the hierarchy. I can't remember if there's a StAX parser in Android (it was included as part of 1.4 or Java 5, I can't

[android-developers] Re: How do I programatically push my app to run in background?

2010-06-02 Thread Archana
Hi,I got answer for my question, We can use moveTaskToBack(true), This will Move the task containing this activity to the back of the activity stack. On Jun 1, 11:42 am, Archana archana.14n...@gmail.com wrote: Hi,Thanks for the example.So is it possible to exit from my app without using

[android-developers] Re: Kill an app / package in API 8 (Froyo)

2010-06-02 Thread Lee
killBackgroundProcesses works (you need a permission for it), but it merely restarts the background services, so it's a little poorly named. Lee On Jun 1, 4:26 pm, Mats matshof...@gmail.com wrote: Hi, I have an app killing feature in one of my apps but up to API 7 i always worked with

Re: [android-developers] Re: Tvout with Android Phones

2010-06-02 Thread Dilip Dilip
Hi , Thanks for the advice. I checked out that SAMSUNG Galaxy S I9000 outputs almost all what you see on mobile to any TV ( NTSC/PAL ) on 3.5 mm tvout cable. you need to enable tv out in settings for it. It outputs both UI and video. I am looking forward to buy this phone. Best Regards,

[android-developers] Re: List of all instantiated Activities

2010-06-02 Thread Guillaume Perrot
I already made something similar (limited to the current activity) and I did not find another way to access the activity instance. To limit errors, I made my modifications in life cycle callbacks and users have to inherit my Activity classes (I made a full set for convenience, there are 9 Activity

Re: [android-developers] Re: List of all instantiated Activities

2010-06-02 Thread Romain Guy
Let's step back a little bit. Ted, what is it you are trying to do? On Wed, Jun 2, 2010 at 1:24 AM, Guillaume Perrot guillaume.p...@gmail.com wrote: I already made something similar (limited to the current activity) and I did not find another way to access the activity instance. To limit

[android-developers] Re: Omap 3530 evm

2010-06-02 Thread FrankG
Did it crash without the cable ? From someone you got the flash tool, the details how to flash the devise and I assume also a orginal complete working build for this device. I would suggest you to a) run the device with the orginal build and save the kernel messages and then b) run your own

Re: [android-developers] Re: Socket freezes using GSM connection

2010-06-02 Thread Kostya Vasilyev
Ayanir, If the origin of this problem is losing GSM signal, then you've got handle Android specific broadcast actions to detect this. TCP/IP does not detect broken connections if there is no data being sent - i.e. you only find out that the connection is broken when you try to send. This is

[android-developers] Customize the lock screen or customizing its functionalites?

2010-06-02 Thread javame_android
Hi, I will like to develop an App which modifies LockScreen of Android. I have read in some forums that it is not supported as yet in the SDK but there are some applications available that does exactly that. One can surf http://www.androidzoom.com/android_applications/tools/

[android-developers] Re: Android finishActivity()

2010-06-02 Thread mike
hi kamiseq, so then how can i finish the Activity A from Activity B??? can't use finishActivity() regards, Randika -- 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: List of all instantiated Activities

2010-06-02 Thread skink
On Jun 2, 4:35 am, Ted Neward ted.new...@gmail.com wrote: Anybody know an easy way for an app to find all the instances of all the Activities currently alive in the current process? afaik, you can't do this you can however get total #Activities by calling Activity's static method

Re: [android-developers] Re: List of all instantiated Activities

2010-06-02 Thread Romain Guy
getInstanceCount() is there for debugging purpose and is not reliable. On Wed, Jun 2, 2010 at 2:14 AM, skink psk...@gmail.com wrote: On Jun 2, 4:35 am, Ted Neward ted.new...@gmail.com wrote: Anybody know an easy way for an app to find all the instances of all the Activities currently alive

[android-developers] Re: Kill running app

2010-06-02 Thread Nicolas Thibaut
you can use restartPackage both api 8 and 7. the api is deprecated but exists in api 8 and redirect to killBackgroundProcesses (I use it and it works) On 30 mai, 17:15, Mats matshof...@gmail.com wrote: Hi, I want my app to kill a running app but i got the problem that since API 8 the method

[android-developers] Re: List of all instantiated Activities

2010-06-02 Thread skink
On Jun 2, 7:16 am, Romain Guy romain...@android.com wrote: getInstanceCount() is there for debugging purpose and is not reliable. why is it not reliable? pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Re: List of all instantiated Activities

2010-06-02 Thread Romain Guy
Because it's implemented using finalize(). And in Froyo this will always return 0 btw. On Wed, Jun 2, 2010 at 2:25 AM, skink psk...@gmail.com wrote: On Jun 2, 7:16 am, Romain Guy romain...@android.com wrote: getInstanceCount() is there for debugging purpose and is not reliable. why is it

[android-developers] Change Android graphic display to directfb

2010-06-02 Thread suhas
Hi, I have to run the android on a directfb using device. Now I need to change the android graphic backend from framebuffer to directfb. Could anyone kindly explain the steps I need to go through to get this done. Thanks in Advance. Suhas -- You received this message because you are

[android-developers] Re: Android finishActivity()

2010-06-02 Thread NightGospel
Hi Mike, How about sending a broadcast to A when pushing back button in B ? NightGospel On 6月2日, 下午5時03分, mike hasitharand...@gmail.com wrote: hi kamiseq, so then how can i finish the Activity A from Activity B??? can't use finishActivity() regards, Randika -- You received this

[android-developers] Re: How to close toast when application is closed/hidden?

2010-06-02 Thread Gibson
Use http://developer.android.com/reference/android/widget/Toast.html#cancel() to cancel your toast. On Jun 1, 1:24 am, BoB ckleinem...@gmail.com wrote: Hey, This is probably a pretty easy question to answer but I couldn't find any answers on my own so: I'm writing a little app that uses

[android-developers] Re: CANNOT manage to get ADB working whatever I do.

2010-06-02 Thread brucko
for all adb devices(windows XP64bit) show no device (service started successfully, device recognized in Device Manager correctly). When you say correctly do you mean that it appears in the Device Manager BOTH as a ( Portable Device / Android Phone ) AND (Android Phone / ADB Interface). If you

[android-developers] Re: Android finishActivity()

2010-06-02 Thread mike
hi NightGospel, what exactly did u mean? could u please give me a sample? regrads, Randika On Jun 2, 3:48 pm, NightGospel wutie...@gmail.com wrote: Hi Mike, How about sending a broadcast to A when pushing back button in B ? NightGospel On 6月2日, 下午5時03分, mike hasitharand...@gmail.com

[android-developers] Re: Android finishActivity()

2010-06-02 Thread mike
hi NightGospel, what exactly did u mean? could u please give me a sample? regrads, Randika On Jun 2, 3:48 pm, NightGospel wutie...@gmail.com wrote: Hi Mike, How about sending a broadcast to A when pushing back button in B ? NightGospel On 6月2日, 下午5時03分, mike hasitharand...@gmail.com

[android-developers] Problem with multiple Intents in a ListView populated via subclass

2010-06-02 Thread Dominik Erbsland
I have a ListActivity which is being filled via an internal class OrderAdapter - while the list is being populated I set various OnClickListeners on the TextView elements which should open the same view with different parameter values per line. My problem I have is that no matter which entry in

[android-developers] 2.2 Google Api emulator not booting up

2010-06-02 Thread Ashok Jeevan
Hi, I just wrote a test app and deployed it via Google Api 2.2 emulator version 8. The emulator is running and the Android logo comes. But after that, no progress. When I checked the log, it shows a MountService with message 'waiting too long for mReady!' What should be done inorder to boot the

[android-developers] Re: CANNOT manage to get ADB working whatever I do.

2010-06-02 Thread Per
you can fetch it directly from HTC: http://www.htc.com/www/supportdownloadlist.aspx?p_id=312act=sdcat=all On 1 Jun., 14:29, HLL hll...@gmail.com wrote: Worth a shoot, could you upload this thing? cuz i don't have this thing on my card that came with the device... On Jun 1, 9:29 am, Per

[android-developers] Re: Managing a suite of applications

2010-06-02 Thread blcooley
I don't have a good answer for this, but I did go through the same thing as you. I recently published 6 apps on the same codebase with a few differing assets. I did it by refactoring in Eclipse, just like you mentioned. On May 25, 3:51 pm, Jonathan Johnson jonath...@gmail.com wrote: I asked this

Re: [android-developers] Problem with multiple Intents in a ListView populated via subclass

2010-06-02 Thread Mark Murphy
Dominik Erbsland wrote: I have a ListActivity which is being filled via an internal class OrderAdapter - while the list is being populated I set various OnClickListeners on the TextView elements which should open the same view with different parameter values per line. My problem I have is

Re: [android-developers] Re: Managing a suite of applications

2010-06-02 Thread Mark Murphy
blcooley wrote: I don't have a good answer for this, but I did go through the same thing as you. I recently published 6 apps on the same codebase with a few differing assets. I did it by refactoring in Eclipse, just like you mentioned. On May 25, 3:51 pm, Jonathan Johnson

Re: [android-developers] 2.2 Google Api emulator not booting up

2010-06-02 Thread Mark Murphy
Ashok Jeevan wrote: Hi, I just wrote a test app and deployed it via Google Api 2.2 emulator version 8. The emulator is running and the Android logo comes. But after that, no progress. When I checked the log, it shows a MountService with message 'waiting too long for mReady!' What should

[android-developers] Re: Android finishActivity()

2010-06-02 Thread NightGospel
Hi Mike, I mean you can register one BroadcastReceiver in A to receive the broadcast taht is sent from B. For example, public class A extends Activity{ public void onCreate(Bundle b){ . . . registerFinishedReceiver(); } private void registerFinishedReceiver(){

[android-developers] Re: Android finishActivity()

2010-06-02 Thread mike
hi NightGospel,, what exactly did u meant??? could you please give me a sample??? regards, Randika -- 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: SocketTimeoutException: Read Timed Out Occurs Only via Mobile

2010-06-02 Thread opok
Hello, I have the same issue, and it occurs only in mobile network not wifi, very strange. Can you tell me what exactly you did to fix that? On May 12, 6:33 am, Jeffrey jeffj...@gmail.com wrote: I've been experiencing something similar using HttpClient (also using URLConnection):

[android-developers] Re: Change Developer Account

2010-06-02 Thread Eddie Ringle
Renaming the apk will do nothing, you would have to at least change the package name. On Jun 2, 1:36 am, Brad Gies rbg...@gmail.com wrote: My guess is that it won't work. I unpublished an app several months ago, and it still shows in my developer account. I think you will have to rename your

Re: [android-developers] Re: Android finishActivity()

2010-06-02 Thread Sean Hodges
Mike, You've done half the work already, except there is a little confusion on the purpose of the finishActivity() method. That method only works the other way around (closing Activity B from Activity A). What you need to do now is send a result back to Activity A telling it to call finish().

[android-developers] Default Paint size too small on new device; is there a better source?

2010-06-02 Thread eehouse
My app uses a custom View that does a lot of text drawing. To ensure my text is always readable I've been using the result of calling getTextSize() on a newly-created Paint() instance as the minimum size. Docs say calling 'new Paint()' sets attributes like text size to default values. One of my

Re: [android-developers] Default Paint size too small on new device; is there a better source?

2010-06-02 Thread Kostya Vasilyev
Eric, I ran into same issues with my app. First of all, small text can be made more readable by calling paint.setAntiAlias(true); Second, I do my own text scaling based on the device's screen density. Something like: textSize = unscaledSize * screenDensity / 160.0f. Note that default

[android-developers] Re: Android to PC communication trough USB

2010-06-02 Thread ftovalle
thanks for your repply! But, i saw some applications that run trough usb connection, and do that communication very well. For example https://gems.codaset.com/jens-riboe/droidatscreen. This application shows a device screen in your pc, and do it trough usb connection. On 1 jun, 16:56, Bob

[android-developers] Re: Android to PC communication trough USB

2010-06-02 Thread ftovalle
Thanks for you repply! On 1 jun, 15:16, Alexander Kipar alexki...@gmail.com wrote: Hi, There isn't a system way to do this, but there aer some tricks. You could use ADB to forward PC port to Device port and create, for example, Socket connection between them. On Jun 1, 9:11 pm, Felipe

Re: [android-developers] Re: Android to PC communication trough USB

2010-06-02 Thread Mark Murphy
ftovalle wrote: thanks for your repply! But, i saw some applications that run trough usb connection, and do that communication very well. For example https://gems.codaset.com/jens-riboe/droidatscreen. This application shows a device screen in your pc, and do it trough usb connection.

[android-developers] Re: Email via seanhodges.co.uk website

2010-06-02 Thread Sean Hodges
Hello herrmie, What problems are you having? My post included some example code, is it this code you're having trouble with, or is it with adding the library to your project? Adding a library is relatively straightforward, although I admit I found it a bit confusing when I was starting off with

Re: [android-developers] Changing screens - switching between layouts?

2010-06-02 Thread TreKing
On Tue, Jun 1, 2010 at 7:34 AM, Serdel adam.lichwierow...@gmail.com wrote: Is this the correct way of organizing such an app in android or should I take another approach - if I should, please give a more detailed advice on how to do this. Usually you represent each screen with a new Activity

[android-developers] Call AT command / RIL / ATResponseParser

2010-06-02 Thread arnouf
Hi all, I would like to send some AT commands, from my Android application, to the RIL available on a phone. I read a lot of things about this : - it's not possible - it's possible - There are some API not documented about telephony which allow this How does it it work exactly? There is a RIL

[android-developers] Re: Problem with multiple Intents in a ListView populated via subclass

2010-06-02 Thread Dominik Erbsland
thanks for the hint. I have changed the inner class and put the clicklistener for the inner class as a whole - but I still have the same problem like before. private class OrderAdapter extends ArrayAdapterCheat implements OnClickListener { private ArrayListCheat items;

Re: [android-developers] About the mapview listener

2010-06-02 Thread TreKing
On Tue, Jun 1, 2010 at 8:14 PM, zhou haitao haitaozho...@gmail.com wrote: Please give me some suggestion. Have you looked through the Maps API documentation? - TreKing - Chicago transit tracking

Re: [android-developers] Re: Problem with multiple Intents in a ListView populated via subclass

2010-06-02 Thread Mark Murphy
Dominik Erbsland wrote: thanks for the hint. I have changed the inner class and put the clicklistener for the inner class as a whole - but I still have the same problem like before. That's because you didn't change anything that matters. Your onClick() method is still referring to the *last

[android-developers] HoW can we pass the two string values of one activity to another activity

2010-06-02 Thread Dixit Wadhwani
first.java ... String[] items={one,two}; Bundle map = new Bundle(); map.putStringArray(link,items); Intent myintent = new

Re: [android-developers] Re: HTTPS to acces my wcf from android appli

2010-06-02 Thread Lamia Hannoun
Well I only changed my wcf url, but i had the same error Not trusted server certificate Could u plz help me !! thx 2010/5/31 Nando Scheidecker nando.andr...@gmail.com All you have to do is to specify https. For instance: HTTPRequestHelper helper = new HTTPRequestHelper(myResponseHandler);

[android-developers] Re: Bluetooth socket to non Android device

2010-06-02 Thread Chris
I got it working, the problem was that I needed to pair with the device first (for some reason it kept an incorrect PIN and wouldn't pair). Here is a snippet BluetoothDevice device; BluetoothSocket tmpsock = null; int port = 1; ... try { Method m =

[android-developers] Wifi remains without events

2010-06-02 Thread Urizev
Hi, I have developed an application which manages the WiFi. It has no GUI and it only tries to connect to a specific WiFi network. I achieved it successfully but it has a weird error: Sometimes the WiFi system seems to be hung. It stops sending broadcast events and it does not connect. But when

[android-developers] Re: Default Paint size too small on new device; is there a better source?

2010-06-02 Thread String
I think it is a bug, personally. Paint has a similar problem with measureText(); it doesn't account for different screen densities correctly. My solution is similar to Kostya's: I handle it manually using the reported density of the display. String On Jun 2, 1:38 pm, Kostya Vasilyev

Re: [android-developers] Re: HTTPS to acces my wcf from android appli

2010-06-02 Thread Kostya Vasilyev
Lamia, I believe this is because you're testing your code with a self-signed certificate on the server. There is some information on how to make it work here: http://groups.google.com/group/android-developers/browse_thread/thread/1ac2b851e07269ba Note that disabling certificate checks

[android-developers] Preparing webapp for i-Jetty / using dx tool

2010-06-02 Thread Chris
Hi, Has anyone successfully converted their web app to work with i-Jetty? I seem to be unable... My first problem is trying to run the dx tool with argument given in i-Jetty's pom.xml file (I'm trying to mimic their process since I get errors when trying to run pom.xml with maven eclipse plugin).

Re: [android-developers] Wifi remains without events

2010-06-02 Thread Kostya Vasilyev
Is this the Moto Droid / Milestone by any chance? 02.06.2010 19:29, Urizev пишет: Hi, I have developed an application which manages the WiFi. It has no GUI and it only tries to connect to a specific WiFi network. I achieved it successfully but it has a weird error: Sometimes the WiFi system

Re: [android-developers] Re: HTTPS to acces my wcf from android appli

2010-06-02 Thread Lamia Hannoun
Well they all use HTTPCLIENT procedure, i'm using this kind of communication(HttpTransportSE) with my service here's a sample: *try* { SoapObject request = *new* SoapObject(*NAMESPACE*, *METHOD_NAME*); request.addProperty(value, 2); SoapSerializationEnvelope envelope =

[android-developers] Android Emulator and LTE technology :)

2010-06-02 Thread Károly Holczhauser
Hi Guys! Can anyone tell me how can I develop an application witch is using the newest 4G technology ( LTE ) ? I living in Hungary were still not available, maybe some year :) but I really would like to write an program witch using LTE to send and receive dates. If anybody has some idea please

[android-developers] Re: HoW can we pass the two string values of one activity to another activity

2010-06-02 Thread Kumar Bibek
Pass them as simple strings using the intent. Or you can pass String arrays also. putExtra(String name, String[] value); putExtra(String name, String value) And you have there get counterparts as well. Thanks and Regards, Kumar Bibek On Jun 2, 7:33 pm, Dixit Wadhwani

[android-developers] Failing JUnit tests, not breaking my Ant script like I expect?

2010-06-02 Thread whitemice
My continuous integration server runs an Ant script, which calls something like: /tests/ant run-tests My JUnit tests run, but with errors: run-tests: [echo] run-tests-helper. [echo] Running tests ... [exec] [exec] com.zedray.stuff.FooBarTest: [exec]

[android-developers] Re: Wifi remains without events

2010-06-02 Thread Urizev
No, I am developing and testing the application in a Dev G1 device. On 2 jun, 17:45, Kostya Vasilyev kmans...@gmail.com wrote: Is this the Moto Droid / Milestone by any chance? 02.06.2010 19:29, Urizev пишет: Hi, I have developed an application which manages the WiFi. It has no GUI

[android-developers] Load https requests with Webview.

2010-06-02 Thread psaltamontes
Hello, I'm trying to load https requests with a Webkit object but It shows only a blank page, with http requests I don't have problems, It shows the page correctly. I have look the source code of the browser, in

[android-developers] Google IO 2010 videos

2010-06-02 Thread Cleverson
Hi, Where are the Google IO 2010 videos? So many Android-related cool sessions and they'll be restricted just the fortunate guys who were there? I'm looking forward to watch them. Thanks! -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Google IO 2010 videos

2010-06-02 Thread Mark Murphy
Cleverson wrote: Where are the Google IO 2010 videos? http://code.google.com/events/io/2010/sessions.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.x Programming Books:

[android-developers] Re: AutoCompleteTextView woes

2010-06-02 Thread Kumar Bibek
Use the dismiss method. For dismissing, dismissDropDown() For showing, showDropDown() Thanks and Regards, Kumar Bibek On Jun 2, 6:05 am, Zsolt Vasvari zvasv...@gmail.com wrote: If I programatically set the value of an AutoCompleteTextView using setText() and the view

[android-developers] Re: Android finishActivity()

2010-06-02 Thread asicwizard
I am a little confused by what you are trying accomplish here. You are starting ActivityB and not finishing ActivityA. When you hit the back button you want it to finish ActivityB but NOT return to ActivityA? If you didn't want ActivityA anymore, why didn't you finish it? If you want to keep

[android-developers] how to obtain email address?

2010-06-02 Thread HeHe
does anybody know how to programmatically obtain the email address configured on an android phone? that is the one which was used to activate the phone? thanks in advance for the know-how. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Speech Recognition

2010-06-02 Thread GregM
Someone please answer this question! On May 24, 7:35 pm, minhaz minh...@gmail.com wrote: Hi In my emulator isRecognitionAvailable method from SpeechRecognizer class returns false and also when i run VoiceRecognition.java sample code on API level 8 platform 2.2 i got Recognizer not present

[android-developers] KeyEvent definitions / meanings?

2010-06-02 Thread nuvibob
Can someone point me to documentation with the definitions / meanings (i.e., what action is expected to be performed) for the KeyEvents? Aside from the obviouse KEYCODE_A to KEYCODE_Z, etc. there are some that I don't understand and I cannot find any mention anywhere on the web ?! Specifically

Re: [android-developers] Google IO 2010 videos

2010-06-02 Thread Abdul Mateen
Sorry I found much , but could not any video for of the android session. On Wed, Jun 2, 2010 at 9:23 PM, Mark Murphy mmur...@commonsware.com wrote: Cleverson wrote: Where are the Google IO 2010 videos? http://code.google.com/events/io/2010/sessions.html -- Mark Murphy (a Commons Guy)

Re: [android-developers] Google IO 2010 videos

2010-06-02 Thread Mark Murphy
Abdul Mateen wrote: Sorry I found much , but could not any video for of the android session. Second bullet on that page is: Wed June 2: Enterprise, Android Yesterday's videos were released about mid-day Pacific time. Please have a little patience. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Failing JUnit tests, not breaking my Ant script like I expect?

2010-06-02 Thread Xavier Ducrohet
failonerror only checks the return code of the app it's running. In this case adb runs correctly so your test doesn't break. Note however that while adb is not able to return the error code of the shell command it's running on the device, it's also not the issue in this case. am instrument does

Re: [android-developers] Google IO 2010 videos

2010-06-02 Thread Abdul Mateen
Ok Perfect, Got it Thanks for the answer. On Wed, Jun 2, 2010 at 10:42 PM, Mark Murphy mmur...@commonsware.comwrote: Abdul Mateen wrote: Sorry I found much , but could not any video for of the android session. Second bullet on that page is: Wed June 2: Enterprise, Android Yesterday's

[android-developers] Re: Android Emulator and LTE technology :)

2010-06-02 Thread Mike dg
Please pass your cat to my mom and we can talk bizness :) Long term expectency of Android is ++ this year for less than 4 Gs! On Jun 2, 11:56 am, Károly Holczhauser holczhau...@gmail.com wrote: Hi Guys!  Can anyone tell me how can I develop an application witch is using the newest 4G

[android-developers] Re: Themes, Styles and Items [How to create skins for apps?]

2010-06-02 Thread Moto
No idea what you mean about so what... The thing is I want my background to point to something like colorListItemBottom. Than each created Theme could change the color property of colorListItemBottom. On May 30, 10:37 am, helmi.mir...@gmail.com wrote: So what ? Powered by Telkomsel

[android-developers] How to take a photo and return a big image

2010-06-02 Thread guich
Hi, I have a simple task (simple in other platforms, not in Android :-( ): take a photo and return its pathname to the caller. I searched a lot the net and tried many variants to the code. I'm aware of the thumbnail image bug and am trying to bypass it. The following code works, but its

[android-developers] Display Widget inside activity?

2010-06-02 Thread Tommy
Hey everyone, I was wondering if there is a way to show a widget that I have created inside an activity. I have a weather widget and I also have an app I am working on that I would like to include weather reports in. Is there a way I can just re-use the widget code and make it show inside the

[android-developers] Re: How to take a photo and return a big image

2010-06-02 Thread guich
Well, since i don't believe there's a solution for the problem, at least i got something better. Still using approach #1, but now i delete the file from the Gallery. Uri uri = data.getData(); String ipath = getRealPathFromURI(uri); File f =

[android-developers] Re: How to take a photo and return a big image

2010-06-02 Thread guich
private String getRealPathFromURI(Uri contentUri) { String [] proj={MediaStore.Images.Media.DATA}; Cursor cursor = managedQuery(contentUri,proj,null,null,null); int column_index = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA); cursor.moveToFirst();

[android-developers] Re: Using Android Calendar ContentProvider.

2010-06-02 Thread AusR
I just had a look at the GDATA API. http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html (notice the version 2 in the url - nice - has android support) The getting started instructions read: For help setting up the client library, see the Getting Started Guide. To use the

[android-developers] ACTION_VIEW sefaults is no application installed for mimetype

2010-06-02 Thread jdeslip
Hi All, I have an app that downloads a pdf from a server and tries to open it with an itent: Intent intent = new Intent(); intent.setAction(android.content.Intent.ACTION_VIEW); File file = new File(filepath+filename); intent.setDataAndType(Uri.fromFile(file), application/pdf); try {

[android-developers] HttpUrlConnection and Sleeping Phones

2010-06-02 Thread Daniel Lew
I've run into a bizarre situation and I'm not sure how to solve it. The app I'm working on has a regular pull update that occurs every so often in the background. When the phone is on, it works. When the phone is using wifi, it works. However, if the phone is sleeping and connected only to 3G,

[android-developers] Re: ACTION_VIEW sefaults is no application installed for mimetype

2010-06-02 Thread jdeslip
Ooops. I figured this out. It was actually catching the problem fine but crashing during my txt2 writing. -Jack On Jun 2, 1:01 pm, jdeslip jdes...@gmail.com wrote: Hi All, I have an app that downloads a pdf from a server and tries to open it with an itent: Intent intent = new Intent();

[android-developers] How to tell which permission are required?

2010-06-02 Thread sandma...@libero.it
Hi, I have a problem with an application, that refuses to start, and I think it may be because of missing permission(s). Is there any way to tell which permissions are required by an application in order to run? Thanks -- You received this message because you are subscribed to the Google

Re: [android-developers] How to tell which permission are required?

2010-06-02 Thread Mark Murphy
sandma...@libero.it wrote: Hi, I have a problem with an application, that refuses to start, and I think it may be because of missing permission(s). Is there any way to tell which permissions are required by an application in order to run? There will be errors in LogCat when you lack a

[android-developers] Re: HttpUrlConnection and Sleeping Phones

2010-06-02 Thread Mike dg
Are you using a wakelock? On Jun 2, 4:10 pm, Daniel Lew danle...@gmail.com wrote: I've run into a bizarre situation and I'm not sure how to solve it. The app I'm working on has a regular pull update that occurs every so often in the background.  When the phone is on, it works.  When the

[android-developers] Emulator screen size is wrong

2010-06-02 Thread Leigh McRae
Hello, I created an emulator using API level 5 and skin WQVGA432. I would expect the display size would be 240x432 but I get 240x360 using the following code. Display display = getWindowManager().getDefaultDisplay(); int w = display.getWidth(); int h = display.getHeight(); Also I

Re: [android-developers] Emulator screen size is wrong

2010-06-02 Thread social hub
can u try Display display = getWindowManager().getDefaultDisplay().getMetrics(dm); dm.heightPixels. this gives absolute height. I think this is what you are after. On Wed, Jun 2, 2010 at 4:25 PM, Leigh McRae leigh.mc...@lonedwarfgames.comwrote: Hello, I created an emulator using API level 5

Re: [android-developers] AutoCompleteTextView static data. Slow performance.

2010-06-02 Thread TreKing
On Tue, Jun 1, 2010 at 7:27 AM, Oleksandr Stashuk sashko.stas...@gmail.comwrote: Is there any way to speed this up? Don't use such a large list. Try breaking up the one massive list into something you can index. For example, instead of 1 list of ~2000 items, you can have 26 lists of about 80

  1   2   >