[android-developers] Re: Getting GPS values without LocationManager's onLocationChanged

2012-06-04 Thread gjs
Hi, See also http://developer.android.com/reference/android/location/GpsStatus.NmeaListener.html Regards On Jun 3, 10:28 pm, Mark Murphy mmur...@commonsware.com wrote: GPS fixes will arrive at a rate determined by the GPS hardware and the environment. You cannot control this. Either adjust

[android-developers] Tons of error trying to build ADWLauncher

2012-06-04 Thread galapogos
I'm trying to build ADWLauncher, but I'm getting a ton of compiler errors in Eclipse SDK 3.7.1 in a Win7 32bit PC with JDK7. I imported ADWLauncher to Eclipse. and I'm getting the following errors: Description ResourcePathLocationType Android requires compiler compliance

[android-developers] Problem with video in WebView

2012-06-04 Thread Angélica Oliveira
Hello, I am new in android, and I am developing an app, where I want to watch a movie in a webview, using HTML 5, but the video doesn't appear, when I run the app I can see only the video controls... The code in html that I am using is: code = !DOCTYPE html + html + head + titleSimple

[android-developers] need help on bluetooth android (T_T)

2012-06-04 Thread Aroma_Optic
hye..im student from malaysia..currently im doing the project base on android Bluetooth. i try to attach sensor and to retard the sensor to Android device. i try to refer the chatting program and modified it, but it doesn't work. i get confuse with command inputstream, getinputstream and

[android-developers] need to remove contact from group ..

2012-06-04 Thread ala hammad
Hi Guys , i need to remove an contact or more from specific group via coding .. any one can help me ?? thanks for your help .. -- 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] Driven nuts by life-cycles

2012-06-04 Thread Blue Wanderer
As it is said in the Dev Guide Activities could be *restored* after the App process is killed and User navigates to the Activity. First of all, I have never seen this happened. It doesn't seem that I can navigates back to an Activity when its process is killed, the Activity is simply gone from the

[android-developers] SipWakeLock

2012-06-04 Thread Jesús Gumiel
Hi everybody. Anybody know what is the reason to use the SipWakeLock?. I don´t see the case in wich this is needed because even pressing the power button to switch off my screen, the timer keep being received. I understand that without using this partial lock, the consumption of battery would be

[android-developers] Webview not showing flash

2012-06-04 Thread Amit Gupta
Hi, I am trying to open a html page with embedded flash object using webview. It is not showing the flash object. Could you please help me? I am using sdk api 10. my code is like package com.test5; import android.app.Activity; import android.os.Bundle; import android.webkit.WebView; public

[android-developers] Portrait - VideoView in ScrollView, Landscape - VideoView in Fullscreen

2012-06-04 Thread Girish Naik
Hi, I want to make the following scenario work. - In portrait mode, the page should be scrollable and has a VideoView to show the Video. - When user turns to landscape, the video view should be in fullscreen. Also if the video is not playing then the layout should change according to

[android-developers] ICS Emulator does not display webcam picture

2012-06-04 Thread Tobias Manthey
I just created an r15 avd. Every time it starts on my sony laptop I can select my (internal) webcam from the list. But neither the camera active led turns on nor I see a picture from webcam in the camera app. Skype works just fine with the camera. If I type emulator -webcam list -avd Test

[android-developers] Re: Consumer closed input channel

2012-06-04 Thread Joshua Mostafa
Thanks for the info above guys, it really helped me out. And I'd add that it's sort of important to know how people work to try to talk to them. They usually respond better to politeness, especially when they've already apologised in advance for asking an obvious question... On May 5, 10:30 am,

[android-developers] Re: VideoView inside ScrollView

2012-06-04 Thread Girish Naik
Try giving bacground color to the videoview - videoView.setBackgroundColor(Color.TRANSPARENT); On Thursday, July 23, 2009 2:53:26 PM UTC+5:30, nuno wrote: Hi all, I am using a VideoView inside a LinearLayout together with other views like TextView, and this LinearLayout is inside

[android-developers] Add Javadoc in Android Dependencies (3rd parties) with ADT rev. 17 and subsequent

