Re: [android-developers] CalendarContract on Samsung's ICS update

2012-03-17 Thread Zsolt Vasvari
Here's the relevant section from the CTS that applies to the Contact Provider: Areas Covered The unit test cases cover the following areas to ensure compatibility: AreaDescription Platform Data ModelThe CTS tests the core platform data model as exposed to application developers through content

[android-developers] Regarding custom text view drawing on screen directly

2012-03-17 Thread ashiq sayyad
Hi, Hope all doing well. I have some linearlayout with button drawn on the screen. On some event,I want to draw some text on the corner of the button like a badge. So I have created on class which extends textview set that text to that textview. I want to draw this textview on the corner of

Re: [android-developers] MediaRecorder - buffered encoding of video

2012-03-17 Thread Daniel Drozdzewski
On Friday, 16 March 2012, paul paulelsne...@googlemail.com wrote: Thank you for than answer, but that isn't a solution for the problem. Doing it that way, leads to a delay depending on the recording time to that file. Also there would be an interruption of the video stream. I don't think you got

[android-developers] On Reciving SMS Calling Web Service.

2012-03-17 Thread ravindra bhavsar
Hello Developers, I want to call web service when mobile receiving message with particular word like abc.If abc is found then call the web service and if not found then don't do anything.*Is it possible? if yes, then please tell me how to i do that? * -- You received

Re: [android-developers] How to read the large sized text file

2012-03-17 Thread Narendra Singh Rathore
On Fri, Mar 16, 2012 at 8:18 PM, TreKing treking...@gmail.com wrote: You posted the exception itself. You did NOT post the exception's MESSAGE. I said before, if you call getMessage() on the exception object, it gives you a REASON WHY the generic IOException was raised. OK, I got what you

Re: [android-developers] Facebook integration

2012-03-17 Thread Live Happy
u can follow this tutorial have all step and also instal the sdk who include some example you can use them in ur application http://developers.facebook.com/docs/mobile/android/build/ On Fri, Mar 16, 2012 at 4:06 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Mon, Mar 12,

[android-developers] how to write RTSP application in apk layer in android

2012-03-17 Thread Harishkumar V
Hi, I need to write an rtsp client application basically in android apk layer, i searched, but do no know, where to start? is there any examples ? -- Thanks and Regards, Harish Kumar. V -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Latency too high with RTSP and mediaPlayer framework

2012-03-17 Thread Harishkumar V
Hi, Can u give snippet, how to do this? i am trying the same, recieve stream from live camera and store into file with .mp4 container , later for local playback. On Tue, Aug 16, 2011 at 12:04 PM, xoom ei.rtsp.x...@gmail.com wrote: Hi, I am an android developer, I am developing an

[android-developers] How to block a particular resource from loading in webview

2012-03-17 Thread Rahul Verma
I've searched a lot for this but did not find any answers. I am developing an android app in which at some point, a webview is displayed which shows you a webpage. But I am really worried about a small advertisement on the web view which shows porn content. Is there any way I can block that

Re: [android-developers] how to write RTSP application in apk layer in android

2012-03-17 Thread Anirudh Loya
Wht do u mean by RSTP client app and in APK layer ? On Sat, Mar 17, 2012 at 2:33 PM, Harishkumar V harishpres...@gmail.comwrote: Hi, I need to write an rtsp client application basically in android apk layer, i searched, but do no know, where to start? is there any examples ? -- Thanks

Re: [android-developers] how to write RTSP application in apk layer in android

2012-03-17 Thread Harishkumar V
basically, i have rtsp live stream (encoded video+audio data, can be an mp4 file also) from server, i need to capture and store in sdcard in mp4 container. android mediaplayer can play back that rtsp stream, but, i do know, how to store ? android mediarecorder supports only from local camera

Re: [android-developers] Eclipse Problem

2012-03-17 Thread ANNE LOKESH
Thank You, but didn't got rectified does eclipse support windows7..??? On Fri, Mar 16, 2012 at 3:25 PM, Marcin Orlowski webnet.andr...@gmail.comwrote: Ensure you are using latest eclipse (3.7?) and latest ADT (v17beta4 is quite stable). if it is your layout and it

Re: [android-developers] Eclipse Problem

2012-03-17 Thread srinivasan
TRY TO USE ECLIPSE HELIOS On Sat, Mar 17, 2012 at 4:18 PM, ANNE LOKESH lokesh1...@gmail.com wrote: Thank You, but didn't got rectified does eclipse support windows7..??? On Fri, Mar 16, 2012 at 3:25 PM, Marcin Orlowski webnet.andr...@gmail.com wrote: Ensure you

Re: [android-developers] Eclipse Problem

