[android-developers] Will Android Fast Emulator be supported by future AMD Zen processors?

2016-05-31 Thread saex
These days new excavator based cpus for the new AM4 socket and chipset will be released, and at the last part of the year, the new Zen AMD processors are being released. In the requisites for Android Fast Emulator I can read this: https://developer.android.com/studio/index.html#Requirements

[android-developers] Re: How to delete a cheat score in google play games Leaderboard?

2015-03-20 Thread saex
here: https://github.com/playgameservices/android-basic-samples On Wednesday, March 18, 2015 at 6:57:45 AM UTC-7, saex wrote: emmm... what? a web app? test scores? I can't find any web app and also who has talked about test scores? i am talking about a cheat score, the game is published

[android-developers] Re: How to delete a cheat score in google play games Leaderboard?

2015-03-18 Thread saex
that Google provides source for that will allow you to delete the test scores. Just look through the docs for the game services and you'll find it. On Tuesday, March 17, 2015 at 8:04:15 AM UTC-7, saex wrote: I have a fake score in my leaderboard, exists a way to delete it? I only can see how

[android-developers] How to delete a cheat score in google play games Leaderboard?

2015-03-17 Thread saex
I have a fake score in my leaderboard, exists a way to delete it? I only can see how to delete the entire leaderboard, but i just want to delete one score... how can this be achieved? tamper protection it's active but not hidding the fake score. Normal top scores are over 300 points,

[android-developers] VideoView in scrollview inside a section with header… overlaps the header when i scroll down

2014-11-27 Thread saex
I have an app that has a header in the top portion of the app. Below the header it is a linearlayout that has a scrollview. Inside the scrollview I have a linearlayout with some scrollviews on it. I can scroll the scrollview fine if the videos are not playing, but if the videos are playing,

[android-developers] MapView (Maps V2) not working

2014-09-23 Thread saex
Welcome all The tiles of the map are not being updated, the only way to update them is to block the device (onPause called) and to unblock the device (onResume called). If i do that, the tiles become updated it is very strange i mean that if i move the finger doing zoom or moving the

[android-developers] It is legal to delete and upload again an application to google play?

2014-08-08 Thread saex
i have an app that in the begining has some errors and a lot of users rate it with 1 star and now it have very bad rate. Now the app has solved the errors but still have a lot of negative votes. and no one is downloading it because of the negative rate. ¿It is legal to delete the app and

[android-developers] How to move a view in the screen with a onscreen Joystick?

2014-07-23 Thread saex
Welcome all i need to add a onScreen Joystick to my game. I found some code examples of joysticks but none of them moves a view on the screen, and i dont know how to move a view in the screen with the exact movement and acceleration of the joystick movement. This is one of the examples i

[android-developers] MediaPlayer makes frame rate jump in my animations when loop

2014-07-21 Thread saex
I have a game that shows some animations onscreen and one MediaPlayer playing with infinite loop the background music, and i am seeing frame rate jumps when the song ends and start a loop. Why is this happening? MediaPlayer is not efficient in the loop? Can the frame rate jump be avoided?

[android-developers] How to show first Public Leaderboards instead of Circles Leaderboards? (Google Play Game Services)

2014-07-19 Thread saex
when you are showing a Google Play Game Services LeaderBoard with this code: startActivityForResult(Games.Leaderboards.getLeaderboardIntent(getApiClient(), 33assad87asd), 1); It's first showed the circles leaderboard. I want to show first the Public leaderboard. Is that possible? --

[android-developers] ObjectAnimator starting with a frame jump on Android 4.4 (nexus 5) but not in 4.1 device

2014-07-13 Thread saex
I have a simple activity that shows an animation with ObjectAnimator. The animation is created and started in onCreate method of the activity, it is a very simple animation: cloudAnim = ObjectAnimator.ofFloat(cloud1ImageView, x, sw); cloudAnim.setDuration(35000);

Re: [android-developers] ObjectAnimator starting with a frame jump on Android 4.4 (nexus 5) but not in 4.1 device

2014-07-13 Thread saex
or in onResume(). 2014-07-13 10:44 GMT+01:00 saex an animation with ObjectAnimator. The animation is created and started in onCreate method of the activity, it is a very simple animation: cloudAnim = ObjectAnimator.ofFloat(cloud1ImageView, x, sw); cloudAnim.setDuration

[android-developers] Infinite ObjectAnimator decreasing framerate progressively...¿why?

