[android-developers] how to change sequre settings from my app

2013-05-20 Thread Jonathan Chacón Barbero
Good morning I'm trying to change some settings on system using a root device. I'm trying to change the speech rate of the TTS. I use this code to do that: int _value = 100; // sample value Settings.Secure.putInt(this.getContentResolver(),

[android-developers] How to add bullet points to the 'What's New' section?

2013-05-20 Thread reaktor24
Hi I saw some apps on the play store use bullet points in their 'What's New' section and I was just wondering how do I do that? I though it may use the li/li HTML code but that didn't seem to work. Anyone know? Cheers. Steve -- -- You received this message because you are subscribed to the

[android-developers] Re: attach remoteviews from service to viewgroup inside activity (not widget)

2013-05-20 Thread miten
Hi Piren, I am new to Android and what I understand is RemoteViews cannot be added. They are applied/attached to viewgroups. So I have created LinearLayout as viewgroup in my activity to which I tried the apply call. For more information I would refer to RemoteViews docs on android site. I

[android-developers] Doc File in WEbview

2013-05-20 Thread Rahul Kaushik
Hi, I have a Webview in which i open my website in that site i have few attachments(.doc .xls) i can i open them in my web view Thanks RK -- -- 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: attach remoteviews from service to viewgroup inside activity (not widget)

2013-05-20 Thread Piren
No they cannot be directly added, they need to be inflated and the resulting view (not the removeview) should be added...which is what i asked you. FFS, before you direct someone to read the docs, how about you read them yourself, since obviously you haven't.

[android-developers] Re: ListView with selected state does not work when list item view has a background

2013-05-20 Thread Miha
Hi! Anybody has a similar experience or ...? How do you otherwise select a listview item in a dual pane layout? Regards, Miha. On Thursday, May 16, 2013 11:14:29 AM UTC+2, Miha wrote: Hi! I'm trying to understand the mechanics behind highlighting the selected list item. I have a list

[android-developers] Donwloadin incomplete file

2013-05-20 Thread Rahul Kaushik
Hi, I am trying to download the file as this is 2 mb but it is downlaoding only 7.1 kb below is my code class DownloadFileFromURL extends AsyncTaskString, String, String { /** * Before starting background thread Show Progress Bar Dialog * */ @Override protected void

[android-developers] Re: Donwloadin incomplete file

2013-05-20 Thread Piren
holy fuck man... there's a plethora of mistakes in your code... how about you just copy paste this (which btw, took me about 2 seconds to find) http://stackoverflow.com/questions/3028306/download-a-file-with-android-and-showing-the-progress-in-a-progressdialog On Monday, May 20, 2013 3:25:12

[android-developers] Re: How to add bullet points to the 'What's New' section?

2013-05-20 Thread Jokin Cuadrado
copy and paste the bullet character that you want from character map and voila! On Monday, May 20, 2013 11:26:07 AM UTC+2, reaktor24 wrote: Hi I saw some apps on the play store use bullet points in their 'What's New' section and I was just wondering how do I do that? I though it may use

[android-developers] Re: ListView with selected state does not work when list item view has a background

2013-05-20 Thread lbendlin
I would go with the brute force approach. Yes, you're redrawing the (visible part of the) list but you're only doing it once, not every five milliseconds. On Thursday, May 16, 2013 5:14:29 AM UTC-4, Miha wrote: Hi! I'm trying to understand the mechanics behind highlighting the selected

Re: [android-developers] Re: How to add bullet points to the 'What's New' section?

2013-05-20 Thread Muchamad Jeffri Ardyansyah
write this \u2022 on java for bullet and here many more character http://www.fileformat.info/info/unicode/char/2022/index.htm On 20 May 2013 20:42, Jokin Cuadrado joki...@gmail.com wrote: copy and paste the bullet character that you want from character map and voila! On Monday, May 20,

[android-developers] Re: How to add bullet points to the 'What's New' section?

2013-05-20 Thread reaktor24
Ah. Yep, it works alright. Thanks. :) On Monday, 20 May 2013 14:42:49 UTC+1, Jokin Cuadrado wrote: copy and paste the bullet character that you want from character map and voila! On Monday, May 20, 2013 11:26:07 AM UTC+2, reaktor24 wrote: Hi I saw some apps on the play store use bullet

Re: [android-developers] expandable list view

2013-05-20 Thread Justin Anderson
I'm sorry, but your question doesn't really make sense. Please take the time to make a grammatically correct question, and ask again... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, May 18, 2013 at 2:01 AM, Sadhna Upadhyay

Re: [android-developers] Re: App not compatible on Samsung GT-P3110

2013-05-20 Thread bob
Well, I changed from Android 1.5 to '4.0 and up', and now it shows up as compatible with tablets. I think I changed minSdkVersion and targetSdkVersion to 15. I might have linked to a newer JAR also. Not sure what did it exactly or why. Not sure if it's worth my time to pinpoint it. Thanks.

