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

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

Re: [android-developers] Please can i have source codes for tictactoe game for android?

2012-03-17 Thread Save My Life!
I just mean to say,that forum is not for asking a whole code. Absolutly,we help for algorithm not for code. On Mar 17, 2012 2:02 AM, "Lew" wrote: > Bhavin wrote: >> >> Dear Jane. >> Please see the rule [sic] of this forum. >> U [sic] can't ask for code here... >> > Of course you can. You can ask

[android-developers] Simple XML Error

2012-03-17 Thread CaRRtel Industres
Could someone please tell me why i get this error. "error: Error parsing XML: junk after document element" I am attempting to include ads at the bottom of my app and I can't figure out this problem. Thanks in advance -- You received this message because you are subscribed to the Go

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

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 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" wrote: > I've already tried that. I haven't found anything that can help me. That's > why I

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

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 ca

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

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

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 wrote: > Then do it... > On Mar 16, 2012 7:59 AM, "Robert Gichohi" > wrote: > >> h

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

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 th

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

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 a

[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] ایران رتبه اول رشد علمی در مقالات علمی

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" 님이 작성: > > > > بسم الله الرحمن الرحیم > > بسیاری از ما در باره ی ایران و وضعیت علمی و فرهنگی آن بسیار بدبین هستیم. > ومیپنداریم که کشور در زمینه ها علمی و فرهنگی بسیار

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

[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

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

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

2012-03-17 Thread Mark Murphy
What permissions are you requesting? And, did you add the appropriate 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 Wiley wrote: >

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 * - keep you daily schedule handy... *Date In Tray*

Re: [android-developers] Eclipse Problem

2012-03-17 Thread Marcin Orlowski
On 17 March 2012 11:48, ANNE LOKESH 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 * - keep you da

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

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

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

[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-tools>adb install faceprevie w-20120218.apk 104 KB/s (11286 bytes in 0.105s) pkg: /data/local/tmp/facepreview-20120218.apk Failure [INSTALL_PAR

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

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 you

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 android-developers@google

[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-tools>adb install > faceprevie > w-20120218.apk > 75 KB/s (3814528 bytes in 49.143s) >

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

2012-03-17 Thread karan hans
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb 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

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 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.  invoked with db.r

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 3000-4

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

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

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

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

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 non-rooted

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

[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 wrote: > I debug with a Samsung Galaxy SII, running 2.3.6.  I created an app that > runs fine, every time, even under stress, on thi

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

2012-03-17 Thread Test
momo :كتب >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 "Not respon

Re: [android-developers] Eclipse Problem

2012-03-17 Thread Test
Marcin Orlowski :كتب >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 each by each back,

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 wrote: > Thank You, > > > but didn't got rectified does eclipse support windows7..??? > > > > > > > > > > > On Fri, Mar 16, 2012 at 3:25 PM, Marcin Orlowski > wrote: > >> Ensure you are using latest eclipse (

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 wrote: > 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 y

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 sourc

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 wrote: > 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, > Har

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

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 wrote: > > Hi, > > I am an android developer, I am developing an application which can > recei

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

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 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 mean. Well, I trie

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

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

2012-03-17 Thread Daniel Drozdzewski
On Friday, 16 March 2012, paul 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 the idea... Recording woul