[android-developers] where is the source code of binder driver?

2011-07-05 Thread Eric
I cannot find the binder driver source code, anybody please tell me where to find it, thanks -- 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] MyLocationOverlay very slow

2011-07-05 Thread Joan Pujol
Hi, I'm using MyLocationOverlay and it seems to be very slow. Inside home it can take 20-30 seconds while the google maps provides a pretty good location instantaneously. Someone has experimented that behaivour? Any workarround? Why it doesn't use last location? In my case has to be pretty good

[android-developers] how can i set the textColor of menu?

2011-07-05 Thread 执迷不悟
hi all: i try to set the style of android:panelTextAppearance ,but it did not work. please help me. -- 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] Unable to handle error in google map parsing

2011-07-05 Thread Md.Fazla Rabbi OPU
I am able to parse google map according to location name. Now my problem is when i enter a wrong location in my editbox and press enter button it crashes. I want: when no location is found then it will show a message *No Location found Enter location correctly* instead of crash. How can i do this?

Re: [android-developers] Re: custom events in android

2011-07-05 Thread Sachin Dole
Yes, I am familiar with that mechanism. However, that is not like the event/eventhandler mechanism that is available in javascript/gwt. In the asynctask mechanism, the asynctask#postExecute runs on the UI thread and the asynctask needs to passed in a view if a specific view needs to be updated.

[android-developers] Re: custom events in android

2011-07-05 Thread doles
Yes, I am familiar with that mechanism. However, that is not like the event/eventhandler mechanism that is available in javascript/gwt. In the asynctask mechanism, the asynctask#postExecute runs on the UI thread and the asynctask needs to passed in a view if a specific view needs to be updated.

[android-developers] error playing youtube video in my app....

2011-07-05 Thread Arpit Hada
HI all, I am getting a URL from web service which is of YouTube. I am trying to run it on my device and emulator as well, but it give a warning message Can't play video. This is the code I am using:- String linkURL = intent.getStringExtra(URL); videoView = (VideoView)

[android-developers] How to know what internal process runs an application

2011-07-05 Thread elDoudou
I am developing an Android application, which hosts two processes, as declared in the AndroidManifest.xml file through the android:process XML attributes : a first main process stated on the XML node with a value set to dummy.com ; a background service, declared as a XML node with a value set to

Re: [android-developers] App 2 SD on Xperia X8

2011-07-05 Thread Raghav Sood
Hi This has nothing to do with the developers list. Though, seeing as you are signed up and posting here you would be familiar with Android to the extent of knowing that Move to SD Card is only supported Android 2.2 onwards. Thanks On Mon, Jul 4, 2011 at 6:18 PM, Sam DSouza

[android-developers] Re: Back Ground Sound in Android

2011-07-05 Thread Doug
On Jul 1, 2:21 am, Devon Smith devonsmit...@gmail.com wrote: For Playing different sounds I have made a class SoundManager using soundpool now I can play a wanted sound on button click by my activities.But I want a back ground sound which will play through out my whole game ,from one activity

[android-developers] Re: How to set the target as ARM-v7 on eclipse under Linux

2011-07-05 Thread Doug
Start with the documentation: http://developer.android.com/sdk/ndk/overview.html Doug On Jul 4, 12:44 am, s.rawat imsaurabhra...@gmail.com wrote: HI All, How to set the target as ARM-v7 on eclipse for developing android application , by default it supports ARMv5 arch.I am using Eclipse under

[android-developers] Re: multiuser application, managing of custom back stack.

2011-07-05 Thread Andrey Stelmashenko
UPD: I found how some functions how to manipulate tasks by task id: public void moveTaskToFront (int taskId, int flags); but it is only since API level 11 But I use level 7, is there any technique how to move task to foreground? On 4 июл, 17:11, Andrey Stelmashenko andrey.stelmashe...@jevera.org

Re: [android-developers] custom events in android

2011-07-05 Thread Nikolay Elenkov
On Tue, Jul 5, 2011 at 1:46 PM, doles sachin.d...@gmail.com wrote: So, is there any way to fire events on an event bus in Android then? There is nothing specific to Android. Just define a listener interface, register some listeners and call those to fire an event. If you want to pass data, you

