[android-developers] Re: Saving Data on External Storage

2016-07-03 Thread Paolo Turatti
https://developer.android.com/training/basics/data-storage/files.html > and > https://developer.android.com/reference/android/content/Context.html#getExternalFilesDir(java.lang.String) > > On Friday, July 1, 2016 at 11:35:27 PM UTC+10, Paolo Turatti wrote: >> >> Hello everybody! >> &

[android-developers] Re: Access Problem External SD-Card Android 6.01

2016-07-01 Thread Paolo Turatti
Hello, did you check your app permissions? In Android 6 many things have changed on permissions, go under android settings, applications, select you app, select rights, give the applications the right to read and write external storage, then on the top right corner, all permissions. Open you

[android-developers] Saving Data on External Storage

2016-07-01 Thread Paolo Turatti
Hello everybody! I am not able to save data from my appication (in my case video or picture) on the external sdcard) I think it is related to the write permission introduced with android 4.4. I am able to write data on the /sdcard whitout problem, but if the device has an external sd card i

[android-developers] FileChooser

2013-04-02 Thread PAOLO FRANCESCO Bertolotti
I'm really sorry, but I have find nothing that explains also with examples download how to do a FileChooser for the last Android technology. Can and want you help me??? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Unsubscribe

2013-01-15 Thread Paolo Z.
For those still encountering this issue, I resolved it adding the flag http://developer.android.com/reference/android/content/Intent.html#FLAG_RECEIVER_FOREGROUND to the broadcast pending intent, this doesn't force the service to get restarted. Paolo On Sunday, August 12, 2012 9:35:34

[android-developers] Re: Jelly Bean Speech Recognition API (local ASR)

2013-01-07 Thread Paolo Martinello
Me too. Hope to have a reply soon Thanks/Regards martin.p Il giorno domenica 16 settembre 2012 06:55:35 UTC+2, Kevin Claypool ha scritto: I also would like to develop using the offline speech recognition engine... but so far it's been impossible to find any documentation regarding its

[android-developers] Detect when activity destruction come from rotation

2012-12-20 Thread Paolo Mancini
Hi, how can I detect when an activity destruction come from a rotation instead a normal application end? Thanks -- 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

[android-developers] Context() getDir() without creation

2012-10-19 Thread Paolo Mancini
Hi, I need to create some directory inside the application to maintain some internal data. To obtain this, I use context.getDir() and It works fine. Sometimes I need to know if some dir exists without create it..and to do it I can't use the context.getDir() cause this function create the

Re: [android-developers] Context() getDir() without creation

2012-10-19 Thread Paolo Mancini
, Oct 19, 2012 at 3:47 PM, Paolo Mancini paol...@gmail.comjavascript: wrote: How can I obtain this? http://developer.android.com/reference/android/content/Context.html#getFilesDir%28%29 And standard Java IO

[android-developers] XmlPullParser tag position

2012-10-18 Thread Paolo Mancini
Hi, I'm using the XmlPullParser to parse a large XML file. I need to obtain position (bytes) for each tag but I haven't found any method. I need this cause I want to trace the progression of the parsing (with the total length). Is it possible? Does somebody know another solution? Many

Re: [android-developers] XmlPullParser tag position

2012-10-18 Thread Paolo Mancini
Sorry, i've duplicated the topic…it's the same problem! Il giorno 18/ott/2012, alle ore 12:42, Harri Smått ha scritto: On Oct 18, 2012, at 12:36 PM, Paolo Mancini paolo8...@gmail.com wrote: I need to obtain position (bytes) for each tag but I haven't found any method. Yesterday you

[android-developers] XmlPullParser and tag position

2012-10-17 Thread Paolo Mancini
Hi, I'm using the XmlPullParser to parse a large XML file. I need to obtain position (bytes) for each tag but I haven't found any method. I need this cause I want to trace the progression of the parsing (with the total length). Is it possible? Does somebody know another solution? Many thanks

[android-developers] Android Licensing LVL

2012-09-12 Thread Paolo Mancini
Hi, I'm using the LVL ServerManagedPolicy but I've a couple of question. This is my case. A client buy my app and after try to open and use it without internet connection. I've seen that the server response always dontAllow() RETRY. Is it possible to obtain that the ServerManagedPolicy allow

[android-developers] Best Practices: Which SDK should I choose for a new project?

