[android-developers] Re: Playing youtube videos on Android

2009-12-10 Thread vorcigernix
eh..forgot part of response: there is parameter on end of url which forces format, like: http://gdata.youtube.com/feeds/api/standardfeeds/watch_on_mobile?format=6 You can see details @ http://gdata.youtube.com/demo/index.html On 24 lis, 18:07, Nicholas Key nicholaskeythole...@gmail.com wrote:

[android-developers] Re: How can i stop a thread in a Activity?

2009-12-10 Thread Kumar Bibek
You can check this link on Sun site. http://java.sun.com/docs/books/tutorial/essential/concurrency/interrupt.html Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Dec 10, 10:03 am, Kumar Bibek coomar@gmail.com wrote: Interrupt the rhead. That's as good as stopping the

[android-developers] Re: The proper way to set a timer in android

2009-12-10 Thread Kumar Bibek
Use the AlarmManager. Refer to the online docs. There are a lot of samples out there. Thanks and Regards, Kumar Bibek http://tech-droid.blogspot.com On Dec 10, 3:34 am, n179911 n179...@gmail.com wrote: Hi, What is the proper way to set a timer in android in order to kick off a task (a

[android-developers] Re: SensorManager.registerListener gives unexpected results

2009-12-10 Thread TonyDoc
I'm running firmware 1.5, baseband I7500XXII5, kernel 2.6.27.35, build no 76XXCSDCBALUM6375 On Dec 10, 4:51 am, dan raaka danra...@gmail.com wrote: what is the full version name ? -Dan On Wed, Dec 9, 2009 at 10:41 AM, TonyDoc tony...@gmail.com wrote: Thanks Dan, I see K4 is out in the

[android-developers] How to communication with PC client.

2009-12-10 Thread feng jacky
Hi, I wrote a TCP socket client, an android application. On my emulator, it can successfully connect to a TCP sever running in my PC. But, when I deployed the the apk into my real phone, HTC g4, it dosen't work. An exception was raised said java.net.SocketException: Network unreachable. The

[android-developers] Is Android Speech recognition only available for english?

2009-12-10 Thread Flaviu
Hi guys, Is Android Speech recognition only available for english? I tryed to set EXTRA_LANGUAGE in the RecognizerIntent but it doesn't work. EXTRA_LANGUAGE - Optional language override to inform the recognizer that it should expect speech in a language different than the one set in the

[android-developers] Re: How to turn off the screen display?

2009-12-10 Thread olivier
For other people who are looking for, That's Settings.System with permission WRITTE_SETTINGS On 28 oct, 06:25, Arun arun.tripa...@gmail.com wrote: Can someone from Android expert team kindly look into this? Regards, -Arun On Oct 23, 6:51 pm, Arun Tripathy arun.tripa...@gmail.com wrote:

[android-developers] passing paramters using ksoap2 to .net web service, always passes nulls (empty) values

2009-12-10 Thread wedyan
Hi, I'm having a problem in calling .net c# web services from android using ksoap2. The call is executed just fine without parameters, but when I pass paramters of any type, the web service just recieves a null value. I tried everything possible but no luck so far. I hope someone can help, The

[android-developers] Re: Back-porting from Android 2.0 to Android 1.5

2009-12-10 Thread AJ
On Dec 7, 4:25 pm, Dianne Hackborn hack...@android.com wrote: On Mon, Dec 7, 2009 at 1:20 PM, AJ adam.j...@gmail.com wrote: 1) drawable verses the new drawable-* ... if I don't have an icon in drawable.png will my application be icon-less in 1.5? Do I need to copy one of the new icons in

[android-developers] Looking for Android Developers for 6 Months contract in the US

2009-12-10 Thread Raj
Folks Not sure if this is appropriate but couldnt hurt posting this one in a down economy. I am looking for two Android User Interface developers to join my team for a 6 month stint. The candidates must be in the US. I can only entertain US candidates at this time please. Preferably in NJ or

[android-developers] Simple Upload Application with Images

