[android-developers] Re: Multiple data for an intent

2009-09-10 Thread Dianne Hackborn
Any application you are going to send multiple pieces of data to would need to be written to explicitly support it -- it's not like maps is magically going to do anything sane with multiple geo URIs even if there was a way to get them to it. Intent supports one data field. I doubt this will

[android-developers] Re: Content Provider VS SQLiteDatabase

2009-09-10 Thread Dianne Hackborn
Content provider is (generally) built on top of SQLite. You don't pick one or the other. On Wed, Sep 9, 2009 at 9:24 PM, Chris narendrasingh.bi...@gmail.com wrote: I would like to know the exact difference between Content provider and SQLiteDatabase. If we have to share our data among

[android-developers] Re: Native code is being called successfully but not executed properly

2009-09-10 Thread Dianne Hackborn
Hi, you are more likely to get help on android-ndk. On Wed, Sep 9, 2009 at 9:36 PM, pink 444 pnk...@gmail.com wrote: hai folks, In Android , Native code is written as follows. JNIEXPORT void JNICALL Java_com_android_Test_show(JNIEnv *env, jobject obj) { printf(THIS IS

[android-developers] Re: Multiple data for an intent

2009-09-10 Thread Dexter's Brain
Thanks Dianne, That, I guess answers my question. Dexter. On Sep 10, 10:59 am, Dianne Hackborn hack...@android.com wrote: Any application you are going to send multiple pieces of data to would need to be written to explicitly support it -- it's not like maps is magically going to do anything

[android-developers] Re: Native code is being called successfully but not executed properly

2009-09-10 Thread pink 444
Hai, I am newbie to Android ,Hence can you explain it in detail . Thanks in Advance, -Siva. On Sep 10, 11:02 am, Dianne Hackborn hack...@android.com wrote: Hi, you are more likely to get help on android-ndk. On Wed, Sep 9, 2009 at 9:36 PM, pink 444 pnk...@gmail.com wrote: hai

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-09-10 Thread kostmo
I have been investigating whether GoogleLoginService can substitute for ClientLogin (see http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html) on Google App Engine. To use ClientLogin, I solicit the username and password from the user in a dialog and exchange them on the Google

[android-developers] sqlite can't show chinese words

2009-09-10 Thread tstanly
hi all, I found that sqlite can't store chinese words and will shows random code in the application when retrieve data. can somebody give some help? thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: sqlite can't show chinese words

2009-09-10 Thread 楊健
I have try to store japanese and it works well.But the logcat can't show Japanese correctly,maybe you just test under eclipse, did you? -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of tstanly Sent: Thursday, September

[android-developers] Re: sqlite can't show chinese words

2009-09-10 Thread tstanly
under eclipse,the shell shows chinese ok (via sqlite3 and select *) but random code in the app then retrieve data from database, the same situation in the machine. thanks On 9月10日, 下午2時51分, 楊健 y...@cycomtech.co.jp wrote: I have try to store japanese and it works well.But the logcat can't show

[android-developers] Re: Translucent and FullScreen?

2009-09-10 Thread sleith
try this one :) requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); On Sep 10, 4:08 am, Illidane illid...@gmail.com wrote: Hi! I have an issue : I set

[android-developers] Re: Check for internet connection

