[android-developers] Re: SQLite concurrency

2011-10-10 Thread gjs
Hi, If you wrap all access to your sqlite3 database with a content provider this issue goes away. Regards On Oct 11, 1:30 pm, Zsolt Vasvari wrote: > Thanks.  Are you saying that I should just open the database once? > Right now, I am closing it in each Activity's onDestory().  I > shouldn't wor

[android-developers] Re: HTTP Request Handler

2011-10-10 Thread Anil Jagtap
Dear Sunil, I have wrote something like following http://pastebin.com/6tX9UHQS Is that what you want? On Oct 10, 2:16 pm, Sunil Mishra wrote: > Can any one please provide me an example of HTTP Request Handler. > Please its urgent. -- You received this message because you are subscribed to the

Re: [android-developers] Development platform on tablets?

2011-10-10 Thread iñaki
3.x? Regards On 11 October 2011 07:51, P.N. wrote: > > Hello, > > is there any Android SDK available for use on Android tablets? > > Kind regards > Peter > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, sen

[android-developers] Re: Bitmap's getWidth problem

2011-10-10 Thread Studio LFP
You have two options, use the BitmapFactory + BitmapFactory.Options like this: BitmapFactory.Options bfoOptions = new BitmapFactory.Options(); bfoOptions.inScaled = false; BitmapFactory.decodeResource( rMgr, ResID, bfoOptions ); Or you can put all the resources you don't want scaled in the drawa

[android-developers] Development platform on tablets?

2011-10-10 Thread P.N.
Hello, is there any Android SDK available for use on Android tablets? Kind regards Peter -- 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 gr

[android-developers] Re: Does Android Support SOAP web service?

2011-10-10 Thread Archana
which will be more reliable KSOAP or REST. On Oct 11, 9:32 am, Archana wrote: > ok thanks > > On Oct 11, 9:29 am, nageswara rao rajana > wrote: > > > > > yes it will my web service is soap and in my android app i used Ksoap,Its > > working. > > > On Tue, Oct 11, 2011 at 10:46 AM, Archana wrote:

Re: [android-developers] inqury

2011-10-10 Thread akash khandare
it depends on the mobile and the os that u are using however the langauages used are java,c,c++,.net etc On Thu, Sep 29, 2011 at 10:46 AM, Rahul Soni wrote: > Hi > Please tell me that in which programming language the programs developed > and the source to learn about the programming language...

[android-developers] Is it possible to zoom in/out of MediaPlayer?

2011-10-10 Thread B.Arunkumar
Hi, We are playing a video using mediaplayer on SurfaceView with a code similar to this link: http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/ Is it possible to zoom in/out of the mediaplayer while it is playing the video? --

[android-developers] Re: Does Android Support SOAP web service?

2011-10-10 Thread Archana
ok thanks On Oct 11, 9:29 am, nageswara rao rajana wrote: > yes it will my web service is soap and in my android app i used Ksoap,Its > working. > > > > On Tue, Oct 11, 2011 at 10:46 AM, Archana wrote: > > We have server which is maintained for SOAP web service. So if I am > > using KSOAP that a

Re: [android-developers] Re: Does Android Support SOAP web service?

2011-10-10 Thread nageswara rao rajana
yes it will my web service is soap and in my android app i used Ksoap,Its working. On Tue, Oct 11, 2011 at 10:46 AM, Archana wrote: > We have server which is maintained for SOAP web service. So if I am > using KSOAP that also need to be changed. > > Regards, > archana > > On Oct 10, 3:58 pm, nag

[android-developers] Re: Does Android Support SOAP web service?

2011-10-10 Thread Archana
We have server which is maintained for SOAP web service. So if I am using KSOAP that also need to be changed. Regards, archana On Oct 10, 3:58 pm, nageswara rao rajana wrote: > http://seesharpgears.blogspot.com/2010/10/ksoap-android-web-service-t... > > > > On Mon, Oct 10, 2011 at 5:22 PM, Archa

Re: [android-developers] close application

2011-10-10 Thread venugopal reddy
Thank q for response , I created one web based application (using URI) with our company logo. Just I started emulator and click the logo open web browser and run the my application. fine .. Now Just I close the browser and come back to my home.(I thought close the application). actually that a

[android-developers] Re: Can NOT upload program on Windows 7