2012-01-23 Thread Paolo
Hi there, I'd like to understand if there is a best practice when I have to choose the SDK Target for a Android project. For example: I have to develop an app that must be supported on Android OS version from v2.1 to v4.0 (included). Which target should I choose? -- You received this message

[android-developers] Re: Best Practices: Which SDK should I choose for a new project?

2012-01-23 Thread Paolo
: Choose the target corresponding to 2.1, there is also a nice little pie chart showing you how many people have what: http://developer.android.com/resources/dashboard/platform-versions.html kris On Mon, Jan 23, 2012 at 5:12 AM, Paolo brand...@gmail.com wrote: Hi there, I'd like

[android-developers] Re: Best Practices: Which SDK should I choose for a new project?

2012-01-23 Thread Paolo
of older utility classes for things like security, etc..), but in general things are only being added, not dropped. kris On Mon, Jan 23, 2012 at 5:35 AM, Paolo brand...@gmail.com wrote: Thanks Kris, but the answer I'm looking for is not referred to the Android distribution problem

[android-developers] Re: Best Practices: Which SDK should I choose for a new project?

2012-01-23 Thread Paolo
In conclusion if there is not special reasons to use the latest sdk version, like new features, new APIs... etc. it is better use the min target I want to support? On 23 Gen, 11:44, Paolo brand...@gmail.com wrote: Can I assume the same for the v3.x? On 23 Gen, 11:39, Kristopher Micinski

[android-developers] Re: How to change color for item selected in Gallery

2011-08-05 Thread Paolo
anyone? On 4 Ago, 09:13, Paolo brand...@gmail.com wrote: I've done a Gallery view composed by just textviews as numbers. By default if I don't set any colors the item in the centre is black. I want to change it. Using a selector it doesn't work, any ideas? UPDATE: if I try to use

[android-developers] Multi Style with external fonts

2011-08-04 Thread Paolo
Here my problem: I have a string formatted like this in string.xml My string is bmulti style/b and use external font and I have two external fonts one for regular and one for bold (DINR.ttf and DINBD.ttf) I want to set the string above with my fonts. I've written this static method: public

[android-developers] How to change color for item selected in Gallery

2011-08-04 Thread Paolo
I've done a Gallery view composed by just textviews as numbers. By default if I don't set any colors the item in the centre is black. I want to change it. Using a selector it doesn't work, any ideas? UPDATE: if I try to use a selector also the default behavior gone and I can see only grey

[android-developers] Re: Avoid to handle click event on a LinearLayout

2011-07-30 Thread Paolo
anyone, please? On 29 Lug, 15:44, Paolo brand...@gmail.com wrote: Hi there, I have a FrameLayout with two inner LinerLayouts overlayed. + FrameLayout       + LinearLayout 1       + LinearLayout 2 In some cases I'd like the LinearLayout 2 doesn't handle the click event. I can't set

[android-developers] Re: Avoid to handle click event on a LinearLayout

2011-07-30 Thread Paolo
it and when I touch or click it, I only see that the LL1 catches it. I expected the LL1 passes the event also to the child Am I wrong? Could you help me please? On 30 Lug, 16:41, Paolo brand...@gmail.com wrote: anyone, please? On 29 Lug, 15:44, Paolo brand...@gmail.com wrote: Hi

[android-developers] Avoid to handle click event on a LinearLayout

2011-07-29 Thread Paolo
Hi there, I have a FrameLayout with two inner LinerLayouts overlayed. + FrameLayout + LinearLayout 1 + LinearLayout 2 In some cases I'd like the LinearLayout 2 doesn't handle the click event. I can't set Visibility to GONE, but only to INVISIBLE. The aim is that the LinearLayout 1,

[android-developers] Problem with Layout with WEIGHT and VISIBILITY params

2011-07-28 Thread Paolo
Hi there! I have a LinearLayout composed by 4 RelativeLayout. Every RelativeLayout has the weight params set in order to fill all the screen. All layouts are set as fill_parent for W and H. + LinearLayout + Relative 1 weight = 4 (visible) + Relative 2 weight = 5 (gone) + Relative 3

[android-developers] Call to requestLayou() after an Animation ends

