How to set a value in the Windows registry in assembly language?
Ok. So I have this program that attempts to create a value in the Windows registry. Unfortunately, nothing happens. I have been trying to figure out if any of the parameters are wrong. Here is the...
View ArticleRead file from "extsdcard"
I have some music in both sdcard and extsdcard I use Cursor to list them: Uri deviceMusic = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; String selection = MediaStore.Audio.Media.IS_MUSIC + " != 0";...
View Articlecurl_exec returns blank with no errors
I make a curl call which seems to go fine. [http_code] => 200, and curl_errno is 0. Yet despite the fact there should be an output ([download_content_length] => 102), the curl_exec call doesn’t...
View ArticleMediaStore.Images.Media.DATA in Android 4.3 Jelly Bean MR2
When I use this word in Android 4.3,it throws IllegalArgumentException, because “_data” not exist.How can I solve this problem? Cursor cursor = cr.query(Uri.parse(mImageUri), null, null, null, null);...
View ArticleMediaStore.Images.Media.DATA in Android 4.3 Jelly Bean MR2
When I use this word in Android 4.3,it throws IllegalArgumentException, because “_data” not exist.How can I solve this problem? Cursor cursor = cr.query(Uri.parse(mImageUri), null, null, null, null);...
View ArticleLoad All Phone Images to GridView with Thread in Android
i have a problem with Thread in Android . i have a gridview with CheckBox and i want Load all Images Gallery to this Grid . but i want load this Thread. but when i click Load images program Closed....
View ArticleUnable to Destroy main Activity
08-07 12:51:59.799: E/AndroidRuntime(1240): java.lang.RuntimeException: Unable to destroy activity {com.example.cap_im/com.example.cap_im.MainActivity}: java.lang.NullPointerException In my android...
View ArticleWhat is the Synced App Images Real/Physical Path?
I’m trying to send some Images from Android to a RESTFul WCF. By now I’m being able to select the Images from the Gallery and sending them to the Server. But I’m having problems with the Synced Images...
View ArticlePHP not iterating through nested JSON properly
I am trying to loop through a JSON Object (DATA) containing three nested JSON Objects (NEWUSERS,NEWUSERDATA,NEWRELATIONS), using a switch function to choose the appropriate function for a MySQL insert....
View ArticleNDIS filter driver’ FilterReceiveNetBufferLists handler isn’t called
I am developing an NDIS filter driver, and I fount its FilterReceiveNetBufferLists is never called (the network is blocked) under certain condition (like open Wireshark or click the “Interface List”...
View ArticleString Format Does Not Work
I have written this function in SQL Server : ALTER proc [dbo].[empcx] (@caixa int,@inicio datetime) as select sum(total) ttotal from alteraca where (Convert(varchar(10), DATA, 101) =...
View ArticleGetting links from an HTML table using HTML::TableExtract and HTML::Extor in...
My goal is to extract the links from the tables titled “Agonists,” “Antagonists,” and “Allosteric Regulators” in the following site:...
View ArticleAndroid – Sending 2 files to a server
I am trying to make an android app in which i can take or choose 2 pics from the gallery and send them to a server. The code: private static final int SELECT_PICTURE = 1; private String...
View ArticleUsing AsyncTask to preload data for a new Activity
I have my MainActivity which gives the user a selection of pages to open, all of which involve downloading some data from the internet and displaying it. To save the user waiting when they choose their...
View ArticleError display image form SDcard
My app is when user click botton . it will show image in gallery or another app and when user select image from gallery then display image form user selected I find ImagePath with method FindPath()...
View Articlehow to execute opcodes in c file?
NOTE: if you want to downvote explain in comment why (anonymous downvoting should be punished IMHO), I will improve question I got this done, see answer below following this instructions I have managed...
View Articlehow to execute binary machine code from C?
NOTE: if you want to downvote explain in comment why (anonymous downvoting should be punished IMHO), I will improve question then if I only can I got this done, see answer below following this...
View ArticleDjango IntegrityError: (1048, "Column ‘user_id’ cannot be null")
This is my models.py class Cfituser(models.Model): user = models.OneToOneField(User) socialid = models.IntegerField(null=True) accesstoken = models.CharField(max_length=255L, null = True) class Meta:...
View ArticleUse of memory in c++
I’m not sure how to pose this question, but here it goes: When programming on my Atmel MCU’s in c++ I tend to mix the ‘program’-variables and the ‘user’-variables in the same datamemory. Which in time...
View ArticleDelete file on sd card from a listview
To let users delete files they no longer want, I have a listview that shows a list of files in a directory located on the SD card. I now need to find a way to retrieve the path of each file, somehow...
View Article