2012-03-17 Thread Test
Marcin Orlowski webnet.andr...@gmail.com :كتب Ensure you are using latest eclipse (3.7?) and latest ADT (v17beta4 is quite stable). if it is your layout and it holds no custom views you shall be fine. if it will still be crashing, you have to open it in plain text view, remove all items and put

Re: [android-developers] application failing on similar devices

2012-03-17 Thread Test
momo dun...@gmail.com :كتب I debug with a Samsung Galaxy SII, running 2.3.6. I created an app that runs fine, every time, even under stress, on this device. I uploaded for a colleague in another state, using a device with 2.3.7 (I believe it's a Nexus One). On his device, the app gives a

[android-developers] Re: application failing on similar devices

2012-03-17 Thread Chris Mawata
Looks like it is taking too long to populate the ListView. You are probably doing work on the UI thread that takes more than a few seconds. On Mar 16, 7:34 pm, momo dun...@gmail.com wrote: I debug with a Samsung Galaxy SII, running 2.3.6.  I created an app that runs fine, every time, even under

[android-developers] ArrayIndexOutOfBoundsException when calling Dialog.show()

2012-03-17 Thread Mark Carter
I'm seeing this on a Samsung Galaxy S II (GT-I9100G). I'm building against level 14, targeting level 10 (min level 3). I assume it's something to do with themes but have no idea where to start. I'm pretty sure it's not happening on all Galaxy SIIs otherwise I would be getting a lot more

Re: [android-developers] Re: application failing on similar devices

2012-03-17 Thread Kostya Vasilyev
If you don't have access to the device, you could ask your friend to email you /data/anr/traces.txt which automatically records ANRs as they happen, including their stack traces. The file is world-readable (although the parent directory is not). There must be a way to get it even from a

Re: [android-developers] ایران رتبه اول رشد علمی در مقالات علمی

2012-03-17 Thread 이현석
씹세 모야 이거 2012. 3. 17. 오전 5:29에 hosein bitaraf hobby@gmail.com님이 작성: بسم الله الرحمن الرحیم بسیاری از ما در باره ی ایران و وضعیت علمی و فرهنگی آن بسیار بدبین هستیم. ومیپنداریم که کشور در زمینه ها علمی و فرهنگی بسیار ضعیف است. ولی با دیدن این اینفو گرافی میتوانیم دید واقع بینانه تری نسبت به

[android-developers] Re: application failing on similar devices

2012-03-17 Thread momo
The adapter takes a Cursor that's a product of a single SQLite query. On my device I can toggle between the two adapters almost instantly, with virtually no wait time - I can touch each button alternately as quickly as I can physically with no problems in rendering (dozens of times in a few

Re: [android-developers] Re: application failing on similar devices

2012-03-17 Thread Kostya Vasilyev
In theory, there should not be any difference. In practice, your friend is seeing an ANR and you are not. The difference between theory and practice is that, in theory, there is no difference :-) Regarding the traces.txt - you could add code to grab this file to your application. Consider it a

Re: [android-developers] Re: application failing on similar devices

2012-03-17 Thread momo
I think the only real chance of success is for me to go find the device locally. More generally, do you see anything especially problematic with this: 1. a single sqlite query joining 2 tables via a 3rd bridge table, selecting 2 colums with an order by and collate unicode, that'll return

Re: [android-developers] Re: application failing on similar devices

2012-03-17 Thread Mark Murphy
On Sat, Mar 17, 2012 at 11:14 AM, momo dun...@gmail.com wrote: More generally, do you see anything especially problematic with this: 1. a single sqlite query joining 2 tables via a 3rd bridge table, selecting 2 colums with an order by and collate unicode, that'll return 3000-4000 rows.  

[android-developers] facepreview20120218.apk does not install with adb

2012-03-17 Thread karan hans
C:\Program Files (x86)\Android\android-sdk\platform-toolsadb install faceprevie w-20120218.apk 75 KB/s (3814528 bytes in 49.143s) pkg: /data/local/tmp/facepreview-20120218.apk Failure [INSTALL_FAILED_ALREADY_EXISTS] the author of this app was able to run it on his comp. his eaact words

[android-developers] Re: facepreview20120218.apk does not install with adb

2012-03-17 Thread karan hans
also i dont have an android device and am trying to run the application on emulator On Saturday, March 17, 2012 9:11:56 PM UTC+5:30, karan hans wrote: C:\Program Files (x86)\Android\android-sdk\platform-toolsadb install faceprevie w-20120218.apk 75 KB/s (3814528 bytes in 49.143s)

Re: [android-developers] facepreview20120218.apk does not install with adb

2012-03-17 Thread Ralph Bergmann | the4thFloor.eu
Am 17.03.12 16:41, schrieb karan hans: Failure [INSTALL_FAILED_ALREADY_EXISTS] ^^ Ralph -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: application failing on similar devices