2009-12-10 Thread funnylookinhat
I'm baffled - and I'm sure it's something really easy. I'm trying to create an application that allows the user to select an image from their device, add some minor details, and upload it to a server. I'm getting my Image Uri with this: startActivityForResult(new Intent(Intent.ACTION_PICK,

[android-developers] Re: Updates to the Android SDK

2009-12-10 Thread arun
Hi, I have Android 1.5 Platform on my machine. I just installed the latest version i.e. 2.0.1 using the android- sdk_r04-windows.zip available online. I am using Eclipse Galileo IDE. I have few questions on this, 1 Can i switch to the new version by just changing the preference in the IDE to

[android-developers] Re: passing params from ksoap2 to .net web service, always passes nulls

2009-12-10 Thread wedyan
Hi Mike, I have exactly the same problem and I googled for more than a week with no luck. I just saw your post now. I hope you found the solution, if so, can you please post it? Thanks, On Dec 1, 3:52 pm, Mike_Tek neobu...@gmail.com wrote: i've searched and googled to no avail i can call

[android-developers] How to disallow task switching

2009-12-10 Thread DAVIDT
Hi All, How to disallow task switching? It is possible Thanks David -- 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] How do I get the current image using a service

2009-12-10 Thread Bastos
If I have a service running how can I get the current image/music/ video URI from the Gallery or another media app? -- 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

[android-developers] Problem with List view's getCheckedItemPositions() sparse boolean array

2009-12-10 Thread pvrnd pvrnd
(Sorry for re-mailing) Hi guys, I'm facing a problem with the result returned by list view's getCheckedItemPositions() method. This is the scenario: -I'm using a list view in multiple choice mode (list view with checkboxes) - the idea being that a user can select several items and delete them at

[android-developers] Upgrade from Android SDK 1.5 to SDK 2.0.1

2009-12-10 Thread arun
Hi, I had Android 1.5 installed on windows XP with Eclipse Galileo as IDE. I downloaded the latest Android SDK 2.0.1 from http://developer.android.com/sdk/index.html and unzipped to My question is, 1 Can I switch to the new SDK by pointing in Eclipse IDE in the preference to the installed dir

[android-developers] 2010 Mobile Developer Survey Invitation

2009-12-10 Thread Mobile Survey CMU
We are conducting a survey of mobile application developers aimed at improving our understanding of mobile application development, focused on developer practices for building mobile applications. This is a research project, sponsored by the CyLab Mobility Research Center of Carnegie Mellon

[android-developers] Failed to persist new stats

2009-12-10 Thread EricSR
Seeing this all the time pretty much after all key presses in log. Ideas? -- 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] Using custom defaults for PreferenceScreen

2009-12-10 Thread Thilo-Alexander Ginkel
Hello everyone, I am currently trying to implement a PreferenceActivity for my application that uses custom default values for its preferences instead of the defaults declared in the corresponding preference XML as the defaults are supposed to change dynamically based on certain conditions.

[android-developers] Re: Services, Intents and Wakelocks

2009-12-10 Thread BK
Hi Dan! I was following the pattern proposed in Mark Murphy's book Advanced Android Development. Unfortuantely it appears that the static variable mechanism for state doesn't work as the BroadcastReceiver can run in a separate DalikVM than the Service, making the static variable instances

[android-developers] Re: Updates to the Android SDK

2009-12-10 Thread arun
Hi, I had Android 1.5 installed on windows XP with Eclipse Galileo as IDE. I downloaded the latest Android SDK 2.0.1 from http://developer.android.com/sdk/index.html and unzipped to My question is, 1 Can I switch to the new SDK by pointing in Eclipse IDE in the preference to the installed dir

[android-developers] Problem with List view's getCheckedItemPositions() sparse boolean array

2009-12-10 Thread pvrnd pvrnd
Hi guys, I'm facing a problem with the result returned by list view's *getCheckedItemPositions() *method. This is the scenario: -I'm using a list view in *multiple choice mode* (list view with checkboxes) - the idea being that a *user can select several items and delete them at once*. -When the

[android-developers] Google Maps Navigation integration

2009-12-10 Thread RegisMelo
Hello Guys! There is any way to integrate Google Maps Navigation with my app? Regards, RM -- 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

