Re: [android-developers] Re: "\n" Does NOT work ?

2011-10-29 Thread adithya holla
try "" -- 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,

[android-developers] integrate a third party application in my application

2011-10-29 Thread sam jeck
can we integrate a third party application in our android application? if possible how to use it? for example: text to speech.(using any application )? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Camera autofocus

2011-10-29 Thread kypriakos
And I do think Froyo still has the autofocus avaliable in its API ... hmm On Oct 29, 9:44 pm, kypriakos wrote: > Hi all, > > I am getting the famous Failure [INSTALL_FAILED_MISSING_FEATURE] on an > Optimus LG 350P running Froyo (2.2.1). Checking the logging I see the > following: > > E/PackageMa

Re: [android-developers] How to play Youtube video on Java, Android?

2011-10-29 Thread TreKing
On Sat, Oct 29, 2011 at 11:28 AM, andr wrote: > I need that player will close himself automatically after end of video. > How can I do it? Wait for the user to press back to your app. You can't control an external activity, any more than an external activity can control your app. -

[android-developers] Camera autofocus

2011-10-29 Thread kypriakos
Hi all, I am getting the famous Failure [INSTALL_FAILED_MISSING_FEATURE] on an Optimus LG 350P running Froyo (2.2.1). Checking the logging I see the following: E/PackageManager( 1376): Package org.mortbay.ijetty requires unavailable feature android.hardware.camera.autofocus; failing! What ??? T

[android-developers] Ads on new Honeycomb's PreferenceActivity with headers

2011-10-29 Thread Joan Pujol
Hi, It's possible to add ads for new PreferenceActivities? I tried solution on http://stackoverflow.com/questions/5443491/adding-a-header-to-a-preferenceactivity but it doesn't work. Or at least is there the code for Honeycomb's PreferenceActivity browseable someplace? Becaus I'm not able to

[android-developers] SMS delivered receiver

2011-10-29 Thread BearTi
Hi, I´ve a SMS App which can send SMS. I also have a send and delivered Broadcastreceiver... Question: Is it possible to find out from which SMS e.g. the delivered-receiver was called, so that I can discern the SMS? Thanks -- You received this message because you are subscribed to the Google G

Re: [android-developers] How to image Samsung Table rom?