2012-03-17 Thread Kostya Vasilyev
That kind of row count is definitely on the high side of things if you're running your query on the UI thread. Given this, the difference you're seeing may be due to device performance variations, and have nothing to do with the different Android versions. Even if you're not getting an ANR on

Re: [android-developers] facepreview20120218.apk does not install with adb

2012-03-17 Thread Kostya Vasilyev
adb install -r filename 17.03.2012 19:50 пользователь Ralph Bergmann | the4thFloor.eu ra...@the4thfloor.eu написал: Am 17.03.12 16:41, schrieb karan hans: Failure [INSTALL_FAILED_ALREADY_EXISTS] ^^ Ralph -- You received this message because you are

[android-developers] Re: facepreview20120218.apk does not install with adb

2012-03-17 Thread karan hans
in case youre wondering what this error msg is then look at the log when i first ran it C:\Program Files (x86)\Android\android-sdk\platform-toolsadb install faceprevie w-20120218.apk 104 KB/s (11286 bytes in 0.105s) pkg: /data/local/tmp/facepreview-20120218.apk Failure

Re: [android-developers] Re: application failing on similar devices

2012-03-17 Thread momo
thanks all - good info. -- 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] Question about using dimension resources in other resources vs. in Java code

2012-03-17 Thread David Karr
I'm just reading about dimension resources (Pro Android 4), and it seems curious how dimension resources are referenced in Java code (at least as specified in this book). The resource value consists of the value and the dimension, like 5px or 5dp or 5sp. You could reference this in a layout

[android-developers] Market device-filtering question

2012-03-17 Thread Keith Wiley
I realize this question is more about the market than android code development, but by Google's own admission they have completely shut down the market forums coincident with the switch to Google Play, and my question *is* about how to properly configure an app for the market, so that's sort of a

Re: [android-developers] Eclipse Problem

2012-03-17 Thread Marcin Orlowski
On 17 March 2012 11:48, ANNE LOKESH lokesh1...@gmail.com wrote: Thank You, but didn't got rectified does eclipse support windows7..??? Sure. Works fine here win 7/64bit. PS: you seem to have broken ? key... Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* -

Re: [android-developers] On Reciving SMS Calling Web Service.

2012-03-17 Thread Marcin Orlowski
Register for SMS broadcasts. Once you got SMS, get the mesaage body and parse its content. if you wind what you look for, then fire up the code talking to web service. Regards, Marcin Orlowski *Tray Agenda http://bit.ly/trayagenda* - keep you daily schedule handy... *Date In Tray*

Re: [android-developers] Market device-filtering question

2012-03-17 Thread Mark Murphy
What permissions are you requesting? And, did you add the appropriate uses-feature elements as needed for things the permissions imply that you do not actually need? http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions On Sat, Mar 17, 2012 at 2:12 PM, Keith

Re: [android-developers] Question about using dimension resources in other resources vs. in Java code

2012-03-17 Thread Kostya Vasilyev
The return value is in pixels, converted from whatever value in the dimen... resource based on current display metrics. There are three versions of getDimension, differing in rounding rules. http://developer.android.com/reference/android/content/res/Resources.html#getDimension(int)

[android-developers] Intent always restarts activity, even if already running...

2012-03-17 Thread RedBullet
So, I am creating a notification which, when selected, I would like to make my app the active app. But what it is doing instead is re-starting the app even though I know it is still running. Here is how I create the notification, I suspect I need to be more clever with the Intent: private

[android-developers] Re: Intent always restarts activity, even if already running...

2012-03-17 Thread RedBullet
OK, got it. Just needed the right notification flags... Thought it had to do with the intent! Sheesh! On Saturday, March 17, 2012 3:24:19 PM UTC-4, RedBullet wrote: So, I am creating a notification which, when selected, I would like to make my app the active app. But what it is doing instead

Re: [android-developers] ایران رتبه اول رشد علمی در مقالات علمی

2012-03-17 Thread lbendlin
прелесть On Saturday, March 17, 2012 10:22:09 AM UTC-4, Hyunseok Lee wrote: 씹세 모야 이거 2012. 3. 17. 오전 5:29에 hosein bitaraf hobby@gmail.com님이 작성: بسم الله الرحمن الرحیم بسیاری از ما در باره ی ایران و وضعیت علمی و فرهنگی آن بسیار بدبین هستیم. ومیپنداریم که کشور در زمینه ها علمی و

[android-developers] javax.crypto.BadPaddingException: pad block corrupted

2012-03-17 Thread Italo Mendonça Rocha
I'm trying to encrypt and decrypt a file using a key that the user typed. All these operations are done in Android. At the moment I decrypt I get a javax.crypto.BadPaddingException: pad block corrupted. The same code works normally on Windows PC. Why? Here is my code: *The call:* *Encrypt:*