2012-06-04 Thread Javier
Hello, From ADT rev17 I can not add the javadoc of third-party libraries. How is it possible to attach it? Would you be corrected in later versions? I have Fedora 17 64 bits + Eclipse Juno (4.2.0) + ADT 20 preview 3 but not is possible to add javadoc (from ADT rev17). Thank4Advanced Best

[android-developers] How does notifyChanged work on a ListPreference?

2012-06-04 Thread gda...@gmail.com
I have a ListPreference and when the preference changes I call notifyChanged which should update my ListView. This does not seem to do the trick. Can someone explain what notifyChanged actually does and maybe I can understand why it's not working? -- You received this message because you are

[android-developers] How to force refresh contacts list in Contacts

2012-06-04 Thread gda...@gmail.com
I added a setting in AOSP Contacts to use smaller contact photos. I added it as a system setting and I have a listener to catch changes. I tested this with a Log.d message and it's all working. If I click Settings Sort list by or Settings View contact names as and select a value, the list is

[android-developers] Google Nexus loses battery while powered off

2012-06-04 Thread Ryan Schwartz
Hello, In the past few weeks, and especially since the most recent system update, I've had problems with my phone's battery. It will lose nearly all of its charge when I power it off at night. Last night, I powered it off at 90% charged and this morning when I turned it on, it was at 30%. This is

[android-developers] how to populate checkedTextView

2012-06-04 Thread Amit Gupta
Hi, I am new to andriod programming and needs help in population of checkedTextView for strings in array. Could you please help me? Regards, Amit Gupta -- 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] Updating part of a XML file in android

2012-06-04 Thread Alex Deering
I have XML files that store data, parts of the file store recorded information. I have no control over the files as they are from other programs. What Im trying to do is update just a single tag text and not have to go through and write an entirely new file. These files can get especially

[android-developers] Why the WifiManager.startScan() method requires permission CHANGE_WIFI_STATE

2012-06-04 Thread Kiral
The thing that worries me is that the startScan() method also requires permission android.permission.CHANGE_WIFI_STATE. If you just do a scan, and will not change the wifi settings. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Error when switch activity at the second time

2012-06-04 Thread Yefta Meliala
Hi, i am developing an android application and i need help to solve my problem on my application. My application is consist of 2 activity, main.java and CobaGesture.java. Main,java has a start button that run startActivity(new Intent(main.this, CobaGesture.class)); CobaGesture.java has a back

[android-developers] Newbie seeking design suggestions

2012-06-04 Thread Mike Dodd
Hello to the group from an Android newbie. I have considerable experience in software design and coding (including Java), but none with Android. I have, however, read the setup info, and have a good idea how to get started. I want to develop an app that has the ability to receive text messages

[android-developers] Rtsp live streaming.

2012-06-04 Thread Amitay Molko
Hello, I am trying to stream video from my server to my android phone. The android ApiDemo doesn't work - i get error (1,-1) I downloaded an app to my nexus one call rtspviewer -- https://play.google.com/store/apps/details?id=com.alemocni.rtspviewerhl=en I put my link in and it worked perfectly. I

[android-developers] How to optimize my grid adapter

2012-06-04 Thread Bob Loblaw
I'm trying to optimize my grid adapter item. I'm already using ViewHolder (as suggested by various google talks) when calling getView in my adapter. My xml also doesn't go that deep. There are no linear layouts, only relative layouts, and it's five layers at the deepest. Are there other tweaks

[android-developers] SSl pinning problem

2012-06-04 Thread Emilian Stoilkov
Hello, I am trying to implement SSL pinning following this approach: http://blog.crazybob.org/2010/02/android-trusting-ssl-certificates.html It all works fine on multiple test devices (Nexus, Samsung S1, Wildfire, etc.), except on Samsung Galaxy S2 (European version with 2.3.6). Sporadically (one

[android-developers] Re: simple video sample

2012-06-04 Thread Nguyen Le
Làm cái này đuối thật các pác nhĩ On Saturday, November 17, 2007 8:45:16 PM UTC+7, John Albano wrote: Hi all, Does anyone have a simple example of playing video? I've tried the following, but get an ActivityNotFoundException (no activity found to handle intent)... ContentURI myURL =

