[android-developers] Re: I want to make an application can do automated testing.

2013-12-02 Thread 12169
Hi, I am able to programmatically inject keys on the other applications but problem how programmatically i record the events that occur on the screen. On Monday, December 2, 2013 1:06:38 AM UTC+5:30, 12169 wrote: Hi, In android i want to make an application that can do automated

[android-developers] With Updated APK, Can't Purge Previous Data

2013-12-02 Thread Cayce
This is making me crazy. I'm having an app built that is initially downloaded as an empty carrier for different regions of data. The person using the app will then choose the region/data to be purchased, make that in-app purchase, and the region/data loads into the app shell. I have to test

[android-developers] Re: ViewPager does not respect WRAP_CONTENT?

2013-12-02 Thread Streets Of Boston
The ViewPager specified WRAP_CONTENT as its width. What content? The ViewPager can show more than one page and only one is visible at a time. If it had to choose the 'content' to use to figure out how wide the WRAP_CONTENT width should be, which page should it use? WRAP_CONTENT doesn't make

Re: [android-developers] testing app from PC on attached phone

2013-12-02 Thread Justin Anderson
What version of Android is the new Experia running? On newer versions the developer options are hidden by default... You need to enable them by going to Settings About Phone/Tablet/Device and then tapping on the Build number setting several times... You should get toast notifications telling you

Re: [android-developers] How to call from Android Native Dialers, ignore other dialers

2013-12-02 Thread Justin Anderson
Perhaps you should rethink forcing the user to use the native dialer... especially where you are hard-coding the package name. Not only is that just plain bad practice and really annoying for your end user, but the native dialer may not have the same package name on all devices... Here is a

Re: [android-developers] testing app from PC on attached phone

2013-12-02 Thread peter gottlieb
That took care of it. Thanks very much. On Mon, Dec 2, 2013 at 8:49 AM, Justin Anderson magouyaw...@gmail.comwrote: What version of Android is the new Experia running? On newer versions the developer options are hidden by default... You need to enable them by going to Settings About

Re: [android-developers] BLE support in Android

2013-12-02 Thread Justin Anderson
I have two links for you: - http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html - http://lmgtfy.com/?q=android+BLE+support Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Nov 26, 2013 at 4:27 AM, Guillermo

Re: [android-developers] Cannot peek value from TypedArray

2013-12-02 Thread Justin Anderson
What happens if you use this version of obtainStyledAttributes()? *final TypedArray a = theme.obtainStyledAttributes(R.style.MyText, attrs); * Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Nov 23, 2013 at 10:10 AM, Y2i yur...@gmail.com wrote:

Re: [android-developers] Re: Eclipse not starting since last ADT update

2013-12-02 Thread Justin Anderson
I have been using Android Studio at work for about a month now and haven't run into any major problems. I still have some personal projects on Eclipse and IntelliJ (I just haven't taken the time to switch them over yet) and have found myself many times missing some of the features of Android

Re: [android-developers] Problem with image gallery selection dialog

2013-12-02 Thread Justin Anderson
*Any fix ?* Without seeing your code? No... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Nov 20, 2013 at 7:03 AM, Brakkar webko...@gmail.com wrote: Hi, I have a problem that's been plaguing my android app for years. App is a simple photo

Re: [android-developers] Determine Application State (Foreground/Background) when onNewIntent() is called due to URL scheme

2013-12-02 Thread Justin Anderson
According to the docs for onNewIntent(): *An activity will always be paused before receiving a new intent, so you can count on onResume() http://developer.android.com/reference/android/app/Activity.html#onResume() being called after this method.* The docs for onPause() state this: Called as

Re: [android-developers] Retrieving Contacts from ContactsList device

2013-12-02 Thread Justin Anderson
Ok, this way I have contacts. But when i get de details, phone number, for example. Show repeated numbers: What do you mean by repeated numbers? Are you seeing the same number over and over again or are you seeing lots of different numbers? Maybe this will help:

Re: [android-developers] Trivial Drive: Various errors

2013-12-02 Thread Justin Anderson
So today our Trivial Drive app starts working. Sounds to me like today is the day your Trivial Drive app stopped working... :-) How are we supposed to help you out with the amount of data you gave us? There could be any number of reasons for the problems you are having. Based on your

[android-developers] OpenGL ES 2.0 - glGenQueries() - function from extension

2013-12-02 Thread Arm7
Hi, How do you call a function whose doesn't exist in GLES2/gl2ext.h [ex.: glGenQueries() ] ? This function is implemented in the device (because the driver return the string GL_EXT_occlusion_query_boolean) but I've no any idea how to call it. Thank you for your light! Eric --

