I am using the following code to resize and save the file in to the blackberry device. After image scale I try to write image file into device. But it gives the same data. (Height and width of the image are same).I have to make rescaled image file.Can anyone help me ???
class ResizeImage extends MainScreen implements FieldChangeListener
{
…
Hi I am new android. I need to know how to install it in windows xp and which one is the best IDE and what are the requirements are needed. And I need to know how to develop an application in that platform.
Hi I need to upload file to http server. I wish to use jsp for server side processing. How to upload file from my blackberry application to http server?. What should I do in the server part and how to send file data to http server from blackberry?. I need some help about this problem.
Consider the following snippet that uses strtok to split the string madddy.
char* str = (char*) malloc(sizeof("Madddy"));
strcpy(str,"Madddy");
char* tmp = strtok(str,"d");
std::cout<<tmp;
do
{
std::cout<<tmp;
tmp=strtok(NULL, "dddy");
}while(tmp!=NULL);
It works fine, the output is Ma. But by modifying the strtok to the…
I am new to android. I need to create an auto startup application. That application will control the files( if we open a image file from Gallery (or) mail attachments, on that time our application give a alert dialog to the user). Please guide to how to create an auto startup application to control all the file format in the android emulator.
I am customising the mediawiki for our internal portal.
I need to open a popup window on clicking a link in the wikitext. This popup would take information from the mysql database and display a movie clip or a document or something.
Anyone knows how this can be done?
I've been coding for a few years now, nothing too complicated. C++ is what i know best. I recently stumbled into Paul Graham's site, coding horror and now here.
What do i learn to 'enlighten myself with the ways' of functional programming?
Hi to all.I use the following code to download the attachment from the mail .But it gives the ClassCastException on the Multipart declaration
Exception in thread "main" java.lang.ClassCastException: com.sun.mail.imap.IMAPInputStream cannot be cast to javax.mail.Multipart
at ReadAttachment.main(ReadAttachment.java:52)
How do I…
I want add days to a date, I got many codes for this but none of them are working for me below shown is my code,please somebody help me to fix this issue
int daysToAdd=[[appDlegateObj.selectedSkuData
objectForKey:@"Release Time"] intValue];
NSTimeInterval secondsForFollowOn=daysToAdd*24*60*60;
…
hi all,
I have a requirement to come up with a time line chart and a few more controls on a single page[with rich ui].
I have short listed
Flex, JSF[apache trinidad], html5, gwt these technologies.
None of them provide timeline charts on their own. I am looking at other options such as using third party libraries.
The chart should…
Query:
select t1.col1
from table1 t1
inner join with (nolock) table2 t2 on t1.col2 = t2.col1
Am trying to use nolock option for optimized query in mySQL db, but for some reason the above query
does not work and the error i receive is
You have an error in your SQL syntax;
Any thoughts?
Hi all.I am using the following code to integrate with google calendar.
CalendarService myService = new CalendarService("CalService");
myService.setUserCredentials("xxxxxx@gmail.com", "xxxxxxx");
URL feedUrl = new URL("https://www.google.com/calendar/feeds/default/private/");
CalendarFeed…
In windows text files are displayed with notepad icon. When we double click the particular file it open’s the notepad and displays the file.
Like that I need to open the file from the download folder in android. I have used the intent-filter for register my ics file’s mime type. When I select the file in the download folder it…
Hi,
I have .net webservice working in computer machines, am i not sure whether i can use the same in iphones.
Can i run the webservices webmethods that is developed for web-browsers in iphones?
Thanks.
How to open a text file in android.I am using android 1.5 emulator and eclipse ide.I try to push files to the device emulator.In Eclipse ide android file explorer has the text file and image files in the sdcard.In the Emulator Image files are in the Gallery.How can i see the text file in the android emulator.
Hi,
Is this possible, can a trigger in mysql can do a select first and then based on its result do a delete?, both on the same table.
Am struggling to get it right.
There are duplicate entries in a table, i need to have a trigger which selects and then deletes.
Any ideas or thoughts will be really helpful.
File upload is works fine from my simulator (blackberry 8830).It upload the file to FTP Server. But in the device when I try to upload file to FTP server it gives the alert “Tunnel Failed “.
I am using
StreamConnection sc = (StreamConnection) Connector.open(url);
How to solve this issue. Can anyone help me???
I need to open an EXE from a folder, when the folder is present, using javascript. I have added the code, but am not able to open the EXE after checking the folder, please share your thoughts.
<html>
<body>
<script language="JScript">
<!--
function checkfolder()
{
var…
parse .ics Calendar file using Ical4J in android.i saw the http://ical4j.sourceforge.net/introduction.html.how to use that ical4j-1.0-rc3.jar file in my project.I need help related to this plz ?
Hi,
Is there a way to get the insert statements for a table via some query in MySql?
for ex: if the table name is Cards,which has 5 rows, i need to get the insert statements for that particular table.
Thanks.
Hi I need to send upload file to ftp server.'STRT' ,'USER' , 'PASS' ,'TYPE I' (FTP)commands are works fine and give the response.But PASV is not responding .Why it's not responding ? can anyone help me??
Hi all. I use the following code in java. It works well and it adds events into Google calendar. But in android it gives the Exception “Error connecting with login URI”.Can anyone help me to solve this??
CalendarService myService = new CalendarService("calendarTest");
String userName =…
Hi,
In a single webmethod in .net webservice there are 4 times DB hit (for different tables), apart from using stored procedures, is there any means which i can follow to reduce the db hit?