[android-developers] Problem with List view's getCheckedItemPositions() sparse boolean array

2009-12-10 Thread pvrnd pvrnd
Hi guys, I'm facing a problem with the result returned by list view's getCheckedItemPositions() method. This is the scenario: -I'm using a list view in multiple choice mode (list view with checkboxes) - the idea being that a user can select several items and delete them at once. -When the user

[android-developers] Re: problem sending an email with an attachment programmatically

2009-12-10 Thread jasper
I'm trying to embed an HTML reference to an image to include in an HTML email. I used a SpannableString to successfully create an email that has a http href in it, as shown below. But I have not been able to add an image into the body of the email. Other programs add something like this directly

[android-developers] Extract list for android market?

2009-12-10 Thread Dennis The Tiger
I'm looking to create a backup/restore application for Android that uses an applications list to basically record what is installed (as opposed to merely saving the installed applications to the SD card on a device). The scope of this application would basically be to install a list of

[android-developers] Developer contest - win up to $15,000

2009-12-10 Thread Motally Mobile Analytics
Hi all, My company, Motally, is sponsoring a contest for application developers with over $15,000 in prizes including a trip to Mobile World Congress in Barcelona. All you have to do is integrate the Motally analytics API into your app to be eligible to win. Our API helps developers monitor

[android-developers] Widgets: controlling phone functionality

2009-12-10 Thread Derek
I'm a web developer who recently bought a Droid (Android 2.0) and was wondering if it's possible to write a widget that controls certain features of the phone (e.g. lock keypad, adjust screen brightness, etc.) Are there any tutorials that discuss this subject? Thanks! -- You received this

[android-developers] GeomagneticField - getDeclination() examples?

2009-12-10 Thread Nigel
Hello, I'm new to Java/android and im really having trouble finding a source of good example bits of code. As an actionscript developer I have been spoilt in the past with helpful examples included in with the reference guide. But no such luck with the android reference pages unfourtunately. Does

[android-developers] Re: java.lang.OutOfMemoryError: bitmap size exceeds VM budget

2009-12-10 Thread skominac
It appears that static members of activity remain allocated and referenced between consecutive runs of Activity. I can actually draw the bitmap from the previous launch -- in a new launch (between finish () calls). It's still there. So not only is memory of static members not deallocated (which

[android-developers] Re: h264 rtsp streaming problems on android.

2009-12-10 Thread 可卡因传奇
in oscl_error_codes.h #define OsclErrNoMemory 101 So I guess it is because of out of memory. On Dec 3, 6:56 pm, Ravinder ravinder.chou...@gmail.com wrote: Hi, I am currently involved with developing a streaming mediaplayerfor android. For testing purpose I have HTC HERO , HTC G1, and droid.

[android-developers] Using android.app.ActivityManagerNative and android.app.IActivityManager

2009-12-10 Thread Tom
I need to configure the language . After checking android Setting Code, I used that code: import android.app.ActivityManagerNative; import android.app.IActivityManager; Locale l = new Locale(zh, CN); IActivityManager am = ActivityManagerNative.getDefault();

[android-developers] Getting contact's address

2009-12-10 Thread Artak
My app had in intent-filter to respond when users click on a person's address in the contacts application. In Android 1.5 I would get an intent with data like content://contacts/people/16/contact_methods/3 In order to retrive the address from the contact I would later I would do: Cursor c =

RE: [android-developers] adding contact photos in emulator

2009-12-10 Thread Guna
Hi, If you access the contacts db, you can get all the details. For photo, you can get the path of the photo . Just use StreamReader and convert to bitmap. Guna -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of vidya

[android-developers] Creating a multi-choice list preference.

2009-12-10 Thread Dean_Kreger
I had been wondering how to do this for a long time, and I had seen some questions on this group, but no real answers. So, here's some code I whipped up and wanted to share with fellow devs: http://pastebin.com/f6cecdf72 Basically, instead of using views for the list options, when an item is

[android-developers] Re: How to send a motionEvent through a transparent activity

