sdk

Android : how to delete account from database which are displayed under "accounts and sync" from my own application.

It may be wrong place to log my query, but its urgent. can anyone please help me how to delete google accounts from "accounts and sync". I'm trying to call this line my app: AccountManagerService.getSingleton().onServiceChanged(null,true); whereas onServiceChanged() method is defined in AccountManagerService.java. ====================...

Eclipse Will Not Recognize Quotation Marks?

This was my code: <android:id="@+id/carrotsmileanim></android:id> I fixed it because it was missing a quotation mark, but now eclipse won't recognize the quotiations nor the @ sign! What do I do?!? ...

How can I get notified when it reaches a certain time of day in an iPhone application?

I am working on an application that needs a method to be called at a certain time (15 minutes past the hour to be exact). Is there a way to make this happen without consuming a ton of CPU and battery life? I've tried searching and just can't find an answer anywhere. Any help is appreciated. Thanks! ...

cocos2d problem - layer not updating quick enough

Hi all, i am adding overlays to a cocos2d layer in preparation for a screenshot... CGSize winSize = [[CCDirector sharedDirector] winSize]; CCScene* currentScene = [[CCDirector sharedDirector] runningScene]; GameLayer* topLayer = (GameLayer *)[currentScene.children objectAtIndex:0]; CCSprite *middleBackground = [CCSprite spriteWith...

Looking for android Facebook SDK examples...

I've looked all over the internet and can't seem to find what i'm looking for... I'm just trying to find a site with some examples on how to use the OFFICIAL facebook android SDK http://github.com/facebook/facebook-android-sdk To be specific i'd like to see some examples on notification use and simple photo upload. But i'll take anythi...

Android - Please Just Give Me a Decent, Working Animation Frame Code

I've been working on frame animation for a week now, and every code I've used has a tremendous amount of errors and plainly just doesn't work. Can you please give me a code that has worked for you? Please include the exact java code you used, the main.xml code, the mainanim.xml, the android:id's, even the images in the res/drawable-hdpi,...

iPhone Simple submit form

hi , how can i create a simple submit form with some UITextfield and button , when user tabs the button then the textfield information sends into an email (without email application) ? ...

How to post to user's wall when user is offline.

Hi, I have just used the javascript sdk to publish to the wall when the user is online. I am starting to like it. Now I want to post to wall when user is offline. I already have extended permissions from the user. How can I post to user's wall when user is offline using javascript sdk. here is my code: function Publish(body){ ...

Android SDK v6 Level 8 API icon

When I compile my app with Level 8 API and SDK 6, my app icon cannot not be found and the default android icon is shown instead. However, once I use level 4 API, i can see my icon on the screen. Does anyone know the solution? ...

[iPhone] Customize UIImagePickerController

Hi @ll! I am using the UIImpagePickerController for taking pictures from the build in camera. This is all working fine. My questions are regarding the customization of this controller: Is it possible to change the color of included tabbar in the controller? I want it black. The only thing I found, was to turn the whole tabbar off. I ...

Microsoft Office Word 2007 .docx manipulation via software C++ / Javs SDK

Hi, I am looking for a C++ / Java SDK for manipulating .docx documents. I need to read the text, add a new page at the beginning, add footer and header etc'. Not one that works with COM / OLE Automation for Word. But a real SDK. Thanks ...

connection between two iPhone applications .

Hi , is there any way to connect between 2 applications ? for example i create dictionary database for weDict application , and is it possible move the database from my app to weDict app folder ? ...

open iBooks from my app

I am have some PDFs in my app. I want to provide an option to open those in other third party e-readers that might be installed on the device, like Stanza and iBooks. Dropbox application has successfully implemented this feature and I can't find any information on how to detect what other e-readers are available on the device or what t...

Is there any Motorola Emulator for MC70 Device?

I need to develop a mobile application for Motorola MC70 Device. And i was wondering how to test BarCode Reading, and other hardware related stuff. is there an emulator for this? or do i need the actual phone? in Addition, if any of you have worked with this device before, what recommendations and link can you send to me? Your help w...

iPhone File Sharing: How to recognize when files have been added?

I have file sharing via iTunes working in my application (reference What's New in iOS 3.2) by enabling the UIFileSharingEnabled key, but according to the documentation: "Applications that support file sharing should be able to recognize when files have been added to the Documents directory and respond appropriately." My question is, i...

Error: Symbian SDK Error - Failed to initialize session

I've tried to deal with this before, about 8 months ago, I didn't find a solution for this then, and also now there is no real solution for it. I downloaded the Nokia Symbian-3 SDK 0.8 - the newest today, I have Java 1.6.0.13, Eclipse 3.5 and winXP sp3, and when I try to run the emulator from the IDE, on the "Connect to agent" step, the...

How do I declare index=0 in .h file iPhone

// Declare index in Header.h index=0; - (IBAction)next { index++; // Set imageCount to as many images as are available int imageCount=2; if (index<=imageCount) { NSString* imageName=[NSString stringWithFormat:@"img%i", index]; [picture setImage: [UIImage imageNamed: imageName]]; } } Where do I decl...

Trying to change image using int

Hi, I have this code: - (IBAction)next { static int index = 0; // <-- here index++; // Set imageCount to as many images as are available int imageCount=16; if (index<=imageCount) { NSString* imageName=[NSString stringWithFormat:@"img%i", index]; [picture setImage: [UIImage imageNamed: imageName]]...

import pictures from the iphone photos storage to page body background within a uiwebview

I have a app that uses the uiwebview to display a web page from the resource bundle.I want the user to be able to choose a picture with the photo picker or camera and display it as the page body background.I suppose i will need some objective c interacting with some javascript in the page......Thanks in advance for any help.......Len K ...

"Invalid Application. Delete?" only when compiled with a nokia sdk

I'm Developing a peace of software for my Uni and am currently attempting to implement NFC functionality witch requires me to move from my standard sun wireless tool-kit platform (implemented through net-beans) to a Nokia platform (also implemented through net-beans). The problem is, whenever I compile the code with the Nokia platform i...