2011-07-18 Thread Paolo
, as if it was drawn once again. Is it possible? Why? I expected to see the animation that works normally and to change the layout position in background without to be draw again... Am I wrong something? Is there some tricks to avoid this kind of flickering? Thanks in advance Paolo -- You received

[android-developers] NFC - writing data that only my app can read

2011-07-11 Thread Paolo
to write my data with this custom mimetype on my tag? Thanks in advance! Paolo -- 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

[android-developers] Starting an app at BOOT

2011-06-30 Thread Paolo
Hi there! I'd like to start a service when the device completes booting up. I know I have to use a BrodcastReceiver with ACTION_BOOT_COMPLETED, but as documentation this only works if the app installed in the internal storage. What about the external storage? Is there a workaround to get a quite

[android-developers] Re: Starting an app at BOOT

2011-06-30 Thread Paolo
Why? Just because I would give the user the possibility to decide it. -- 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: Change grandient color for a shape programmatically

2011-06-28 Thread Paolo
Hi SofB thanks for your answer. I did it, but the problem is here. From ShapeDrawable object I don't figure out how to set the gradient color in the shape. Maybe I miss something, please give me a tip. http://developer.android.com/reference/android/graphics/drawable/ShapeDrawable.html On 27 Giu,

[android-developers] Re: Change grandient color for a shape programmatically

2011-06-28 Thread Paolo
GradientDrawable instead? http://developer.android.com/reference/android/graphics/drawable/Grad... ( I don't see any methods to set gradient colors, though ) -- Kostya 28.06.2011 12:40, Paolo пишет: Hi SofB thanks for your answer. I did it, but the problem is here. From ShapeDrawable object I

[android-developers] Change grandient color for a shape programmatically

2011-06-27 Thread Paolo
Hi there! I'd like know how can I change programmatically the gradient color in a shape previously defined in XML. This is my shape, as background of a View: shape xmlns:android=http://schemas.android.com/apk/res/android; android:shape=rectangle corners android:radius=5dp /

[android-developers] Re: multiple opengl context and shared textures

2011-06-16 Thread Paolo
can't find it anywhere. It seems that Android provides an older EGL specs or simply a partial EGL specs. Am I wrong? In this case, is there any other way to achieve texture sharing? Thanks in advance! Paolo On 15 Giu, 18:36, Paolo brand...@gmail.com wrote: UPDATE 1: I have been able to show two

[android-developers] Re: multiple opengl context and shared textures

2011-06-15 Thread Paolo
(); texture.recycle(); return id; } What happen? The first glsurfaceview shows the correct square textured, the second one show only a white square My goal is share only the ID and the to call glBindTexture(), but maybe I'm wrong. Please help me to undestand! Thanks Paolo On 8 Giu, 20

[android-developers] Fonts on Android, how are they manage by the OS?

2011-06-08 Thread Paolo
fonts, how does Android manage this situation? Please answer me ASAP. Thanks in advance! Paolo -- 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

[android-developers] Re: Fonts on Android, how are they manage by the OS?

2011-06-08 Thread Paolo
in this case I expect a different behavior... something like: a typeface like Sans doesn't provide a specified glyph I expect the system automatically checks for another typeface which is able to render it. How does Android work? And how can I test it? On 8 Giu, 10:07, Paolo brand...@gmail.com wrote

[android-developers] Re: Fonts on Android, how are they manage by the OS?

2011-06-08 Thread Paolo
yes those fonts are for the last platform, I guess Gingerbread that provides an extended language support. However I noticed something strange... On my Nexus S there are a lot of languages supported selectable, on the other hand on my Nexus One (always 2.3.4) there are only a subset of those. I

[android-developers] multiple opengl context and shared textures

2011-06-08 Thread Paolo
Context? I need to use it either with 2.1, 2.2. 2.3 or 3.0 with tablets for a dual indipendent 3D window. Thanks in advance Paolo -- 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

[android-developers] Re: Building composed shapes

2011-05-31 Thread Paolo
something! Thanks in advance! On 30 Mag, 18:50, Paolo brand...@gmail.com wrote: Hi there! I need to draw a drawable on a canvas. I'd like to avoid using a png file, but I'd like to draw it with shapes. The final result must be an unique drawable composed by two rects overlayed, one smallest than

[android-developers] Re: Building composed shapes

