I'm trying to create a universal iPhone app, but it uses a class defined only in a newer version of the SDK. The framework exists on older systems, but a class defined in the framework doesn't.
I know I want to use some kind of weak linking, but any documentation I can find talks about runtime checks for function existence - how do I check that a class exists?
In git I can git remote add x http://... then git pull x how can I do this in hg?
I was told to add the following to .hgrc:
[paths]
x = http://...
so I added the above to /path/to/repo/.hgrc then tried hg pull x and got the following error:
abort: repository x not found!
where x was mozilla and http:// was http://hg.mozilla.org/labs/jetpack-sdk/
I'm trying to compile a list of Must have tools/extensions for developing MOSS 2007 to build a dev machine. The dev os is Window 2008 R2 64 bit.
MOSS 2007
Visual Studio 2008
Sharepoint Designer
WSS/Office Server SDK
Visual Studio 2008 Extensions for WSS 3.0
Is there any additional required/nice to have tools?
Okay.. i got the offline access session key
Can some please tell me how can i get a user's status updates using the offline access session key i have ?
Looked in the Graph API and PHP SDK but nothing helps
I have made a signed apk of an android project. Whenever my client try to run it on the emulator, he faces the following error message:
D:\Android\android-sdk-
windows\tools>adb install -r abc.apk
500 KB/s (6940708 bytes in 13.534s)
pkg: /data/local/tmp/abc.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
What is the resolution?
I am building an app on android and running into an error and while searching on net, came across your posting on this and changed the eclipse.ini to increase Xms and Xmx params but still this error does not go away.
I am using Eclipse IDE for Java with Andrioid SDK 2.1 on Mac OS. Please help or please point me to someone who might know.
Btw, this error only happens when i add external jar files (which i need for my project). here are the list of external jar files that i have in my classpath.)
// httpclient-4.0.1.jar from apache
// httpcore -4.0.1.jarfrom apache
// commons-codec-1.3.jar from apache
//commons-logging-1.1.1.jar from apache
// json_simple-1.1.jar from google
Here is the complete error:
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lorg/apache/commons/logging/impl/AvalonLogger;
[2010-05-02 21:57:05 - MyApp] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.dex.file.DexFile.add(DexFile.java:143)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.command.dexer.Main.processClass(Main.java:301)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:278)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.command.dexer.Main.access$100(Main.java:56)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:229)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.cf http://com.android.dx.cf.direct.ClassPathOpener.pro .direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.command.dexer.Main.processOne(Main.java:247)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
[2010-05-02 21:57:05 - MyApp] at com.android.dx.command.dexer.Main.run(Main.java:139)
[2010-05-02 21:57:05 - MyApp] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2010-05-02 21:57:05 - MyApp] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2010-05-02 21:57:05 - MyApp] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2010-05-02 21:57:05 - MyApp] at java.lang.reflect.Method.invoke(Method.java:592)
[2010-05-02 21:57:05 - MyApp] at com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source)
[2010-05-02 21:57:05 - MyApp] at com.android.ide.eclipse.adt.internal.build.ApkBuilder.executeDx(Unknown Source)
[2010-05-02 21:57:05 - MyApp] at com.android.ide.eclipse.adt.internal.build.ApkBuilder.build(Unknown Source)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
[2010-05-02 21:57:05 - MyApp] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[2010-05-02 21:57:05 - MyApp] 4 errors; aborting
[2010-05-02 21:57:05 - MyApp] Conversion to Dalvik format failed with error 1
Thanks,
Rupesh
Hi,
I try to use FFMPEG in the iPhone, I follow by this link
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-October/076618.html
When I running the
./configure --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1 --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.2.1' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk --enable-cross-compile --target-os=darwin --arch=arm --cpu=arm1176jzf-s
script I getting the error: “Unrecognized input filetype at /bin/sh line 23?
Pls help me.
Thanks,
Eyal.
Hello,
How to display html text in textview
for example
string
<h1>Krupal testing <span style="font-weight: bold;">Customer WYWO</span></h1>
Suppose text is bold so it display in textview as bold string
but i want display normal text.is this possible in iphone sdk.
Thanks you,
Hey everyone,
I am just getting started with the Android SDK and I had a quick question. I am trying to set up a ListView with a rectangle of color on the left and then a bit of text for each row. I also want to make it so I can click each entry in the list and open a new activity to display some information (similar to the contact list). Anyone have any examples to help me out?
Thanks a ton,
Robert Hill
i will do that if i open my dicom pics.i have a study . if you look below pic you can see study pic left corner. Big pic is one of series. How can i do that clearCanvas open source sdk?
I have a .pdb program database from a C++ application compiled in debug on Windows VS2005. I use the DIA SDK to find function names but I can't seem to retrieve the filenames for the symbols.
Is there some switch I need to turn on? Does this work?!
I see some application that uses the settings bundle for their app. Example: http://knol.google.com/k/usman-ismail/iphone-sdk-application-preferences#. I was wondering how to do that without it appearing at the user main settings. I see some application managed to do that. Is there any tutorial around?
I just accidentally discovered the ant task for test coverage reports with emma.
I'm now looking for a target that only invokes the unit test and generates unit testing output.
Is there a list with the available ant targets somewhere, or is it possible to look them up somewhere inside the code of the SDK?
Hi guys, I am creating a little flash game for the facebook platform, but I am finding it very difficult to get any decent documentation on the graph api and the PHP SDK, so if anyone has a decent resource for a beginner to go and learn the basics, I would appreciate it very much, as I am struggling to grasp the concept.
Thanx!
hi,
I've installed the usb driver, i'm running win7.
I can see that the driver is installed in the window-android SDK and AVD manager-installed packages
but when i'm writing "adb devices" in the cmd it doesnt show like the phone is connected (it is - it has the orange led on..)
I'm using the HTC G1.
I also did the "Turn on "USB Debugging" on your device" step...
anyone got an idea??
I'm just starting to work with j2me. I'm trying to work with HttpConnection but everytime I run my sample midlet, I'm always getting an IOException which says that there is a connection error. When I test it with the emulator of the Nokia S40 5th edition FP1 lite sdk, I don't experience that problem. I'm using a Nokia 2330 phone with gprs.
Hi all,
I tried to open .hxs file with (with "hxs "extension with right click) with "dexplore.exe" from:
C:\Programme\Gemeinsame Dateien\Microsoft Shared\Help 9
but noting happens, I have Visual Studio 2008 SDK Version 1.0, and VS2008 installed on my system.
Any idea what to do in order to see .hxs Help files ?
Br,
Milan
while running jsp it shows the following error
error reading /opt/eclipse/plugins/com.google.appengine.eclipse.sdkbundle.1.3.0_1.3.0.v200912141120/appengine-java-sdk-1.3.0/lib/shared/jsp/repackaged-appengine-ant-launcher-1.6.5.jar; error in opening zip file
How to solve this
Hi, i'm new to Qt, i just install all in one QT-SDK beta with QT-creator as described here. I tried to import PhoneGap example files like from there (I use Qt-creator coz when I try to do it on Carbide, as described, it said that my EPOCROOT is wrong, but it isn't). When I want to debug or run project it said that there is no some files, but i see them in files-tree (look). Any dieas what's going on?
I have an Android phone/tablet apk which is currently in Play store and has these settings in its manifest file:
package="com.company.xyz"
android:versionCode="0803010008"
android:versionName="01.00.08" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-library
android:name="com.adobe.flashplayer"
android:required="true" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="false"
android:xlargeScreens="true" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="true" />
I had uploaded another apk for GoogleTV which has the same package name com.company.xyz as the previous apk and has the following settings in its manifest file:
package="com.company.xyz"
android:versionCode="1203010001"
android:versionName="01.00.01" >
<uses-sdk
android:minSdkVersion="12"
android:targetSdkVersion="12" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false" />
<uses-feature
android:name="com.google.android.tv"
android:required="true" />
<supports-screens
android:largeScreens="true"/>
<uses-configuration android:reqFiveWayNav="true" />
The Google TV apk never showed up on Play Store on GTV boxes, so I updated its manifest with the settings below and with everything else remaining the same
package="com.company.xyz"
android:versionCode="1203010002"
android:versionName="01.00.02" >
<supports-screens
android:largeScreens="true"
android:normalScreens="false"
android:smallScreens="false"
android:xlargeScreens="false" />
At this point, I am unable to save the app because of the Play Store error "Error: New APK version is lower than previous APK version" even though the GoogleTV apk has a higher version code than the Phone/Tablet version. Does anyone have a solution for this?
Thanks!
I'm trying to install the latest version of #Develop but am getting the message
This setup requires the .NET Framework 3.5 SP1 to be installed
I'm running Windows 7, and I've tried running the installer for .NET Framework 3.5 SP1 plus the installer for the Windows 7 SDK.
The installer just says to use the Control Panel to turn Windows Features on and off to configure .NET Framework 3.5 SP1
Anyone got any suggestions ?
Hi, I have written some gcc ARM inline assembly in iphone sdk 3.1.2
however the breakpoints don't get hit (infact anywhere in the c file that contains it). How can i debug it?
Thanks
Hey guys,
I'm creating an Android app where in the user can set the daily reminder, and at the designated time, the phone's alarm goes off and an activity is launched.
App uses the latest version of the SDK and the emulator. How do I get started with this?
Thanks,
Sri
How can i reverse an audio samples with iphone sdk?
I'll try to make a "dj scratch" effect.
I'm talking about speeding up and slowing down and reversing the audio samples in real time.