2011-10-10 Thread Heuristic
I found the problem in uploading the app to Android Market. My IE9 cannot do any upload to any web applications. :-(. It's simply a problem in IE9. IE9 seems to give more problems than IE8. As to Eclipse's debugger, I never said that it has anything to do with uploading a file. thanks. On 10月1

[android-developers] Custom compass image bounds in subclassed MyLocationOverlay

2011-10-10 Thread stephen
I'd like to draw my own compass image on a MapView by subclassing MyLocationOverlay. The custom image needs to be larger than the default image shown by MyLocationOverlay. I override drawCompass and use my own drawables (bitmaps) to draw the compass, however the bounds of the canvas normally presen

[android-developers] Re: Bitmap's getWidth problem

2011-10-10 Thread Perry168
Hi all, I found that the problem not come from 2.1 or 2.2. When the AVD is using HVGA, the image resolution will display 574. But if AVD is using WVGA800, it will display 861. How can I get the correct image's width and height? Thanks a lot! -- You received this message because you are subsc

[android-developers] Bitmap's getWidth problem

2011-10-10 Thread Perry168
Hi, Following is my simple testing code : public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Bitmap gImage = BitmapFactory.decodeResource( j111testActivity.this.getResources(), R.drawable.sbg);

Re: [android-developers] Re: Rotate A View Permanently

2011-10-10 Thread Stefan Alder
One of the problems I'm having with this is the rotated element gets clipped by the area in which it's originally drawn. Should I be calling invalidate somewhere? On Wed, Oct 5, 2011 at 3:07 PM, twiggle wrote: > I'm  struggling trying to rotate by 180 degrees, a ViewGroup which contains > button

[android-developers] Re: SQLite concurrency

2011-10-10 Thread Zsolt Vasvari
Thanks. Are you saying that I should just open the database once? Right now, I am closing it in each Activity's onDestory(). I shouldn't worry about closing the database at all? On Oct 11, 10:09 am, Mark Murphy wrote: > Try having both components are using the same SQLiteDatabase object > (e.

Re: [android-developers] SQLite concurrency

2011-10-10 Thread Mark Murphy
Try having both components are using the same SQLiteDatabase object (e.g., via a singleton). SQLiteDatabase has its own thread-safety logic, but that only works with one instance, not across multiple instances. On Mon, Oct 10, 2011 at 9:53 PM, Zsolt Vasvari wrote: > Hello, I have my app with its

[android-developers] SQLite concurrency

2011-10-10 Thread Zsolt Vasvari
Hello, I have my app with its UI and a periodic Service both accessing the same SQLite database. It appears when the Service is trying to hit the database and the UI has it open, I am getting a SQLiteException: android.database.sqlite.SQLiteDiskIOException: disk I/O error at android.database.sqli

[android-developers] Re: Custom DialogPreference and PreferenceManager.setDefaultValues issue

2011-10-10 Thread lbendlin
it took me a few weeks to get that right. here's my example for a boolean value. And yes, .setDefaultValues is actually working, despite what you may think :-/ @Override protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { boolean temp = restoreValue ? getPe

[android-developers] Re: how to change the font typeface in PreferenceScreen

2011-10-10 Thread lbendlin
you might get lucky via http://developer.android.com/reference/android/content/SharedPreferences.OnSharedPreferenceChangeListener.html as I believe this is called when the preference is first rendered. And then you can poke the individual preference like so public void onSharedPreferenceChan

Re: [android-developers] EGL_BAD_ALLOC

2011-10-10 Thread Kristopher Micinski
http://stackoverflow.com/questions/6039107/android-glsurfaceview-egl-bad-alloc On Mon, Oct 10, 2011 at 4:41 PM, bob wrote: > Any ideas why my Android OpenGL slot machine may have this in its ACRA > log? > > java.lang.RuntimeException: eglSwapBuffers failed: EGL_BAD_ALLOC >        at android.openg

[android-developers] how to change the font typeface in PreferenceScreen

2011-10-10 Thread Arkadiusz Wojcieszek
I have font in file *.ttf in Assets folder. I want to set this font typeface for TextViewews. I have this code, but it doesn't change anything: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); addPreferencesFromResource(R.xml.settings); setContentV

[android-developers] Re: Can NOT upload program on Windows 7

2011-10-10 Thread Heuristic
I found the problem in uploading the app to Android Market. My IE9 cannot do any upload to any web applications. :-(. It's simply a problem in IE9. IE9 seems to give more problems than IE8. As to Eclipse's debugger, I never said that it has anything to do with uploading a file. On 10月10日, 下午9時02

[android-developers] Custom DialogPreference and PreferenceManager.setDefaultValues issue

2011-10-10 Thread Thierry Legras
Hi, I have integrated a custom DialogPreference (SeekBarPreference from http://android.hlidskialf.com/blog/code/android-seekbar-preference). But I can't make the call to PreferenceManager.setDefaultValues correctly initialize the preference to defaut value. After looking at android source, I wou

Re: [android-developers] Is it possible a nested JAR in JAR?

2011-10-10 Thread Kristopher Micinski
What do you want to do? You have a jar you're using in your app, and you want to replace it with somebody else's jar file? Why can't you just drop it in and replace it? This isn't too android specific, however.. Kris On Mon, Oct 10, 2011 at 5:56 PM, Build account wrote: > Hello. > > Is it pos

[android-developers] Re: GL-related Crash on Xoom/Tab 10.1 requiring removal of battery or shell reboot?

2011-10-10 Thread Peter Sinnott
Does anyone even pay attention to issues logged against the project? I imagine they are ignored like the public bug tracker. On Oct 10, 7:54 pm, Robert Green wrote: > Isn't this that really awful GL-related bug I've been talking about > for nearly 2 years?  I can't believe this still exists in ho

[android-developers] Is it possible a nested JAR in JAR?

2011-10-10 Thread Build account
Hello. Is it possible repackage a my custom JAR with another JAR(which may came from others) for only another developer's convienence. Not the illegal purpose. Possible? then how? Please comment me. -- You received this message because you are subscribed to the Google Groups "Android Developer

Re: [android-developers] customizing timepicker appearance

2011-10-10 Thread Kostya Vasilyev
Actually, you can find all platform resources in your Android-sdk directory, under platform-X/data. Also note that some manufacturers customize the appearance, e.g. with the recent firmware update, my Xperia Arc suddenly has those iPhone-type spinning things in its time picker. I believe HTC has t

Re: [android-developers] Uploading applications

2011-10-10 Thread J Handal
Thanks it was wrong gmail adress :-O -- 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...@googl

[android-developers] probelm with EditText inside

2011-10-10 Thread Christophe
I've got a view which include another one with the "include" component (see http://android-developers.blogspot.com/2009/02/android-layout-tricks-2-reusing-layouts.html ) There is some EditText inside the included view. There is 2 problems with these EditText : - I have to tap them 2 times in orde

[android-developers] EGL_BAD_ALLOC

2011-10-10 Thread bob
Any ideas why my Android OpenGL slot machine may have this in its ACRA log? java.lang.RuntimeException: eglSwapBuffers failed: EGL_BAD_ALLOC at android.opengl.GLSurfaceView $EglHelper.throwEglException(GLSurfaceView.java:1077) at android.opengl.GLSurfaceView$EglHelper.swap(GLSurfac

Re: [android-developers] Re: is this possible to start an app every 5mins

2011-10-10 Thread Kristopher Micinski
What? Plenty of good apps use this. Checking email, syncing files, etc.. Kris On Mon, Oct 10, 2011 at 4:26 PM, metin ögtem wrote: > They are use BroadCast receiver..And when alarm set it is working..if > you want to start applicaiton in every 5 min. it could be for show > advertiment..i was th

Re: [android-developers] Gettting Defferent Distance When Using the Google Map and User defined Function

2011-10-10 Thread metin ögtem
Maybe you should send your locations google map service..and read result for calculate distance 2011/10/8, Chirag Raval : > yes, i think it gives the result travel distance by car. > i want the travel distance . how can i get travel distance ? > > On Sat, Oct 8, 2011 at 3:53 PM, Michael Banzon wr

Re: [android-developers] Re: Update my Application

2011-10-10 Thread metin ögtem
XML 2011/10/8, Ubiracy Santos : > for example http://code.google.com/intl/pt-BR/android/c2dm/ > it works for that? > > -- > 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

Re: [android-developers] Re: Widget refresh rate

2011-10-10 Thread metin ögtem
5 min is best i think..But it depends what your application for.. 2011/10/8, Amit : > Thanks Satya. > My app needs refresh rate < 30mins. > > Thanks, > -A > > On Oct 8, 7:31 pm, Satya Komatineni > wrote: >> A, >> >> My understanding is that if your refresh rate is above 30 mins, then >> it will i

Re: [android-developers] Re: is this possible to start an app every 5mins

2011-10-10 Thread metin ögtem
They are use BroadCast receiver..And when alarm set it is working..if you want to start applicaiton in every 5 min. it could be for show advertiment..i was think that.. İt is easy way to use Broadcast receiver... 2011/10/10, Kristopher Micinski : > This is untrue... there are plenty of reasonable

Re: [android-developers] Flash On Flash Off without the camera

2011-10-10 Thread metin ögtem
if you didnt release it you cant use it again..Try to take picture..İf you camera is using by other process camera also can't use it.. 2011/10/8, Android2ee : > Hello, > There is a guy who contact me about the Android FlashLight, he wants > to set it on and off without having to use the camera. >

Re: [android-developers] Flash On Flash Off without the camera

2011-10-10 Thread metin ögtem
if you didnt release it you cant use it again..Try to take picture..İf you camera is using by other process camera alo can't use it.. 2011/10/8, Android2ee : > Hello, > There is a guy who contact me about the Android FlashLight, he wants > to set it on and off without having to use the camera. > H

Re: [android-developers] BitmapFactory.decodeResource() zero width/height

2011-10-10 Thread metin ögtem
is getSize() true ?? maybe it should be different 2011/10/8, Greg Donald : > I am loading a bitmap and then creating a new scaled version like this: > > Bitmap bm = BitmapFactory.decodeResource( getResources(), R.drawable.grid ); > Matrix matrix = new Matrix(); > matrix.postScale( (float) getSize(

Re: [android-developers] Re: is this possible to start an app every 5mins

2011-10-10 Thread Kristopher Micinski
This is untrue... there are plenty of reasonable applications for this.. http://developer.android.com/reference/android/app/AlarmManager.html Kris On Mon, Oct 10, 2011 at 2:30 PM, metin ögtem wrote: > Yes you can ..But it is not for good programmer..Google can close your accont > > 2011/10/10,

Re: [android-developers] Android Benchmark

2011-10-10 Thread Kristopher Micinski
There are android profiling tools, as well, if you would like to do that. A benchmark is more application specific, you're just not using the concept correctly. It makes sense to benchmark some type of application, but applications in general, perhaps you are asking about application profiling?

Re: [android-developers] Android Benchmark

2011-10-10 Thread metin ögtem
Android market contain benchmark applicatios ...you can benchmark your phone.. 2011/10/9, ehsan azimzadeh : > I want to determine which bytecodes are usually execute. In other words I'm > doing a bytecode profiling. This is not only in a specific domain. Is there > any universal and valid benchmar

Re: [android-developers] Re: Video in WebView

2011-10-10 Thread metin ögtem
You can add webview your layout..it will be simple.. 2011/10/9, gyanu maharjan : > check this.. > http://stackoverflow.com/questions/4810421/open-video-player-in-webview > > On Sun, Oct 9, 2011 at 1:46 PM, Siva Prakash > wrote: > >> Yes I want to play a video from You tube or from another HTML fil

Re: [android-developers] sending email automatically

2011-10-10 Thread metin ögtem
Android mail system requre Gmail or other authentication..That means some screnn pops up and show users to send mail to you.. 2011/10/10, rahul verma : > What is SMTP? > > On 10 Oct 2011 06:16, "rahul verma" wrote: > > Yeah i too need to know that. .whenever we try to send a mail a gmail app > sc

Re: [android-developers] Uploading applications

2011-10-10 Thread metin ögtem
Maybe you try to connect wrong gmail adress.. 2011/10/10, J Handal : > Once you've registered, it's easy to upload your application to Android > Market. From the home screen of the Developer > Console, > select "Upload Applications." You'll be asked to fill in t

[android-developers] Re: Drawing scaled bitmaps on a SurfaceView -- no antialiasing

2011-10-10 Thread ReDeeMer
try to draw a bitmap on your canvas using this paint: Paint paint = new Paint(); { paint.setAntiAlias(false); paint.setFilterBitmap(true); } Setting antialias to false seems weird. But surprisingly it works!! -- You received this message b

[android-developers] Re: How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-10 Thread Jean-Michel
I do fully agree with the process, but apparently, with these requirements (supporting x to honeycomb), we are cornered with using build targets *above* the minSdk level which is really begging for troubles. Google dropped the ball at the last hurdle. If the XML code for tablets (showAsAction, fo

Re: [android-developers] ErrorMessageHandler.handleMessage(-1) to start camera

2011-10-10 Thread Антон Михайлов
that ? Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); intent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File("/scard/tmp.jpg"))); startActivityForResult(intent, 0); error message is also :) 2011/10/10 metin ögtem > I think your code is wrong..You must use Intent.Extr

[android-developers] GL-related Crash on Xoom/Tab 10.1 requiring removal of battery or shell reboot?

2011-10-10 Thread Robert Green
Isn't this that really awful GL-related bug I've been talking about for nearly 2 years? I can't believe this still exists in honeycomb, worse yet that it's nearly unrecoverable to tablet users that can't remove their battery and don't have enough technical knowledge to use ADB. http://code.google

[android-developers] Uploading applications

2011-10-10 Thread J Handal
Once you've registered, it's easy to upload your application to Android Market. From the home screen of the Developer Console, select "Upload Applications." You'll be asked to fill in the following . Is very easy(if they save your cookies). I can't login ,the s

[android-developers] Uploading applications

2011-10-10 Thread J Handal
Once you've registered, it's easy to upload your application to Android Market. From the home screen of the Developer Console, select "Upload Applications." You'll be asked to fill in the following . Is very easy(if they save your cookies). I can't login ,the s

Re: [android-developers] Re: is this possible to start an app every 5mins

2011-10-10 Thread metin ögtem
Yes you can ..But it is not for good programmer..Google can close your accont 2011/10/10, Rikki : > Use a service to launch your activities. Read > http://developer.android.com/guide/topics/fundamentals/services.html > for details. > > On Oct 10, 3:09 pm, GopalaKrishnan D wrote: >> is this possib

Re: [android-developers] [SOLVED] Real Multi touch in Android - Going Open Source!!!

2011-10-10 Thread metin ögtem
Good..That applicatios uses in presentation 2011/10/10, swapnil kamble : > Cool app. I just tried it, works awesome. > Nice work > > Swapnil > > On Mon, Oct 10, 2011 at 2:08 PM, Asim wrote: > >> Hey Everyone, >> >> I've been working on a project to improve android's multi touch >> capability. The

Re: [android-developers] Downloads

2011-10-10 Thread metin ögtem
I think you only can get applications..You can get package names and when new one came you can do what you want..But browser downloading is not make sense 2011/10/10, b_t : > Hi, > > Is there any way to get list of every downloads? > It seems that DownloadManager returns downloads only for my app

Re: [android-developers] HTTP Request Handler

2011-10-10 Thread metin ögtem
You must search in internet :) 2011/10/10, Sunil Mishra : > Can any one please provide me an example of HTTP Request Handler. > Please its urgent. > > -- > 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] ErrorMessageHandler.handleMessage(-1) to start camera

2011-10-10 Thread metin ögtem
I think your code is wrong..You must use Intent.Extra .. 2011/10/10, Антон Михайлов : > if i runnig cam from menu, all running fine. > > 2011/10/10 metin ögtem > >> Check for Camera runnig correctly >> >> 2011/10/10, ecspertiza : >> > Hi all, I use code >> > >> > Intent intent = new Intent("andro

Re: [android-developers] Re: Get GPS Location in a Broadcast Receiver.

2011-10-10 Thread metin ögtem
Maybe you want to use Service.. 2011/10/10, lbendlin : > Either make the location a global variable, or send it as an Extra in the > broadcast. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to an

Re: [android-developers] ErrorMessageHandler.handleMessage(-1) to start camera

2011-10-10 Thread Антон Михайлов
if i runnig cam from menu, all running fine. 2011/10/10 metin ögtem > Check for Camera runnig correctly > > 2011/10/10, ecspertiza : > > Hi all, I use code > > > > Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); > > startActivityForResult(intent, 0); > > > > to start standart c

Re: [android-developers] close application

2011-10-10 Thread metin ögtem
why you want that ?? And i think you must get live applications..And you must write service or likte that thing 2011/10/10, TreKing : > On Mon, Oct 10, 2011 at 1:24 AM, venugopal reddy > wrote: > >> My requirement is , If I close the Emulator browser , automatically that >> application should be c

[android-developers] HTTP Request Handler

2011-10-10 Thread Sunil Mishra
Can any one please provide me an example of HTTP Request Handler. Please its urgent. -- 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, se

Re: [android-developers] ErrorMessageHandler.handleMessage(-1) to start camera

2011-10-10 Thread metin ögtem
Check for Camera runnig correctly 2011/10/10, ecspertiza : > Hi all, I use code > > Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); > startActivityForResult(intent, 0); > > to start standart camera. Standart camera run and i get message > ErrorMessageHandler.handleMessage(-1). >

[android-developers] customizing timepicker appearance

2011-10-10 Thread John Goche
Hello, Is there a way to customize the appearance of the time picker without having to write your own widget instead? I would like to use drawables to do so. The following site shows how the timepicker constituents are drawables of some sort but does not go about telling whether you can use your o

[android-developers] ErrorMessageHandler.handleMessage(-1) to start camera

2011-10-10 Thread ecspertiza
Hi all, I use code Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); startActivityForResult(intent, 0); to start standart camera. Standart camera run and i get message ErrorMessageHandler.handleMessage(-1). what wrong ? -- You received this message because you are subscribed to