2011-05-31 Thread Paolo
UPDATE 2: I found out the problem! BitmapFactory.decodeResource(context.getResources(), R.drawable.layers); return always NULL, what could be the problem for you? On 31 Mag, 11:15, Paolo brand...@gmail.com wrote: UPDATE: I have been able to write (layers.xml) what I want on a XML file using

[android-developers] Re: Building composed shapes

2011-05-31 Thread Paolo
SOLUTION: layer = (LayerDrawable) getResources().getDrawable(R.drawable.layers); layer.setBounds(** what you want **); layer.mutate(); layer.draw(canvas); On 31 Mag, 11:29, Paolo brand...@gmail.com wrote: UPDATE 2: I found out the problem

[android-developers] Building composed shapes

2011-05-30 Thread Paolo
Hi there! I need to draw a drawable on a canvas. I'd like to avoid using a png file, but I'd like to draw it with shapes. The final result must be an unique drawable composed by two rects overlayed, one smallest than the other one. How can I do that in XML? I've seen layer-list but I can't figure

[android-developers] How to kill service for debugging purpose

2011-04-29 Thread Paolo
Hi there! I'd like to know how can I kill my service without to kill my whole process too, as the system does when it need memory. In particular I want to test if the the service re-start using the flag START_STICKY returned by onStartCommand(). Can anyone help me? Thanks in advance! -- You

[android-developers] Avoiding service to be killed by the system

2011-04-05 Thread Paolo
been passed from startForeground. Can this break the service foreground state? Sorry if my english isn't perfect, I hope it's clear anyway what I want to tell you. If you have any questions, please ask me. Thanks Paolo -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Restart Service after it has been killed by the system

2011-03-21 Thread Paolo
, TreKing treking...@gmail.com wrote: On Fri, Mar 18, 2011 at 6:02 AM, Paolo brand...@gmail.com wrote: How can avoid it? You can't. Or at least how can I restart my service as soon as possible? Attach it to an ongoing notification to indicate it's something the user cares about and should

[android-developers] Restart Service after it has been killed by the system

2011-03-18 Thread Paolo
return from onStartCommand START_REDELIVER_INTENT or START_STIKY. They seem to be what I'm looking for, but the Service seems not to restart in a short time... Could someone get me some suggestions or clarify it to me this situation? Is there a trick? Thanks in advance! Paolo -- You received

[android-developers] Re: Camera startPreview() failed on Nexus S with Gingerbread

2011-03-09 Thread Paolo
AM, Paolo brand...@gmail.com wrote: I guess the problem is that Nexus S has two cameras (front and back). With Froyo I can't manage this situation. I expect that Android use the back one without problem with the same code I use for Froyo, The startPreview() faild and I don't undestrand why

[android-developers] Retrive which activity has started a local service

2011-03-08 Thread Paolo
in advance. Paolo -- 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

[android-developers] Re: Retrive which activity has started a local service

2011-03-08 Thread Paolo
they changed dinamically at runtime. If I have the caller activity obj I could retrieve them directly. I hope I explain better my problem, if not... sorry ;) Paolo On 8 Mar, 12:30, Kostya Vasilyev kmans...@gmail.com wrote: Sure, put some extras in the intent or specify an action string - your service

[android-developers] Re: Camera startPreview() failed on Nexus S with Gingerbread

2011-03-08 Thread Paolo
with Gingerbread installed, it works fine... I suppose because N1 has only one camera. Please help me! Paolo On 7 Mar, 18:00, Paolo brand...@gmail.com wrote: Hi there! I've tested my app developed with SDK 2.2 as target on a Nexus S with Gingerbread. All it goes ok, except the activity that uses

[android-developers] Camera startPreview() failed on Nexus S with Gingerbread

2011-03-07 Thread Paolo
Hi there! I've tested my app developed with SDK 2.2 as target on a Nexus S with Gingerbread. All it goes ok, except the activity that uses the Camera hardware to take pictures. I don't know what's wrong... :( Is there anyone who has had the same problem? Please help me! Thanks in advance! This

[android-developers] SSL certificates on Android

2011-01-26 Thread Paolo
doubts, please ask me. Thanks to all in advance. Paolo -- 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

[android-developers] Re: licensing live wallpapers