2009-09-10 Thread andymoris
hi,Mark, i got errors in returning statement? do i need to catch the return value and display the status? I have been using: ConnectivityManager connMgr=(ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE); NetworkInfo info=connMgr.getActiveNetworkInfo(); return(info!=null

[android-developers] Re: Content Provider VS SQLiteDatabase

2009-09-10 Thread jayant
Hi Dianne, i get ur point that Content provider is built on top of SQlite but i wanna know is what additional features does a provider support. Say if a make my own Database Store class and provide methods in it to insert/update/delete into a database. And if i create a Provider for the same

[android-developers] Couldn't get connection factory client

2009-09-10 Thread Raja Nagendra Kumar
Hi, Map api of Google, is an excellent abstraction, however the error messages could be improved more. For the above erorr message in the subject and the same discussed in the message http://groups.google.com/group/android-developers/browse_thread/thread/94e3d0454612d143 it would be nice to

[android-developers] do i need to close cursor?

2009-09-10 Thread jerryfan2000
Hi, Just wondering is it necessary to close cursor when an activity is stopped or pause? --~--~-~--~~~---~--~~ 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 send DTMF in android?

2009-09-10 Thread legerb
ToneGenerator won't help here - This API is not for generating tones over the uplink audio path. On Sep 8, 12:44 pm, Mark Ellul mark.el...@gmail.com wrote: Hi Gulfam, Did you solve the issue? I am trying to do the same thing and only have a HTC Hero to test with and its failing as well.

[android-developers] Re: do i need to close cursor?

2009-09-10 Thread 楊健
You will see some warning info in logcat if you do not close it . -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of jerryfan2000 Sent: Thursday, September 10, 2009 4:14 PM To: Android Developers Subject:

[android-developers] Re: Couldn't get connection factory client

2009-09-10 Thread tstanly
I had met before, it's key issue. you may use different keystore to export signed apk. On 9月10日, 下午3時12分, Raja Nagendra Kumar nagendra.r...@tejasoft.com wrote: Hi, Map api of Google, is an excellent abstraction, however the error messages could be improved more. For the above erorr message

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Lee
Queue philosophy war. Another way one can look at this: your app is probably not nearly that important to most of your users.  We are increasingly working on ways to let the users know which apps are doing this kind of stuff, so they can make good decisions about the things running on their

[android-developers] Re: Translucent and FullScreen?

2009-09-10 Thread Peli
If you have a translucent activity, I guess you see the title bar of the activity below your activity, so this is the expected behavior. Peli www.openintents.org On Sep 9, 11:08 pm, Illidane illid...@gmail.com wrote: Hi! I have an issue : I set Theme.Translucent.NoTitleBar.Fullscreen for my

[android-developers] Re: Native code is being called successfully but not executed properly

2009-09-10 Thread Peli
You were posting to the wrong forum. Post your question here to get help: http://groups.google.com/group/android-ndk Peli www.openintents.org On Sep 10, 8:17 am, pink 444 pnk...@gmail.com wrote: Hai,     I am newbie to Android ,Hence can you explain it in detail . Thanks in Advance,

[android-developers] Re: How to display an arraylist

2009-09-10 Thread sweet
Thanks Yusuf it's answer my question for a part. Now i've change type of ArrayListArraylist to ArrayListString and i nearly understand how display this in the theory but eclipse don't accepte your code. I don't understand why you wrote list in list.setAdapter and why you wrote

[android-developers] Re: how do real-time monitor the state of SD card

2009-09-10 Thread ITWizard
Hi Jerry, take a look over the broadcast receiver, a tutorial about this you can find in here, with some code included: http://www.itwizard.ro/tag/broadcast-receiver Best regards, ITWiz On Sep 10, 7:18 am, jerry zhang...@dopod.com wrote: my quetion is from switching usb connected in the phone

[android-developers] Re: How to display an arraylist

2009-09-10 Thread sweet
Thanks Yusuf it's answer my question for a part. Now i've change type of ArrayListArraylist to ArrayListString and i nearly understand how display this in the theory but eclipse don't accepte your code. I don't understand why you wrote list in list.setAdapter and why you wrote

[android-developers] Re: Native code is being called successfully but not executed properly

2009-09-10 Thread ITWizard
Hi Siva, your printf call will be executed in C, while I presume you would like to see something being done in Java :) If you just want to see your method is being called, you have 2 options: a. in JNIEXPORT void JNICALL Java_com_android_Test_show(JNIEnv *env, jobject obj) open a file and write

[android-developers] Re: How to display an arraylist

2009-09-10 Thread sweet
It's good but i've to write your code differently: ArrayListString array_list = renvoi_liste_recette_xml(); list.setAdapter(new ArrayAdapterString(this, R.layout.liste,array_list)); But an error stay in the part list.setAdapter (list cannot be resolve) I've an other question in my XML file

[android-developers] Re: How to display an arraylist