2014-07-10 Thread saex
Hi i'm displaying 20 views at same time in the screen. They are inside a layout, and i'm moving them from top of the screen to the bottom with an ObjectAnimator. Each time one view has reached the bottom, the animation is restarted. The problem is that when 10-15 minutes have passed, the

[android-developers] MotionEvent.ACTION_CANCEL allways called inmediatly after MotionEvent.ACTION_DOWN

2014-06-19 Thread saex
Welcome all I'm developing an augmented reality app that consists in a camera view with some linear layouts on the screen representing the position of a POI in the camera. The LinearLayouts contains some view elements that implements onTouchListener and have the action to open a new

[android-developers] Problems with ContentProvider for sharing assets image

2014-02-21 Thread saex
Im using the solution of this website: http://www.nowherenearithaca.com/2012/03/too-easy-using-contentprovider-to-send.htmlto share images from assets folder, but it is not working. The share panel is being opened, but when i select gmail, google+ or some other social sharing network, the

[android-developers] WebView can not login into a http website with login. Phone navigator can do it

2013-07-03 Thread saex
I need to show a webview that let the user enter this website: http://m.orange.es/area_clientes/ If i try to enter to that website and login with my user with the phone navigator, it works fine, and the navigator ask me to accept a certificate. If i try to enter that website and login with

[android-developers] Re: Widget onClick is not working

2013-02-26 Thread saex
no one can help? El lunes, 25 de febrero de 2013 23:37:27 UTC+1, saex escribió: Hi all I want that when the user press on the widget, the widget stops itself, and when the user press again, the widget put ON his functions i'm using the solution of this post to achieve onClick on my widget

[android-developers] Widget onClick is not working

2013-02-25 Thread saex
I want that when the user press on the widget, the widget stops itself, and when the user press again, the widget put ON his functions i'm using the solution of this post to achieve onClick on my widget: http://stackoverflow.com/questions/2748590/clickable-widgets-in-android The solution

[android-developers] Widget onClick is not working

2013-02-25 Thread saex
Hi all I want that when the user press on the widget, the widget stops itself, and when the user press again, the widget put ON his functions i'm using the solution of this post to achieve onClick on my widget: Clickable widgets in

[android-developers] Re: Problems with Text To Speech

2013-02-14 Thread saex
Your solution didn't works... the same problem El martes, 12 de febrero de 2013 17:55:31 UTC+1, skink escribió: saex wrote: Please, try to make a better explained answer or to test your answer before writting it. btw i hate giving a fish i prefer giving a fish rod, i believe

[android-developers] How to prompt the user only to download one language? (Text To Speech)

2013-02-12 Thread saex
Hi I'm trying to do a text to speech test application, seeing this tutorial: http://android-developers.blogspot.com.es/2009/09/introduction-to-text-to-speech-in.html I tryed doing what the tutorial says, and i'm setting the language only to spanish: mTts = new TextToSpeech(this, this);

[android-developers] How to prompt the user only to download one language? (Text To Speech)

2013-02-12 Thread saex
Hi I'm trying to do a text to speech test application, seeing this tutorial: http://android-developers.blogspot.com.es/2009/09/introduction-to-text-to-speech-in.html I tryed doing what the tutorial says, and i'm setting the language only to spanish: mTts = new TextToSpeech(this, this);

[android-developers] Re: How to prompt the user only to download one language? (Text To Speech)

2013-02-12 Thread saex
What you mean with how to construct my spanish Locale? how can i do that? El martes, 12 de febrero de 2013 10:49:47 UTC+1, skink escribió: iterate over all Locales by calling Locale.getAvailableLocales() and see how to construct your spanish Locale pskink -- -- You received this

[android-developers] Re: How to prompt the user only to download one language? (Text To Speech)

2013-02-12 Thread saex
thanks for your amazing help, now i'm a wonderfull developer El martes, 12 de febrero de 2013 11:57:01 UTC+1, skink escribió: saex wrote: What you mean with how to construct my spanish Locale? how can i do that? construct == build == create in java it mostly applies to using class

[android-developers] Problems with Text To Speech

2013-02-12 Thread saex
Hi I'm trying to do a text to speech test application, seeing this tutorial: http://android-developers.blogspot.com.es/2009/09/introduction-to-text-to-speech-in.html I tryed doing what the tutorial says, and i'm setting the language only to spanish: mTts = new TextToSpeech(this, this);

[android-developers] Re: Problems with Text To Speech