[android-developers] Re: Scenario where initLoader() does not call onLoadFinished()

2011-10-10 Thread Jeremy Drake
This sounds suspiciously like the issue I am having http://groups.google.com/group/android-developers/browse_thread/thread/ca3a0c174d284263 I was able to reproduce the bug with pushing a new activity in my own app, which uses an AsyncTaskLoader instead of a CursorLoader. Hopefully somebody famili

[android-developers] Buffer issues with the Droid Bionic?

2011-10-10 Thread Nathan
Based on some stack traces I've seen, it appears that the Droid Bionic is having the same problem we've seen in the HTC Thunderbolt in the past - that of using a 2 megabyte buffer by default on HttpClient. The failures are happening in a third party library that isn't open source, but I can co

Re: [android-developers] Using drawable resources efficiently

2011-10-10 Thread Studio LFP
After additional testing, I've confirmed that the mutate() option doesn't allow the use of one Drawable on multiple view under the following conditions unless there is a trick to it that I'm missing. 1. Using a CursorAdapter with a ListView (Using newView and bindView, haven't tried with getVie

Re: [android-developers] ghost presses phone and emulator buttons :p

2011-10-10 Thread John Goche
On Mon, Oct 10, 2011 at 6:37 PM, Appaholics wrote: > It could be that the Intents are from background services and tasks from > other apps. Filter it by Process ID to see only your app. > Sorry, not sure I understand. Filter what by process ID, my application presumably, but how and what should I