2009-09-10 Thread sweet
It's good but i've to write your code differently: ArrayListString array_list = renvoi_liste_recette_xml(); list.setAdapter(new ArrayAdapterString(this, R.layout.liste,array_list)); But an error stay in the part list.setAdapter (list cannot be resolve) I've an other question in my XML file

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Dianne Hackborn
That's all well and good, but what I am responding to is your clear recommendation to the original poster to set an alarm to wake up every 5 seconds, as if this is a reasonable thing to do. If you want to propose having a UI for the user to set the wakeup interval to something unreasonable, that

[android-developers] Re: Content Provider VS SQLiteDatabase

2009-09-10 Thread Dianne Hackborn
If you need the features content provider adds (primarily interaction across separate application and associated discovery and cross-process calls, as well as MIME typing to integrate with intent resolution) then consider using it. Otherwise there probably isn't a reason to. On Thu, Sep 10, 2009

[android-developers] Re: sqlite can't show chinese words

2009-09-10 Thread Dianne Hackborn
It stores unicode characters fine. (I believe the internal encoding it uses is UTF-8, but this should be invisible to the Java level.) I would suggest looking at your code around it to make sure there aren't any encoding problems or such. 2009/9/10 tstanly tsai.sta...@gmail.com under

[android-developers] Re: How to display an arraylist

2009-09-10 Thread sweet
It's good but i've to write your code differently: ArrayListString array_list = renvoi_liste_recette_xml(); list.setAdapter(new ArrayAdapterString(this, R.layout.liste,array_list)); But an error stay in the part list.setAdapter (list cannot be resolve) I've an other question in my XML file

[android-developers] Sending a zip file as email attachment

2009-09-10 Thread Isuru danagalle
Hi All, Does any body know how to send a zip file as an attachment of an email? Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_EMAIL, mailto); sendIntent.putExtra(Intent.EXTRA_SUBJECT, Sample); sendIntent.setType(application/zip);

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Lee
On Sep 10, 8:58 am, Dianne Hackborn hack...@android.com wrote: That's all well and good, but what I am responding to is your clear recommendation to the original poster to set an alarm to wake up every 5 seconds, as if this is a reasonable thing to do. Of course I see your point, I was just

[android-developers] Re: Focusing the spinner object

2009-09-10 Thread Isuru
Hi Prashanth, I have already tried it.But what I need is a different thing.I want to highlight the border of the spinner object once it is got focused.Right now I can see highlight when the items of spinner are selected. I want to highlight the border of the original spinner

[android-developers] Re: How to display an arraylist

2009-09-10 Thread sweet
It's good but i've to write your code differently: ArrayListString array_list = renvoi_liste_recette_xml(); list.setAdapter(new ArrayAdapterString(this, R.layout.liste,array_list)); But an error stay in the part list.setAdapter (list cannot be resolve) I've an other question in my XML file

[android-developers] Re: Running Application as Service

2009-09-10 Thread javame_android
Hi, I want to continuously listen for incoming messages in background. So what would be the best way of doing it? Shall I make that application as Service or just registering it as BroadCast Receiver would do. If I register the listener then will it keep on running continuously. This receiver

[android-developers] Re: How can I start the ADB Deamon programatically ???

2009-09-10 Thread HandsomeboyIT
Thanks for your reply. It's not laziness but i can't read these source code. I had tried my best to find what the deamon's port is and what messages it receives but it seem to be too difficult for me to read these C/C++ source code. Can anyone help me ??? Thanks a lot. On Sep 10, 10:35 am,

[android-developers] Sending a Image as a body of email