2009-12-10 Thread sheng wang
Not sure if I made this clear. In short, how to let the transparent activtiy process some touch event and let the screen behind it deal the rest touch event. 2009/12/9 Shawn Field banxia...@gmail.com Hi All, I made an activity with the transparent theme. When it starts up, the background

[android-developers] How to send a motionEvent through a transparent activity

2009-12-10 Thread Shawn Field
Hi All, I made an activity with the transparent theme. When it starts up, the background home screen or other activity can be seen. what I'm going to do is let my transparent activity handle the touch event if there is something drawn by the transparent activity, and let the other application

[android-developers] Re: Preference Validation

2009-12-10 Thread Dean_Kreger
Hey julius, You will have to extend the EditTextPreference class and override some methods in the underlying EditText (use getEditText()). Best bet would be to make your own key listener, and have it check what the current text in your EditText is. Then in your preference XML (or

[android-developers] Re: Lock Screen?

2009-12-10 Thread WaterSky
I also want to slove this problem. Do you have any idea now? I am trying using KeyguardManager to slove it. On Nov 19, 12:36 am, mehool mehoo...@gmail.com wrote: Hey, Is there some way that I can write a program tolockthescreen(the one that usually happens when you press the power buttong

[android-developers] Camera intent - what's safe to use?

2009-12-10 Thread API Tests
Hi, I'd like to let the user take a picture using the camera, then use it in my app. Ideally I could use the built-in camera app via an intent for this. It looks like there's a range of issues with the camera app though: http://code.google.com/p/android/issues/detail?id=1480 is the only

[android-developers] [Android Developers]how to make google's Java client library work in android

2009-12-10 Thread paul from china
Hi everyone: Does anybody know how to make google's Java client library work in android or some references? -- 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

[android-developers] New to Android

2009-12-10 Thread smithkjnc
Hello. I am new to the Android coding but not to programming as I learned on Pascal a LONG time ago. I would like to do some programming in this new language but need some tips and help. Sample code and video are always good for me as I am a visual learner but I welcome any and all help.

[android-developers] How can I kown when the scroller.startScroll method finished,please?

2009-12-10 Thread zefenggao
The Scroller class has a startScroll method ,I don't kown when it finish? is there any method like onScrollEnd? -- 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

[android-developers] Re: Multitouch support in Android 2.0

2009-12-10 Thread Peter Kirn
Coming in on this part of the thread late, but this is incorrect -- you *can* actually test multitouch by plugging in multiple mice. ;) The MT4j framework, built in Java with the use of Processing, does just this:

[android-developers] setting image as hyperlink

2009-12-10 Thread rafiqna...@gmail.com
Hi, I'm a beginner. This is my first post. I'm facing a problem. I want to show a image as a hyperlink. Touching that image will open the browser and go to given url. This should be in .xml file (not dynamic). Is it possible to do that? If yes, then how? Anyone please give me the code. Thanks --

[android-developers] Re: h264 rtsp streaming problems on android.

2009-12-10 Thread xxiao
what media player are you using? I tried to use PSA software's 'stream media player' on HTC Hero and it connects to RTSP but it can never 'open' the stream. I'm using VLC as the rtsp server and network is wifi. thanks, xxiao On Dec 3, 4:56 am, Ravinder ravinder.chou...@gmail.com wrote: Hi, I

[android-developers] Re: Seg fault on Emulator startup?

2009-12-10 Thread Daniel
Same problem happens to me today. with -no-audio options, I can start my emulator. My system is Arch x86_64 On Nov 24, 11:30 am, garycode garyma...@hotmail.com wrote: Hi, When I start the emulator with the command emulator -avd Android2.0 it comes up with Segmentation fault (core dumped)

[android-developers] ADB no response after a long time communicate with PC.

2009-12-10 Thread dogfish c.w.
For some reason, I need to communicate with my G1 by using ADB command Repeated for a long time, but often I cann't receive any response of ADB command after about 3 or 4 hours, does any one have an idea about this situation? -- You received this message because you are subscribed to the Google

[android-developers] Customizing the Emulator

2009-12-10 Thread stephanos
Hi folks, I'm just starting with Android. I'm wondering how I could modify/customize the Android emulator. By that I mean how to take the actual display and put it into another context (for example a TV frame). I would also need to add a few custom functions like Create a Screenshot etc. Can

[android-developers] Re: Rfcomm (2.0 1.6)

2009-12-10 Thread DrXyzzy
Previous posting matches experience here. Droid phone is exchanging data via RFCOMM with a wearable sensor with Mitsumi C46N BT part. I paired the devices by entering the sensor PIN on the phone in Bluetooth Settings, then the Android app created a BT client socket using the standard 128-bit SPP

[android-developers] User Interface and User Experience

2009-12-10 Thread TheGlad
Hello, dear developers, I know that every android UI (standard, HTS Sense) is just an app, just like the apps you develop for the Market. What APIs and concepts do I need to know to write my own skins or UIs for the platform? Thanks! -- You received this message because you are subscribed to the

[android-developers] Re: Strange behaviour with animation in tabhost

2009-12-10 Thread hkjin
Try this. compteurView.startAnimation(animationCompteur); In my case, starting animation from Animation instance didn't work when that event caused by click ImageButton. (works internally but not displayed) So I've tried start from view, and that worked. I don't know the difference between them

[android-developers] Google Location Service sometimes too busy for coarse location positioning request via cell ids?

2009-12-10 Thread chin...@tw-roc
All, I recently found that the Google Map Viewer's My Location function often doesn't return result these weeks. Here is the steps to test if this work in your area. 1. Turn off the Enable GPS satelites in Security location for My Location 2. Turn on Use wireless networks in

[android-developers] Question concerning List view's getCheckedItemPositions() method

2009-12-10 Thread cire
Hi guys, I had the following scenario: -I'm using a list view in multiple choice mode to enable a user to delete several items he/she has checked, at once. -When the user clicks the delete button, i do the following; *get positions of checked items using: myList.getCheckedItemPositions (); *Get

Re: [android-developers] Question concerning List view's getCheckedItemPositions() method

2009-12-10 Thread pvrnd pvrnd
No onez [?] ? On Wed, Dec 9, 2009 at 10:23 AM, cire pv.ra...@gmail.com wrote: Hi guys, I had the following scenario: -I'm using a list view in multiple choice mode to enable a user to delete several items he/she has checked, at once. -When the user clicks the delete button, i do the

[android-developers] GMail unread mail count

2009-12-10 Thread Christoph
Hello Forum, most other smart phones display the unread email count as a small number in the lower right hand corner of the email application icon. I like that. After realizing that this is not supported by the GMail app, I started looking around the market for a widget that achieves this. All I

[android-developers] Re: ADB working with HTC Droid Eris?

2009-12-10 Thread nethru
I got the same exact issue as original poster. I tried what was on that unlockr site but it didn't workeither. I see the Android Compsosite ADB Interface not connected and Android Phone HTC Android PHone USB Device connected. Any other suggestions? I can't use any ADB commands on the phone.

[android-developers] Images can run in emulator version1.11, but not in version1.12

2009-12-10 Thread Zacard Xu
I can run my images in emulator version1.11, but it failed in version 1.12. I have found their source code is so different. what wrong images? Can somebody take a look at bellow logs? emulator version 1.11's log(this success): emulator: qemud_serial_read: normal qemud detected. emulator:

Re: [android-developers] Re: App Not showing up on Verizon DROID Phones

2009-12-10 Thread David Overcash
I'm not sure - But I think that there are different stores for different versions of Android - and it just takes a bit for them to populate in, etc. On Wed, Dec 9, 2009 at 7:57 AM, Matt hansen.matt...@gmail.com wrote: Interesting. 10 minutes later, the app just started showing up. No idea

[android-developers] How to call a view from the view ?

2009-12-10 Thread RaidenDroid
Hi guys. I am a new developer for Android. I wanna know about View transitions. For my application, it has 5 screens that can shift each other. In order word, Screen1 - Screen2 -- Screen3 -- Screen4 - Screen5. How to make this screen transition on Android ? Please share the knowledge. Thanks

Re: [android-developers] Question concerning List view's getCheckedItemPositions() method

2009-12-10 Thread pvrnd pvrnd
Hey, i seriously think that this is a legitimate question - worth some thought.. On Wed, Dec 9, 2009 at 1:03 PM, pvrnd pvrnd pv.ra...@gmail.com wrote: No onez [?] ? On Wed, Dec 9, 2009 at 10:23 AM, cire pv.ra...@gmail.com wrote: Hi guys, I had the following scenario: -I'm using a list

[android-developers] no printk logs /var/log/syslog

2009-12-10 Thread Prashant
Hi, I am working with a driver module. Where are the the printk logs present There is no /var/log/syslog. How can i enable these logs ? Thanks. Prashant -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] InstrumentationTestCase vs ActivityInstrumentationTestCase2