[android-developers] 9Patch Resizer Tool : it's time to get lazy !

2012-06-04 Thread Benoit Vermont
This is not related as hacking an android device or anything, but I'm pretty sure I created a tool that's gonna appeal to a few Android developpers : a drag and drop utility that takes xhdpi .png files as input, and automatically generates ldpi, mdpi, hdpi files. What's more, it resize 9 patch

[android-developers] Re: How to change default HIPRI connection expiry?

2012-06-04 Thread Sascha
Hello, I think there is no way to change the expiry timeout itself. However, you can reset the expiry event by calling connMan.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, enableHIPRI); repeatedly every 30 seconds or so. This should stabilize your connection as long as you need

[android-developers] android buttons in tabs disappear with api under 11

2012-06-04 Thread Melanie Peterson
0down votefavorite share [g+]share [fb]share [tw] I'm an Android noob and I'm writing an application that has 3 tabs with buttons added to the tabs dynamically in code. This works fine with API 11 or up, but not with any lower API. I don't get an error message with a lower API, the buttons

[android-developers] Re: How to change default HIPRI connection expiry?

2012-06-04 Thread Sascha
There is no way to change the expiry delay. However, you can reset the timeout by calling connMan.startUsingNetworkFeature(ConnectivityManager.TYPE_MOBILE, enableHIPRI); every 30 seconds or so. The connection should then be stable as long as you need it. Hope this helps Sascha Am

[android-developers] Re: Problem in calling sms application in android 3.0 and above

2012-06-04 Thread ProveIt ProveIt
On actual phone, Razr with Android 2.3.6 I get the address filled in but no body. On a Droid running Android 2.2.3, all works ok. -- 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] Can't push file to SD card using Eclipse emulator

2012-06-04 Thread Melanie Peterson
0down votefavorite share [g+]share [fb]share [tw] I'm trying to push a 3GP file to the Eclipse emulator. I open the emulator and in Eclipse go to the DDMS perspective. In File Explorer, I open /mnt and highlight sdcard. I click on the Push a file onto the device button and choose my 3GP file.

[android-developers] Re: custom attributes in library projects

2012-06-04 Thread Hank
Hi Jay, Your solution doesn't worked for me. Yes, the project could pass the compile without errors, but the attributes are never read at runtime. Hank On Friday, March 2, 2012 4:22:40 AM UTC+8, Jay Kline wrote: Im using a slightly better kludge. Instead of having to include the xml

Re: [android-developers] Problem with video in WebView

2012-06-04 Thread Amit Gupta
I am also facing the same issue. Regards, Amit Gupta On Mon, Jun 4, 2012 at 3:02 AM, Angélica Oliveira angelica@gmail.comwrote: Hello, I am new in android, and I am developing an app, where I want to watch a movie in a webview, using HTML 5, but the video doesn't appear, when I run

Re: [android-developers] Can't push file to SD card using Eclipse emulator

2012-06-04 Thread asheesh arya
just go through this link might be you get some idea!!! http://eagle.phys.utk.edu/guidry/android/pushpull.html -- 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

Re: [android-developers] Re: simple video sample

2012-06-04 Thread asheesh arya
just go through this link might be it helpful for you!! http://eagle.phys.utk.edu/guidry/android/playingVideo.html -- 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

Re: [android-developers] Newbie seeking design suggestions

2012-06-04 Thread Fabien R
On 04/06/12 01:24, Mike Dodd wrote: 3. Use network sockets. I have written a socket server in C that runs on Linux, for a different application, and a socket client in C#.Net. Could sockets be used on an Android? Why don't you want to use java socket ?

Re: [android-developers] Re: get the text in edit text on button click