Re: [android-developers] Cannot peek value from TypedArray

2013-12-02 Thread Y2i
Exactly the same story :( On Monday, December 2, 2013 9:44:15 AM UTC-8, MagouyaWare wrote: What happens if you use this version of obtainStyledAttributes()? *final TypedArray a = theme.obtainStyledAttributes(R.style.MyText, attrs); * Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] Cannot peek value from TypedArray

2013-12-02 Thread Justin Anderson
Have you tried obtainAttributes? I know it may not be what you want, but if obtainAttributes works then that means there is something going on in the logic of obtainStyledAttributes that is causing weird behavior... Perhaps you found an Android bug... Thanks, Justin Anderson MagouyaWare

Re: [android-developers] RelativeLayout: use layout_below, layout_centerVertical, android:layout_alignParentBottom

2013-12-02 Thread Justin Anderson
You did not provide enough information... In what way does the rule for view 1 get invalidated? What does the layout look like in both cases? Without knowing these things it is going to be very difficult to help, which is probably why you haven't had a response yet... Thanks, Justin Anderson

Re: [android-developers] Re: android how to use one view in multiple layouts files.

2013-12-02 Thread Justin Anderson
You can do it this way but you may have to set the text programatically... However, a better way would be to create a style for your text view and apply the style wherever you want a textview that looks the same. Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] Re: android how to use one view in multiple layouts files.

2013-12-02 Thread Justin Anderson
@MathieuB Before chastising others, at least make sure you know what you are talking about. When using the include tag you are only able to change the layout attributes... you are not able to change any other attributes. The solution did not work. From *Re-using Layouts with include /*: You can

[android-developers] Anyone from Google reading this group? (Was: Wrong stack behaviour in Android 4.4)

2013-12-02 Thread BoD
Ping. -- 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 For more options,

Re: [android-developers] Android 4.1.2

2013-12-02 Thread Justin Anderson
Ummm... what? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, Nov 9, 2013 at 11:14 AM, tman balageet...@gmail.com wrote: When will be the Android 4.1.2 get the new update to have the function to Move App to SD card? -- You received this

Re: [android-developers] BitmapMesh Refreshing

2013-12-02 Thread Justin Anderson
Remove the code that removes your warp changes. Without more details you're out of luck. Also... maybe, just maybe, you might want to try to fix it first (and let us know what you tried). http://android-dev-tips-and-tricks.blogspot.com/2012/08/so-you-need-help.html Thanks, Justin Anderson

Re: [android-developers] With Updated APK, Can't Purge Previous Data

2013-12-02 Thread Mukesh Srivastav
I have done this in one of my product and but i am dealing with my sqlite data, not sure, if you are using the same. On Mon, Dec 2, 2013 at 5:33 PM, Cayce ca...@cayceweb.com wrote: This is making me crazy. I'm having an app built that is initially downloaded as an empty carrier for

[android-developers] Avoid app force closed issue.

2013-12-02 Thread sree android
Hi friends, some times i am faceing a problum.That is when i am getting data from server using web services ,some times my app is force closed due to low internet peers(Low internet signals).how can i handle this problum and how can i avoid app force close problum. when my app app is force close

Re: [android-developers] How to call from Android Native Dialers, ignore other dialers

2013-12-02 Thread Iqbal Ahmed
Hi Mr. Anderson, Thanks for your reply, I think the package name (com.android.phone) is same on all devices as I checked or debug but the dialer package names are different. As I got this package name have one OutgoingCallBroadcast class which broadcast the Intent.ACTION_CALL and android system

Re: [android-developers] Avoid app force closed issue.

2013-12-02 Thread Mukesh Srivastav
For force close, there could be two reasons. 1. Your application logic might depends on the data you get from the webserver, there you might be doing a parsing with the Null or incorrect data which is causing the force close. 2. While handling the HTTP Connections, make sure you also handle the

[android-developers] Re: Avoid app force closed issue.

2013-12-02 Thread Sourav Howlader
Hi Sree, Most important thing is, you should do all of your long running processes in child thread. If you do your web services operations in main thread, then you will get ANR as its a time consuming process and may not complete the operation in time. Regards, Sourav -- You received

[android-developers] Re: Avoid app force closed issue.

2013-12-02 Thread Martin Krischik
Am Dienstag, 3. Dezember 2013 06:08:40 UTC+1 schrieb sree: how can i handle this problum and how can i avoid app force close problum. It is not *a* problem. If you have to ask on that general level it might be a multitude of problems all resulting from writing sloppy code. (Side-note: The