2011-01-26 Thread Paolo Russian
more infos from the debugger: The application licensing class is working good and runs correctly until the here: private void startMainActivity() { Log.i(MY WALLPAPER LICENSING,license ok); startService(new Intent(this, MyLiveWallpaperService.class)); this line fires

[android-developers] drawing and refreshing small paint over static bitmap

2011-01-23 Thread Paolo Russian
Hello. I thought it was an easy find over all these android forums but it seems i cannot find if there is a pre-built way to draw my sprite (made up with a couple of shapes) over a static bitmap as background. What I currently do is redrawing the background and drawing over same canvas the sprite,

[android-developers] Package name problem during apk installation

2011-01-11 Thread Paolo
Hi there, I created a project for my app with a package name like this: com._3towns.app, but when I try to install and launch the app, the device reboots and the installation failed. Why? The I thought underscore is supported, isn't it? Any ideas? -- You received this message because you are

[android-developers] Re: Customizing a RelativeLayout

2010-12-17 Thread Paolo
any ideas? On 16 Dic, 13:40, Paolo brand...@gmail.com wrote: Thanks a lot for your answer ;) Before to use my own nine-patch, I'd like to understand what I'm wrong extending the RelativeLayout. So, in other topics I found that Roman Guy suggested to use setWillNotDraw(false).  Using

[android-developers] Re: Customizing a RelativeLayout

2010-12-17 Thread Paolo
Thanks for your help anyway ;) I hope someone can answer at my question. On 17 Dic, 09:58, Kostya Vasilyev kmans...@gmail.com wrote: I don't know what setWillNotDraw does, but the XML error looks suspicious. -- Kostya 17.12.2010 11:49, Paolo пишет: any ideas? On 16 Dic, 13:40

[android-developers] Customizing a RelativeLayout

2010-12-16 Thread Paolo
Hi! I'm trying to customize a RelativeLayout on order to show a nice trasparent black content box. So my class has extended RelativeLayout and has overridden the onDraw() method, but nothing appears in the Eclipse layout editor; the same happens if I try to run my app on the device. I read I have

[android-developers] Re: Customizing a RelativeLayout

2010-12-16 Thread Paolo
Because I'd like to draw something similar to this. http://pocketjourney.files.wordpress.com/2008/03/goal.gif?w=500 On 16 Dic, 10:53, Zsolt Vasvari zvasv...@gmail.com wrote: Why would you need to extend RelativeLayout just to change the background? On Dec 16, 5:36 pm, Paolo brand...@gmail.com

[android-developers] Re: Customizing a RelativeLayout

2010-12-16 Thread Paolo
:03, Paolo пишет: Because I'd like to draw something similar to this. http://pocketjourney.files.wordpress.com/2008/03/goal.gif?w=500 On 16 Dic, 10:53, Zsolt Vasvarizvasv...@gmail.com  wrote: Why would you need to extend RelativeLayout just to change the background? On Dec 16, 5:36

[android-developers] Re: Customizing a RelativeLayout

2010-12-16 Thread Paolo
Ok I'm going to try it ;) On 16 Dic, 11:31, Kostya Vasilyev kmans...@gmail.com wrote: Paolo, Yes, using a nine-patch drawable background is easy, efficient, and produces great results. Try this: open a layout in XML mode and add this attribute: android:background=@android:drawable

[android-developers] Re: Customizing a RelativeLayout

2010-12-16 Thread Paolo
want to change, for example the color of the background or the alpha value, while extending RelativeLayout I can to that by code programmatically. Is it right? On 16 Dic, 12:18, Paolo brand...@gmail.com wrote: Ok I'm going to try it ;) On 16 Dic, 11:31, Kostya Vasilyev kmans...@gmail.com wrote

[android-developers] Re: Customizing a RelativeLayout