Re: [android-developers] Fwd: design splash screen using phonegap

2013-05-20 Thread Justin Anderson
Seriously? I would maybe start here... http://phonegap.com/developer/ Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sat, May 18, 2013 at 6:19 AM, ashwini vandanapu ashwini.vandan...@gmail.com wrote: Hello Developers, I want to

Re: [android-developers] Doc File in WEbview

2013-05-20 Thread Justin Anderson
Not very easily... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 20, 2013 at 4:44 AM, Rahul Kaushik rahulkaushi...@gmail.comwrote: Hi, I have a Webview in which i open my website in that site i have few attachments(.doc .xls) i can i

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Justin Anderson
On Thu, May 16, 2013 at 3:14 AM, Miha miha.valen...@gmail.com wrote: One possible solution I see is modifying the backing adapter implementation and providing a different view based on the state of the item, but that seems like wrong approach -- I would have to update the adapter with

Re: [android-developers] Re: App not compatible on Samsung GT-P3110

2013-05-20 Thread Kostya Vasilyev
If your minSdkVersion is now 15 (Android 4.0.3), you might watch to check compatibility with other devices... Unless you've deliberately chosen to focus on Android 4.0.3 and higher. -- K On Monday, May 20, 2013 6:04:09 PM UTC+4, bob wrote: Well, I changed from Android 1.5 to '4.0 and up',

Re: [android-developers] HELP

2013-05-20 Thread John Coryat
You might also find that the second time you code it up, it will be better... Good lesson in backup though. -- -- 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] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Kostya Vasilyev
Maybe it's just me, but... On Monday, May 20, 2013 6:39:14 PM UTC+4, MagouyaWare wrote: On Thu, May 16, 2013 at 3:14 AM, Miha miha.v...@gmail.com javascript:wrote: One possible solution I see is modifying the backing adapter implementation and providing a different view based on the

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Justin Anderson
That is actually more along the lines of what I was talking about, now that I think about it... Changing the background color or drawable for a selected item rather than inflating a completely different view. I didn't use a selector to do that, but I like that approach better. I was simply

Re: [android-developers] rendering international text into GL texture with correct line breaks

2013-05-20 Thread Latimerius
Thanks for using your sixth sense to find out what exactly I was struggling with. ;-) Now everything works what I need for the initial batch of tests! Come to think about it, one of the collateral benefits of using TextView for the job seems to be the consistency with the rest of the platform.

[android-developers] Another Resources.NotFoundException with setContentView()

2013-05-20 Thread plnelson
There are lots of Resources$NotFoundException questions on the web and I've reviewed them and tried the various suggestions to no avail. I had a perfectly working layout to display some graphics with some buttons underneath and I modified some of the buttons and started to get this error. I

[android-developers] Some tablets marked as Incompatible in Play Store, but not in Developer Console

2013-05-20 Thread jjbunn
I uploaded a new APK for one of my apps on Friday. There was no change to the manifest or build settings for the app, but some of my customers using tablets like the Note 10 and Nexus 10 tell me that the new APK is marked as incompatible in the Google Play store, whereas they were happily using

Re: [android-developers] rendering international text into GL texture with correct line breaks

2013-05-20 Thread Romain Guy
And if you ever need a fancier font rendering system you can take a look at FontRenderer.cpp (and the associated classes in the font/ directory) here: https://github.com/android/platform_frameworks_base/blob/master/libs/hwui/FontRenderer.cpp It's the font renderer used by the UI toolkit when

[android-developers] Re: Some tablets marked as Incompatible in Play Store, but not in Developer Console

2013-05-20 Thread Jonathan S
Problem is Android 2.2 SDK build. You can built it on 4.0 and keep minimum API level. Just be very careful. On Monday, May 20, 2013 12:50:39 PM UTC-4, jjbunn wrote: I uploaded a new APK for one of my apps on Friday. There was no change to the manifest or build settings for the app, but some

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Miha Valencic
Hi Kostja et al! On Mon, May 20, 2013 at 5:01 PM, Kostya Vasilyev kmans...@gmail.com wrote: Maybe it's just me, but... No, it's not just you. I also expect that framework should handle this. And it does, as long as list item layout does not have a background set. Let me prepare a demo, and

[android-developers] Re: Donwloadin incomplete file

