Android Systrace No such file or directory
Here’s the error message D:\Programming\Tools\ADT_bundle\sdk\tools\systrace>python systrace.py Traceback (most recent call last): File "systrace.py", line 315, in <module> main() File...
View ArticleProgram accessing illegal pointer to pointer does not crash
Program accessing illegal pointer to pointer does not crash with SIGSEGV. Not a good thing, but wondering how this could be and the process is surviving for many days in production. It is bewildering...
View ArticleSound in android programs doesn’t
Good day I have been doing some coding in the for my android program and i tried playing a music with this code right here android the lowest build is 2.2 and highest is 4.2.2 also using eclipse to do...
View ArticleIs it possible to run Ruby and Rails off of local folder without installing...
Is it possible to run Ruby and Rails on Mac OS X off of a local folder (without local or system install using RVM, Homebrew, etc.) Similar to the way one can copy/paste Java installation directory and...
View ArticleCreate folders in directory from values in list. Python
so what I am trying to do is: 1) Use a for loop to create a folder within a directory, 2) write the output file to this folder i am trying to use the value in the for-loop as part of the input2 name...
View ArticleFragment and Listview
I’m trying to use a ListView and Fragment. But this work not so good Here is my Code: public static class ownFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater,...
View ArticleCassandra call timeout
I have cassandra 1.2.6 installed on a MAC OS-X (Darwin g4 11.4.2). No matter which cassandra client I use for most database commands (create, drop, select, …) the command either does not return or (in...
View Articlelist indices must be integers not str
import os def search_dir(dir,topdown=True): files = {} for root, dirs, files in os.walk(dir, topdown): for name in files: fileAdd = os.path.join(root,name) fileSize = os.path.getsize(fileAdd)...
View ArticleMost probably error with JSON parsing
Here is my Activity code(which I took from >> http://itweb-projects.com/wordpress/android-connecting-to-mysql-using-php) the problem that I’m facing is that its throwing a JSON error handling its...
View ArticleNeed help converting small python script from windows to linux
I’m no programmer but would like to use a Windows python script in Linux. It has trouble with the filenames I think. Probably because the \’s need to be /’s but there are a lot of them in this script...
View ArticleADT 22.0.4 stopped quick suggestions for layout attributes, Eclipse
I recently updated ADT 22.0.4 and now when editing layout XML files, and doing a CMD + Space or quick suggestion, Eclipse don’t show any layout_* attributes. For instance whenever I try specify...
View ArticleOperating System In Any Language [on hold]
Say I wanted to write an OS from scratch in whatever language I choose for a project… what would the core design principles entail that give an OS its glory? Can you, at least in theory, create an OS...
View ArticleAChartEngine Android – AppendData Crashing in fragment
I seem to be having a problem with achartengine. When I use appendData in a class that extends Fragment, I get this error: 07-29 19:43:17.742: W/dalvikvm(12504): VFY: unable to resolve static method...
View ArticleImplementing delay() without time()
I’m writing code for an embedded device (no OS so no system calls or anything) and I need to have a delay but the compiler doesn’t supply time.h. What other options do I have?The post Implementing...
View ArticleDoes the App Store let users download updates not supported by the device OS?
I’ve got a review on the App Store that says that the app hangs on loading after an update I just submitted. I recently stopped supporting iOS 5 in order to use collection views (and because of...
View ArticleWindows Console Application on Mac/Linux? C++
I’m wondering if there’s any way to make my Windows Console Application working on Mac and/or Linux. Like an easy way to port it which seems doubtful. The only way I can think of doing it is going on...
View ArticleAndroid outofmemory on image background in xml for tablets
Ok Im doing a soundboard app for android and when ever I try to put a background in the activity_main.xml it won’t work on tablets, I tried It on nexus 7, but when I put it on my phone, note 2, it...
View ArticleMediaPlayer works in Android, but progress does not
I’ve been working on this for a while, trying to get this tutorial to work (http://united-coders.com/nico-heid/an-android-seekbar-for-your-mediaplayer/), but I haven’t had any luck. The audio playback...
View ArticleHow do I allow the Leap Motion to control my cursor in an Objective-C Xcode...
So I have a game for Mac OS X built in cocos2D. I’m using gestures to simulate keyboard commands to control my character and it works really well. I submitted my game to the AirSpace store and it got...
View ArticleNanohttpd in android do not serve files
i am developing a android application which uses nanohttpd to create a webserver my code do not give me any error but the server is not running because when i go to xx.xxx.xxx.xxx:8765/index.htm then...
View Article