2009-12-10 Thread zachariahyoung
Can anybody tell me the difference between these two Test Case? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Multitouch support in Android 2.0

2009-12-10 Thread Peter Kirn
Possibly worth adding -- while trying to analyze size is unwise with touchscreens as Dianne rightfully says, what some iPhone platform developers are doing is to determine pressure by analyzing the microphone input. This will work with Android, too (it's an old trick, pre-dating iPhone),

[android-developers] Re: Problem with ADP sensors

2009-12-10 Thread westman
No one cant help? maby google admins? -- 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] AdMob issue

2009-12-10 Thread Pankaj Deshpande
I am developing an application in which I have used AdMob. When I run the application on emulator the it runs proper i.e. I get ads near about 8 times out of 10 requests. But when I run it through handset, the response get decremented i.e. I get near about 1 to 2 ads out of 10 to 20 requests.

[android-developers] suspend / resume

2009-12-10 Thread formula g1
which braodcast-intent (or other trigger event?) is the native android musicplayer listening, to suspend/resume playing once a call is coming in? -- 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] Please help me find documentation on actions for the manifest file

2009-12-10 Thread Joe Mihalich
Hi, This has been killing me. I finally found examples around the net for things I wanted to experiment with. I had to go searching cuz I could find this information anywhere in the API Docs. Two things specifically that I'm interested in are: 1) For listening for

