[android-developers] Ping a Bluetooth device from an Android device

2011-07-05 Thread Joe Fernandez
I would like to know if a Bluetooth device given its MAC address is available (on and within reach) or not. Something like a ping (l2ping), some quick method. I tried to check by trying to establish a connection but it takes too much time as well as doing a discovery process. Do you know any faste

[android-developers] how to use setPreviewCallbackWithBuffer() for real-time camera processing

2011-07-05 Thread Qianqian Fang
hi I am new to android sdk. I need to write a program to process the camera image frames. I found "setPreviewCallbackWithBuffer()" from the sdk documentation, but did not figure out how to get it to work. Here is my code skeleton: public void onResume() { super.onResume(); c

[android-developers] Payments in Android -- HTML5?

2011-07-05 Thread Honor Gunday
Hi everyone, I was just curious what's everybody's thoughts on processing payments in-app or on the mobile devices. Apple doesn't allow non-revenue generating ways to earn money from the apps, Google is probably going to go the same route. Would there be value in an HTML 5 based payments platfor

[android-developers] in-memory caching?

2011-07-05 Thread doles
Hello, How is in-memory caching achieved in android? For example, i have static data such as state list in the United States. I would like to keep that list in a file or somewhere in an online service. However, when the app is running, I'd rather store in memory in the app itself. How is that a

[android-developers] Multiple tasks within application

2011-07-05 Thread Roman Mazur
The problem I'm trying to solve is how to support a number of separate back stacks and switch between them. It's caused by the need to support multiple users of application (and device) and to store the state for everyone. There was the next implementation attempt. When a new task is required for

[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 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 monkeyrunner. My > fram

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

[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 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 constructors are no use to m

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

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 wrote: > > ** ** > > ** ** > > Hi, > Greeting’s > > Reply to mvik...@sureitinc.com and vik.sur...@gmail.com. > > ** ** > > ** ** > > * Title: Java / JS

[android-developers] Re: XML Parsing

2011-07-05 Thread Krischik Martin
On 4 Jul., 07:06, Vikash 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 received this message because

[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

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 th

[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 TreKing
On Tue, Jul 5, 2011 at 8:44 AM, Chris 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 delete, if the user w

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 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 | http://github.com/commonsguy http://com

[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 wrote: > Your video may not be "safe for streaming". > > http://stackoverflow.com/questions/523/where-to-place-videos-to-s...http://stackoverflow.com/questions/1841397/android-mediaplayer-emul

[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 (n

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 wrote: > Link was incorrect in last email : > here is the correct one > http://jatin4rise.wordpress.com/2011/07/05/dynamic-accordion-creation-in

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. Thanks

[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 wrote: > Dynamic accordion creation > > Your Feedback / Comments will be Appreciated. > > > http://jatin4ris

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 wrote: > HI All, > is there any charting dll or library for android with the sample code which > can be used for pl

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

[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 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 (TYPE_WIFI) come

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

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 wrote: > android sax parser with soap webservice . please help me friends. > > Note*: Atleast give anybody sample code or link > http://tinyurl.com/63k83jm --

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 a

[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 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. > > > > > > > > > > O

[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: Different ACTION_CALL intents

2011-07-05 Thread Neilz
Thanks Mark :-) On Jul 5, 11:47 am, Mark Murphy 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 wrote: > > Hi all. > > > I'm looking at the intents for making calls, and there seem

[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() &&

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 thi

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

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 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 taskAffinity and see if that do

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

2011-07-05 Thread Mark Murphy
On Tue, Jul 5, 2011 at 7:57 AM, salyer 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. -- Mark Murphy (a

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 wrote: > 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 Android. > I want: w

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 : > On Tue, Jul 5, 2011 at 7:41 AM, salyer wrote: >> I'm looking for a solution to authenticate all of the system images , >> included xload,uboot,boot.img,system.img recovery...via a d

[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" wrote: > there is something i don't understand ... > if the application works fine into the emulator: > --- does not mean that it

Re: [android-developers] MyLocationOverlay very slow

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

[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] 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 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, each audio stream and conn

[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 HttpURLConnection and DefaultHttpClient, I get the same error for both. The code works ok for

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

2011-07-05 Thread Mark Murphy
On Tue, Jul 5, 2011 at 7:41 AM, salyer 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 questions regardi

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

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-develop

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

2011-07-05 Thread Nikolay Elenkov
On Tue, Jul 5, 2011 at 7:43 PM, Mark Murphy wrote: > On Mon, Jul 4, 2011 at 10:43 PM, Christopher Van Kirk > 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 sp

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

2011-07-05 Thread NaveenShrivastva
On Tue, Jul 5, 2011 at 4:45 PM, Jaswant 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 > > http://androidforums.com/android-applications/60650-send-data-https-android-application.html > > >

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

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

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 wrote: > 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); > in

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 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, and I don't know of a go

Re: [android-developers] Hardware capabilities

2011-07-05 Thread Mark Murphy
On Mon, Jul 4, 2011 at 10:43 PM, Christopher Van Kirk 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. Stuff that really makes or > br

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

[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.co

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 origin

[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(.) { findViewById(R.id.MyButton1).setOnClickListener(this)

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

[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() {

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 : > Hello, > I am runnin

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

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

[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 wrote: > This is the exce

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 fr

[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 android.content.I

[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 http://ge

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

[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 wrote: > On Tue

[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 wrote: > On Tu

[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 wrote: > On Tue, Jul 5, 2011 at 9:37 AM, Alireza Asadi > wrote: > >

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 delet

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 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 perfect and beside

[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

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

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

[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] 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: Let's say I have the app open at the "main" activity then press the home key. It

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

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

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

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

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

[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 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: > > > http://schemas.android.com/apk/res/ > and

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

2011-07-05 Thread Doug
On Jul 4, 3:11 am, Turki 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 first question is

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

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 wrote: > Your requirements contradict each other. > > -- > You received this message because you are subscribed to the Go

<    1   2