2010-12-16 Thread Paolo
- com.android.ide.eclipse.adt where TextView is RelativeLayout's chid. Maybe I'm forgetting something... :( On 16 Dic, 12:42, Kostya Vasilyev kmans...@gmail.com wrote: 16.12.2010 14:34, Paolo пишет: I've tried, but I don't like that nine-patch. Maybe I should draw end substitute my own nine patch

[android-developers] double buffering OpenGL ES

2010-12-09 Thread Paolo
Hi there, I'm a newbie in OpenGL and OpenGL ES. I need some clarifications about double buffering in Android. I read Android supports implicit double-buffering for OpenGL, is right? Could I manage it or it is totally controlled by Android? Thanks in advance. Paolo -- You received this message

[android-developers] double buffering OpenGL ES

2010-12-09 Thread Paolo
Hi there, I'm a newbie in OpenGL and OpenGL ES. I need some clarifications about double buffering in Android. I read Android supports implicit double-buffering for OpenGL, is right? Could I manage it or it is totally controlled by Android? Thanks in advance. Paolo -- You received this message

[android-developers] Native Browser intent filters

2010-12-06 Thread Paolo
Hello, There is something I cannot understand in the native browser application (com.android.browser/.BrowserActivity) intent filters for the VIEW intent. Specifically these 2 filters: (/packages/apps/Browser/AndroidManifest.xml) !-- For these schemes were not particular MIME type

[android-developers] Re: Detect touch event on a OpenGL object

2010-11-30 Thread Paolo
Yes you are right. is white, sorry I was confused. :) So, I have tried to implement the color-picking solution, without fortune, because I always get from glReadPixels... and I don't understand why... Maybe I can't read from the frame buffer? I'm using Android 2.2 and 2.1. :( This is

[android-developers] Detect touch event on a OpenGL object

2010-11-29 Thread Paolo
. Paolo -- 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

[android-developers] Re: Detect touch event on a OpenGL object

2010-11-29 Thread Paolo
Yes I have just seen that selected mode is not available in OpenGL ES. So, I'm trying to follow the other ways, starting from color- solution, that seems the simplest. But I already get a problem... :( At every frame I'd draw many markers (every marker has different coordinates) in the scene and

[android-developers] Is it possible implement Zoom Feature in a custom Camera Activity or not?

2010-11-23 Thread Paolo
? Is it possible that the only solution is to do the zoom manually working on the surfaceview or on the preview frame? Thanks in advance. Paolo -- 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

[android-developers] Re: How to manage severla bitrmap for a ListView avoiding OutOfMemory?

2010-11-18 Thread Paolo
temporary 'loading...' placeholder with the newly loaded image(s). On Nov 17, 8:50 am, Paolo brand...@gmail.com wrote: Hi there! I have to manage several Bitmap in a ListView where each row is composed by one thumbnail and one textview. This ListView can be very long, over 500 rows

[android-developers] How to manage severla bitrmap for a ListView avoiding OutOfMemory?

2010-11-17 Thread Paolo
to load all the data for first and then to load only the thumbnails, but only those really visible on the device screen at the and of the scroll action. Thanks in advance. Paolo -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: is there a limit for the lenght of a texview's text?

2010-11-03 Thread Paolo
ok I try On 2 Nov, 22:01, TreKing treking...@gmail.com wrote: On Tue, Nov 2, 2010 at 3:43 PM, Paolo brand...@gmail.com wrote: the font color is the default. Change it and the background color just to see what happens

[android-developers] is there a limit for the numebr of markers to show on a MapView?

2010-11-03 Thread Paolo
As the object of this topic...is there a limit for the numebr of markers to show on a MapView at the same time with the Google API? -- 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: is there a limit for the numebr of markers to show on a MapView?

2010-11-03 Thread Paolo
ok. At this point i think it's better to show only the markers actually visible in the area... because i can have over 1000 markers to show in the map at the same time. On 3 Nov, 15:30, TreKing treking...@gmail.com wrote: On Wed, Nov 3, 2010 at 5:58 AM, Paolo brand...@gmail.com wrote

[android-developers] is there a limit for the lenght of a texview's text?

2010-11-02 Thread Paolo
Hi there! I've found a problem with textview when i have to show a long text in a textview into a scroolview. The text is over 4800 characters and when I have to show it the textview is empty. Nothing is showed. is there a limit for the lenght of a texview's text by default? any solution?

[android-developers] Re: is there a limit for the lenght of a texview's text?

2010-11-02 Thread Paolo
No, i haven't. If I cut the same string at smaller dimension, like 3000 characters instead of the real lenght (4782), the textview is showed correctly. Why this behaviour? On 2 Nov, 17:46, TreKing treking...@gmail.com wrote: On Tue, Nov 2, 2010 at 4:39 AM, Paolo brand...@gmail.com wrote: I've

[android-developers] Re: is there a limit for the lenght of a texview's text?