Re: [android-developers] Installation 64-bit Windows 7 [SOLVED]

2012-03-17 Thread Bob Plantz
Thanks to the help posted here, I finally solved the problem by running Eclipse as administrator and installing the SDK that way. As pointed out, this means I have to run as administrator to do updates, etc. Similar to using sudo in my Ubuntu. --Bob -- You received this message because you

Re: [android-developers] How to read the large sized text file

2012-03-17 Thread TreKing
On Sat, Mar 17, 2012 at 3:16 AM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: The above message indicates that *getMessage() returns NULL* here. Well, that is unfortunate. At this point, I would recommend you grab the source and look up AssetManager.readAsset and see where it throws

[android-developers] Play Store Share Action

2012-03-17 Thread CaRRtel Industres
Could someone please tell me how I can include my app in the Share action. I specifically want to be able to receive the share action from the Google Play Store. Any help or functional code would be much appreciated. Thanks in advance. -- You received this message because you are subscribed

Re: [android-developers] Installation 64-bit Windows 7 [SOLVED]

2012-03-17 Thread Mark Carter
I *always* run Eclipse as Administrator these days, because of such problems I have experienced in the past. On Sunday, 18 March 2012 06:56:48 UTC+8, Bob Plantz wrote: Thanks to the help posted here, I finally solved the problem by running Eclipse as administrator and installing the SDK that

[android-developers] Re: Connect MediaRecorder to MediaPlayer

2012-03-17 Thread Doug
Generally speaking, video streams need to be seekable in order to play. The exception to this is video streams that were specially constructed to be streamable, which I'm pretty sure you will not get out of a MediaRecorder. Doug On Tuesday, March 13, 2012 2:40:38 PM UTC-7, Jeff wrote: I

Re: [android-developers] Http request and http requests

2012-03-17 Thread Michael Leung
You can use DefaultHttpClient Please google Http Client Android, I believe you can find some examples about that. But are you considering to build a REST system? On Sat, Mar 17, 2012 at 12:22 AM, Justin Anderson magouyaw...@gmail.comwrote: Then do it... On Mar 16, 2012 7:59 AM, Robert Gichohi

[android-developers] Re: Application Recycling

2012-03-17 Thread Doug
In ICS there is a Developer Option called Don't keep activities. If you check it, activities and their fragments will go through a complete cycle of create/destroy, which will test their ability to save and restore their instance states. This is the same as if your app will killed and

Re: [android-developers] Play Store Share Action

2012-03-17 Thread TreKing
On Sat, Mar 17, 2012 at 8:17 PM, CaRRtel Industres carrtelindustr...@gmail.com wrote: Could someone please tell me how I can include my app in the Share action. I specifically want to be able to receive the share action from the Google Play Store. Any help or functional code would be much

Re: [android-developers] Play Store Share Action

2012-03-17 Thread CaRRtel Industres
I've already tried that. I haven't found anything that can help me. That's why I have posted here. On Saturday, March 17, 2012 9:39:12 PM UTC-5, TreKing wrote: On Sat, Mar 17, 2012 at 8:17 PM, CaRRtel Industres carrtelindustr...@gmail.com wrote: Could someone please tell me how I can

[android-developers] How can I adjust the WiFi RF power to decrease the RF dBm

2012-03-17 Thread Tubuntu
hello everybody, is there anybody to share some information to adjust the RF power of WiFi so that I can decrease the RF dBm. thanks and best regards. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Play Store Share Action

2012-03-17 Thread Justin Anderson
Are you sure you tried that? Because I clicked on his link and guess what? THE VERY FIRST SEARCH RESULT GIVES YOU A TUTORIAL ON HOW TO CREATE A SHARE INTENT!!! On Mar 17, 2012 8:46 PM, CaRRtel Industres carrtelindustr...@gmail.com wrote: I've already tried that. I haven't found anything that

Re: [android-developers] Play Store Share Action

2012-03-17 Thread CaRRtel Industres
Yes, I'm positive. it's not what I'm looking for. The link he gives is for me to build an app where I have a share button but I just want to have access to the share button in the Google Play Store. See the difference? On Saturday, March 17, 2012 10:23:42 PM UTC-5, MagouyaWare wrote: Are you

Re: [android-developers] Play Store Share Action

2012-03-17 Thread TreKing
On Sat, Mar 17, 2012 at 10:35 PM, CaRRtel Industres carrtelindustr...@gmail.com wrote: Yes, I'm positive. it's not what I'm looking for. The link he gives is for me to build an app where I have a share button but I just want to have access to the share button in the Google Play Store. See the