[android-developers] Re: Is it possible to read/write to SQLite on a removable USB Flash Drive

2018-04-06 Thread frederickpotter77
No this is not possible On Friday, April 6, 2018 at 3:35:07 AM UTC+5, Mark Anderson wrote: > > Is it possible to read/write to SQLite on a removable USB Flash Drive, by > this I mean the app is installed on the phone, but the data used by the app > would be stored on a removable USB flash drive

[android-developers] Re: Is it possible to develop all fragment and activity classes as an inner class in only a single outer class?

2016-12-11 Thread oiyio
up?? On Saturday, December 10, 2016 at 9:03:02 AM UTC+2, oiyio wrote: > > In the link > https://github.com/android/platform_development/blob/master/samples/ApiDemos/src/com/example/android/apis/app/FragmentLayout.java > > the entire application is developed in only a single class. Is it

[android-developers] Re: Is it possible to require a gamepad on Android TV, but not on other devices?

2015-07-21 Thread Jon Colverson
I believe I've found a way of doing this via a Stack Overflow question from someone who wanted to restrict their app to only running on Android TV: http://stackoverflow.com/questions/25152048/restrict-android-application-to-android-tv The fix was to include: uses-feature

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2015-01-06 Thread Streets Of Boston
Oleksi: What do you mean by 'killed'? Do you mean that its 'onDestroy' method gets called? Let's assume you are talking explicitly about starting the Service, not binding to it: If a Service is started by some other component, it needs to be explicitly stopped, either by the same component,

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2015-01-06 Thread Streets Of Boston
Oleksi: What do you mean by 'killed'? Do you mean that its 'onDestroy' method gets called? Let's assume you are talking explicitly about starting the Service, not binding to it: If a Service is started by some other component, it needs to be explicitly stopped, either by the same component,

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2015-01-06 Thread Streets Of Boston
Oleksi: What do you mean by 'killed'? Do you mean that its 'onDestroy' method gets called? Let's assume you are talking explicitly about starting the Service, not binding to it: If a Service is started by some other component, it needs to be explicitly stopped, either by the same component,

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2015-01-06 Thread Oleksii Bieliaiev
Found some info here http://stackoverflow.com/questions/8087596/when-service-is-killed-can-the-process-be-still-alive?lq=1 On Tuesday, November 25, 2014 12:08:18 PM UTC+1, Oleksii Bieliaiev wrote: Hey guys, let's imagine we have an app with a service and an activity inside. Both

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2015-01-05 Thread Oleksii Bieliaiev
Didn't find reliable answer yet :( On Tuesday, November 25, 2014 12:08:18 PM UTC+1, Oleksii Bieliaiev wrote: Hey guys, let's imagine we have an app with a service and an activity inside. Both components live in a same process, our service is started (in terms of Android) and a user does

Re: [android-developers] Re: Is it possible, that Android kills a service inside an app?

2015-01-05 Thread Kristopher Micinski
I think the answer to your question is no: it wouldn't be that helpful from a memory footprint perspective to simply kill the service: memory allocation happens at the process level. For this to be useful, the service would have to be killed out in some heuristic way, then some GC would have to

