Quantcast
Channel: BlogoSfera » ES
Browsing all 137 articles
Browse latest View live

Is it possible to override file.delete() in android

I am doing a recyclebin app like dumpster. When i am going to delete any file from any file manager (Astro file manager, ES file explorer) , i am getting the file path of the deleted file using...

View Article


Android OpenGL – IMO better code runs slower

I am learning OpenGL ES 2.0 to create simple 2D game for Android. When I was trying to understand how it works i wrote terrible code. Every sprite created its own vertex & fragment shader and...

View Article


parse JSON string java, best practice

I have JSON string/response and I need simple parse it and get objects/arrays, it can be repeated, so I need get list by list, actually I do not know how to do it, because a lot of parsers and all...

View Article

Spanish Forum? anyone can help me? [on hold]

can anyone recommend me a forum in Spanish?, i need some info, but i dont know how to explain it <xsd:complexType> <xsd:sequence> <xsd:element name="idTransaccion" type="xsd:string"/>...

View Article

Issue trying to change user from Django template

I need to include two buttons or links to allow users change language between English and Spanish. I’ve read the docs and tried this: <form action="/i18n/setlang/" method="post">{% csrf_token %}...

View Article


How to improve memory intensive Python scripts?

Today, I wrote a short script for a prime sieve, and I am looking to improve on it. I am rather new to python and programming in general, and so I am wondering: what is a good way to reduce memory...

View Article

Feeding ES directly – Is a queue needed?

I am looking at the possibility of using ES without a database, constructing my data from my python application and sending it straight to ES in real time. It says me a lot of complexity, however my...

View Article

PHP 2 Arrays in Foreach-loop?

I have used array_combine to print out 2 different arrays, but the function use first array for index, and he supress values with same content. I need printout even when has a same value. Some tip...

View Article


How to call a web page from android without exiting the app

I’m new in Android i need call web page from my app without exiting I try with this code: Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse("http://www.google.es"));...

View Article


Converting a string to a date time in SQL

I’m importing data from a different system and the datetime is stored as string in this format: 20061105084755ES yyyymmddhhmmss(es/ed) where es is EST and ed is EDT. I will have to query this table for...

View Article

divdi3 division used for long long by gcc on x86

When gcc sees multiplication or division of integer types that isn’t supported in hardware, it generates call to special library function....

View Article

jQuery index finding

<div class="es-carousel"> <ul> <li><a><img src="something157.jpg" ></a></li> <li><img src="blabla.jpg"></a></li> <li><img...

View Article

Android – call openGL functions after onPause()

I have an Android java application that uses OpenGL ES 1.1 and I have encountered the following problem: When the application is minimized, onPause() is called on the activity. At this point I would...

View Article


Overlaying div doesn’t show

I’m having a problem with overlaying divs. It’s not a z-index issue, but rather something to do with iframes. After reading How to show a div over a Youtube video (z-index)?, I tried adding...

View Article

storing a list af strings that have sub lists in a json file in python

I am working with python and I have data like this : RedHat Enterprise Linux ES 2.1 IA64 RedHat Enterprise Linux ES 2.1 Red Hat Enterprise Linux AS 2.1 Linux kernel 2.6.9 Linux kernel 2.6.8 rc3 Linux...

View Article


OpenGL ES 2.0 Transition From GLK

I am new to OpenGL ES 2.0 and originally used GLKBaseEffect to render the textures and such. I decided to translate this code to ES 2.0 and get rid of GLKBaseEffect altogether. The first picture is the...

View Article

How to save picture (applied glsl effects) captured by camera in Android?

I have applied some effects to camera preview by OpenGL ES 2.0 shaders. Next, I want to save these effect pictures (grayscale, negative …) I call glReadPixels() in onDrawFrame(), create a bitmap based...

View Article


Proper number format not coming for spanish

I am using below code to generate number for spanish as €1.000.000,00 but I am getting €1,000,000.00. I am using es_ES as locale ID. NSNumberFormatter *frm=[[NSNumberFormatter alloc] init]; [frm...

View Article

Mysql select ( help me please)

Can you help me? Thank you! I need select request from mysql table specific data to php table ( echo only apple, if apple >= 1 ) it really request must be with if apple >= 1, Thank you! Name !...

View Article

Android initialise openGL2.0 context with EGL

I want to do off-screen image processing on Android in native code, so I need create the openGL context in native code by EGL. By EGL, we can create EGLSurface, I can see there are three choices there:...

View Article
Browsing all 137 articles
Browse latest View live