2010-11-02 Thread Paolo
I can scroll the the view unitl the end, it is very long, but empy and black. But in the code if I print the textview's content in the Log window I can see all the string. On 2 Nov, 19:40, Kumar Bibek coomar@gmail.com wrote: Nothing is shown? Are you sure?? On Nov 2, 10:32 pm, Paolo brand

[android-developers] Re: is there a limit for the lenght of a texview's text?

2010-11-02 Thread Paolo
the font color is the default. It is very strange because if i cut the string at 3000 characters I can see it... On 2 Nov, 20:33, TreKing treking...@gmail.com wrote: On Tue, Nov 2, 2010 at 2:31 PM, Paolo brand...@gmail.com wrote: I can scroll the the view unitl the end, it is very long

[android-developers] Re: How to compile Android Launcher source code?

2010-09-22 Thread Paolo
do this? I'm thinking to re-compile Android from source code, is the right way? Please answer me. Thamks, Paolo On 21 Set, 19:14, Dianne Hackborn hack...@android.com wrote: Launcher currently uses a number of experimental/private APIs. If you are doing this to create something you will place

[android-developers] Horizontal scroll with paging like iPad home screen

2010-09-21 Thread Paolo
I have to implement this kind of feature for a custom home screen in Android. I've noticed that it's impossible to use GridView with an HorizontalScrollView... so this is a big problem... is there any other solution? I thought that i would have to do a sort of my DataGridView, with its own

[android-developers] How to compile Android Launcher source code?

2010-09-21 Thread Paolo
I have just donwload the source code of the Android default Launcher here: http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=summary But when I import the project, i can't compile it because there is a lot of errors. Many of this are unresolved name, package, class and

[android-developers] Re: How to compile Android Launcher source code?

2010-09-21 Thread Paolo
I followed the guide you have posted. Thanks a lot. Now I can see the android SDK source code in Eclipse, but I'm still not able to compile the Launcher anyway... Eclipse always shows the same error on the Launcher code... why? Is there something I don't undestand? Thanks, Paolo On 21 Set, 13

[android-developers] Question about NDK

2010-09-16 Thread Paolo
Hi there, I should port a framework written in C/C++ to Android, in order to allow developer to use it to implement application. Is the NDK the right way? and then... this framework won't open, so how can I distribute it ready to be used in every android app? Thanks to anyone helps me. -- You

[android-developers] Re: Sensors with thread or not?

2010-09-03 Thread Paolo
and it gets started and stopped by the system as appropriate. On Sep 2, 1:34 am, Paolo brand...@gmail.com wrote: Thanks for your answer! well... but how do you manage the service? I explain better... if you close your app or simply you don't need your activity anymore, what happens

[android-developers] Re: Sensors with thread or not?

2010-09-02 Thread Paolo
Thanks for your answer! well... but how do you manage the service? I explain better... if you close your app or simply you don't need your activity anymore, what happens to the service? Do you stop it? On 1 Set, 17:05, Bret Foreman bret.fore...@gmail.com wrote: I use sensors extensively and

[android-developers] Sensors with thread or not?

2010-09-01 Thread Paolo
I have an activity, that uses sensor strongly. Until now I have managed the sensor with a background thread, because I thought it was better to understand and to develop my app, but now I'm not sure about it. The performance is very low. Do you think i should use sensor in the activity directly,

[android-developers] Get all icons positions in wallpaper

2010-08-12 Thread Paolo Russian
How do I get (given it's possible to do) the position of every icon in the screen, talking about a live wallpaper? Some array with x and y's?? Hope so :) but how? Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Dynamic add view to scrollview problem

2010-08-04 Thread paolo
Hi, i have a simple activity with a linearlayout and a scrollview. Dynamically i add a tablerow with one textview and a button into scrollview. But when i launch app scrollview doesn't contain all tablerow... infact the first row that i see is this is a text - 3 - Rows from 1 to 2 are cut off from

[android-developers] Re: Leaked Window changing orientation with SubMenu

2010-07-28 Thread Paolo
, Paolo brand...@gmail.com wrote: I thought Android managed it for me, too. But it doesn't seem to be so... Now I try your suggestion... I inform you soon. thanks. On 27 Lug, 18:15, TreKing treking...@gmail.com wrote: On Tue, Jul 27, 2010 at 5:52 AM, Paolo brand...@gmail.com wrote: I get

[android-developers] Leaked Window changing orientation with SubMenu