Re: [android-developers] Rotate Google Map

2011-07-05 Thread Kubilay D . Yılmaz
Sorry, what do you mean? I need only, if user turn right, then map which is in my application should turn right, how can i handle it? thank you On 5 July 2011 04:26, lbendlin l...@bendlin.us wrote: Your requirements contradict each other. -- You received this message because you are

[android-developers] Re: Save new contact in a custom account

2011-07-05 Thread Fugee
i am now on another profile. got it working by setting 'android:supportsUploading=true' now there is the next Problem, when editing or creating a contact the editor only shows the fields for name-data, no adress, no telephone . -- You received this message because you are subscribed to the

[android-developers] Re: Tracking the finger touch using MotionEvent ?

2011-07-05 Thread Doug
On Jul 4, 3:11 am, Turki iturki...@gmail.com wrote: I tried to track that using OnTouchListener and didn't work. Then, I read about Motionevent (here:http://developer.android.com/reference/android/view/MotionEvent.html) and I think it might help but I didn't know for sure if it will. My

[android-developers] Re: Soft Keyboard appears when entering on an Activity

2011-07-05 Thread jamesc
Add stateHidden to the activity's manifest entry under windowSoftInputMode. On Jul 4, 9:35 pm, fr4gus fggar...@gmail.com wrote: I'm able to replicate a unusual issue with EditText. But it doesn't happen on all devices. Let's say you have the following layout: ?xml version=1.0

Re: [android-developers] Rotate Google Map

2011-07-05 Thread Raghav Sood
He meant that you contradict yourself as in the first mail you want the app to turn with the user and you want north to stay on top as well. This would be impossible in a lot of cases. On Tue, Jul 5, 2011 at 12:40 PM, Kubilay D. Yılmaz kubilayd.yil...@gmail.com wrote: Sorry, what do you mean?

Re: [android-developers] Rotate Google Map

2011-07-05 Thread Kubilay D . Yılmaz
Dear Raghay, Sorry for first mail and missed explanation. Map has canvas.rotate method also all of many navigation application has this function. Our application has a mapview and user will use it on their cars and if users turn right, map right, if users turn left, map will turn left. Am I clear

[android-developers] Different ACTION_CALL intents

2011-07-05 Thread Neilz
Hi all. I'm looking at the intents for making calls, and there seem to be two options. 1) Using code: intent.setAction(Intent.ACTION_CALL); intent.setData(Uri.parse(tel: 0800123456)); This code actually makes the call. 2) In XML: android:text=0800123456 android:autoLink=all This code takes

[android-developers] Re: constructors on a View

2011-07-05 Thread Koh Chean Siong
Hi, Yes. As you seen all views in android contains all 3 types of constructors. When you are creating your own custom view, my best practices is to create all 3 of them as all of them are used in different situation. Start with (2) 2) View(Context,AttributeSet) - This will be called by android

[android-developers] Re: android facebook.

2011-07-05 Thread Ali Chousein
I've integrated Facebook in my application and I don't remember facing such problems. Your Facebook application has a different application ID than the Facebook application for Android. One application should not affect the correct execution of the other. If you provide the correct Facebook

[android-developers] SQLITE_CANTOPEN : sqlite3_open failing, not able to open from the libsqlite3.so (shared library)

2011-07-05 Thread s.rawat
HI All, I am trying to invoke the sqlite3_open functionality(from libsqlite3.so) on ARMv5 tablet but it is not happening giving error -- *SQLITE_CANTOPEN* ..The libsqlite3.so is linked with the main shared library testengine.so which I am loading via System.Load(testengine).I am not loading

[android-developers] How to have second launcher always open the application at specified activity

2011-07-05 Thread andrew
In my application, I have specified a second activity that can be launched form the launcher, using this manifest entry: activity android:name=.Lists.ListOfListsActivity android:icon=@drawable/ic_launcher_lists

[android-developers] Re: constructors on a View

2011-07-05 Thread doles
Thank you! That helps me understand this a bit further. I am still very hazy on how to make use of xml layouts in re-usable components, so at this point, the two longer constructors are no use to me, however, it seems like all three should be implemented if my code is to be turned over to other