Re: [android-developers] ghost presses phone and emulator buttons :p

2011-10-10 Thread Appaholics
It could be that the Intents are from background services and tasks from other apps. Filter it by Process ID to see only your app. Thanks On Mon, Oct 10, 2011 at 10:05 PM, John Goche wrote: > > Hello, > > This may sound funny, but sometimes when I run my application it is > as though a ghost is

[android-developers] ghost presses phone and emulator buttons :p

2011-10-10 Thread John Goche
Hello, This may sound funny, but sometimes when I run my application it is as though a ghost is pressing the buttons on the screen launching intents and what not. I'm not sure there is anything that can be done about it, but I thought it would be worth asking if anyone else has seen anything like

Re: [android-developers] close application

2011-10-10 Thread John Goche
I think the poster means that sometimes when the application exits it is still running. The solution is to open the Settings application and go to Applications -> Manage Applications -> Force Stop. I don't know of a way an application can request it be completely dropped from memory when a user clo

Re: [android-developers] Re: time picker: soft keyboard problems: cannot read time

2011-10-10 Thread John Goche
Thanks Studio! Your solution seems to have worked. John Goche On Mon, Oct 10, 2011 at 4:52 PM, Studio LFP wrote: > Hey John, > > You've run into the focus bug (or feature) with the TimePicker. It doesn't > update the time put in by a keyboard until it loses focus. > > Try tossing a TimePicker.