[android-developers] Re: How to call a view from the view ?

2009-12-10 Thread 1 tug b
Hi Guys. I've tried ViewFlipper. But it is not better idea. Because it is very hard coding. All screens are placed in main.xml. Can you recommend any better idea ? Thanks in advance. On Wed, Dec 9, 2009 at 8:31 PM, RaidenDroid tugsjarga...@gmail.com wrote: Hi guys. I am a new developer for

Re: [android-developers] Educating Users

2009-12-10 Thread Steve Wilson
2009/12/9 Wayne Wenthin wa...@fuligin.com Has anyone got a good method to teach users that the Market is a one way street and that I can't reply there.   I've tried putting that in the description, wasting valuable text space, I put in in my news button on the game but they still ask for

[android-developers] how is a 3G phone assigned an ip address?

2009-12-10 Thread billconan
hello guys, i'm wondering how is a 3g phone is assigned an ip address? is it like adsl? or is it like an inner network (Network Address Translation )? if i want to implement a p2p application, i need to dig hole on the inner network right? -- You received this message because you are

[android-developers] Getting an address from the contacts

2009-12-10 Thread Artak Kalantarian
My app has an intent-filter to respond when users click on a person's address in the contacts application. In Android 1.5 my app would start with intent like this: *content://contacts/people/16/contact_methods/3* In order to retrive the address from the contact I would later I would do: Cursor c

[android-developers] Re: Audio Decoder

2009-12-10 Thread eugene
Hi, have you found any more info on this? I too cannot find anything new in the documentation. I'm trying to figure out how to access coreaudio / decoders directly in an android app. Thanks On Oct 13, 11:31 pm, coolbanana johanst...@gmx.de wrote: Hi, is it now possiable mit sdk1.6 the

[android-developers] SSL handshake failure when server requests client certificate

2009-12-10 Thread doraemon
Hello, I am trying to authenticate a SSL client via client certificate to the server. Therefore, I extended Apache's ClientCustomSSL.java example by creating a new SSLSocketFactory object with keystore, keystore password and truststore (key- and trustore in bks format). If I run this modified