[android-developers] Re: SQLITE_CANTOPEN : sqlite3_open failing, not able to open from the libsqlite3.so (shared library)

2011-07-05 Thread alan
sql lite is not a supported ndk library, therefore if you want to use sql lite you must compile your own library and not use the system one. -- 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] RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Alireza Asadi
hi there, I have developed a SIP based voip application, I have a Server(Written in c# and two android client application(which is written based on the Native Sip Stack of Android 2.3). The SIP registration works perfect and beside that streaming and playing of my voice also works perfect over

[android-developers] Streaming audio with Sip stack does not work on 3G network in Android 2.3?

2011-07-05 Thread Alireza Asadi
I have developed a simple client sip application on andorid by using SipDemo example which is provided by Google. My application(everything such as Authentication, Streaming, ...) works perfect over my WiFi network, but when I switch it in 3G network, just authentication of SIP session works fine

Re: [android-developers] RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Daniel Drozdzewski
On Tue, Jul 5, 2011 at 9:37 AM, Alireza Asadi asadi.alire...@gmail.com wrote: hi there, I have developed a SIP based voip application, I have a Server(Written in c# and two android client application(which is written based on the Native Sip Stack of Android 2.3). The SIP registration works

Re: [android-developers] External data an persistence across uninstall

2011-07-05 Thread Filip Havlicek
And why would you need that? I hate those applications I need to clean up after uninstallation. If you want to persist some settings or stuff like that, you can as well synchronize them online with your server. I, as user, actually assume and agree that when I press uninstall, everything gets

[android-developers] Re: RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Alireza Asadi
You mean my ANdroid Sip Client has problem? If so why when I use WiFi instead of 3G everything works fine?!! And also when I use CSipSimple as my sip client, I get the same problem :( On Jul 5, 12:43 pm, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: On Tue, Jul 5, 2011 at 9:37 AM,

[android-developers] Re: RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Alireza Asadi
You mean my android client has problem? If so why my android client works find when I switch my network from 3G to WiFi? And also when I use CSipSimple as my client I have got the same problem and voice does not hear when I use 3G network On Jul 5, 12:43 pm, Daniel Drozdzewski

[android-developers] Re: RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Alireza Asadi
You mean my android client has problem? If so why my android client works find when I switch my network from 3G to WiFi? And also when I use CSipSimple as my client I have got the same problem and voice does not hear when I use 3G network On Jul 5, 12:43 pm, Daniel Drozdzewski

[android-developers] Which button is clicked in my activity

2011-07-05 Thread Rockline
Hi all, I'm having a beginner issue. Sorry if my issue looks pathetic. I've got a custom button class so that I can declare lots of custom button objects in my Activity. The buttons are declared via an XML file. Each button is identified by a different text inside it ( setText(blabla) ). I'd

[android-developers] Re: Android device require to be re-booted in order to view newly added contact - code snippet attached

2011-07-05 Thread Ali Chousein
If you want to insert and delete contacts, why you don't use the ContactsContract interface (http://developer.android.com/reference/ android/provider/ContactsContract.html), but try to do some mumbo jumbo with Uri.parse(content://icc/adn)? -- Ali Chousein Geo-Filtered Assistant

[android-developers] Mediaplayer 's setOnCompletionListener is not working

2011-07-05 Thread gaurav gupta
Hi Guys, m using service to play a audio file in background. This is my PreviewServices class . package com.hungama.myplay.activity; import java.io.IOException; import com.hungama.myplay.db.DBManager; import com.hungama.myplay.model.DataManager; import android.app.Service; import

Re: [android-developers] Re: RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Daniel Drozdzewski
Look Asadi, Your question is as vague as they come. So was my answer. About your problem, there can be plenty causes. Keep in mind that in WiFi setting, all 3 parties involved (provider + 2 clients are on the same network), while when you are on 3G, they are not. Is your SIP server accessible

[android-developers] Re: Geocoder nightmare

2011-07-05 Thread Fina Perez
I had that exception once and it was because I didn't have any connection (network, wifi, gps), but I was testing in a real phone. Do you use the emulator? in that case, seems there is a bug (http:// code.google.com/p/android/issues/detail?id=8816) On Jul 5, 3:42 am, bob b...@coolgroups.com

[android-developers] Re: RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Alireza Asadi
Thanks for your reply mate, 1- I have 3 Sim Cards, two of them are in two separate android phone, and the other is connected to my SIP server(A PC of mine) throw GSM reader(GSM Modem) and all three SIMs are in the same 3G network, so I have a 3G network with 3 sequence IP address which the

[android-developers] Re: Which button is clicked in my activity

2011-07-05 Thread Jaswant
It's simple: call setonClickListener() method for each button u'hv created. and in onClick() method u can find clicked button by checking its text eg: void onClick(View v) { MyCustButton btn=(MyCustButton )v; if(btn.getText().toString().equals(blabla)) } --

[android-developers] Samsung Galaxy wont let me cd or ls in the data directory

2011-07-05 Thread MCON Dev
Hello, I am running ubuntu 11, and have connected samsung galaxy to my usb port. I ran ddms, shell and sqlite3. When I cd or ls in the data directory it reports permission denied. Please help. Conny -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Samsung Galaxy wont let me cd or ls in the data directory

2011-07-05 Thread Kostya Vasilyev
If you're talking about /data, or /data/data, or some other such directory - what you're seeing is normal. Devices (as opposed to emulators) use file system permissions to protect application-specific directories from unauthorized access. -- Kostya 2011/7/5 MCON Dev mcon...@gmail.com: Hello,

[android-developers] Re: Which button is clicked in my activity

2011-07-05 Thread Rockline
Hi, Thanks for your answer. However, this implies that I'll have to declare setOnClickListener for each button in my Activity object (in the constructor): Button MyButton1 = (Button)findViewById(R.id.MyButton1); generate_button.setOnClickListener(new Button.OnClickListener() {

[android-developers] android widget

2011-07-05 Thread yanamala siddaiah
onclick in emulator button is working. but in device it shows null pointer exception . ontuch event and it shows some line number textview 2332 -- 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: android facebook.

2011-07-05 Thread Jaswant
hi Just turn off the single sign-in. In Facebook.java class that comes with facebook sdk there is method shown below public void authorize(Activity activity, String[] permissions, int activityCode, final DialogListener listener) { boolean singleSignOnStarted = false;

[android-developers] Re: Which button is clicked in my activity

2011-07-05 Thread Jaswant
y u r creating new onClickListener every tym??? just implement OnClickListener explicitaly once and do whatever u want in onClick() method. like: public class MyActivity extends Activity implements OnClickListener { void onCreate(.) {

Re: [android-developers] More Market questions

2011-07-05 Thread Jim Graham
On Sun, Jul 03, 2011 at 04:46:58PM -0700, rich friedel wrote: I haven't usually experienced some of the weirdness that others here have talked about until recently. My stats have been going crazy for the past week. Sometimes they're up 5% sometimes (within hours) they're down 8% (the original

[android-developers] Re: RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Alireza Asadi
Someone please helps me :( -- 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

[android-developers] Re: Which button is clicked in my activity

2011-07-05 Thread Rockline
That's exactly what I needed. Sorry for the inconvenience. Thanks a lot. On Jul 5, 11:24 am, Jaswant jaswant1...@gmail.com wrote: y u r creating new onClickListener every tym??? just implement OnClickListener explicitaly once and do whatever u want in onClick() method. like: public

Re: [android-developers] Hardware capabilities

2011-07-05 Thread Mark Murphy
On Mon, Jul 4, 2011 at 10:43 PM, Christopher Van Kirk christopher.vank...@gmail.com wrote: Are there any function calls available, either in the native or java api's, that will allow me to query the device about its capabilities? Things I had in mind are clock speed, gpu type, memory size.

Re: [android-developers] How to know what internal process runs an application

2011-07-05 Thread Mark Murphy
On Tue, Jul 5, 2011 at 2:45 AM, elDoudou the.edouard.merc...@gmail.com wrote: I am developing an Android application, which hosts two processes, as declared in the AndroidManifest.xml file through the android:process XML attributes Why? You take up twice the RAM, so you are harming your users,

Re: [android-developers] Different ACTION_CALL intents

2011-07-05 Thread Mark Murphy
Use ACTION_DIAL instead of ACTION_CALL. As a bonus, you don't need the CALL_PHONE permission. On Tue, Jul 5, 2011 at 3:37 AM, Neilz neilhorn...@gmail.com wrote: Hi all. I'm looking at the intents for making calls, and there seem to be two options. 1) Using code:

[android-developers] Re: Not trusted server certificate

2011-07-05 Thread Jaswant
as u are using https u need to manually varify certificates: use this link get an idea and if steal got problem tell i'll solve ur problem http://androidforums.com/android-applications/60650-send-data-https-android-application.html Enjoy and never forget to say Jay Hind -- You received this

[android-developers] If you can't post to the list via Gmail, read this

2011-07-05 Thread Jim Graham
After having trouble posting here via e-mail for a while, and finally getting it working, I'm posting this for anyone (now or in the future) who is having similar troubles. If you can post via the web site's interface, but your attempts to post via e-mail return a bounce message saying that

Re: [android-developers] Re: Not trusted server certificate

2011-07-05 Thread NaveenShrivastva
On Tue, Jul 5, 2011 at 4:45 PM, Jaswant jaswant1...@gmail.com wrote: as u are using https u need to manually varify certificates: use this link get an idea and if steal got problem tell i'll solve ur problem

Re: [android-developers] Hardware capabilities

2011-07-05 Thread Nikolay Elenkov
On Tue, Jul 5, 2011 at 7:43 PM, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 4, 2011 at 10:43 PM, Christopher Van Kirk christopher.vank...@gmail.com wrote: Are there any function calls available, either in the native or java api's, that will allow me to query the device about its

[android-developers] Re: Hardware capabilities

2011-07-05 Thread Pent
Are there any function calls available, either in the native or java api's, that will allow me to query the device about its capabilities? Things I had in mind are clock speed, gpu type, memory size. Stuff that really makes or breaks your app's performance. I'l add 'available buttons' e.g.

Re: [android-developers] Re: Not trusted server certificate

2011-07-05 Thread NaveenShrivastva
Have u generated Certificate for communicate with server. -- 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] Data signature for Android images

2011-07-05 Thread salyer
Hi, I'm looking for a solution to authenticate all of the system images , included xload,uboot,boot.img,system.img recovery...via a data signature. Is there any existent solution for that. Thanks! BRs Paul -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Data signature for Android images

2011-07-05 Thread Mark Murphy
On Tue, Jul 5, 2011 at 7:41 AM, salyer salyer...@gmail.com wrote: I'm looking for a solution to authenticate all of the system images , included xload,uboot,boot.img,system.img recovery...via a data signature. Is there any existent solution for that. Please visit http://source.android.com for

[android-developers] Socket times out before the specified value

2011-07-05 Thread wolfman
Hi, I have a problem where the socket times out before the value which was set. The specified time I set is 30ms(5mins), yet I get a timeout error(408) after approx. 30secs. I have tried using

Re: [android-developers] Re: RTP Stream plays on WiFi but 3G netowrk - PLEASE,PLEASE,PLEASE HELP :(

2011-07-05 Thread Daniel Drozdzewski
On Tue, Jul 5, 2011 at 11:38 AM, Alireza Asadi asadi.alire...@gmail.com wrote: Someone please helps me :( You need to debug this more. People can't be guessing, what is going wrong. Try printing some data about each remote client (i.e. the caller) within the callee, data about each session,

[android-developers] Re: Installing APK + DB

2011-07-05 Thread NikolaMKD
The application will be complete if you ship the database as RESOURCE. And what about where will be database? That's irrelevant question as long as you have exact path. For example I have shipped a db in application in folder data/data/files, I specified the same path to the app, and that's it. As

Re: [android-developers] MyLocationOverlay very slow

2011-07-05 Thread TreKing
On Tue, Jul 5, 2011 at 1:12 AM, Joan Pujol joanpu...@gmail.com wrote: Someone has experimented that behaivour? Any workarround? http://android-developers.blogspot.com/2011/06/deep-dive-into-location.html

[android-developers] Re: Installing APK + DB

2011-07-05 Thread NikolaMKD
BTW: Regarding my previous I forgot to say. Your db path (data/data/ MYAPPL/databases ) is perfectly reasonable and right. On Jul 4, 3:58 am, hectordu...@yahoo.com hectordu...@yahoo.com wrote: there is something i don't understand ... if the application works fine into the emulator: --- does

Re: [android-developers] Data signature for Android images

2011-07-05 Thread salyer
Hi ,Mark Murphy Would you means http://groups.google.com/group/android-porting? Thanks! 2011/7/5 Mark Murphy mmur...@commonsware.com: On Tue, Jul 5, 2011 at 7:41 AM, salyer salyer...@gmail.com wrote: I'm looking for a solution to authenticate all of the system images , included

Re: [android-developers] Unable to handle error in google map parsing

2011-07-05 Thread TreKing
On Tue, Jul 5, 2011 at 1:22 AM, Md.Fazla Rabbi OPU md.fazlara...@gmail.comwrote: I am able to parse google map according to location name. Now my problem is when i enter a wrong location in my editbox and press enter button it crashes. Parsing a Google Maps response has nothing to do with

Re: [android-developers] Data signature for Android images

2011-07-05 Thread Mark Murphy
On Tue, Jul 5, 2011 at 7:57 AM, salyer salyer...@gmail.com wrote: Would you means http://groups.google.com/group/android-porting? The specific group would depend upon what it is you are trying to do. If you are trying to port Android to new hardware, then [android-porting] would be a fine list.

Re: [android-developers] How to have second launcher always open the application at specified activity

2011-07-05 Thread TreKing
On Tue, Jul 5, 2011 at 3:06 AM, andrew and...@mackenzie-serres.net wrote: Question: - how to specify an intent-filter that will force an activity to the foreground and be the selected activity, no matter what the current status of the application and it's current activity?? Look up

[android-developers] Re: Soft Keyboard appears when entering on an Activity

2011-07-05 Thread authorwjf
I had similar issues and with some testing found that adding: getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); as the last line of my onCreate() in each class that extends Activity did the trick. Like you the issue with the soft keyboard popping up did not

[android-developers] Re: Soft Keyboard appears when entering on an Activity

2011-07-05 Thread authorwjf
I encountered a similar problem and found with some testing that adding: getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); as the last line of the onCreate() for each class that extends Activity did the trick. P.S. I apologize in advance if this post shows

Re: [android-developers] Re: Installing APK + DB

2011-07-05 Thread Pepijn Van Eeckhoudt
On 04/07/2011 03:19, NikolaMKD wrote: Save it as resource in raw folder, load it as resource then try to copy it into app path. It does not need to be inside /databases folder. It can be anywhere (SDcard not recommended) Why is copying onto the sdcard not recommeded? Pepijn -- You received

[android-developers] null pointer exception

2011-07-05 Thread vani reddy
Hi all, I am getting null pointer exception in the second line below . connectivity = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE); boolean b = (connectivity.getActiveNetworkInfo() != null connectivity.getActiveNetworkInfo().isAvailable()

[android-developers] Re: Different ACTION_CALL intents

2011-07-05 Thread Neilz
Thanks Mark :-) On Jul 5, 11:47 am, Mark Murphy mmur...@commonsware.com wrote: Use ACTION_DIAL instead of ACTION_CALL. As a bonus, you don't need the CALL_PHONE permission. On Tue, Jul 5, 2011 at 3:37 AM, Neilz neilhorn...@gmail.com wrote: Hi all. I'm looking at the intents for

[android-developers] android sax parser with soap webservice ... need example

2011-07-05 Thread vijayakumar M
Hi Friends, i want know android sax parser with soap webservice . please help me friends. Note*: Atleast give anybody sample code or link thanks yours vijayakumar -- Nobody can go back and start a new beginning, but anyone can start today and make a new ending - Thanks, Regards,

[android-developers] Re: Switching b/w WiFi 3G

2011-07-05 Thread Ajay
Thank you for replying. But, the connection is failing when I try to reconnect with a new socket. On Jun 28, 5:58 pm, Mark Murphy mmur...@commonsware.com wrote: You will need to reconnect if your socket connection is dropped due to a change in connectivity, as your IP address will be different.

Re: [android-developers] Re: Switching b/w WiFi 3G

2011-07-05 Thread Kostya Vasilyev
Based on what I'm seeing with my devices when switching from mobile to WiFi, the broadcast for ConnectivityManager.CONNECTIVITY_ACTION with State.CONNECTED (TYPE_WIFI) comes too early, the device isn't ready to make connections over WiFi yet. WiFi becomes fully usable a couple of seconds

Re: [android-developers] android sax parser with soap webservice ... need example

2011-07-05 Thread TreKing
On Tue, Jul 5, 2011 at 7:23 AM, vijayakumar M iamvijayaku...@gmail.comwrote: android sax parser with soap webservice . please help me friends. Note*: Atleast give anybody sample code or link http://tinyurl.com/63k83jm

[android-developers] Billing System

2011-07-05 Thread Ahmed Shoeib
hi all , i want to know how to develop this ideas 1 - assume i have a free application on android market and this application is free and contain some locked service . now i need that when user click button to enable this service we will take it's cost from the user . 2 - using sms ... calling

[android-developers] HTTP Live Streaming (HLS)

2011-07-05 Thread Ajay
Hi, Does anyone know if HLS is supported on Android Phones (SDK version 3.0). I think it is not supported and is there a clue about adding this support? Thank you, AJ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Switching b/w WiFi 3G

2011-07-05 Thread Ajay
You are lucky! For me, it fails to connect every time on some attempts. On Jul 5, 5:34 pm, Kostya Vasilyev kmans...@gmail.com wrote: Based on what I'm seeing with my devices when switching from mobile to WiFi, the broadcast for ConnectivityManager.CONNECTIVITY_ACTION with State.CONNECTED

[android-developers] Android Charting dll for plotting Graphs

2011-07-05 Thread s.rawat
HI All, is there any charting dll or library for android with the sample code which can be used for plotting charts.I have used *dotnetcharting* dlls for plotting the graphs in the C# where you can get the sampe code for different forms of charts as well. Is there any such library for android wth

Re: [android-developers] Android Charting dll for plotting Graphs

2011-07-05 Thread Mark Murphy
ChartDroid AndroidPlot AChartEngine There are probably others, but those were what showed up in the first 10 seconds of searching on Google. On Tue, Jul 5, 2011 at 9:21 AM, s.rawat imsaurabhra...@gmail.com wrote: HI All, is there any charting dll or library for android with the sample code

[android-developers] Re: Dynamic Accordion Creation in android

2011-07-05 Thread Jatin D Patel
Link was incorrect in last email : here is the correct one http://jatin4rise.wordpress.com/2011/07/05/dynamic-accordion-creation-in-android/ On Tue, Jul 5, 2011 at 1:30 AM, Jatin D Patel depo.ja...@gmail.com wrote: Dynamic accordion creation Your Feedback / Comments will be Appreciated.

Re: [android-developers] External data an persistence across uninstall

2011-07-05 Thread Chris
In my case, its a backup database file that users would like to keep even if they uninstall the app (the user's data, not mine). For other applications, I guess it would depend on their requirements. Just wondering if there were any best practices or some consensus that I was ignoring.

Re: [android-developers] Re: Dynamic Accordion Creation in android

2011-07-05 Thread Mark Murphy
What are the benefits of this over ExpandableListView? And, can you play a polka with this accordion? :-) On Tue, Jul 5, 2011 at 9:34 AM, Jatin D Patel depo.ja...@gmail.com wrote: Link was incorrect in last email : here is the correct one

[android-developers] Disapearing imageview (combined animation-list with state list)

2011-07-05 Thread Serdel
I tried to combine animation-list with state list in my application. I found an answer here: http://stackoverflow.com/questions/5299219/button-states-with-background-as-animationdrawable-in-android My button has an animation and a 'pressed' state. The onClick listener simply exits the activity

[android-developers] Re: Mp4 video not playing in Galaxy Tab and MyTouch?

2011-07-05 Thread shubh
Heyy Mark ..can u please tell me what's mean by safe for streaming? On Jul 3, 5:03 pm, Mark Murphy mmur...@commonsware.com wrote: Your video may not be safe for streaming.

Re: [android-developers] Re: Mp4 video not playing in Galaxy Tab and MyTouch?

2011-07-05 Thread Mark Murphy
On Tue, Jul 5, 2011 at 9:54 AM, shubh shubhampatn...@gmail.com wrote: Heyy Mark ..can u please tell me what's mean by safe for streaming? http://stackoverflow.com/questions/523/where-to-place-videos-to-stream-android -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] External data an persistence across uninstall

2011-07-05 Thread TreKing
On Tue, Jul 5, 2011 at 8:44 AM, Chris crehb...@gmail.com wrote: Just wondering if there were any best practices or some consensus that I was ignoring. Not best practice but I put a clearly labeled directory at the SD card root. Not uninstalled by default but easy to find, identify, and

[android-developers] Re: Billing System

2011-07-05 Thread Chrystian Vieyra
You must collect the payment via an authorized Android Market Payment Processor. -- 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

Re: [android-developers] External data an persistence across uninstall

2011-07-05 Thread Kostya Vasilyev
Well, there is this data backup API: http://developer.android.com/guide/topics/data/backup.html It seems that not all phones have it, but for those that do, it's there and specifically addresses this scenario. -- Kostya 05.07.2011 17:44, Chris пишет: In my case, its a backup database file

[android-developers] Re:Need for Java / JSF Developer@@@IL

2011-07-05 Thread vikram murari
** ** ** ** Hi, Greeting’s Reply to mvik...@sureitinc.com and vik.sur...@gmail.com. ** ** ** ** * Title: Java / JSF Developer* * Location: Chicago, IL* * Duration:6-12 Months* *Start :ASAP* *Interview :phone* * * ** ** *Required skills:* * * **· **Intermediate or better

[android-developers] Re: XML Parsing

2011-07-05 Thread Krischik Martin
On 4 Jul., 07:06, Vikash vikash.andr...@gmail.com wrote: Can anybody send XML Parsing eBook or Documents to me. We have made good experience with android.sax: http://developer.android.com/reference/android/sax/package-summary.html It is pre-installed and simple to use. Martin -- You

Re: [android-developers] Re:Need for Java / JSF Developer@@@IL

2011-07-05 Thread Raghav Sood
This is a developers list, not a job opportunity classifieds. Please do not post here again. On Tue, Jul 5, 2011 at 7:50 PM, vikram murari vicky1.sur...@gmail.comwrote: ** ** ** ** Hi, Greeting’s Reply to mvik...@sureitinc.com and vik.sur...@gmail.com. ** ** ** ** * Title:

[android-developers] Re: Bluetooth Serial Port Question

2011-07-05 Thread Si
Just to let you know that I ordered a new handset with 2.3.3 and I can connect to my device (using the UUID you described above). Many thanks! Now the hard part starts!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: constructors on a View

2011-07-05 Thread Koh Chean Siong
Yeah, if you plan for re-use, it is better to implement them. On Jul 5, 4:17 pm, doles sachin.d...@gmail.com wrote: Thank you! That helps me understand this a bit further. I am still very hazy on how to make use of xml layouts in re-usable components, so at this point, the two longer

[android-developers] Translated coordinate by y when touching on a view

2011-07-05 Thread viktor
Hi, what's the problem with coordinates on Android, I draw point on 220,400 (240*400), then touch on screen, touch event return point of 220,380, where are 20 pixels? When I touch on the right-top, its OK, point 240,0. -- You received this message because you are subscribed to the Google

[android-developers] Re:Need for Peoplesoft Technical CRM Consultant@@@NE

2011-07-05 Thread vikram murari
** ** ** Hi, Greeting’s Reply to mvik...@sureitinc.com and vik.sur...@gmail.com. ** ** ** ** Title: People soft Technical CRM Consultant Location: Kearney/Omaha, Nebraska Length: 3-6 months Start: ASAP Interview: phone Production support for CRM 9.0 –

[android-developers] Re: Not able to find MonkeyImage.java in android 2.3 SDK

2011-07-05 Thread Diego Torres Milano
monkeyrunner source is in the SDK project: http://android.git.kernel.org/?p=platform/sdk.git;a=summary On Jul 1, 3:41 am, Gaytri gaytri.ba...@gmail.com wrote: Hi All, I am stuck in very basic problem of monkeyrunner. I have android 2.3 installed on my ubuntu machine. And I am working on

  1   2   3   >