2013-02-12 Thread saex
I checked in docens of posts and i can't find another way to construct my spanish locale. Please, try to make a better explained answer or to test your answer before writting it. El martes, 12 de febrero de 2013 17:35:50 UTC+1, skink escribió: iterate over all Locales by calling

[android-developers] It is possible to show a route between two POINTS selecting the type of transport?

2013-02-11 Thread saex
Hi I'm showing a route between two points with this code: Intent intent = new Intent(android.content.Intent.ACTION_VIEW,

[android-developers] Issues getting Galaxy Nexus (4.2.1) Camera Megapixels with this function

2013-02-04 Thread saex
Hi I'm getting the camera megapixels with this function: private String getCameraMegapixels(Camera cam){ Camera.Size size; size = cam.getParameters().getPictureSize(); DecimalFormat localDecimalFormat = new DecimalFormat(#.#); return

[android-developers] Re: Issues getting Galaxy Nexus (4.2.1) Camera Megapixels with this function

2013-02-04 Thread saex
resolution from there. On Monday, February 4, 2013 11:42:51 AM UTC-6, saex wrote: Hi I'm getting the camera megapixels with this function: private String getCameraMegapixels(Camera cam){ Camera.Size size; size = cam.getParameters().getPictureSize(); DecimalFormat

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-04 Thread saex
: saex wrote: argg you didn't understand me. I KNOW HOW TO GET THE VIEW, it is not the problem, read the full post please Instead of bitching and shouting at everyone trying to help you for free, which is a pretty darn good way to stop receiving free

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-04 Thread saex
; } } El lunes, 4 de febrero de 2013 20:11:57 UTC+1, skink escribió: saex wrote: OK, Sorry guys, now i understand you I tryed using your answers to get the solution but it doesn't works by now, i don't know what i'm doing wrong This is the code now (this code

[android-developers] Re: Efficient way to update one of the childs of a ExpandableListView group?

2013-02-04 Thread saex
code to my code.. thanks El viernes, 1 de febrero de 2013 09:36:18 UTC+1, saex escribió: I have a ExpandableListView with some groups, and each group haves only one child, with a string on it. I have a thread that get's some updated data and *each second* calls a handler that updates

[android-developers] Re: Efficient way to update one of the childs of a ExpandableListView group?

2013-02-04 Thread saex
+1, saex escribió: Thanks but i dont understand your code I dont know why you are updating with a for. I only want to update a child, and in my activity i know wich child i want to update, is the child 0 of the group 1. Please, can tell me what is wrong in my code? i just can't understand

[android-developers] Re: Efficient way to update one of the childs of a ExpandableListView group?

2013-02-04 Thread saex
Oh!! finally i achieved it! nice! thanks a lot! btw it's not fair to iterate until you reach the correct children, it is l inear cost. Does not exist a fastest way to reach the view that you need to update? thanks El lunes, 4 de febrero de 2013 22:24:35 UTC+1, skink escribió: saex wrote

[android-developers] Re: Efficient way to update one of the childs of a ExpandableListView group?

2013-02-04 Thread saex
well, i finally did it with TextView v = (TextView)el.findViewById(idx); and setId instead of setTag i think this is fastest than the for, what do you think? El lunes, 4 de febrero de 2013 22:52:57 UTC+1, skink escribió: saex wrote: Oh!! finally i achieved it! nice! thanks a lot

[android-developers] Re: Efficient way to update one of the childs of a ExpandableListView group?