[android-developers] Bug in screen lock

2009-12-10 Thread Fabiano
Hi, i don´t know if this is the right place to report bugs, but there it goes: Android: 1.5 Phone: Samsung Galaxy Firmware: Any I found an annoying bug when the screen stops locking, and the workaround is to restart the phone or restart the dialer application. This bug happens when you use a

[android-developers] Re: Help with Map

2009-12-10 Thread stphnm...@googlemail.com
Hi, that was the problem! Was still extending Activity and not MapView. Now the map is loading! BTW: Yes, was the emulator, using the latest SDK version and i put in the debug number :) On Dec 8, 7:00 pm, TreKing treking...@gmail.com wrote: Does your Activity loading the MapView extend

[android-developers] Handler and Looper,Background service

2009-12-10 Thread Geet
whats d idea of handler and Looper combination? what is its significance while communicating from service to activity? and explain the concept of callback in context to handler and looper. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] How to update G1 firmware version to 2.0?

2009-12-10 Thread Clinton Roy
Hey, On Thu, Dec 10, 2009 at 12:49 AM, Disconnect dc.disconn...@gmail.com wrote: The word is the same as it was for 1.5 - it might come someday, it might not. 1.5 and 1.6 came (with some hacks, like offloading text-to-speech to an installable app) but only google knows right now and they're

[android-developers] Re: Question about unit testing a seek bar's events

2009-12-10 Thread zachariahyoung
Anybody have any ideas on this? On Dec 6, 9:45 pm, zachariahyoung zpyo...@gmail.com wrote: I have a very simple activity created with one seek bar.  I'm trying to figure out how best to unit test the events.  Below is how I have the seek bar wired up in my activity. EditText billAmount =

[android-developers] Where can I catch a point that is assured to be called when a Service is destroied

2009-12-10 Thread zhiyazw
Hello, I have a Service, it is started by StartService(...), my program never stop it. The service can be destroied in other cases, such as: Stop it in Application-Running Services run command: Kill pid System kill it in case of memory low Phone shut down other unlist condition... I

[android-developers] Re: Can recognizer use a file for audio input?

2009-12-10 Thread abnormative
Regarding the silly question, not the serious question, I have a data point. I used text-to-speech to output some audio at the same time as a transcription (Voice Recognition) Activity was listening for input. I got a successful transcription but the results were just a little better than random

[android-developers] Query Regarding Phone Call Origination and Termination - Application