Re: [android-developers] Using drawable resources efficiently

2011-10-10 Thread Studio LFP
I don't think this works for a ListView when using setBackgroundDrawable(). At least I've not gotten it to work when calling mutate() at every point possible. Is there a trick to get this to work? I didn't load mine from XML, but created it programmatically. Here are the times I called it and

Re: [android-developers] close application

2011-10-10 Thread TreKing
On Mon, Oct 10, 2011 at 1:24 AM, venugopal reddy wrote: > My requirement is , If I close the Emulator browser , automatically that > application should be close.. > > How can I? > Elaborate. - TreKing

Re: [android-developers] Re: How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-10 Thread Mark Murphy
On Mon, Oct 10, 2011 at 11:15 AM, Jean-Michel wrote: > If I build with SDK >=11, I am at risk of including some code that > will fail badly on SDK 8 to 10 devices... Hence, you need to test your app on older devices/emulators. Do not write production code without writing associated tests and runn

Re: [android-developers] Re: How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-10 Thread Kostya Vasilyev
Probably the easiest thing you can do is... ... before making a release build, switch the build target back to 2.2 (or what have you), temporarily, and inspect the build errors. -- Kostya 10.10.2011 19:15, Jean-Michel пишет: If I build with SDK>=11, I am at risk of including some code that w