2013-05-20 Thread bob
I'd say you are probably trying to write to a bad filename. Maybe try changing the file open code to this: FileOutputStream fos = new FileOutputStream(Environment .getExternalStorageDirectory().toString() + / + *test.hmm*); Thanks. On Monday, May 20, 2013 7:25:12 AM UTC-5, rahul kaushik

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Romain Guy
The list selector is drawn by default under list items. You can either change it to draw on top (but you'll have to use custom drawables so the items are visible underneath) or use a background on your list items with a selected state. On Mon, May 20, 2013 at 11:19 AM, Miha Valencic

[android-developers] Re: Some tablets marked as Incompatible in Play Store, but not in Developer Console

2013-05-20 Thread jjbunn
I don't think it has anything to do with the 2.2 build (what makes you think it does?) as I already tried a version targeting 4.0 and the result was the same. My users report that there are several other apps in the Play Store that are now marked as incompatible for their tablets, which were

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Miha Valencic
Hi everybody! On Mon, May 20, 2013 at 8:46 PM, Romain Guy romain...@android.com wrote: The list selector is drawn by default under list items. You can either change it to draw on top (but you'll have to use custom drawables so the items are visible underneath) or use a background on your

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Miha Valencic
On Mon, May 20, 2013 at 9:23 PM, Miha Valencic miha.valen...@gmail.com wrote: Am I misunderstanding this statement: ...or use a background on your list items with a selected state.? Also, one more thing: does it even makes sense to use listselector (setSelector) if the background is a state

[android-developers] Re: Donwloadin incomplete file

2013-05-20 Thread bob
Actually, I was looking at your code some more, and *I would want to know the URL you are downloading from* to get a better idea of the correctness. I see that you are searching for an equals sign and using that to find the file name. If it turns out you are coming up with an okay file name,

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Romain Guy
The selected state is used when the item is focused using a keyboard. It has nothing to do with the choice mode. On May 20, 2013 12:32 PM, Miha Valencic miha.valen...@gmail.com wrote: On Mon, May 20, 2013 at 9:23 PM, Miha Valencic miha.valen...@gmail.com wrote: Am I misunderstanding this

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-20 Thread Jonathan S
how about ant clean build On Monday, May 20, 2013 12:20:02 PM UTC-4, plnelson wrote: There are lots of Resources$NotFoundException questions on the web and I've reviewed them and tried the various suggestions to no avail. I had a perfectly working layout to display some graphics with some

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-20 Thread plnelson
Just an update: to simplify things further I replaced the layout file with a default layout file (foo.xml) that you get when you have Eclipse generate a new layout file for you: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-20 Thread plnelson
On Monday, May 20, 2013 4:26:05 PM UTC-4, Jonathan S wrote: how about ant clean build This isn't an ant-based project, and anyway, ant is just supposed to emulate the regular IDE so why whould it be any better than what I've already tried?What does it do in a clean and build that's

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-20 Thread bob
I cannot reproduce the error you are getting. What IDE are you using? Thanks. On Monday, May 20, 2013 3:35:24 PM UTC-5, plnelson wrote: On Monday, May 20, 2013 4:26:05 PM UTC-4, Jonathan S wrote: how about ant clean build This isn't an ant-based project, and anyway, ant is just

[android-developers] PendingIntents / Google Play Services

2013-05-20 Thread Davy
I've been playing around with User's activity recognitionhttp://developer.android.com/training/location/activity-recognition.htmland noticed that even after I uninstalled the sample app, activity recognition requests are still being fired as I'm seeing the following every couple of seconds :

[android-developers] Re: Another Resources.NotFoundException with setContentView()

2013-05-20 Thread Jonathan S
clean remove all gen and bin folders. Would you post all stacktrace for this exceptions? On Monday, May 20, 2013 4:35:24 PM UTC-4, plnelson wrote: On Monday, May 20, 2013 4:26:05 PM UTC-4, Jonathan S wrote: how about ant clean build This isn't an ant-based project, and anyway, ant is

Re: [android-developers] ListView with selected state does not work when list item view has a background

2013-05-20 Thread Miha Valencic
On Mon, May 20, 2013 at 10:15 PM, Romain Guy romain...@android.com wrote: The selected state is used when the item is focused using a keyboard. It has nothing to do with the choice mode. In this case, which is the correct state? I now see that state_activated works as expected, though as Kostya

[android-developers] Re: rendering international text into GL texture with correct line breaks

2013-05-20 Thread bob
You may be able to just stick a TextView or even a sophisticated layout right over the OpenGL surface. This would save you the hassle of writing code to convert to textures. It would be like this: *setContentView(yourGLSurfaceView);* *addContentView(yourTextOverlayView);* Thanks. On

Re: [android-developers] HELP

2013-05-20 Thread Guy Smith
OTOH, beware the second-system syndrome: http://en.wikipedia.org/wiki/Second-system_effect On Tuesday, May 21, 2013 12:52:46 AM UTC+10, John Coryat wrote: You might also find that the second time you code it up, it will be better... Good lesson in backup though. -- -- You received this

[android-developers] Android :: Help One finger pan zoom rotate bitmap ontouch

2013-05-20 Thread Somkid Simajarn
Example code. Thai programer android Thx. -- -- 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