Re: [android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-09 Thread Oleksii Bieliaiev
Hi Peter, thank you for your reply. However, please read my question carefully. I'm asking about a specific case, when Android OS kills a SERVICE (an application component) separately, without killing entire PROCESS. Please check your own links. You pointed at final void

Re: [android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-09 Thread Oleksii Bieliaiev
Hi, please, read my question carefully. I'm asking about a specific case, when Android OS kills a SERVICE (an application component) separately, without killing entire PROCESS. You are talking about the case, when Android OS kills entire background PROCESS, because it has low priority compared

Re: [android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-08 Thread Peter Teoh
*The Service can still be killed by Android.* Any proofs? not any proofs, but just some discussion is possible: Read this: http://developer.android.com/reference/android/content/Context.html#startService%28android.content.Intent%29 From above, there is a line: The only time they should be

Re: [android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-08 Thread gjs
Hi, You can prove this yourself by creating a test app with a service running a few tests. Run the test app start the service on a recent device with Android V4+ then leave the service running go do other stuff for a while. Sometime during the next few hours you probably find that your

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-05 Thread Ashik Vetrivelu
It depends on the Service which you have. Service in android is of two types: Bound Service and Unbounded Service. Binded Service is what is bound to the activity and it lives as long as activity is running. But unbound service is like a *Separate Process. The Service can still be killed by

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-05 Thread Oleksii Bieliaiev
It depends on the Service which you have. Service in android is of two types: I'm asking specifically about Started service http://developer.android.com/reference/android/content/Context.html#startService(android.content.Intent) *The Service can still be killed by Android.* Any

[android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-05 Thread Johan Appelgren
What? Whether a Service runs in a separate process or not DOES NOT depend on whether you bind to it and/or start it using startService. That is only controlled by the process attribute, see http://developer.android.com/guide/topics/manifest/service-element.html#proc. On Friday, December 5,

[android-developers] Re: Is it possible to make an Android device appear as a Bluetooth speaker?

2014-11-01 Thread Sheharyar Naseer
Here are some links that you might find useful: - Bluetooth audio streaming between Android devices http://stackoverflow.com/questions/20159457/bluetooth-audio-streaming-between-android-devices - How to stream audio from PC to Android device over Bluetooth

[android-developers] Re: Is it possible to set imeOption area disable/enable on soft keyboard?

2014-07-06 Thread Damien Cooke
Something like this may work for you? Whenever key is pressed while firstNameEditText has focus, it will check the length of the string and if 0 will enable the surnameEditText else it will be disabled you should initialise it disabled. Damien firstNameEditText.setOnKeyListener(new

[android-developers] Re: Is it possible to track mileage with the GPS on the phone?

2014-07-02 Thread cellurl
go to sourceforge and search for Zombie Speed Limit. Have fun. On Wednesday, June 25, 2014 10:57:31 AM UTC-5, Dan Cha wrote: I'm looking to better track my own personal mileage on my truck.. so was looking into the GPS module and seems it may be possible, but wanted to ask before spending

Re: [android-developers] Re: Is it possible to track mileage with the GPS on the phone?

2014-07-02 Thread Daniel Chacon
Found 2 Zombie speed limit logger this one says it used to log speed limit signs when you drive past. and zombie speed limit GIT this one has no description. both of which have 0 downloads.. what am I looking for if I download either of them? On Wed, Jul 2, 2014 at 10:53 AM, cellurl

Re: [android-developers] Re: Is it possible to track mileage with the GPS on the phone?

2014-07-02 Thread james pruett
you wanted sourcecode. Give em a try. Also this one: https://code.google.com/p/speedlimit/ I guess I may have misled you. I have an app that translates GPS to MILES, but I didn't open source it. If you want, I can dig out that calculation. Help me out first, get this app and review it!

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-23 Thread tsioularisa
You are right about the strictMode. I disable this and the app was not sent a no responding message after that! But the problem wasn't fixed after that! I am testing the app in Samsung Galaxy Ace 2 with Android Gingebird 2.3.3. Did you succeed to reproduce the problem? I mean did you manage to

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-23 Thread bob
I think we did a lot of unnecessary stuff. The code already had provisions for flushing the cache originally. This includes limiting its size. By default, it is limited to private static final int DEFAULT_DISK_CACHE_SIZE = 1024 * 1024 * 10; // 10MB I think you can just change that

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-23 Thread tsioularisa
I removed the clear of the cache when i exit the app and in the beginning i thought it finally was solved but after a while the problem appeared again. I was switching between wifi and mobile data network and everything was working fine but after the third time i made this change the images

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-22 Thread bob
I don't think I saw any* Android Not Responding* messages, but I saw some warnings about *Strict Mode*. I'm on a Galaxy Tab 1. What device(s) are you trying this on? Thanks. On Sunday, April 21, 2013 2:23:02 PM UTC-5, tsioularisa wrote: thank you very much for your help! I am sorry i

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-21 Thread tsioularisa
thank you very much for your help! I am sorry i haven't answered before but i was too busy these dates and i din't have time to check what you sent me? I will test it and i will post you my results! Did you succeed to reproduce the problem? -- -- You received this message because you are

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread tsioularisa
After a lot of testing the problem appeared again! It is obvious that the previous unfinished asyncktask affects the new. Any suggestions? -- -- 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: bitmapfun project possible bug

2013-04-19 Thread bob
Why not take the code out of the AsyncTask and make it run synchronously? Just look at what's in the *doInBackground* method of the AsyncTask and call it directly instead of by creating and starting a task. Thanks. On Friday, April 19, 2013 7:52:44 AM UTC-5, tsioularisa wrote: After a lot

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread tsioularisa
Because it will run in the UI thread and it will not be a good user experience! It will cause lag and not smooth behavior as i guess. The android developers site suggest developers to use asynctask in heavy and slow processes as network download! Have you tested bitmapfun code to see what i

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread bob
I doubt it will take very long to delete a few images on Flash memory. The delete operation almost certainly does not zeroize the contents of the file. It will simply unlink it which is probably a very minor write to Flash memory. I bet if you try it you will see it is very fast.

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread tsioularisa
No it still doesn't work. In the beginning i put all the ckearCache, flushCache and closeCache and the app throw me a Nonresponding message. I put the close cache into a asynctask which was faster but it doesn't solve the problem. My guess is that the imageviewreference of each imageview isn't

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread bob
I was expecting you to change the code to something like this: protected void onDestroy() { super.onDestroy(); mImageFetcher.clearCacheInternal(); mImageFetcher.closeCacheInternal(); } You will need to change the visibility of clearCacheInternal() and

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread tsioularisa
I changed in the imageworker class these methods public void clearCache() { new CacheAsyncTask().execute(MESSAGE_CLEAR); } public void flushCache() { new CacheAsyncTask().execute(MESSAGE_FLUSH); } public void closeCache() { new

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread bob
I did import the app, and I was testing it. I put a breakpoint in onDestroy, and it never got hit. I'm not sure how to force the onDestroy() still. Thanks. On Friday, April 19, 2013 2:20:10 PM UTC-5, tsioularisa wrote: I changed in the imageworker class these methods public void

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-19 Thread bob
I think I see what the problem is. It doesn't like you doing those file operations on the UI thread because of something called *strict mode*. You can tell it to turn that off by modifying the onCreate method in ImageGridActivity like so: @Override protected void onCreate(Bundle

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread tsioularisa
i read this and maybe is this a possible fault as i run the app in Gingebird! But except the asynchtask that is being used in the clearCache() in the beginning of the imageWorker in the loadImage the following asynctask is being used. // NOTE: This uses a custom version of AsyncTask that has

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread bob
Maybe try changing this line: public static final Executor SERIAL_EXECUTOR = Utils.hasHoneycomb() ? new SerialExecutor() : Executors.newSingleThreadExecutor(sThreadFactory); to this: *public static final Executor SERIAL_EXECUTOR = * *

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread tsioularisa
The first comments of the asynctask declaration which is being used in this project and has been modified are the following: /** * * * Copied from JB release framework: *

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread bob
Okay. In addition to the first change, try changing this line: public static final Executor DUAL_THREAD_EXECUTOR = Executors.newFixedThreadPool(2, sThreadFactory); to this: *public static final Executor DUAL_THREAD_EXECUTOR =* *SERIAL_EXECUTOR;* Thanks. On

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread tsioularisa
You are perfect! It seems that it works now. Probably the multithreading was causing the problem. The following scenario which happened after these changes reinforces the multithreading problem and the guess that some asynctask was awake after i exit the activity. The steps of this scenario

[android-developers] Re: bitmapfun project possible bug

2013-04-15 Thread bob
What is the BitmapFun example? I guess I don't have it? https://lh5.googleusercontent.com/-zAsXty17X88/UWwPF7SJQvI/AXU/_yNdSTUzB7E/s1600/bitmapfun.png Thanks. On Sunday, April 14, 2013 5:07:23 PM UTC-5, tsioularisa wrote: i am using the bitmapfun example and the only part

[android-developers] Re: bitmapfun project possible bug

2013-04-15 Thread tsioularisa
I am sorry for didn't mention this. It is from developer android traininghttp://developer.android.com/training/displaying-bitmaps/index.html. If you want more info please tell me! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: bitmapfun project possible bug

2013-04-15 Thread bob
Why did you add *mImageFetcher.clearCache()*? You do realize that starts a new AsyncTask, don't you? Starting a new AsyncTask sounds like a really bad idea in onDestroy(). On Sunday, April 14, 2013 5:07:23 PM UTC-5, tsioularisa wrote: i am using the bitmapfun example and the only

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-15 Thread mixalis anastasiou
I know that i start a new asynctask but it is the only way to auto clear the memories both lru and disk when the user exits the activity. first of all i use this (bad) technic because i don't want to waste the user's space with useless things for him and without let him know how much space do i

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-15 Thread bob
What exactly does your onDestroy method look like? My guess is that it looks like this: *@Override* *protected void onDestroy() {* *super.onDestroy();* * mImageFetcher.clearCache();* *mImageFetcher.closeCache();* *}* I'm pretty sure that's an error. The last two

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-15 Thread tsioularisa
You are right it is exactly as you wrote it! But if i don't implement it in this way how can i achieve to clear the cache every time the user leaves the activity? I think it is not good user experience to consume storage for things that he can't use. Also i am not sure but if the file becomes

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-15 Thread bob
Please see this concerning the *execute* method for an AsyncTask: https://lh6.googleusercontent.com/-zRYXmRbRHfg/UWx7De5IsGI/AXk/vEGbuxjGl8w/s1600/message.png In particular, for certain versions of Android, your two tasks may run in parallel. However, in Honeycomb onwards, they

[android-developers] Re: Is it possible to do a query that joins the Events and Reminders tables?

2013-02-22 Thread Nobu Games
Short answer: no unless there is a special data view provided by CalendarContract that provides this feature (I do not know about that). Long answer: as I understand the design decisions behind the Android ContentProvider, it is meant to be data source backend-neutral. An implementation of a

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-12-18 Thread spartygw
Rewrite the app to capture camera preview frames and you can process the frames yourself without having to take a picture. On Monday, July 30, 2012 2:55:52 PM UTC-4, greg wrote: Given a known periodic motion (e.g., walking), I'd like to take a full resolution snapshot at the same point in

[android-developers] Re: it is possible to use more than 1 AlarmManager with different repeat values in a single application

2012-11-22 Thread skink
Siva Kumar wrote: My doubt is ,In android* it is possible to use more than 1 AlarmManager with different repeat values in a single application* did you try it? its just couple of lines of the code... pskink -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Is it possible to add two master-details fragments in a Single Activity

2012-11-16 Thread Spiral123
you can have as many fragments as you want associated with an activity. They don't have to have a UI either. Just be careful how you add/remove/replace them or your back key navigation could get messed up pretty quick. I assume that you don't want the two master/detail fragment sets to be

[android-developers] Re: Is it possible to set WifiP2pDevice.secondaryDeviceType ?

2012-10-16 Thread Fábio Maschi
Hello, Roman. I am also developing an application that requires to exchange some custom information between devices within requestPeers() step. I came to the same conclusion, send this data via WifiP2pDevice.secondaryDeviceType, but I have not found how to do this. How have you solved? Could

[android-developers] Re: It is possible to stop a thread that is connecting to URL with httpConnection.connect()?

2012-10-09 Thread Streets Of Boston
Run the code you posted above in a back-ground thread (either as a plain thread or an AsyncTask's 'doInBackground(...)' implementation). After 5 seconds or on user input, call either the back-ground thread's 'interrupt()' method (if you are using a plain Thread) or 'cancel(true)' on your

[android-developers] Re: It is possible to stop a thread that is connecting to URL with httpConnection.connect()?

2012-10-06 Thread Ed Harned
Do your connection in a separate thread or AsyncTask. You can time the thread and ignore it if it takes too long. Now you'll be getting into thread control which really is a whole other subject. On Friday, October 5, 2012 7:39:55 PM UTC-4, saex wrote: i have a thread that is connecting to a

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-12 Thread Lew
On Tuesday, September 11, 2012 7:24:57 PM UTC-7, Arjun wrote: Yes, i used this code package com.android.comera Don't use 'com.android.*' for your own code unless you own the android.com domain. import com.jayway.android.robotium.solo.Solo; import

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-12 Thread mallikarjun gudisagar
Thanks a lot for your reply, In android Camera view(After capturing we are viewing the images) option is it the other application? I mean is open the other application to to show the Captured images. Sorry but i have little confusion. and in that case can we use monkey runner with robotium test

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-11 Thread Lew
Arjun wrote: can you pla tel me the example how to use it in case if get ArrayListview view= solo.getviews(); is comming 0 i mean in this case what is the solution can u give me a example You should introduce new questions as new topics, but here goes. From a code fragment it's

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-11 Thread mallikarjun gudisagar
Thanks for your reply actually i am testing testing the APK without source code. Thanks Arjun On Tue, Sep 11, 2012 at 11:39 AM, Lew lewbl...@gmail.com wrote: Arjun wrote: can you pla tel me the example how to use it in case if get ArrayListview view= solo.getviews(); is comming 0 i mean

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-11 Thread Lew
How do you write a test without source code? Arjun wrote: Thanks for your reply actually i [sic] am testing testing the APK without source code. Lew wrote: Arjun wrote: can you pla tel me the example how to use it in case if get ArrayListview view= solo.getviews(); is comming 0 i

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-11 Thread mallikarjun gudisagar
In robotium its possible to test the Preinstalled application http://code.google.com/p/robotium/wiki/RobotiumForPreInstalledApps On Tue, Sep 11, 2012 at 11:41 PM, Lew lewbl...@gmail.com wrote: How do you write a test without source code? Arjun wrote: Thanks for your reply actually i [sic]

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-11 Thread Lew
Yes, but you still have to write source code to do so. On Tuesday, September 11, 2012 11:52:04 AM UTC-7, Arjun wrote: In robotium its possible to test the Preinstalled application http://code.google.com/p/robotium/wiki/RobotiumForPreInstalledApps On Tue, Sep 11, 2012 at 11:41 PM, Lew

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-11 Thread mallikarjun gudisagar
Yes, i used this code package com.android.comera import com.jayway.android.robotium.solo.Solo; import android.test.ActivityInstrumentationTestCase2; @SuppressWarnings(unchecked) public class Mytest extends ActivityInstrumentationTestCase2 { private static final String TARGET_PACKAGE_ID

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread Lew
Arjun wrote: Hi all, Its working fine from project but when i tried this in android project i am getting error like java.lang.NoClassDefFoundError: com/android/ chimpchat /ChimpChat Am i missing any thing? help is appreciated. Thanks Arjun On Sun, Sep 9, 2012 at 12:32 PM,

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread mallikarjun gudisagar
Thanks for your reply. i have imported to the build path lib. On Mon, Sep 10, 2012 at 11:17 PM, Lew lewbl...@gmail.com wrote: Arjun wrote: Hi all, Its working fine from project but when i tried this in android project i am getting error like java.lang.NoClassDefFoundErro**r: com/android/

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread mallikarjun gudisagar
It is working if run this as a java project. but if make the android project and run the project means i am getting this error. Can you tel me am i missing any other files or is there any other way to do this?. Thanks Arjun On Mon, Sep 10, 2012 at 11:22 PM, mallikarjun gudisagar

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread Lew
Always double-check advice. I just doublechecked and it's libs/ relative to the project directory, per http://developer.android.com/tools/projects/index.html Workflow / Setting Up Projects / Android Projects Arjun wrote: Thanks for your reply. i have imported to the build path lib. On

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread mallikarjun gudisagar
Thanks, actually i have created android test project for Robotium the problem is Robotium is not working in multiple activites so i would like to use monkeyrunner inside the Robotium project for other activities which Robotium not able to find the views. Is there any other way to do this. Thanks

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread Lew
Arjun wrote: Thanks, actually i have created android test project for Robotium the problem is Robotium is not working in multiple activites so i would like to use monkeyrunner inside the Robotium project for other activities which Robotium not able to find the views. Is there any other

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-10 Thread mallikarjun gudisagar
can you pla tel me the example how to use it in case if get ArrayListview view= solo.getviews(); is comming 0 i mean in this case what is the solution can u give me a example thanks Arjun On Tue, Sep 11, 2012 at 1:09 AM, Lew lewbl...@gmail.com wrote: Arjun wrote: Thanks, actually i have

[android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-09 Thread Arjun
Hi all, I have used you link http://code.google.com/p/aster/downloads/list for chimpchat file after this also the error is comming same can you please tel me the basic steps. Example would greate. Thanks Arjun On Saturday, September 8, 2012 2:10:32 AM UTC+5:30, Lew wrote: Kevin wrote: I,

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-09 Thread mallikarjun gudisagar
Hi all, Its working fine from project but when i tried this in android project i am getting error like java.lang.NoClassDefFoundError: com/android/chimpchat /ChimpChat Am i missing any thing? help is appreciated. Thanks Arjun On Sun, Sep 9, 2012 at 12:32 PM, Arjun gudisaga...@gmail.com

[android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-07 Thread Arjun
Hi Karthikeyan R, I used your example in my android Testproject but i got some exception, java.lang.NoClassDefFoundError: com.android.chimpchat.adb.AdbBackend Can you please tel me whats wrong i did? Thanks Arjun On Wednesday, August 3, 2011 11:21:16 AM UTC+5:30, Karthikeyan R wrote:

[android-developers] Re: Is it possible to use MonkeyRunner from java

2012-09-07 Thread Lew
Kevin wrote: I, too, am interested in this new library. Has anyone been able to get their hands on it yet? suman wrote: Is the problem related to dispose() method of MonkeyDevice class resolved in ChimChat? If yes then where can I download the chimpchat.jar? It is available as

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-07-31 Thread greg
Thanks for the suggestions. Based on them I tried disabling all the camera auto parameters. There is still a range of about 0.2 s in the shutter lag time. In this application (and perhaps there are others), I'm more concerned about the variability and not the average duration of the lag time.

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-07-31 Thread gjs
Hi, I am curious about how you are performing measuring timings between subsequent shots as there may also be some variability according to your method(s). For example, I found that using a Timer object there was some variability in when the task was actually run, sometime by a few hundred

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-07-30 Thread RichardC
Could it be related to auto-focus? Try turning it off. On Monday, July 30, 2012 7:55:52 PM UTC+1, greg wrote: Given a known periodic motion (e.g., walking), I'd like to take a full resolution snapshot at the same point in the motion (i.e., the same time offset within different periods).

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-07-30 Thread greg
Thanks Richard. Setting the focus to Camera.Parameters.FOCUS_MODE_INFINITY helped as shown in the added histogram at http://stackoverflow.com/questions/11727240/how-to-reduce-the-variability-in-android-camera-shutter-lag At the risk of sounding like an ingrate, do you have any ideas on how to

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-07-30 Thread gjs
Hi, Set other camera parameter values to non-auto settings eg: set a specific white balance such as daylight, set flash to off etc. Other than that ensure there is no other non essential app's / services running at the same time examine your own app to minimise or eliminate any garbage

[android-developers] Re: Is it possible to open an Audio Recorder by more than one app using OpenSL?

2012-07-11 Thread Nathan Waters
Did you end up finding an answer to this? If AudioRecord can only be accessed by one app at a time, is there a way to simply hand-over the resource when it's requested and then reinitialize afterwards? On Monday, 19 March 2012 04:14:05 UTC+11, smichak wrote: Hi, I am writing an

[android-developers] Re: Is it possible to add round corner to a full view ?

2012-07-10 Thread Ali Chousein
Draw your image based on your needs and add it as an image to your view. That's all you need. - Ali Chousein https://play.google.com/store/apps/details?id=com.apps.social_nav https://play.google.com/store/apps/details?id=com.apps.weather_buddy

[android-developers] Re: Is it possible to change App Name and Publisher for existing Android App?

2012-05-23 Thread John Coryat
I believe as long as the new owner can sign the app with your key then it doesn't matter who the publisher is or what you rename the app. The package name has to stay the same though. -John Coryat On Wednesday, May 23, 2012 8:54:40 PM UTC-5, pawpaw17 wrote: Does anyone know how to change

[android-developers] Re: It is possible to lock the screen orientation of the phone only when you want? (dinamically)

2012-03-31 Thread Ali Chousein
Maybe my blog on this subject might be useful for you. There is a section Locking the screen layout in it: http://android-screen-layout.blogspot.com - Ali Chousein http://socialnav.blogspot.com | http://twitter.com/socialnav1

[android-developers] Re: It is possible to lock the screen orientation of the phone only when you want? (dinamically)

2012-03-30 Thread JacekSt
setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE ); On 30 Mar, 12:16, saex elpablos...@gmail.com wrote: I have an application that can be viewed with landscape and portrait mode. I'm not using onConfigurationChanged() and android:configChanges=orientation|keyboardHidden and

[android-developers] Re: Is it possible to open an Audio Recorder by more than one app using OpenSL?

2012-03-21 Thread Doug
I think you would have to get all the components that want to share audio recording responsibilities to be coordinated using some other mechanism. Doug On Tuesday, March 20, 2012 2:58:41 AM UTC-7, smichak wrote: OK - so sharing is impossible. My follow-up is therefore: Is it possible to

[android-developers] Re: Is it possible to open an Audio Recorder by more than one app using OpenSL?

2012-03-20 Thread Doug
What do you suppose will happen if 5 processes each ask for audio recording with 5 different combinations of recording frequencies and sample sizes? Is Android obliged to resample audio to those requested parameters for each app? What about 10 apps? That's a lot of resampling. This is the

[android-developers] Re: Is it possible to open an Audio Recorder by more than one app using OpenSL?

2012-03-20 Thread smichak
OK - so sharing is impossible. My follow-up is therefore: Is it possible to open the audio input device in a manner that would make it forefit or yield the resource if another application requests it? Again - I am asking this in the context of the OpenSL implementation. I have seen that OpenSL

[android-developers] Re: Is it possible to revert back to Honeycomb without rooting the Mototrola Xoom which got upgraded to ICS?

2012-02-22 Thread Pritam
Thanks Mark for suggesting appropriate place. Just in case some one comes up to this question later, I had posted it on Motorola forum here where Motorola technical support clarified there's no way without unlocking the device here:

[android-developers] Re: It is possible to embed a MapActivity into another Activity without using Fragments?

2012-02-03 Thread skink
saex wrote: Hi It is possible to embed a MapActivity into another Activity without using Fragments??? How can i achieve it? Thanks google activitygroup pskink -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: It is possible to send a notification with C2DM to all the users of an App?

2012-01-11 Thread rde8026
It works very much the same way (conceptually at least) as iOS. You can send a message to all users of an app; if and only if those users of the app are registered. When you sign up for C2DM (via the website) you need to provide an e- mail address, this e-mail address is the what they are

[android-developers] Re: It is possible to send a notification with C2DM to all the users of an App?

2012-01-11 Thread saex
No this way is not possible for my app. Think on millions of users, i can't create a loop of milions of iterations sending a notification In apple is possible to send the notification to an app and all their users, without doing a loop. Is not possible to do the same with android???

Re: [android-developers] Re: It is possible to send a notification with C2DM to all the users of an App?

2012-01-11 Thread Mark Murphy
On Wed, Jan 11, 2012 at 8:07 AM, saex elpablos...@gmail.com wrote: No this way is not possible for my app. Think on millions of users, i can't create a loop of milions of iterations sending a notification Then C2DM is not your solution. C2DM is for personalized notifications. -- Mark

[android-developers] Re: It is possible to send a notification with C2DM to all the users of an App?

2012-01-11 Thread saex
and wich is the better solution i can use for my needs? On 11 ene, 14:16, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jan 11, 2012 at 8:07 AM, saex elpablos...@gmail.com wrote: No this way is not possible for my app. Think on millions of users, i can't create a loop of milions of

Re: [android-developers] Re: It is possible to send a notification with C2DM to all the users of an App?

2012-01-11 Thread Mark Murphy
On Wed, Jan 11, 2012 at 8:21 AM, saex elpablos...@gmail.com wrote: and wich is the better solution i can use for my needs? Have your app check your Web server for updates periodically. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Re: It is possible to send a notification with C2DM to all the users of an App?

2012-01-11 Thread john_tower
To do this you should to store registration ID in your service database. Send notification for each. On 11 Січ, 14:33, saex elpablos...@gmail.com wrote: I'm checking this link:http://android-developers.blogspot.com/2010/05/android-cloud-to-devic... there explains that to send a notification,

[android-developers] Re: It is possible to avoid the SO to close a non visible activity?

2012-01-04 Thread lbendlin
non-visible mapview activity? Sounds like a game of alarm bell bingo. -- 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] Re: It is possible to avoid the SO to close a non visible activity?

2012-01-04 Thread saex
The variable that i need to access staticly is a the own MapActivity instance variable because i need to pass it to another mapView objects from other activities public class OsmMapActivity extends MapActivity { public static OsmMapActivity instance; public void onCreate(Bundle

Re: [android-developers] Re: It is possible to avoid the SO to close a non visible activity?

2012-01-04 Thread Mark Murphy
On Wed, Jan 4, 2012 at 9:30 AM, saex elpablos...@gmail.com wrote: The variable that i need to access staticly is a the own MapActivity instance variable because i need to pass it to another mapView objects from other activities This is not a good idea. Once the user presses BACK, that Activity

[android-developers] Re: Is it possible to use the UI controls while the ProgressDialog is on?

2011-12-20 Thread srihari babu
build custom progress dialog, which is a combination of progress bar and a button. Regards, Srihari -- 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

[android-developers] Re: Is it possible to use the UI controls while the ProgressDialog is on?

2011-12-20 Thread B.Arunkumar
Hi, This can be done. What I want is a way to use the same button for showing the progressdialog and later cancelling it. Probably I should go in for some animated imagview instead of progressdialog for my requirement, I guess. Thank you, B.Arunkumar On Dec 20, 3:58 pm, srihari babu

Re: [android-developers] Re: Is it possible to use the UI controls while the ProgressDialog is on?

2011-12-20 Thread Kostya Vasilyev
Um, unless I'm missing something... You can't use the same button because presumably the button to launch the long-running operation is not in the dialog, it's in the activity - and dialogs prevent interaction with activity UI elements while displayed. What you can do is one of: 1) Build your

  1   2   3   4   5   >