[android-developers] Re: How to display search button in actionbar on tablet (app minSdk = 8)

2011-10-10 Thread Jean-Michel
This is proving much harder than I thought... Basically, in order to show a search item in the action bar (or any item) I need to set "showAsAction" in my menu. In order to do that, I need to build with SDK >= 11. If I build with SDK >=11, I am at risk of including some code that will fail badly

Re: [android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Mark Murphy
On Mon, Oct 10, 2011 at 11:04 AM, Pinheiro wrote: >> Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK. As> the >> documentation states for ACQUIRE_CAUSES_WAKEUP: >  Thanks but that doesn't solve my problem, I really, really want to > turn the screen off after some time of inactiv

[android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
> Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK  Thanks but that doesn't solve my problem, I really, really want to turn the screen off after some time of inactivity and turn it on only after a message arrives or the user touches the screen or button. Update: PARTIAL_WAKE_LOCK

Re: [android-developers] how to make a url get fitted to an android device screen

2011-10-10 Thread TreKing
On Sun, Oct 9, 2011 at 11:12 PM, Sivasankar K wrote: > I am able to reduce the page by zooming in manually. I want the entire page > to get fitted to the screen by its own. http://developer.android.com/reference/android/webkit/WebView.html#zoomOut()

[android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
> Not if you are using PARTIAL_WAKE_LOCK. You need a FULL_WAKE_LOCK. As> the > documentation states for ACQUIRE_CAUSES_WAKEUP:  Thanks but that doesn't solve my problem, I really, really want to turn the screen off after some time of inactivity and turn it on only after a message arrives or the us

[android-developers] Re: Evil Minds

2011-10-10 Thread Dan Winsor
On Oct 10, 9:56 am, mostafa dia wrote: > *                                 Evil Minds   * Too long, didn't read. Could you send us an executive summary and get it down to 3 or 4 good bullet points? Thanks in advance. -- You received this message because you are subscribed to the Google Grou

[android-developers] Re: time picker: soft keyboard problems: cannot read time

2011-10-10 Thread Studio LFP
Hey John, You've run into the focus bug (or feature) with the TimePicker. It doesn't update the time put in by a keyboard until it loses focus. Try tossing a TimePicker.clearFocus() in the mix somewhere. If you use it in a dialog, call it on the TimePicker view when you go to dismiss the dialog

Re: [android-developers] Re: Can NOT upload program on Windows 7

2011-10-10 Thread Appaholics
Uh, what does the eclipse debugger have to do with uploading to the Android Market? And you can upload from Windows 7. I normally do it from my mac but I have done it from my windows desktop and it works perfectly. Is the market giving you any error in particular? Thanks On Mon, Oct 10, 2011 at

[android-developers] Re: Can NOT upload program on Windows 7

2011-10-10 Thread Heuristic
Of course this is to upload my apps to Android Market developer's program listing. After you update your program (app), you want to upload it to your program listing so that your users can upgrade the program. Somehow it does not work on my Windows 7 now. I indeed encountered many problems on Windo

Re: [android-developers] Re: Can we 'include' a xml into another preference xml by file? and by jar(another package)?

2011-10-10 Thread Mark Murphy
2011/10/10 Build account : > 1. Right...thank you for your reply. That was only way... > but as far as we know that addPreferencesFromResource() is deprecated > and > some time I want to keep my source in an absolute path to maintain > projects. In Android, "deprecated" means "we will support it a

[android-developers] Re: Can check authority or situation whether installed as system app or market app?

2011-10-10 Thread Build account
Thank you for your advice which quick, simple and even clear. :) On Oct 8, 7:49 pm, Kostya Vasilyev wrote: > https://groups.google.com/forum/#!topic/android-developers/0J0UF-MrBLY > > > 08.10.2011 14:26, Build account пише

[android-developers] time picker: soft keyboard problems: cannot read time

2011-10-10 Thread John Goche
Hello, I am having the following problem with the timepicker. When I use the plus and minus signs to update the time everything works fine but when I use the soft keyboard I cannot read the new value from the time picker. Basically the problem I am having is described here: http://stackoverflow.

[android-developers] Re: my left side not working

2011-10-10 Thread Oli
Made my day. On Oct 7, 5:08 pm, Dan Winsor wrote: > > If your left side isn't working, you'll be all right... -- 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 unsu

[android-developers] Re: Can we 'include' a xml into another preference xml by file? and by jar(another package)?

2011-10-10 Thread Build account
First thank you for your reply. (Beside that my questions, I've been found some workaround and restrictions on adt env.) 1. Right...thank you for your reply. That was only way... but as far as we know that addPreferencesFromResource() is deprecated and some time I want to keep my source in an abso

Re: [android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Mark Murphy
On Mon, Oct 10, 2011 at 10:22 AM, Pinheiro wrote: >> specifically told Android not to turn the screen on, by using >> PARTIAL_WAKE_LOCK. > >  I want it to turn off automatically until a message is received or > the user touches something. >  As I said, reading the docs PowerManager.ACQUIRE_CAUSES

[android-developers] Re: Smart Idea

2011-10-10 Thread Oli
How about an interactive tour guide system. Could be places of interest for tourism, or even just labelling departments in an academic institution. Scan the code and get taken to some video / multimedia guide on the target. I can see that sort of thing being quite cool for students on an open da

[android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
Hi! Thanks for the answer. > > FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I > Huh? Your "effects on the battery" are already there with what you're Well, at least the screen is off and I don't have to make a screen saver (don't know if LCD burn-in is still a problem?) ;-

[android-developers] Re: textView Clears on Rotation

2011-10-10 Thread King Salamon
Excellent --this works! Thanks On Oct 10, 9:54 am, Kostya Vasilyev wrote: > Setting > > android:freezesText="true" > > in the layout XML forces a TextView to save its content. The view needs > to have an ID as well. > > -- Kostya > > 10.10.2011 17:48,KingSalamonпишет: > > > > > > > > > > > Thank

Re: [android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Mark Murphy
On Mon, Oct 10, 2011 at 10:02 AM, Pinheiro wrote: > One more thing: > FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I > don't want to use them because of effects on the battery. Huh? Your "effects on the battery" are already there with what you're trying to do. The CPU is on

[android-developers] Re: Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
One more thing: FULL_WAKE_LOCK or FLAG_KEEP_SCREEN_ON should solve the problem but I don't want to use them because of effects on the battery. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Waking the screen after PARTIAL_WAKE_LOCK

2011-10-10 Thread Pinheiro
I've done an app that must work in the background fetching messages from a web site that must never sleep. For that I'm using PARTIAL_WAKE_LOCK, let the screen turn off and wake it when there is a new message. Here's some code: -- public void onCreate(Bundle savedInstanceState) { pm

[android-developers] Maps with a little "X" mark

2011-10-10 Thread RegisMelo
Hello All, Anyone already got an strange behavior in Google Maps showing a little squares with a "X" in the middle? I embedded Google Maps in my app and every map show these little squares. I suspect that this is related to something regarding my signature/ certificate. Anybody can help me?

Re: [android-developers] Re: textView Clears on Rotation

2011-10-10 Thread Kostya Vasilyev
Setting android:freezesText="true" in the layout XML forces a TextView to save its content. The view needs to have an ID as well. -- Kostya 10.10.2011 17:48, King Salamon пишет: Thank you everyone for the great insight on this issue. I tried the simple -down and dirty workaround by adding a

  1   2   >