2010-07-27 Thread Paolo
Hi there, I get a leaked window when I have a submenu visible on the screen and I rotate the screen. If it would be a Dialog I colud call dismiss() in the onStop() before to change the orientation, but with a SubMenu how do I can solve it? Thanks Paolo -- You received this message because you

[android-developers] Re: Leaked Window changing orientation with SubMenu

2010-07-27 Thread Paolo
I thought Android managed it for me, too. But it doesn't seem to be so... Now I try your suggestion... I inform you soon. thanks. On 27 Lug, 18:15, TreKing treking...@gmail.com wrote: On Tue, Jul 27, 2010 at 5:52 AM, Paolo brand...@gmail.com wrote: I get a leaked window when I have a submenu

[android-developers] Re: OpenGL strange Exception: Nexus one upgrade to 2.2 causes app to crash?

2010-07-22 Thread Paolo
Hi there! I've the same problem... Have you solve it? Please let me know. Thanks Paolo On 5 Lug, 14:41, Aidan C aidanchu...@gmail.com wrote: Hey Guys, I've made some edits to my application but I'm pretty sure it crashing is linked to my updating my Nexus One. I've included the error as well

[android-developers] Re: OpenGL strange Exception: Nexus one upgrade to 2.2 causes app to crash?

2010-07-22 Thread Paolo
I solved it today simply set a differente EGLConfigChooser... from: this.setEGLConfigChooser(5, 6, 5, 8, 16, 0); to: this.setEGLConfigChooser(8 8, 8, 8, 16, 0); It seems to work well, now. But I don't know why :( On 22 Lug, 11:38, Paolo brand...@gmail.com wrote: Hi there! I've the same

[android-developers] [openGL] how to rotate quad around its center?

2010-06-18 Thread Paolo
hope you are able to understand my english... :) How can I do that? Thanks Paolo -- 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: [openGL] how to rotate quad around its center?

2010-06-18 Thread Paolo
.GL_VERTEX_ARRAY); gl.glPopMatrix(); } On 18 Giu, 17:31, Leigh McRae leigh.mc...@lonedwarfgames.com wrote: Translate the quad to the origin, rotate, translate back. Leigh On 6/18/2010 11:12 AM, Paolo wrote: Hi guys! I'm a newbie in OpenGL. :D I'm trying

[android-developers] Re: [openGL] how to rotate quad around its center?

2010-06-18 Thread Paolo
is GL_MODELVIEW. Leigh On 6/18/2010 11:58 AM, Paolo wrote: Hi leigh! I've tried, but it doesn't work... the quad goes in a wrong position : ( My quad has these coordinates                  //vertex bottom left            vertex[0] = 9.5f;            vertex[1] = 10f

[android-developers] Re: [openGL] how to rotate quad around its center?

2010-06-18 Thread Paolo
to intend us) and not east- direction as I expect. I hope you undestrand me now :( Paolo p.s. if you prefer I can post my code On 18 Giu, 18:45, Leigh McRae leigh.mc...@lonedwarfgames.com wrote: I am not exactly sure what you're saying actually.  At any rate, I noticed that you're translating

[android-developers] Re: how to rotate quad around its center?

2010-06-18 Thread Paolo
Look at this image to understand what i'm saying http://www710.univ-lyon1.fr/~jciehl/Public/OpenGL_PG/figures/chap3-11.gif On 18 Giu, 19:42, Paolo brand...@gmail.com wrote: I have to traslate into the z-axis a bit, otherwise I wouldn't see anything on the screen. Anyway, I'm doing this step

[android-developers] Re: [openGL] how to rotate quad around its center?

2010-06-18 Thread Paolo
);  //to the origin Really this is an OpenGL question and not an Android question. Leigh On 6/18/2010 1:42 PM, Paolo wrote: I have to traslate into the z-axis a bit, otherwise I wouldn't see anything on the screen. Anyway, I'm doing this step by step as you said to me ;) At first i traslate

[android-developers] Re: surfaceDestroyed not called! Why?

2010-06-14 Thread Paolo
nobody can help me to undestand why? On 8 Giu, 13:41, Paolo brand...@gmail.com wrote: Hi there! I've a problem with the Camera, in particular with the surfaceDestroyed() callback. This is my scenario: The app starts with an activity that shows a splash screen, and after 3 seconds it send

  1   2   >