2011-10-29 Thread TreKing
On Wed, Oct 26, 2011 at 1:17 AM, JavaSrvcs wrote: > I want to do a number of things. I have a Samsung Galaxy 10.1 Tablet > > 1) I want to make an image and save it on my local machine > 2) I want to run that image under virtual box or an emulator (with > Internet connectivity as if I were actual

[android-developers] Library srec_jni

2011-10-29 Thread DulcetTone
Where does this reside, in a format compatible with System.loadLibrary() on the host computer (say, when it is being used within the simulator)? I see a libsrec_jni.so , but regular non-Dalvik Java code on my own machine does not recognize it as something good for loadLibrary() or load(). There M

[android-developers] Re: Should I use the same certifcate for all my apps or a different one per app?

2011-10-29 Thread Ricardo Amaral
I think my whole question could have been resumed to: "Is there any benefit in using multiple certificates in the context of security?" And given all your answers, I assume the answer is "no". Thank you all. -- You received this message because you are subscribed to the Google Groups "Android

[android-developers] AOSP fails to repo sync KeyError: 'content-length'

2011-10-29 Thread DulcetTone
failure is immediate and inescapable it seems: ad-3: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/threading.py", line 460, in __bootstrap self.run() File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ pyth

Re: [android-developers] Types of mobile application

2011-10-29 Thread Manikandan M
Hi, Please help me. i am curios about this. Thanks Manikandan On Sat, Oct 29, 2011 at 10:29 PM, Manikandan M wrote: > Hi All, > > It seems to me only native and webview are the two types of mobile > application we can create. using mobile jquery we can create web > application that make effect

Re: [android-developers] Re: Android with Python

2011-10-29 Thread Kristopher Micinski
On Sat, Oct 29, 2011 at 4:11 PM, raduq wrote: > So, in the end for advanced development I will have to use the Java > SDK. I have started out to make some simple apps with the Java SDK but > now after being noticed in the e-mail to read about Python I started > looking up what Python can do for An

Re: [android-developers] Custom preference (slider) on a non-touchscreen device - how to convert left/right keys to slider change?

2011-10-29 Thread lbendlin
that's a bit grand for such a small user base. I ended up going with the inelegant but simple onClick solution iterating up and down the slider. Good enough as the preferences are not changed often. (Yes, there are companies that provide adapters for all types of head units (built in car radio

[android-developers] Re: Android with Python

2011-10-29 Thread raduq
So, in the end for advanced development I will have to use the Java SDK. I have started out to make some simple apps with the Java SDK but now after being noticed in the e-mail to read about Python I started looking up what Python can do for Android apps, but haven't found much info. Have you devel

[android-developers] Re: finishActivity: (popping two activities simultaneously?)

2011-10-29 Thread lbendlin
use startActivityforResult and then listen to the resultCode in onActivityResult. for example "OK" could mean "stay on B when C has finished", and "Cancel" could mean "finish B too when C is done." -- You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-29 Thread lbendlin
Sorry, A-GPS has nothing to do with indoor navigation. All it does is speed up the initial lock because it can tell the receiver which satellites to expect (normally the receiver has to listen and build up the ephemeris by itself). what you probably want are alternative solutions like DGPS (ve

Re: [android-developers] Android with Python

2011-10-29 Thread Kristopher Micinski
Python isn't usable for real application development, at least at this point. If you want to write production quality apps, you'll need to use the sdk, in java. Apps aren't written solely in Java, but they are not written in C#. The reason apps are written in java is because the vm runs bytecode

[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-29 Thread Kenneth WON
Hi, lbendlin, Yes, I know, the GPS is not designed for indoor use. In some case, such in subway or tunnel, the GPS cannot functional, so I need to use A-GPS to obtain the location instead of using GPS. (Someone tell me that the A-GPS can be functional in indoor environment. Please let me know if

Re: [android-developers] search hardware button

2011-10-29 Thread John Goche
Thank you all for your replies, Your answers were helpful and made me decide not to rely on the hardware button being there. I will have to go by another approach. Regards, John Goche -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] finishActivity: (popping two activities simultaneously?)

2011-10-29 Thread John Goche
Hello, I have come across the following scenario: I have an activity A which needs to launch activity B to make a selection. The selected value eventually needs to be passed back to A, but before that happens, selecting the value from activity B launches another activity C. When a selection is mad

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-29 Thread Studio LFP
That should be a correct response. You may want to refresh your C2DM key on the device and then refresh the server with the updated one. You may want to call the unregister intent on device first with the following: http://code.google.com/android/c2dm/index.html#unregistering I would figure tha

[android-developers] GROUP_SOURCE_ID -> GROUP_ROW_ID caching issue

2011-10-29 Thread Jay
I'm not sure if this is a bug in Android, a bug in the emulator, or a bug in my code. I have a syncadpter that creates a few groups and populates them with raw contacts. The code works as expected on a freshly booted emulator. If I delete the syncadapter's account the groups and contacts are delete

Re: [android-developers] search hardware button

2011-10-29 Thread Kostya Vasilyev
Yes they do. Samsung Galaxy devices don't have a hw search button either. -- Kostya 29.10.2011 20:56, lbendlin ?: Didn't the latest Sony(/Ericsson) devices come out without the search button? -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] Types of mobile application

2011-10-29 Thread Manikandan M
Hi All, It seems to me only native and webview are the two types of mobile application we can create. using mobile jquery we can create web application that make effective UI in mobile devices. Correct me if i am wrong, and another type of mobile app we can create in android? Thanks Manikandan

Re: [android-developers] search hardware button

2011-10-29 Thread lbendlin
yup... http://www.sonyericsson.com/cws/products/mobilephones/overview/xperiaarc?cc=ae&lc=en#view=overview -- 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 unsubscri

Re: [android-developers] search hardware button

2011-10-29 Thread lbendlin
Didn't the latest Sony(/Ericsson) devices come out without the search button? -- 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 em

[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-29 Thread lbendlin
more accurate than what? as you know GPS is not designed for indoor use. -- 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 t

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-29 Thread Manikandan M
Hi Steven, This is the response i am getting from the c2dm server. id=0:1319892812710374%3421e3b10030 Thanks Manikandan On Sat, Oct 29, 2011 at 8:35 PM, Studio LFP wrote: > What type of response code are you getting from the C2DM server when you > try to send a message to that specific

[android-developers] How to play Youtube video on Java, Android?

2011-10-29 Thread andr
I have to code for playong video: private void loadPlayer() { Intent youtube=new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.youtube.com/watch?v=CES7xNy70hU";)); startActivityForResult(youtube, 100); } But when player finish showing of video, it won't close himself and user n

[android-developers] Re: Html-style links inside ListView items

2011-10-29 Thread nadam
Nope. Tried that already. On Oct 29, 4:58 pm, Kristopher Micinski wrote: > Not that this is a solution, but might this work: > > http://developer.android.com/reference/android/text/util/Linkify.html > > > > > > > > On Sat, Oct 29, 2011 at 10:55 AM, nadam wrote: > > I never found a solution. I th

Re: [android-developers] Where Does Android store the email

2011-10-29 Thread Kristopher Micinski
Whose email? Kris On Sat, Oct 29, 2011 at 11:04 AM, luca aliberti wrote: > Hello, > i would to know where does Android store the email. > In gmail.db you can see only 80 chars of the email in the column > snippet. > Where is the rest??? > > Thanks a lot > Kind Regards > Luca > > -- > You receive

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-29 Thread Studio LFP
What type of response code are you getting from the C2DM server when you try to send a message to that specific device ID? It will let you know if there is any issues with your current device ID. Steven Studio LFP http://www.studio-lfp.com On Saturday, October 29, 2011 5:37:58 AM UTC-5, Manika

[android-developers] Where Does Android store the email

2011-10-29 Thread luca aliberti
Hello, i would to know where does Android store the email. In gmail.db you can see only 80 chars of the email in the column snippet. Where is the rest??? Thanks a lot Kind Regards Luca -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

Re: [android-developers] Re: Html-style links inside ListView items

2011-10-29 Thread Kristopher Micinski
Not that this is a solution, but might this work: http://developer.android.com/reference/android/text/util/Linkify.html On Sat, Oct 29, 2011 at 10:55 AM, nadam wrote: > I never found a solution. I think the only way is to skip ListView and > build your own list somehow. > > On Oct 27, 11:45 pm,

[android-developers] Re: Html-style links inside ListView items

2011-10-29 Thread nadam
I never found a solution. I think the only way is to skip ListView and build your own list somehow. On Oct 27, 11:45 pm, LS wrote: > Did you find any solution to this ? > I'm also trying to havehtmlstylelinkswithin clickable list items. But only > one click works - either the link or the list but

[android-developers] Re: Add a link on a TextView

2011-10-29 Thread aru
thanx TreKing ... that way is seems easy to implement I'll try it On Oct 12, 9:39 pm, TreKing wrote: > On Tue, Oct 11, 2011 at 5:14 AM, aru wrote: > > do you guys know the other ways ? > > http://developer.android.com/reference/android/widget/TextView.html#a... > > --

[android-developers] Re: Should I use the same certifcate for all my apps or a different one per app?

2011-10-29 Thread Michael A.
I've only seen one good argument for having multiple keys, and that is if you - at some point - would want to sell off one of your apps to someone else. Because of the way the market works, the only really practicable way to do that (without recoding the thing and submitting it as a whole new ap

[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-29 Thread Kenneth WON
Hi, lbendlin, I just want to obtain a more accurate location (such as latitude and longitude. etc) no matter it is in indoor or outdoor. And how to implement it? Thanks and Regards, Kenneth Won On 10月29日, 下午7時34分, lbendlin wrote: > The A-GPS location is the same as the GPS location. Either th

Re: [android-developers] SurfaceView no longer adjusts canvas to screen size?

2011-10-29 Thread Michael A.
Seems like you were right. i was forced to reconstruct all of my projects due to the library problems with the new ADK/ADT, and apparently the manifest settings switching off the compatibility mode had somehow gotten lost in the transition. Many thanks for the timely help. It's been so long sin

Re: [android-developers] Custom preference (slider) on a non-touchscreen device - how to convert left/right keys to slider change?

2011-10-29 Thread Kostya Vasilyev
I don't see anything in Preference that would do this out-of-the-box. However, you could receive key events in your PreferenceActivity subclass and dispatch it to the current (that would need to be defined, too) preference. Another way that comes to mind is using a dialog preference with a s

[android-developers] Custom preference (slider) on a non-touchscreen device - how to convert left/right keys to slider change?

2011-10-29 Thread lbendlin
A number of my custom preferences are of the'"Seekbar" variety. They can be adjusted nicely on a touch screen device. However, our app is no also being used on the Parrot Asteroid which doesn't even have proper left/right keys (the scroll wheel emulated up/down). I can map the media keys prev/

Re: [android-developers] search hardware button

2011-10-29 Thread Latimerius
I asked this question about a month ago - you might want to check this: http://groups.google.com/group/android-developers/browse_thread/thread/cf312b4dd2fdb440/dd7c156d618e0bdb?lnk=gst&q=how+to+check+if+device+has+hardware+search+key#dd7c156d618e0bdb TL;DR: you can't rely on pretty much anything

Re: [android-developers] Re: get first row from cursor

2011-10-29 Thread lbendlin
my bad. I was confusing itn with ADODB. Too many damn programming languages! :-) -- 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

[android-developers] Re: GPS filtering

2011-10-29 Thread lbendlin
yes. write your own logic to accept fix events or not -- 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: [android-developers] search hardware button

2011-10-29 Thread Michael Banzon
My initial response was going to be something like: I can run Android on everything - so don't rely on my fridge having a "Back"-button. After considering it some more: If you are going to publish your app on Android Market you should check the requirements for Android Market. AFAIK it requires th

[android-developers] Re: Should I use the same certifcate for all my apps or a different one per app?

2011-10-29 Thread Droid
Possible to use the same certificate for all of them and try very very hard not to lose it :) On Oct 28, 7:27 pm, Ricardo Amaral wrote: > I suppose the documentation recommends one certificate per developer, so > all apps belonging to someone, are, somehow, associated to that one > developer. B

[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-29 Thread lbendlin
The A-GPS location is the same as the GPS location. Either the augmentation is applied or not. What are you actually trying to achieve? -- 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

Re: [android-developers] SurfaceView no longer adjusts canvas to screen size?

2011-10-29 Thread Kostya Vasilyev
Sounds like compatibility mode scaling. If your manifest is properly set up with minSdk set to 4 or above, I would think it's an emulator bug. -- Kostya Vasilyev 29.10.2011 15:12 пользователь "Michael A." написал: > I've run into a weird glitch. > > Since the early versions of the SDK, I've been

[android-developers] SurfaceView no longer adjusts canvas to screen size?

2011-10-29 Thread Michael A.
I've run into a weird glitch. Since the early versions of the SDK, I've been using a SurfaceView to draw graphics, painting a bitmap into the canvas and then drawing/ painting on top of it, while adjusting the drawing dependent on the density of the phone. Since SDK14, however, this behavior seem

[android-developers] search hardware button

2011-10-29 Thread John Goche
Hello, I was wondering whether I can rely on an android phone having the search hardware button because I am thinking about hardcoding some specific function to it in my application, but then if it is not avaiable on some smartphone models this would be a problem. Any feedback welcome, John Goch

Re: [android-developers] Types of mobile application

2011-10-29 Thread Manikandan M
Hi Any Ideas. Thanks Manikandan On Tue, Oct 25, 2011 at 9:52 AM, Manikandan M wrote: > Hi All, > > I am new android development i want to know what are the different > ways to create mobile applications. > > 1. Native App > 2. Using jquery mobile to create web app > 3. Using webview > > is web

Re: [android-developers] How to get updated c2dm registration Id.

2011-10-29 Thread Manikandan M
Hi Steven, Thanks for the reply. I am using droid x and i am unable to get c2dm messages, registration is fine even i also have response id from the c2dm server but message is not delivered to the device. It works for all other devices. Thanks Manikandan On Fri, Oct 28, 2011 at 8:20 PM, Studio

[android-developers] Android with Python

2011-10-29 Thread raduq
What do you guys think about Android applications developed with Python? I'm going to start a mobiel applications training in a company and i have received a few hours ago an email that told me to read about Python before the first class. I am very surprised because I thought Android apps were mad

[android-developers] video stream using rtmp

2011-10-29 Thread mohana priya
Hello In my android application i need to publish the video file to the server using rtmp client.I want to know whether it is possible to do streaming in android using rtmp.If so how to do.Please give me the code.Kindly help me.Thanks in Advance. -- You received this message because you are subsc

[android-developers] splitbar between fragments

2011-10-29 Thread sourabh sahu
How to put SplitBar between fragments.I want to put a splitbar between two layout.How to do this. Thanks, Sourabh -- 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 u

[android-developers] Re: How to obtain A-GPS data via Android phone

2011-10-29 Thread luca aliberti
You can try to take the database cachedgeolocation.db with pull command. Regards On Oct 29, 6:16 am, Kenneth WON wrote: > Dear all, > > I am developing an android app, which want to obtain the A-GPS > position. > I tried searching in Google, it seems no any hint, and I just know > how > to obtain

[android-developers] soap webservice(xml pull parser exception )

2011-10-29 Thread arun kumar
[image: In new window] [image: Print all] [image: Expand all] [image: Collapse all] [image: More]| Hi , am getting xml pull parser exception while consuming webservice from the sap server...PLZ any one tell me where am making the mistake.thanks in advance static StringBuild

Re: [android-developers] Re: error message "Application has stopped unexpectedly please try again" in android

2011-10-29 Thread TreKing
On Fri, Oct 28, 2011 at 4:02 AM, Isham Mohamed Iqbal wrote: > I corrected my code but the error message still coming Use LogCat and your debugger to debug your app. - TreKing

[android-developers] google api demo question about drawBitmapMesh algorithm

2011-10-29 Thread a a
Hi all, I'm not good at mathematics algorithm, so i can't undanstand the following code private void warp(float cx, float cy) { final float K = 1; // why it is 1 ?? float[] src = mOrig; float[] dst = mVerts; for (int i = 0; i < COUNT*2; i +