2009-09-10 Thread Isuru danagalle
Hi All, I tried to send a image as a body of email. sendIntent.putExtra(Intent.EXTRA_TEXT, HTMLBODYbIMG SRC= \data:image/jpeg;base64, + uPathYour1.getPath()+.jpg + \ alt = \pleaseview this image\//b/BODY/HTML); However email was not received properly with the actual image. Anybody have

[android-developers] Map view

2009-09-10 Thread sasi kumar
Hi guys, I have doubt in map view. I need a mapview with marker. when i'm clicking the marker it should display some info window. when i click the info window it should goto another layout. any one can suggest idea for this.. -- Thanks Regards Sasi Kumar.S

[android-developers] Re: How to display an arraylist

2009-09-10 Thread sweet
I've done some modifications to my code and eclipse don't find any error but the emulator force my application to quit: java class: import java.net.URL; import java.util.ArrayList; import java.util.Collection; import javax.xml.parsers.DocumentBuilder; import

[android-developers] Re: Problem with launcher icon on update

2009-09-10 Thread MIMRAN D
Any idea about this point ? On 9 sep, 12:32, MIMRAN D david.mim...@gmail.com wrote: Hi, I have aproblemwith thelaunchericonwhen Iupdatemy application from 1.0 to 1.1. I have the rightlaunchericonin 1.0 but not in 1.1 just after anupdate. But, if I reboot my devices, it's ok. In the

[android-developers] Re: sqlite can't show chinese words

2009-09-10 Thread tstanly
thanks Dianne, but actually I use sqlite3 to insert a record not by program, and I check when the record is English words, the app can output correctly, soI don't think this is a code issue??? thanks On 9月10日, 下午4時02分, Dianne Hackborn hack...@android.com wrote: It stores unicode

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
Hello Dianne, My statement was a little misleading. Sorry for that. Actually i meant not an alarmbut actually a Phone state listener. The assumption is that my application sends and receives packets over a WiFi connection only. It does not use the cellular radio interface. Let me explain my

[android-developers] Re: Using Broadcast Receivers

2009-09-10 Thread Android Development
Thanks Dianne, Mark for the insight. I will keep note of this. On Wed, Sep 9, 2009 at 10:04 PM, Dianne Hackborn hack...@android.comwrote: They are also WAY more overhead than just doing things in the local process (you need to do an IPC to the system, it needs to schedule the broadcast, then

[android-developers] Re: Is there any method to read sms and gmail?

2009-09-10 Thread eaindra nilar
Hello, You can read sms this way public class SmsApp extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); String

[android-developers] XML parser

2009-09-10 Thread sasi kumar
Hi guys, I have a doubt in xml parsing. i'm parsing a xml file. that xml file contains more than 14000 lines. I'm fetching 15 tag in that xml file. it is taking more than 7 times to fetch. b'coz 14000 lines * 15 tag. that much time it is taking. can any one suggess any idea for this to reduce

[android-developers] Re: do i need to close cursor?

2009-09-10 Thread Sasi Kumar
close the sursor each time. b'coz when u try to open another time the cursor. it will show exception as already cursor as opened. so close the cursor On Sep 10, 12:13 pm, jerryfan2000 jerryfan1...@gmail.com wrote: Hi, Just wondering is it necessary to close cursor when an activity is

[android-developers] Re: XML parser

2009-09-10 Thread Lewis
I found XML parsing in android to be slightly buggy, the parser seemed to have some strange behaviour dealing with whitespace and some special characters. I used dom4j as an alternative and it worked fine This thread discusses dom4j on android:

[android-developers] Re: Is there any method to read sms and gmail?

2009-09-10 Thread 楊健
Thank you very much ,I will try this。 _ From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of eaindra nilar Sent: Thursday, September 10, 2009 6:59 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: Is there any

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

2009-09-10 Thread kabir
A bit late I know, but here's the website for my app, mobilematics: http://mobilematics.co.uk/ On Sep 9, 6:59 am, broc.seib broc.s...@gmail.com wrote: For ADC2 I created BabelSnap! for the Travel category. You use the device's camera to snap a bit of text, whether from a public sign, a menu,

[android-developers] Re: Voice 2 text help

2009-09-10 Thread Lance Nanek
On Sep 8, 10:15 am, Abhi abhishek.r.sha...@gmail.com wrote: I want to know if I can extract the text result on the list view and use it as a String further on? The part of code I am refering to is below where mList is defined as ListView: ArrayListString matches =

[android-developers] Scaled down image + bottom buttons in dialog

2009-09-10 Thread Lee
This one is driving me up the wall... I just want a scaled image at the top and a couple of buttons at the bottom. The problem is that when the image is bigger than the screen, it first takes up all the space it can due to the size of the image, so when the image is scaled down (taking into

[android-developers] local service lifecycle...

2009-09-10 Thread sdphil
i have a local service (based on LocalService). when I start my app, the service gets created. when I back out of my app (continuing to hit back until I get to the desktop), my service's onDestroy() gets called, but the service is still alive (presumably until android decides it's low on system

[android-developers] Re: local service lifecycle...

2009-09-10 Thread Mark Murphy
sdphil wrote: i have a local service (based on LocalService). when I start my app, the service gets created. when I back out of my app (continuing to hit back until I get to the desktop), my service's onDestroy() gets called, but the service is still alive (presumably until android

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Mark Murphy
Android Development wrote: 2. Now, if my application is idle (there is no incoming/outgoing traffic), i want to turn the screen off with the CPU still running by taking a PARTIAL_WAKE_LOCK. (Of course the user may switch to another application and turn on the screen in the process ! )

[android-developers] Re: Native code is being called successfully but not executed properly

2009-09-10 Thread Mark Murphy
pink 444 wrote: I am newbie to Android ,Hence can you explain it in detail . Step #1: Click the following link: http://groups.google.com/group/android-ndk Step #2: Join that Google Group. Step #3: Ask questions related to JNI work there. Android's SDK alone does not support JNI. Hence,

[android-developers] Re: Video quality

2009-09-10 Thread Engin Arslan
Any Suggestions?? On Sep 10, 2:05 am, Engin Arslan enginarsla...@gmail.com wrote: To be more specific, When I captured video, it only capture left top of screen with lowqualityas if it zooms top left of screen. What can be problem? On Sep 9, 10:07 pm, Engin Arslan enginarsla...@gmail.com

[android-developers] Re: Check for internet connection

2009-09-10 Thread Mark Murphy
andymoris wrote: hi,Mark, i got errors in returning statement? do i need to catch the return value and display the status? I am not certain that I understand the question. The code I listed was intended to be the body of some method. Here is a larger listing: public boolean

[android-developers] Re: local service lifecycle...

2009-09-10 Thread sdphil
based on some other posts I have seen, I created a static variable inside my service class and I initialize it to false. when the service is created, I set it to true. public class MyService extends Service { private static boolean running = false; ... ... @Override public

[android-developers] Re: local service lifecycle...

2009-09-10 Thread Mark Murphy
sdphil wrote: based on some other posts I have seen, I created a static variable inside my service class and I initialize it to false. when the service is created, I set it to true. public class MyService extends Service { private static boolean running = false; ... ...

[android-developers] Re: local service lifecycle...

2009-09-10 Thread sdphil
by the way, is there any way to know when Android is about to force- close your process / service? On Sep 10, 4:24 am, sdphil phil.pellouch...@gmail.com wrote: based on some other posts I have seen, I created a static variable inside my service class and I initialize it to false.  when the

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
Thanks for the reply Mark. I read from the docs that PARTIAL_WAKE_LOCK turns the screen off...but the CPU runs :( Flag ValueCPUScreenKeyboardPARTIAL_WAKE_LOCKhttp://developer.android.com/reference/android/os/PowerManager.html#PARTIAL_WAKE_LOCK On*OffOffMy goal is..to shutdown some of my services

[android-developers] Re: local service lifecycle...

2009-09-10 Thread Mark Murphy
sdphil wrote: by the way, is there any way to know when Android is about to force- close your process / service? Not really. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Mark Murphy
Android Development wrote: Only when i start receiving packets from the underlying IP Connectivity Network and my protocol listeners intercept the messages,then i want to re-start these other services. I do not know your application or what it is trying to achieve. I would recommend, though,

[android-developers] best way to resize a bitmap...

2009-09-10 Thread sdphil
i want to resize a bitmap and write to a file. what's the best way to do that? tia. --~--~-~--~~~---~--~~ 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: Native code is being called successfully but not executed properly

2009-09-10 Thread Chris Stratton
The fact that stdout does not point at the logs is android generic, not ndk specific. It derives not from the jni call, but from the excution environment of the vm, which probably has it pointed at /dev/ null. On Sep 10, 3:39 am, Peli peli0...@googlemail.com wrote: You were posting to the

[android-developers] XML RPC Parsing Error

2009-09-10 Thread SIDIBE Ali-Broma
I found xmlrpc problem alway! How to soleve this error of parsing? xmlrpc.android.XMLRPCException: org.xmlpull v1.XmlPullParserException : expected START_TAG {null} methodResponse ( position: start_tag html qxmls=http://www.w3.og/ 1999/xhtml'@2:44 in java.io. inputstreamrea...@435fi2a0)

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
On Thu, Sep 10, 2009 at 5:40 PM, Mark Murphy mmur...@commonsware.comwrote: Android Development wrote: Only when i start receiving packets from the underlying IP Connectivity Network and my protocol listeners intercept the messages,then i want to re-start these other services. I do not

[android-developers] Platform 1.5 with Google Map API does it has any platform number

2009-09-10 Thread Raja Nagendra Kumar
Hi, Is there a way to recognize 1.5 platforms with addon ap google maps. In absense of such things, we could recognize by trying to load the class MapView. In case the api level has different number for this special addon, we wish to use this approach. Regards, Raja Nagendra Kumar, C.T.O

[android-developers] Re: Running Application as Service

2009-09-10 Thread javame_android
Hi, I am currently just registering Broadcast Receiver for reading incoming messages. And this also works in Background which is what I required. Now is that Broadcast Receiver unregistered by Android Application Manager automatically or will it be able to process every incoming message. I just

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Mark Murphy
Android Development wrote: Ok, i will tell what the application is supposed to do. It is a SIP client. And *that* explains a lot! As per the standard procedures that i am following, whenever there is loss of radio connectivity with the base station / data connectivity with the underlying

[android-developers] Re: Cannot upload Promotional Graphic to Android Market

2009-09-10 Thread jsdf
It looks like the screenshots have stuck for the past few days, that's a little better. But, I'm with you, SoB, the promo graphics and promo text are still broken. On Sep 8, 8:41 am, Streets Of Boston flyingdutc...@gmail.com wrote: I meant that the 'images not sticking' problem does not occur

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
And *that* explains a lot! lol !! Thanks Mark. I am exploring another work around. When i start my stack, I bind it to a well defined IP and port. If IP connectivity is lost, then the stack should throw an exception. I am thinking of testing it out...catching that exception and then triggering

[android-developers] external flash app?

2009-09-10 Thread Troglodad
I am hoping to start learning how to make apps this winter, and am wondering if this is even possible... Could an app be developed that would sense the flash of an external flash device, and take a picture? --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
Yes. it worked..first the stack threw an exception..and then this nested exception: Caused by: java.net.BindException: Cannot assign requested address: Datagram send failed On Thu, Sep 10, 2009 at 6:28 PM, Android Development indodr...@gmail.comwrote: And *that* explains a lot! lol !!

[android-developers] Re: do i need to close cursor?

2009-09-10 Thread Felipe Silveira
It is recommended to close all cursors when you are not using they anymore. If you keep it opened, you will cause a memory leak on your application. Felipe Silveira On Thu, Sep 10, 2009 at 7:06 AM, Sasi Kumar sasikumar.it1...@gmail.comwrote: close the sursor each time. b'coz when u try

[android-developers] Re: Voice 2 text help

2009-09-10 Thread Abhi
@Mark, Sorry if I took you by surprise :) I see your name in a lot of discussions around here and have been reading your Book (Beginning Android), so thought you would know. Thanks anyways Thanks Lance, I thought I knew how to do that but just didn't have direction... slowly getting there On

[android-developers] Re: XML parser

2009-09-10 Thread Keean Schupke
Use the XmlPullParser. Regards, Keean. On Sep 10, 11:10 am, Lewis lewisandrewba...@googlemail.com wrote: I found XML parsing in android to be slightly buggy, the parser seemed to have some strange behaviour dealing with whitespace and some special characters. I used dom4j as an alternative

[android-developers] Re: DatePicker throw java.lang.StackOverflowError when embbeded with TableRow

2009-09-10 Thread drago
Great answer! So problem in my activity :) In old version of SDK 1.1 there was no restrictions in view hierarchy. Application was already optimized on the beginnin of woriking with SDK 1.5 when you wrote me the same answer). Delete something else means that I must to delete some useful controls

[android-developers] Re: external flash app?

2009-09-10 Thread Maps.Huge.Info (Maps API Guru)
If you want to depend on an external flash to trigger the camera, and use that flash to improve the picture, I think you'll find that impossible as the camera is way too slow to react to such a sudden event. Try triggering the camera manually. It takes about a second before the image is captured,

[android-developers] InstrumentationTestRunner not specified ??

2009-09-10 Thread WoodManEXP
Today Eclipse is telling me ERROR: Application does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner whenever I select the Run choice of the Run menu. What does this mean? The AVD manager is listing the target avd. The

[android-developers] Re: 【招聘】Androi d开发工程师 15-20w-北京

2009-09-10 Thread xii stan
在深圳可以吗? 本人熟悉java. c++ 开发10年经验。 2009/9/9 何斌斌 hbbs...@gmail.com hi, 如何联系, 本人的msn:hbbs...@hotmail.com 从事android开发:1.5 年 2009/9/8 IDA yydl...@gmail.com 职位描述: 从事Android或OMS平台手机终端应用的开发。 职位要求: 1、计算机及相关专业本科以上学历; 2、良好的Java技术功底; 3、熟悉Android系统架构及相关技术,1年以上实际Android平台开发经验; 4、熟悉无线网络及多媒体应用开发;

[android-developers] Re: external flash app?

2009-09-10 Thread Chris Stratton
I have a lot of video from various cameras of live events, where someone else taking a flash picture washes out a frame now and then. So one possible approach would be to see if you can run in video camera mode, with some control over the exposure so things are fairly underexposed, and feeding

[android-developers] Re: InstrumentationTestRunner not specified ??

2009-09-10 Thread WoodManEXP
Here is the AndroidManifest.xml file: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.myApp android:versionCode=1 android:versionName=1.0 application android:icon=@drawable/icon android:label=@string/ app_name

[android-developers] Invalid routing action. Node A2DP does not exist.

2009-09-10 Thread Mark Ellul
Hi, Can anyone Help me understand what this error message means? Or how I can avoid this error occurring? Its occurring on a HTC Hero. Invalid routing action. Node A2DP does not exist. It seems to occur when I am calling Intent to Dial a Number, you hear the first tone come through the speaker

[android-developers] Anyone know a lightweight geotagging library

2009-09-10 Thread admin.androidsl...@googlemail.com
I want to add gps latitude and longitude in a jpg. I can do it using Sanselan port to Android but the libray is 300kb and then copy protection on my app makes this 600kb - a huge increase in app size just to write a few exif tags. I've tried stripping down the Sanselan libraries to just the

[android-developers] Re: sqlite can't show chinese words

2009-09-10 Thread john
This is a code issue. There are many chinese application in Android Market It stores unicode characters fine On 9月10日, 下午5時37分, tstanly tsai.sta...@gmail.com wrote: thanks Dianne, but actually I use sqlite3 to insert a record not by program, and I check when the record is English words,

[android-developers] Crash at drawing WebView into the Canvas.

2009-09-10 Thread AJ
Hi All, I am facing a problem. I launched a webview with some url. After url is completely loaded I try to get its content in a Canvas. But I am unable to do so. its crashing at libsgl.so My goal is to get webview complete data in a bitmap. There is one api getDrawingCache() which gets the

[android-developers] Re: Translucent and FullScreen?

2009-09-10 Thread Illidane
I tried that.. status bar is visible :( On 10 Вер, 10:05, sleith raysle...@gmail.com wrote: try this one :) requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); On Sep 10, 4:08 am,

[android-developers] Re: Translucent and FullScreen?

2009-09-10 Thread Illidane
No, I don't see title bar, only status.. On 10 Вер, 10:36, Peli peli0...@googlemail.com wrote: If you have a translucent activity, I guess you see the title bar of the activity below your activity, so this is the expected behavior. Peliwww.openintents.org On Sep 9, 11:08 pm, Illidane

[android-developers] Re: InstrumentationTestRunner not specified ??

2009-09-10 Thread WoodManEXP
Oh, here ya go. Looking under Eclipse's Run-Run Configurations menu choice. Under that one can select a target AVD for the Android Application. That seems to do the trick. So if you get such an error try tinkering with the Run Configurations. On Sep 10, 10:04 am, WoodManEXP woodman...@gmail.com

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Chris Stratton
On Sep 10, 8:40 am, Android Development indodr...@gmail.com wrote: But if this connectivity was lost during the course of a SIP call, then i need to 'drop' the call, clean up its FSM and stop RTP flow. If you are on a SIP call, I would think by definition that the processor is not sleeping.

[android-developers] Re: InstrumentationTestRunner not specified ??

2009-09-10 Thread Urs Grob
You need to add uses-library android:name=android.test.runner / inside the activity tag. example: http://developer.android.com/guide/samples/ApiDemos/tests/AndroidManifest.html -- Urs On Thu, Sep 10, 2009 at 4:20 PM, WoodManEXP woodman...@gmail.com wrote: Oh, here ya go. Looking under

[android-developers] Re: InstrumentationTestRunner not specified ??

2009-09-10 Thread Urs Grob
Sorry ..inside the applicationtag On Thu, Sep 10, 2009 at 5:03 PM, Urs Grob grob@gmail.com wrote: You need to add uses-library android:name=android.test.runner / inside the activity tag. example: http://developer.android.com/guide/samples/ApiDemos/tests/AndroidManifest.html -- Urs

[android-developers] Re: How to get webview's content into a bitmap?

2009-09-10 Thread gjs
Hi again, I thought you pasted the correct code already ? Anyway for risk of being accused of writing the code for you, the following will write a jpg file, to the sdcard, which contains the entire content of the web page, when I test it on a G1 phone in portrait mode I get an image of the

[android-developers] Re: (unofficial) Bluetooth API v. 0.2

2009-09-10 Thread Steve Hassenplug
You may want to update the project summary, which currently says This library does to require a rooted device: it is intended to work with standard firmware provided by phone manufacturer. I think you want it to say it Does NOT require a rooted device... Steve On Mon, Sep 7, 2009 at 11:51 AM,

[android-developers] How to change width of a SeekBar?

2009-09-10 Thread WoodManEXP
How to change width of a SeekBar? Below is a TableRow with two items in it, a Button and a SeekBar. How can the SeekBar be made to extend its right side to fill in the remaining width of the TableRow? Currently I have only been able to control the SeekBar width by setting it’s

[android-developers] Re: How to change width of a SeekBar?

2009-09-10 Thread Mark Murphy
WoodManEXP wrote: Below is a TableRow with two items in it, a Button and a SeekBar. How can the SeekBar be made to extend its right side to fill in the remaining width of the TableRow? Currently I have only been able to control the SeekBar width by setting it’s android:layout_width

[android-developers] Re: InstrumentationTestRunner not specified ??

2009-09-10 Thread WoodManEXP
OK, I'll place that inside the application tag. The XML looks like this now. Can you tell if the other things in there are placed correctly? Thank you! ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.MyApp

[android-developers] Re: How to change width of a SeekBar?

2009-09-10 Thread WoodManEXP
I thought fill_parent would have worked as well but whenever it is set to that the SeekBar is very narrrow (maybe 40-50 pixels wide). BTW: No matter what kind of layout I have tried (Table, horizontal LinearLayout, etc...) the SeekBar behaves the same way. Unless I specify its width it is drawn

[android-developers] Re: Best practices for handling passwords/keys in open source projects?

2009-09-10 Thread Eric Mill
I'm not using Ant, and I'm not familiar with it at all. I'm using the regular Eclipse + SDK approach, and I'd like to stick with that. This API key also isn't used in a MapView (it's not for the Google Maps API), so I need a general sort of solution. Isn't there any way, using the Eclipse

  1   2   3   >