2012-06-04 Thread pushpa nc
In your activity class do the following EditText text = (EditText) findViewById(R.id.youredittextid); EditText text1 = (EditText) findViewById(R.id.youredittextid); and implement onclicklistener btn.setOnclickListener(new OnclickListener(){ public void onclick(){

[android-developers] Android calender

2012-06-04 Thread vamshi ch
hi , I need help on CalendarView... the requirement like Android calender(day,weak,month) view and making appointment and get notification if have any appointments and if any one have Idea or sample code or examples pls let me know...help me on this... Thanks in advance -- You received

Re: [android-developers] Android calender

2012-06-04 Thread David Olsson
There is at first no need to send two of the same emails, just different subjects within a couple of hours, or days. That is just not that cool with regard to the other people who also have questions. No need to spam the list. http://lmgtfy.com/?q=Calendar+example+android On Mon, Jun 4, 2012 at

[android-developers] Re: android bindservice rotation

2012-06-04 Thread Greenhand
I modify my code and use bindService(new Intent(getApplicationContext(), MessengerService.class), mConnection, Context.BIND_AUTO_CREATE) but my service still be killed and created with my Activity life cycle. Can you please illustrate Don't unbind in the old activity instance -- only unbind from

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Kostya Vasilyev
04.06.2012 13:06, Greenhand написал: I modify my code and use bindService(new Intent(getApplicationContext(), MessengerService.class), mConnection, Context.BIND_AUTO_CREATE) but my service still be killed and created with my Activity life cycle. Can you please illustrate Don't unbind in the old

[android-developers] Re: Getting GPS values without LocationManager's onLocationChanged

2012-06-04 Thread Rafael Pinto
The solution proposed by Mark Murphy works well. Create a timer with the interval you want and call then getLastKnownLocation method to obtain the gps values. For this you will need the requestLocationUpdates and get the list of providers from the LocationManager. Create a loop inside the timer

Re: [android-developers] CalendarView need help

2012-06-04 Thread Fred Niggle
First work through tutorials, then demonstrate a resonable effort before posting a question. Nobody here will do your work for you. On 4 June 2012 05:56, vamshi ch vamshi0...@gmail.com wrote: hi , I need help on CalendarView... the requirement like day,weak,month *view*and making

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread sha m
why shouldnt startservice/stopservice instead of bind/unbinding to the service On Mon, Jun 4, 2012 at 3:15 PM, Kostya Vasilyev kmans...@gmail.com wrote: 04.06.2012 13:06, Greenhand написал: I modify my code and use bindService(new Intent(getApplicationContext()**,

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Kostya Vasilyev
Why use addition instead of multiplication? -- K 04.06.2012 14:06, sha m написал: why shouldnt startservice/stopservice instead of bind/unbinding to the service -- Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Mark Murphy
On Mon, Jun 4, 2012 at 5:06 AM, Greenhand cooperateonl...@gmail.com wrote: I modify my code and use bindService(new Intent(getApplicationContext(), MessengerService.class), mConnection, Context.BIND_AUTO_CREATE) but my service still be killed and created with my Activity life cycle. Can you

Re: [android-developers] HTML content on AppWidget

2012-06-04 Thread sha m
Hi, Android allows to draw remote views for widget. Remote view do not support all the view to be placed in it. On Mon, Jun 4, 2012 at 9:49 AM, zhang guichuan codeman.zh...@gmail.comwrote: i have search for a long time. some method can add a complex app widget on launcher. such as add

Re: [android-developers] Google Nexus loses battery while powered off

2012-06-04 Thread Mark Murphy
This list is for developing applications with the Android SDK. Use a general forum (e.g., http://android.stackexchange.com) for general Android user questions, or contact tech support for your device manufacturer or carrier. On Sun, Jun 3, 2012 at 7:10 PM, Ryan Schwartz losethesh...@gmail.com

Re: [android-developers] SipWakeLock

2012-06-04 Thread Mark Murphy
On Fri, Jun 1, 2012 at 7:19 AM, Jesús Gumiel jesus.gum...@gmail.com wrote: Hi everybody. Anybody know what is the reason to use the SipWakeLock?. There is no SipWakeLock in the Android SDK. There is one in the firmware, but that is out of scope for this list. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Why the WifiManager.startScan() method requires permission CHANGE_WIFI_STATE

2012-06-04 Thread Fred Niggle
It works that way because the OS has no way of knowing your intentions :) That permission is needed so you COULD change the settings. On 3 June 2012 08:22, Kiral kiral.c...@gmail.com wrote: The thing that worries me is that the startScan() method also requires permission

Re: [android-developers] need to remove contact from group ..

2012-06-04 Thread Fred Niggle
What did a google search about blocking a contact tell you? On 2 June 2012 13:19, ala hammad 3la2.7am...@gmail.com wrote: Hi Guys , i need to remove an contact or more from specific group via coding .. any one can help me ?? thanks for your help .. -- You received this message because

Re: [android-developers] Updating part of a XML file in android

2012-06-04 Thread Fred Niggle
I'd go for creating a multi-part copy of the originals, and then parsing the parts. On 2 June 2012 21:10, Alex Deering deeri...@gmail.com wrote: I have XML files that store data, parts of the file store recorded information. I have no control over the files as they are from other programs.

Re: [android-developers] how to populate checkedTextView

2012-06-04 Thread Fred Niggle
I recommend that you work through some tutorials and demonstrate some effort into solving this issue yourself before posting a question here. Nobody is going to do you work for you, and you will get a better reception to your question if show a reasonable effort. -- Magnetic Door Alarm

[android-developers] Re: Widget Product Updates

2012-06-04 Thread David Ross
On Jun 3, 7:09 pm, Kostya Vasilyev kmans...@gmail.com wrote: 03.06.2012 14:22, David Ross написал: Sadly, this does not work at all well. Just as when you have a widget and you uninstall the app you get the horrid Problem Loading Widget message, the same thing happens when the user

Re: [android-developers] Problem refreshing a fragment edittext view from a dialogFragment after rotation

2012-06-04 Thread Bluemercury
Hi! Seems replying directly from gmail doesnt refresh this page. so im posting again, i changed the property like you said but if i call the dialogfragment, rotate the phone and press ok, it wont refresh the editext.Only if i call it again, dont rotate, and press ok. The problem happens when i

[android-developers] problems implementing fragments in my navigation

2012-06-04 Thread LordMaKo
hi, I am a iOS developer, coming new to the land of android, ;) I have started my android app, and tested some of the components, but have problem implementing the structure and a few things... I need to make my android app, very similar to my iPhone app, as to use the same artwork, and keep

[android-developers] sdk offline installation problem

2012-06-04 Thread Jags
i posted one topic for offline sdk and could not further locate it, hence posting a new one. as sdk dload is forbidden , i tried getting parts of sdk and eclipse through mails and successfully built the android tools like eclpse 3.7.2 java 1.6 android-2.2_r03-linux (in fact all platfom, and

Re: [android-developers] problems implementing fragments in my navigation

2012-06-04 Thread Mark Murphy
On Mon, Jun 4, 2012 at 7:08 AM, LordMaKo juanman...@gmail.com wrote: but when I want to scroll left or right to have another fragment for that tab, I have a problem, knowing how to implement this, I tried first by sensing when a swipe happens[but cannot detect the swipe] SO question Use a

[android-developers] stop gif frame animation after completion of frames

2012-06-04 Thread Narendra Singh Rathore
Hi all, Here I want to show display gif image, for which I found the solution to display frames of that image and use animation in that. The following tutorial (link) helped me out in that. http://www.blindndumb.com/2012/02/android-tutorial-playing-gif-animation.html Here using this link, the

[android-developers] Find path between 2 pairs of lat and long

2012-06-04 Thread Mini agrawal
HI, I have a 2 sets of latitude and longitude pairs. I want to find path between these 2 pairs of lat and long and then show it on Google map. How can I find the path for android? Thanks in advance ! -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] stop gif frame animation after completion of frames

2012-06-04 Thread David Olsson
http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html http://developer.android.com/reference/android/graphics/drawable/AnimationDrawable.html#attr_android:oneshot

[android-developers] Re: stop gif frame animation after completion of frames

2012-06-04 Thread Narendra Singh Rathore
Well, that problem solved using oneshot property, by setting it to true. (silly mistake) Now I am suffering from the problem that I want to start the animation again on click event like here, but it is playing only for the first click, not after that. image=(ImageView)findViewById(R.id.img);

Re: [android-developers] connecting 2 android emulators as a server and a client using tcp sockets

2012-06-04 Thread asheesh arya
just go through this link might be you got some idea http://saigeethamn.blogspot.in/2009/09/android-developer-tutorial-part-9.html -- 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: Widget Product Updates

2012-06-04 Thread Doug Gordon
Good info. This actually explains some of the buggy behavior I've seen, not on my own apps, but on various others on my own devices. Especially when I apply an update and then the screen widget stops working with an App not installed error popping up. On Sunday, June 3, 2012 10:57:37 PM UTC-4,

[android-developers]

2012-06-04 Thread Vijay Krishnan
Hi all, I want to use tesseract ocr android tool in my app.Anyone help on using this tool. Thanks, vijay.k -- 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

Re: [android-developers] how to display pdf file in a project

2012-06-04 Thread Dario
I think you should divide your project in two separate steps: - storage management: I think you're thinking about db storing to protect your document. - pdf rendering For the first step, I think you won't be able to put your file from db to ram and past it to the second step: third part library

Re: [android-developers] Problem refreshing a fragment edittext view from a dialogFragment after rotation

2012-06-04 Thread Fred Niggle
If you post up the relevant code it will help. On 4 June 2012 11:41, Bluemercury joao.ro...@gmail.com wrote: Hi! Seems replying directly from gmail doesnt refresh this page. so im posting again, i changed the property like you said but if i call the dialogfragment, rotate the phone and press

Re: [android-developers] Find path between 2 pairs of lat and long

2012-06-04 Thread Fred Niggle
What did a google search tell you? On 2 June 2012 13:19, ala hammad 3la2.7am...@gmail.com wrote: Hi Guys , i need to remove an contact or more from specific group via coding .. any one can help me ?? thanks for your help .. -- You received this message because you are subscribed to

[android-developers] Re: android bindservice rotation

2012-06-04 Thread Greenhand
I added following two methods in my Activity: @Override protected void onSaveInstanceState(Bundle outState) { outState.putBoolean(serviceBound, serviceBound); } @Override public Object onRetainNonConfigurationInstance() { return serviceConnection; } And in onCreate() of the Activity, I

Re: [android-developers] HTML content on AppWidget

2012-06-04 Thread Jose_GD
Are you talking about some features you have seen in some appwidgets with rich content? Bear in mind that most advanced widgets rely in a specific home launcher, not the stock Android launcher. For example, the Go Launcher widgets. Those can do fancy things in the home screen because the

Re: [android-developers]

2012-06-04 Thread Fred Niggle
Did you search google? -- 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

Re: [android-developers]

2012-06-04 Thread David Olsson
What does a google search tell you? On Mon, Jun 4, 2012 at 2:52 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, I want to use tesseract ocr android tool in my app.Anyone help on using this tool. Thanks, vijay.k -- You received this message because you are subscribed to

Re: [android-developers] Writing in C++ code ?

2012-06-04 Thread Michael Leung
But I do not think even you write your app in c++ which can work in other platform. There are some Framework claimed they can make compile the code into various os. For example, http://xamarin.com/monotouch But I think the best way is to write a html5 app Regards, Michael http://www.itblogs.info

Re: [android-developers]

2012-06-04 Thread Justin Anderson
http://lmgtfy.com/?q=android+tesseract+ocr+tutorial Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Jun 4, 2012 at 6:52 AM, Vijay Krishnan vijay.vijay...@gmail.comwrote: tesseract ocr -- You received this message because you are subscribed to

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Kostya Vasilyev
2012/6/4 Greenhand cooperateonl...@gmail.com if(serviceBound == false){ bindService(new Intent(getApplicationContext(),MessengerService.class), serviceConnection, BIND_AUTO_CREATE); //!!! Log.d(MyMediaPlayerActivity,Activity: bindService()); }else{

[android-developers] Re: android bindservice rotation

2012-06-04 Thread Greenhand
In onDestroy(), I checked whether the Activity is finishing and bound. If so, I unbindService(). if(isFinishing() serviceBound){ unbindService(serviceConnection); Log.d(MyMediaPlayerActivity,Activity: unbindService()); } On 6月4日, 下午9時04分, Greenhand cooperateonl...@gmail.com wrote: I

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Mark Murphy
On Mon, Jun 4, 2012 at 9:17 AM, Greenhand cooperateonl...@gmail.com wrote: In onDestroy(), I checked whether the Activity is finishing and bound. If so, I unbindService(). if(isFinishing() serviceBound){    unbindService(serviceConnection);    Log.d(MyMediaPlayerActivity,Activity:

[android-developers] RAM confusion

2012-06-04 Thread bob
So, I'm trying to figure out how much RAM is on my LG Optimus phone. I ran two system info apps, and they both say 423MB. Here's a screen shot of one: http://postimage.org/image/sajk7w9eh/ Does this make any sense? Shouldn't it be something like 256MB or 512MB? -- You received this

Re: [android-developers] How to optimize my grid adapter

2012-06-04 Thread Justin Anderson
Most optimizations are going to be done in code... So the XML layout of your item doesn't really help all that much. What does your adapter code look like? Are you using a stock adapter or did you write your own? What does your getView() method look like (so we can make sure you are using

Re: [android-developers] Find path between 2 pairs of lat and long

2012-06-04 Thread Mini agrawal
I didn't find any help on Google . On Mon, Jun 4, 2012 at 6:33 PM, Fred Niggle fred.nig...@googlemail.comwrote: What did a google search tell you? On 2 June 2012 13:19, ala hammad 3la2.7am...@gmail.com wrote: Hi Guys , i need to remove an contact or more from specific group via coding ..

Re: [android-developers] RAM confusion

2012-06-04 Thread Justin Anderson
Well, for one, you have to take into account the size of the OS, and two, this isn't the correct forum for this type of question... Unless I'm mistaken, I believe you have been told this many other times with other questions you have asked as well. Please only ask questions that are relevant to

Re: [android-developers] Find path between 2 pairs of lat and long

2012-06-04 Thread Fred Niggle
I can you there IS a tutorial about this - just google it. On 4 June 2012 14:35, Mini agrawal itsmin...@gmail.com wrote: I didn't find any help on Google . On Mon, Jun 4, 2012 at 6:33 PM, Fred Niggle fred.nig...@googlemail.comwrote: What did a google search tell you? On 2 June 2012

Re: [android-developers] Ethernet cables?

2012-06-04 Thread John Bachus
Have you tried a USB to Ethernet converter? - Original Message - From: bob Sent: 06/03/12 07:13 PM To: android-developers@googlegroups.com Subject: [android-developers] Ethernet cables? Is there any way to hook an Android tablet up to a LAN using Ethernet cables? -- You received this

[android-developers] Re: android bindservice rotation

2012-06-04 Thread Greenhand
It works! The context is so mysterious in Android. Another question, in the tutorial (http://developer.android.com/guide/ topics/fundamentals/bound-services.html#Messenger), the mService is not initialized and mBound is false until the mConnection callback is called. In the sayHello(), it uses if

[android-developers] Re: Is JDK1.7 supported now?

2012-06-04 Thread sblantipodi
I just tried, nothing has been fixed in months. Il giorno venerdì 1 giugno 2012 12:10:02 UTC+2, sblantipodi ha scritto: As title, some months ago I had some problem signing my android apps using java 1.7 that forced me to switch back to jdk 1.6. Is this problem fixed? -- You received

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Mark Murphy
Disable the button until it is usable. On Mon, Jun 4, 2012 at 9:57 AM, Greenhand cooperateonl...@gmail.com wrote: It works! The context is so mysterious in Android. Another question, in the tutorial (http://developer.android.com/guide/ topics/fundamentals/bound-services.html#Messenger), the

[android-developers] RAM vs SD Card

2012-06-04 Thread bob
Maybe this is an easy question, but I'm not quite sure. Which is faster to read from on an Android tablet? RAM or the SD Card? I'm guessing probably RAM, but I'm having a hard time figuring out the typical read speed from RAM. I'm guessing typical RAM in an Android tablet is maybe 500

Re: [android-developers] How does notifyChanged work on a ListPreference?

2012-06-04 Thread Justin Anderson
Did you set anything up to tell your listview to update itself when the preference changes? Maybe with this: http://developer.android.com/reference/android/preference/Preference.OnPreferenceChangeListener.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware

Re: [android-developers] Error when switch activity at the second time

2012-06-04 Thread Justin Anderson
An ANR is usually the result of doing too much work on the UI thread... From the log it looks like this is happening in main. So, figure out what you are doing that takes a lot of time and move it to a different thread. Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] Driven nuts by life-cycles

2012-06-04 Thread Justin Anderson
Just let each activity worry about itself... Use onSaveInstanceState() and onRestoreInstanceState() in each activity and you should find that everything will work out just fine. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sun, Jun 3, 2012 at 5:02

[android-developers] Looking for Unlocked CDMA Android Phones or any high-end Android CDMA phone that works in India (Band 800 Mhz) eom

2012-06-04 Thread aishwarya shukla
-- 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, visit

Re: [android-developers] Re: lunch apps from native daemon

2012-06-04 Thread Justin Anderson
But I don't think it distinguishes between breakfast, lunch, and dinner... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 31, 2012 at 4:52 PM, Matt Kanninen mathias...@gmail.com wrote: The native daemon will automatically eat apps as needed

Re: [android-developers] Display and edit PDF in my android application without the use of third party application and webview

2012-06-04 Thread Justin Anderson
*This is the xml which i want to parse and display .* Well then, by all means, parse it and then display it... Have fun! * * Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 31, 2012 at 7:09 AM, Rohan Tilekar mail.rohan...@gmail.comwrote:

[android-developers] Re: android bindservice rotation

2012-06-04 Thread Greenhand
Thank you! On 6月4日, 下午10時05分, Mark Murphy mmur...@commonsware.com wrote: Disable the button until it is usable. On Mon, Jun 4, 2012 at 9:57 AM, Greenhand cooperateonl...@gmail.com wrote: It works! The context is so mysterious in Android. Another question, in the tutorial

Re: [android-developers] Problem Downloading the Source Tree from android open source project

2012-06-04 Thread Justin Anderson
This is not the right forum... Ask your question on one of the forums listed here: http://source.android.com/community/index.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 29, 2012 at 7:03 AM, shailesh jagnani shaileshjagn...@gmail.com

[android-developers] Re: android bindservice rotation

2012-06-04 Thread Greenhand
If I change the MessengerService into an media player service, a user can control the media player by the ServiceConnection in the Activity and the media player service can update the UI according to the state of media player. The downside is that the playback will be stopped when a user leaves

Re: [android-developers] Re: android bindservice rotation

2012-06-04 Thread Mark Murphy
Don't use bindService(). Use startService(). On Mon, Jun 4, 2012 at 11:11 AM, Greenhand cooperateonl...@gmail.com wrote: If I change the MessengerService into an media player service, a user can control the media player by the ServiceConnection in the Activity and the media player service can

Re: [android-developers] Writing in C++ code ?

2012-06-04 Thread Kristopher Micinski
You can use the NDK to write C++ inside Android apps. But you can't really write apps using C++, it's just not possible. So you can write native code, but you don't really get access to a nice framework that includes all the necessary pieces for apps, etc... (Sure, you can probably hack it and

[android-developers] Re: Driven nuts by life-cycles

2012-06-04 Thread Streets Of Boston
It is easy to test: First make sure to run some other app on your device/emulator. Run your app on your device or emulator and navigate to your activity. Then start another app: Either through the most-recent app list or by clicking some item in your notification list (if any). While this other

[android-developers] Re: android bindservice rotation

2012-06-04 Thread Greenhand
If I use startService(), can the Activity communicate with the Service and vice versa? On 6月4日, 下午11時15分, Mark Murphy mmur...@commonsware.com wrote: Don't use bindService(). Use startService(). On Mon, Jun 4, 2012 at 11:11 AM, Greenhand cooperateonl...@gmail.com wrote: If I change the

  1   2   >