2013-02-04 Thread saex
And what about this? (from first to last) for (int i = first; i = last; i++) { TextView v = (TextView)el.getChildAt(i); it can give an exception? or it's the better way? thanks El lunes, 4 de febrero de 2013 23:09:49 UTC+1, saex escribió: well, i finally did it with TextView v

[android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-01 Thread saex
I have a ExpandableListView with some groups, and each group haves only one child, with a string on it. I have a thread that get's some updated data and *each second* calls a handler that updates the string of one of the childs of the ExpandableListView and then calls this method to refresh

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-01 Thread saex
listView.getFirstVisibleItem / getLastVisibleItem / getChild. Also there is a callback, AbsListView.onScrollListener, which lets you know when the list view is scrolling, and perhaps suspend your updates if necessary. -- K 2013/2/1 saex elpab...@gmail.com javascript: I have a ExpandableListView with some

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-01 Thread saex
2013/2/1 saex elpab...@gmail.com javascript: OK, i can get the childs View with: el.getChildAt(1); el.getChildAt(2); but... what shouild i do to notify these views that they must reload their content from the adapter? El viernes, 1 de febrero de 2013 11:38:42 UTC+1, Kostya Vasilyev

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-01 Thread saex
i didn't understand you, the adapter doesn't have a getView method El viernes, 1 de febrero de 2013 12:50:46 UTC+1, Kostya Vasilyev escribió: Is that it? You could call the adapter's getView, making sure to pass the existing view as the convertView. -- K 2013/2/1 saex elpab

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-01 Thread saex
to say to me? i can't understand El viernes, 1 de febrero de 2013 13:08:36 UTC+1, Kostya Vasilyev escribió: Urm, for an expandable list view -- getChildView or getGroupView. -- K 2013/2/1 saex elpab...@gmail.com javascript: i didn't understand you, the adapter doesn't have a getView method

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-01 Thread saex
I see, but i can't understand how to do what i need to do... El viernes, 1 de febrero de 2013 16:03:17 UTC+1, skink escribió: saex wrote: arg... you didn't understand me or i can't understand you getChildView and getGroupView are from the ExpandableListView, but we are talking

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-01 Thread saex
argg you didn't understand me. I KNOW HOW TO GET THE VIEW, it is not the problem, read the full post please El viernes, 1 de febrero de 2013 17:10:53 UTC+1, skink escribió: saex wrote: I see, but i can't understand how to do what i need to do... just call getChildView

Re: [android-developers] Efficient way to update one of the childs of a ExpandableListView group?

2013-02-01 Thread saex
:19:57 UTC+1, Kostya Vasilyev escribió: And if you can't call getChildView, just copy the code from there to where you need it. (Can't believe I wrote copy the code... will my developer license be revoked now?) -- K 2013/2/1 skink psk...@gmail.com javascript: saex wrote

[android-developers] How to get back camera info in android 1.6 to 2.2?

2013-01-29 Thread saex
in Android 2.3 (API 9), google introduced CameraInfo to check if the given camera is the back camera or the front camera in a phone with two cameras: http://developer.android.com/reference/android/hardware/Camera.CameraInfo.html With this example you can get info from FRONT camera: How to

[android-developers] How to check if an Android phone has front and rear facing cameras?

2013-01-27 Thread saex
Hi I need to detect if the phone has a front facing camera, and if so, I need to calculate the megapixels. The same thing goes for a rear facing camera. I know how to get the megapixels of a Camera object, but I don't know how to check for the other things. P.s.: I would also be nice if

Re: [android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-01-22 Thread saex
, TreKing escribió: On Mon, Jan 21, 2013 at 4:32 PM, saex elpab...@gmail.com javascript:wrote: The icon is being painted overlaying the text title of each item. It means that for example, if the title of the first items is Ducados, the icon is overlaying Du and only cados is visible What

[android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-01-21 Thread saex
i have a ExpanableListView that i'm texting. I have a problem with the expand icon of the items. The icon is being painted overlaying the text title of each item. It means that for example, if the title of the first items is Ducados, the icon is overlaying Du and only cados is visible

[android-developers] LEFT JOIN and ORDER BY modified behavior between android 4 and lower versions?

2012-11-28 Thread saex
i have an app that makes this SQL query to a database with two tables, a table with items and a table with datesets. Each dataset can be from a item, and it is a set of dates ( :) ) SELECT distinct items.date from items left join datesets on items.inicio=datesets.capoID and

[android-developers] Re: No sample tutorials for Paypal Mobile Express Checkout with Button in the app?

2012-10-30 Thread saex
is for physical goods or services. If you plan on submitting your finished app to Google Play, it will now be rejected if you user a payer other than Google Play. This was in the news lately. You may have missed it. -John Coryat On Monday, October 29, 2012 9:54:10 AM UTC-5, saex wrote: I'm testing

[android-developers] Differences between Google Play Installed Apps “UPDATES” list vs “MANUAL UPDATES” list?

2012-10-30 Thread saex
When i enter to googleplay on the phone and i enter to my apps section, i can see all my installed apps spread into three lists: - UPDATES - MANUAL UPDATES - UP TO DATE I published my app into google play and always i launch a new version, my app appears into MANUAL UPDATES list. I

[android-developers] Authentication failed with Paypal Mobile Express Checkout Library sample app

2012-10-29 Thread saex
i'm testing the sample app for Mobile Express Checkout Library with Android. This is the link to the project and the library: https://www.x.com/sites/default/files/PayPal_MECL_1.0_Android-Developer-Package_0.zip When i press the review order button it calls to this method:

[android-developers] No sample tutorials for Paypal Mobile Express Checkout with Button in the app?

2012-10-29 Thread saex
I'm testing the sample app for Mobile Express Checkout Library with Android. This is the link to the project and the library: https://www.x.com/sites/default/files/PayPal_MECL_1.0_Android-Developer-Package_0.zip There are two ways to do the checkout, with the button on the mobile App and

[android-developers] It is possible to stop a thread that is connecting to URL with httpConnection.connect()?

2012-10-05 Thread saex
i have a thread that is connecting to a url to obtaining some data. Sometimes the method httpConnection.connect(); taked too munch time to get the response, and i want to limit the loading dialog of this connection thread to 5 seg. I tryed adding timeouts into the code, *but it doesn't

[android-developers] Ordering with SQLITE by nearest latitude longitude coordinates

2012-10-01 Thread saex
I must obtain a SQLite SQL Sentence for ordering by nearest latitude and longitude coordinates, given a initial location. THis is a example sentence for my table in the sqlite database: SELECT id, name, lat, lng FROM items I must achieve this with SQLite, and with that table. I can't use

[android-developers] Re: Ordering with SQLITE by nearest latitude longitude coordinates

2012-10-01 Thread saex
1, 2012 12:53:58 PM UTC+1, saex wrote: I must obtain a SQLite SQL Sentence for ordering by nearest latitude and longitude coordinates, given a initial location. THis is a example sentence for my table in the sqlite database: SELECT id, name, lat, lng FROM items I must achieve

[android-developers] Re: Ordering with SQLITE by nearest latitude longitude coordinates

2012-10-01 Thread saex
Obviously the function of the accepted answer. El lunes, 1 de octubre de 2012 15:42:59 UTC+2, RichardC escribió: What function? You need to put more effort into your questions, do not expect others to do all your work for you. On Monday, October 1, 2012 2:34:32 PM UTC+1, saex wrote

[android-developers] HorizontalScrollView inside HorizontalScrollView ¿making it possible?

2012-09-26 Thread saex
I want to learn how to solve this problem. I want to have a Horizontal scrollview with the scroll blocked (the user should not be able to scroll it) and inside that horizontal scrollview i want to have another horizontal scroll view, and this scrollview must be able to be scrolled by the

[android-developers] Problems invalidating a View

2012-09-20 Thread saex
I have an app with a layout that loads some remote images. When the remote image is being loaded, a clock with 100 forced height is being displayed (i did it overwriting onDraw from imageview), and when the remote image is downloaded and ready to be displayed, the clock dissapears and then

[android-developers] Sending notifications to Google Cloud Messaging with php gives me Unauthorized Error 401

2012-09-05 Thread saex
Searching for some info about how to send notifications using GCM but with PHP instead of servlets, i found this: http://stackoverflow.com/questions/11242743/gcm-with-php-google-cloud-messaging I tested the working code of the responses of these questions, also i created a Key for browser apps

[android-developers] Re: Sending notifications to Google Cloud Messaging with php gives me Unauthorized Error 401

2012-09-05 Thread saex
Solved!!! you must use Key for server apps (with IP locking) instead of browser key :) El miércoles, 5 de septiembre de 2012 17:49:30 UTC+2, saex escribió: Searching for some info about how to send notifications using GCM but with PHP instead of servlets, i found this: http

[android-developers] ObjectInput.readObject() for reading a file object didn't work's when the version of the app is newer than the older app wich creates the object

2012-06-01 Thread saex
i have this class: public class SaveState implements Serializable { private static final long serialVersionUID = 1L; public ListString downloadedMagazinesIds = new ArrayListString();//id's de revistas descargadas public ListString downloadedMagazinesSummaries = new

[android-developers] ObjectInput.readObject() for reading a file object didn't work's when the version of the app is newer than the older app wich creates the object

2012-06-01 Thread saex
i have this class: public class SaveState implements Serializable { private static final long serialVersionUID = 1L; public ListString downloadedMagazinesIds = new ArrayListString();//id's de revistas descargadas public ListString downloadedMagazinesSummaries = new

[android-developers] It is possible to add IOS Style rear Shadows into Android ImageViews?

2012-05-22 Thread saex
Hi I'm trying to add these kind of IOS shadows in the back of a imageview on Android: [image: enter image description here] I mean the rear shadow in the back of each square. Imagine that each square is an Android IMAGEVIEW, how can i add this shadow in Android? Thanks -- You received

[android-developers] Problems with HttpClient when the function is used by various devices at same time

2012-05-21 Thread saex
Using httpclient (apache credentials) connection to download various bitmaps with various devices is failing with one is working OK, ¿why? i'm developing an app for android (java) that it is connecting to a server to download 50 bitmaps, and i'm using this function each time to download

[android-developers] Receiving erroneous glitch bitmaps from httclient connection ¿what i'm doing wrong?

2012-05-21 Thread saex
I'm connecting to a server to get 50 bitmaps, and i'm using this function for each bitmap: public static Bitmap getRemoteBitmap(String url) { int cont=0; //reintentos Bitmap bm = null; do{ if (bm != null){ if (bm.isRecycled()==false)

[android-developers] Showing two simultaneously Activities (one smaller), the bigger one doesn't listen to finger events

2012-05-15 Thread saex
I am showing two activities, one activitie bigger than the other. The bigger activity haves some buttons and the smaller activity also haves some buttons. The bigger activity launchs the smaller activity, and then, the bigger activity stops listening for finger events (touch on the

[android-developers] Showing two simultaneously Activities (one smaller), the bigger one doesn't listen to finger events

2012-05-15 Thread saex
I am showing two activities, one activitie bigger than the other. I'm doing it with this: http://iserveandroid.blogspot.com.es/2010/10/how-to-set-heightwidth-for-activity-or.html *I'm not using fragments, i'm not using tabs.* The bigger activity haves some buttons and the smaller activity

[android-developers] Problems putting a RelativeLayout inside a ScrollView

2012-05-03 Thread saex
First of all i have a relativeLayout (body_view), and i'm putting a scrollView (viScroll) inside: viScroll = new ScrollView( App.app ); viScroll.setVisibility(View.VISIBLE ); viScroll.setGravity(Gravity.CENTER); RelativeLayout.LayoutParams rlp = new

[android-developers] Re: Opengl ES scaling (zoom out) shows rare square tiles on my textures. How to avoid it?

2012-04-23 Thread saex
. пятница, 20 апреля 2012 г., 19:41:54 UTC+4 пользователь saex написал: Hi I'm displaying a OPENGL ES 1.X square with a texture, and the user can zoom in and out the square scaling it. When the user zoom's out the square (the square get's scaled going smaller in the screen) the texture

[android-developers] Opengl ES scaling (zoom out) shows rare square tiles on my textures. How to avoid it?

2012-04-20 Thread saex
Hi I'm displaying a OPENGL ES 1.X square with a texture, and the user can zoom in and out the square scaling it. When the user zoom's out the square (the square get's scaled going smaller in the screen) the texture of the square get's rare translucent squares, like tiles from googlemaps.

[android-developers] Problems locking the screen orientation with ActivityInfo.SCREEN_ORIENTATION_NOSENSOR

2012-04-11 Thread saex
I have an activity that shows a scrollview with a lot of linearlayouts with a lot of imageviews and textviews. This activity must show two columns in my scrollview if the orientation is landscape, and it must show one column in my scrollview if the orientation is portrait. It works fine. I

[android-developers] It is possible to lock the screen orientation of the phone only when you want? (dinamically)

2012-03-30 Thread saex
I have an application that can be viewed with landscape and portrait mode. I'm not using onConfigurationChanged() and android:configChanges=orientation|keyboardHidden and the screen orientation change is working perfectly. But now, i have a small problem. I want to learn to lock the

[android-developers] How to use Archos 80 G9 to develop with Eclipse? Eclipse doesn't detect it.

2012-03-30 Thread saex
Hi I received an Archos 80 G9 and i need to use it to develop with eclipse. I follow these instructions: http://www.archos.com/support/support_tech/updates_adb.html?country=wslang=en I added *0x0e79 *to the ini file* *and also i have installed the goolge usb drivers, because before this i was

[android-developers] How to serialize a Class that includes a Bitmap?

2012-03-29 Thread saex
Hi I have a simple class that implements Serializable, because i'm serializating the class storing it on the sdcard into a file. The class haves a Bitmap inside, and the bitmap is not bening Serialized because when i recover the class from the sdcard binary file the bitmap is NULL How

[android-developers] How to store a JPG remote file into the phone internalMemory/sdcard?

2012-03-22 Thread saex
I need to add a new functionality into my app. I must store a lot of JPG images from internet into the Phone. If the phone haves sdcard, the JPG files must be stored on the sdcard. If not, they must be stored on the internalMemory, only if the phone haves space to do it. Then, i should do

[android-developers] Very easy to solve problem with SimpleXML. What i'm doing wrong?

2012-03-22 Thread saex
i'm working with Android and SimpleXML I need to parse this XML file with SimpleXML: magazine title=Número 1 id=1 descriptionyutyutyu/description miniaturehttp://web.com/scripts/getImage.php?idMagazine=1resource=miniature.jpg/miniature summary2/summary

[android-developers] Small issue with SimpleXML. Why i'm getting this exception?

2012-03-20 Thread saex
I'm getting this exception when i'm parsing with Simple XML: 03-20 12:43:38.163: WARN/System.err(1886): org.simpleframework.xml.core.ElementException: Element 'Magazine' does not have a match in class com.Magazine.Magazines at line 1 This is the XML file: Magazines Magazine title=APP 1 id=1

[android-developers] Wich is the easiest approach to get interpret a XML file response from a PHP script?

2012-03-15 Thread saex
I need to add a simple functionality into my Android app. I must connect to this fictional script: http://test/getMagazinesList.php The script will return me a XML file like this: magazines magazine title=APP 1 id=1 descriptionPrueba real/description

[android-developers] How to launch OnTouchListener on the elements of a ScrollView but only when the user is not Scrolling?

2012-03-12 Thread saex
i have a huge problem managing my horizontal scrollview. It haves inside a horizontal linear layout with a lot of vertical linear layouts wich haves a text and a image. I want that when the user press on the vertical linearlayouts, the ontouchlistener must be called launching a new feature

[android-developers] Wich is the best way to destroy a GLSurfaceview and free all the memory?

2012-03-12 Thread saex
I have a GLSurfaceView with four polygons with textures. I need to destroy the GLSurfaceview and recreate a new GLSurfaceView with new parameters when the user press a button. I tryed with myGLSurfaceView = null and initializing again myGLSurfaceView with the new paramters, but it is giving

[android-developers] How to display a LinearLayout menu aligned to the right of a FrameLayout and 100px below the top of the screen?

2012-03-09 Thread saex
I have a FrameLayout (all the screen is the FL) wich haves a openGLview and a header image on the top of the screen. Now i want to display a menu of two buttons, created with a LinearLayout. My LL Menu must be floating on the framelayout, aligned to the right of the screen and must be 100px

[android-developers] How to load a bitmap texture in a thread on a polygon class?

2012-03-06 Thread saex
i'm developing a simple OpenGL ES 1.1 app for android. I have a GLSurfaceView class that uses a square class that represent's a square polygon wich is rotating and must change his texture when the user press a button. I need to load the bitmap texture on a thread because i dont want to stop the

[android-developers] How to progressively make invisible a polygon?

2012-03-06 Thread saex
I need to make progressively invisible a polygon with OpenGL ES 1.1. I'm developing for Android, but i think that other platforms will do the same code with some minor changes. How i can do that? i can't find any info on google or stackoverflow. Any help and tutorials will be apreciated.

[android-developers] Re: How can i make my texture (or polygon) transparent when i want? (opengl es 1.1)

2012-03-02 Thread saex
buffer... On Thursday, March 1, 2012 9:53:44 AM UTC-7, saex wrote: I have a square polygon with a texture (opengl es 1.1), and i need that when i want the polygon get's invisible and when i want the polygon turn's visible again. It's frustrating because seems to be a very easy thing but i

[android-developers] How can i make my texture (or polygon) transparent when i want? (opengl es 1.1)

2012-03-01 Thread saex
I have a square polygon with a texture (opengl es 1.1), and i need that when i want the polygon get's invisible and when i want the polygon turn's visible again. It's frustrating because seems to be a very easy thing but i can't find any tutorials or examples for do it on google or stackoverflow.

[android-developers] Problems changing the texture of a polygon in a thread… white textures

2012-02-28 Thread saex
In some point of my app i need to changue the texture of a polygon. For that, i must load a bitmap from assets folder and then i pass the bitmap to a loadBitmap method of my polygon that changes the texture. It is working fine, but i need to move the code into a thread, because the loading time

[android-developers] Wich is the correct way to change the texture of a polygon?

2012-02-27 Thread saex
I need a little help to achive something with OpenGL ES 1.1 I have a symple square polygon (from nehe tutorials) with a texture. The polygon haves a bitmap and the method loadGLTexture(GL10 gl, Context context) is called once, when the polygon is created, to load the texture. I need to add the

[android-developers] How to changue the texture of a polygon efficiently?

2012-02-24 Thread saex
I have a symple square polygon (from nehe tutorials) with a texture. The polygon haves a bitmap and the method loadGLTexture(GL10 gl, Context context) is called once, when the polygon is created, to load the texture. I need to add the functionality to my app to change the texture of the square.

[android-developers] How to check when the phone changues from portrait to landscape? (with portrait mode forced in manifest)

2012-02-21 Thread saex
I have a special need for my app. I must force the app to work only in portrait mode, but i need to know when the user has moved the phone to landscape mode. Why? because i am displaying a opengl view with a texture image, and when the user changues the phone position to landscape mode i must

[android-developers] How to create a polygon with the dimensions of a texture?

2012-02-20 Thread saex
i'm trying to develop a simple opengl ES 1.1 app that must show a square polygon with a texture. The texture haves a rectangular resolution of 1536x2048 pixels. I'm learning opengl with the NEHE tutorials, but they didn't eplain how to create a polygon with the dimensions of the textures. This

[android-developers] Problems with MatrixGrabber: java.lang.ClassCastException: com.google.android.gles_jni.GLImpl

2012-02-17 Thread saex
I have a GLSurfaceView class that must show a square with a texture. I'm trying to fit the screen with the texture/polygon dimensions, then i need to use projections. I'm using 3 classes to have compatibility with android 1.5: MatrixGrabber.java MatrixStack.java MatrixTrackingGL.java This is

[android-developers] Why all the content of my GL10 gl object is null?

2012-02-17 Thread saex
I'm trying to create a simple opengl test. i have a GLSurfaceView class that must show a square with a texture. I'm trying to fit the screen with the texture/polygon dimensions, then i need to use projections. I'm using 3 classes to have compatibility with android 1.5: MatrixGrabber.java

[android-developers] It is possible to embed a MapActivity into another Activity without using Fragments?

2012-02-03 Thread saex
Hi It is possible to embed a MapActivity into another Activity without using Fragments??? How can i achieve it? 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] Exist's someting like execSQL() but for select sentences?

2012-02-02 Thread saex
I like execSQL because i can do this: db.execSQL(INSERT INTO Usuarios (codigo, nombre) VALUES (1, 'pedro')); exist's something similar (wich only needs a string as parameter) but to do SELECT sentences and returns a Cursor with the results Thanks -- You received this message because you

[android-developers] Problems with the width of the bitmap. The width is limited by the height of the screen

2012-02-01 Thread saex
Hi I'm creating a bitmap wich i need to use as background of a 320 width screen. The problem is that the bitmap is not getting the width i want. It is getting two empty spaces on the left and on the right. It is because it is fitting the height of the screen, but i dont want that, i want to force

[android-developers] How to create a binary file stored on the cache of the app and delete it after the use?

2012-01-20 Thread saex
i have a android app that gets a binary file from a php script. I need to store the binary file returned by the remote php script into a binary file on the cache mem of the app. And after i use the binary file, i need to remove it. How can i achieve it? thanks -- You received this message

[android-developers] All the google accounts of all the phones waiting for C2DM push notifications must be registered on C2DM?

2012-01-12 Thread saex
i'm checking this link: http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html It says that in order tu ouse C2DM, you need to ask for access, because it is a beta software. Here is the link to the signup form: http://code.google.com/android/c2dm/signup.html OK, but wich

[android-developers] Re: All the google accounts of all the phones waiting for C2DM push notifications must be registered on C2DM?

2012-01-12 Thread saex
the googleaccount used to register on that link, is the google acount that i must use on the server? or not? i didn't understand it On 12 ene, 13:46, appel johan.appelg...@gmail.com wrote: The developers that wants to use c2dm in their apps. -- You received this message because you are

[android-developers] A BroadcastReceiver can start my own app? (with my app not started)

2012-01-12 Thread saex
i want that when the phone receives a push notification from AC2M, a notification must be shown in the notification bar, and if the user press on the notification, my app must be started and show a specific activity describing that notification, and not the normal fist activity of my app. It is

  1   2   3   >