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 ArticleAndroid 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 Articleparse 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 ArticleSpanish 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 ArticleIssue 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 ArticleHow 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 ArticleFeeding 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 ArticlePHP 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 ArticleHow 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 ArticleConverting 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 Articledivdi3 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 ArticlejQuery 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 ArticleAndroid – 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 ArticleOverlaying 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 Articlestoring 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 ArticleOpenGL 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 ArticleHow 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 ArticleProper 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 ArticleMysql 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 ArticleAndroid 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