2009-12-10 Thread chandira mohan
Dear All, I am trying to develop an application, which will originate a Phone call to a given number and end the same after some particular duration. I could originate the phone call with below code, but not able to terminate. Please help me. startActivityForResult(new

[android-developers] Re: How to Add Objects to Sqlite Database

2009-12-10 Thread EricWang
I think Berkeley DB Java Edition is a good option for you. By using DPL schema in Berkeley DB Java Edition, you can store any java class easily. Further, Berkeley DB Java Edition have better performance and higher concurrency support than SQLite. On 11月18日, 下午2时06分, naveenballa

[android-developers] Re: How to use do xml c14n in android?

2009-12-10 Thread EricWang
why I cannot post? On 12月10日, 下午2时21分, bear tung beart...@gmail.com wrote: i find c14n support in libxml2, but not able to use it in java. so, anyone help me? or i have to write jni myself to use it? thanks -- Bear ^O^ -- You received this message because you are subscribed to the Google

[android-developers] Re: How to Add Objects to Sqlite Database

2009-12-10 Thread EricWang
Why I cannot post? On 11月18日, 下午2时59分, Mark Wyszomierski mar...@gmail.com wrote: Do you have a database already setup and are wondering how to use thesqliteclasses, or you don't have one setup yet? If you're starting from scratch, I think the notepad tutorial shows you hot to setupsqlitefrom

[android-developers] Re: how to fetch datas from database like mysql/sqlite

2009-12-10 Thread EricWang
Why I cannot post? On 11月24日, 下午8时08分, siva siva80san...@gmail.com wrote: HI how to fetch datas from database like mysql /sqlite.can any one help me in this,i have tried the examples gave in the NOTEPAD sample.its not working(it dont shows any errors.) can any one guide me in this

[android-developers] Re: How to Add Objects to Sqlite Database

2009-12-10 Thread EricWang
I think Berkeley DB Java Edition (http://www.oracle.com/technology/ products/berkeley-db/je/index.html) is good option for you! By using DPL API in Berkeley DB Java Edition, any java class can be stored easily. Further more, Berkeley DB Java Edition have better performance and higher concurrency

[android-developers] without Absolutelayout, how to put button on arbitary coordinates

2009-12-10 Thread sheng wang
Hi, Since the absolutelayout is deprecated, how to put a widget (suck as a button) on arbitary (X,Y) thx -- 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

[android-developers] AdMob issue

2009-12-10 Thread Pankaj Deshpande
I am developing an application in which I have used AdMob. When I run the application on emulator the it runs proper i.e. I get ads near about 8 times out of 10 requests. But when I run it through handset, the response get decremented i.e. I get near about 1 to 2 ads out of 10 to 20 requests.

[android-developers] List view with textviews and imageview, best practices

2009-12-10 Thread Patrick Plaatje
Hi All, i'm developing an application which has an listview. I'm currently creating the list item view dynamically from code (linearlayout, which includes 2 textviews and 1 imageview), but i'd like to use an XML resource for this. I read it isresource intensive when getting this view using

[android-developers] Re: Pick photo from Gallery

2009-12-10 Thread Tom
This is the solution : in the activity class, I change onActivityResult method to handle picking contact and picking image from gallery. private static final int PICK_CONTACT = 0; private static final int PICK_IMAGE = 1; @Override public void onActivityResult(int reqCode, int

[android-developers] Re: Pick photo from Gallery

2009-12-10 Thread Tom
I forgot in the same class, I start intents : // Pick contact information from contacts list Intent i = new Intent(Intent.ACTION_GET_CONTENT); i.setType(image/*); startActivityForResult(i, PICK_IMAGE); // Pick image from gallery Intent intent = new Intent(Intent.ACTION_PICK,

[android-developers] Re: How to call a view from the view ?

2009-12-10 Thread Sierra Bravo
Not an expert, but I don't think Android works through 'screens'. What you may want to try out is to create as many activities as you have screens, attach the UI elements to each activity, and transition from activity to activity in your preferred order (thereby bringing up the respective

[android-developers] GK:How to Animate the single image in the Gallery

2009-12-10 Thread Jack Ganesh
Hi All, I added and displayed set of images in my gallery. I made like at a time use can view three images. Now I want to do different Animation for these images. I used following snippet but its refreshing entire Gallery. @ gallery.setGravity(10);

[android-developers] Re: Controlling my service from main activity

2009-12-10 Thread Neilz
Sorry to bump, but this must be possible? -- 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] How getting an APK's signature outside of Android (e.g. with jarsigner or another tool)

2009-12-10 Thread Guillaume Perrot
In Android we can get the signatures of a package with getPackageManager().getPackageInfo(packageName, PackageManager.GET_SIGNATURES).signatures; We can print a signature by calling signatures.toCharsString(); How to get the same string with jarsigner or another tool from the APK file ? --

[android-developers] Does android supports bootstraping

2009-12-10 Thread saikiran n
Hi, Is android supports bootstraping ? If so what are the apis to acheive this -- 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

[android-developers] Re: Replacing existing TabHost content

2009-12-10 Thread Miguel Paraz
Since this crashes with NullPointerException in onResume() after a period of time, my solution is to restart the activity instead by starting itself and then finish()ing. On Nov 16, 10:34 pm, Miguel Paraz mpa...@gmail.com wrote: Hi, Since theTabHostAPI does not offer a way to change existing

Re: [android-developers] Re: Controlling my service from main activity

2009-12-10 Thread Mark Murphy
Sorry to bump, but this must be possible? But if the main activity loses focus (i.e. I go to the home screen) when I return to the activity it has no knowledge of the service anymore - even though the service is still running. What do you mean by it has no knowledge of the service anymore?

  1   2   3   4   >