sdk

TableViewController doesn't flash scroll indicators even if the table is bigger that the view.

Hello, I've got a weird problem with a TableViewController. In the doc it says that a tableViewController deals also with the method -flashScrollIndicators when the table is "oversized" respect the visible area. My app consists in 3 nav controller loaded in a tab controller. Each nav controller has as root view controller a subclass of...

cellForRowAtIndexPath called before viewWillAppear iPhone SDK 3.2 plus

After upgrading my SDK version I noticed that cellForRowAtIndexPath is always called prior to viewWillAppear. Previously the order of execution was opposite: viewWillAppear would always be called prior to cellForRowAtIndexPath. Because my application logic often used viewWillAppear to initialize objects that are subsequently used in cell...

gcc-4.2 failed with exit code 1 in Xcode

I'm working with Xcode 3.2.3 and iOS 4.0.1 and I have downloaded an open source iPhone game to learn from but without editing anything I tried to run it in the simulator and it throws this error message: ProcessPCH /var/folders/-r/-r6hd0CEEASnoGYBU9KSlk+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/catchcat_Prefix-crjs...

iOS SDK 4.0 & 4.1 add images to simulator

I've seen many questions asked about how to add images to the simulator and have seen two answers: - Click and hold to save in Mobile Safari on the phone - Add the files to the 100Apple (or whatever) folder Both worked great in everything previous to iOS SDK 4.0. Those same methods no longer work for me, and neither for anyone else that ...

App Store upload. Problem with SDK

I just tried to upload a completed app via iTunes Connect, and I received the following error: The binary you uploaded was invalid. Apple is not currently accepting applications built with this version of the SDK. I upgraded to the 4.0 SDK. I got this same exact error with the PREVIOUS version of the SDK as well. 3.?.? (whatever it was...

Anyone know of an iphone tutorial for managing hierarchical data?

For example, let's say you have a list with elements {A,B,C} and you click on A and it gives you a list of elements that belong to A which might be {J,K,Z}, and if you click on B it gives you a list of elements that belongs to B which might be {D,E}, etc. Any advice would be grateful. Thanks. ...

Please Help me with Frame Animaions! Android Question.

Sorry for the very loud title, but when I try to code a frame-by-frame animation in Eclipse, It gives me a bug. I found something on the internet that says they screwed up in the sdk tutorial documentation but I cannot help but wonder what android:id="selected" means or what should be put in the quotations instead. (I am new to this if y...

Eclipse doesn't recocnize ImageView or AnimationDrawable

When I type ImageView or AnimationDrawable I get a string of errors proclaiming: AnimationDrawable cannot be resolved to a type. line 14 Java Problem I don't understand, do I need to create another class? Or do the AnimationDrawables just not go in the filename.java? And if I do need to create another class, can you show me how? ...

Android - I don't seem to have the ANIM folder or the MAINANIM.xml document... why is this?

I'm a noob... but no matter where I look in the res directory there is only main.xml and I am supposed to have res/anim/mainanim.xml and I don't. My code is here: http://stackoverflow.com/questions/3290290/please-help-me-with-frame-animaions-android-question Thanks to Cameron. I also keep getting in the java document, "id and anim ca...

How big is an android phone's screen?

How big is the motorola android's screen, in pixels? I want to know what size I need to make my graphic without it being too disorted by the fill_parent. EDIT: I don't think you guys understood this... I know android is the operating system. Let me explain: If phone A was 400 by 300 pixels, hypothetically, and phone B was 450 by 350 pi...

Android Question - "Id cannot be resolved or is not a field" error?

I keep getting this error... should I just make "id" a field? My code: public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); ImageView mainimage = (ImageView) findViewById(R.id.mainanim); mainimage.setBackgroundResource(R.anim.mainanim); mainanimation = (AnimationDr...

Problem using the facebook javascript sdk.

Hi, I am using facebook javascript sdk to retrieve logged in users info. I am able to retrieve user's name and Id with response.id and response.name. I want to see the complete json response I get from facebook. I am new to json. I want to be able see the entire response. I appreciate any help. function login(){ FB.api('/me', fu...

Technology Related Terms Help!

Hi, What is the difference between , it can help a lot in interviews and general understanding. Framerwork Library IDE API Taimur ...

Facebook Like button sometimes appears sometimes not

Hi I have strange issue with like buttons on my site. When I enter a page it shows up correctly, than after refresh it doesn't appears and I have javascript error FB.provide is not a function [Break on this error] FB.provide('Array',{indexOf:function(a...|c.hasOwnProperty(d))a(c[d],d,c);}}); Initialization and asynchronous including...

Android - Error if I don't import R and another error if I do?

If I don't import R, I get "id cannot be resolved or is not a field" (R.id.mainanim); And if I import R, the id error is gone, but I get "main and mainanim cannot be resolved or is not a field". They're my xml files! :0 Can you help me? Also here is ALL my code... maybe there is an error I didn't see? JAVA: package com.examp...

iPhone SDK Problem: load TableView whitin TabBarControlled Views

Hi there, I've a problem and cannot find a solution to the whole day now. I'm new to iPhone SDK, so I guess I'm just missing something. My app consists of a TabbedNavigation, having three ViewControllers. Everything works as expected. Now I want to open a new view (preferably from a NIB) when the user tabs a button (not the tab button...

ZwQuerySystemInformation / NtQuerySystemInformation - System Information Class 5

Hi, For 32-bit Windows, following declaration of _SYSTEM_PROCESSES structure ( System Information Class 5 ) with ZwQuerySystemInformation works fine for my purpose to construct process tree. typedef struct _SYSTEM_PROCESSES { // System Information Class 5 ULONG NextEntryDelta; ULONG ThreadCount; ULONG ...

Construct Process Tree in Windows

Hi, To construct a process tree in Windows "C" given a PID, which one is a good approach to go for Win2k, XP, Windows Server 2008, Windows 7. ZwQuerySystemInformation NtQuerySystemInformation CreateToolhelp32Snapshot I remember ToolHelp had issue in leaking memory for win2k. Please correct me if I am wrong. And using ZwQuerySystemI...

Adding Page Numbers to PDF's using Acrobat SDK

We use the Acrobat SDK (Interop.Acrobat.dll) to merge PDF's in a directory, and we want to alter the header to allow us to put a page number on each page once the merge has taken place. It's a long function, so I'm leaving only the important stuff... Function MergePDF(ByVal Path As String, ByVal outFileName As String, ByVal DeleteOrgin...

Android Question - Please explain Android ID's to me?

I am still trying to figure out frame animation, but I need to use IDs. I don't get it... I get the wierdest errors... <?xml version="1.0" encoding="UTF-8"?> <animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:oneshot="false" android:id="@+id/carrotsmileanim"> <item android:drawable="@drawable/carrotsmil...