bundle

iPhone Settings.bundle textfield preference

Hi, How would I make an option in Settings.bundle which allows the user to select what type of textfield preference they would like? Example: selecting if they want autocompletion on or off. Thanks ...

Passing image to another activity

I figured out how to pass a String value between activites thanks to this site, however I'm having trouble passing an image. What I'm trying to to is have a user click a button that opens the gallery and allows selecting of a picture. Then I have another button that opens another activity that displays an ImageView. I want to be able to ...

Does a serializable object always get serialized when put in a bundle?

We were wondering if when using Bundle with serializable or parcelable objects, when does the marshalling actually happen? As soon as you put it in the bundle? Since bundles are mostly used to simply pass around data between two screens (we're not even talking about IPC here!), there doesn't seem to be much point in marshalling an object...

How to create OSGi bundle from jar library?

How to create OSGi bundle from jar library? ...

passing an array in intent android

So I've always been under the assumption that you can't pass arrays between activities with extras. But I was just going through the Bundle class docs and saw putStringArray(String key, String[] value) and public String[] getStringArray (String key). Are these new? They both say since API lvl 1, but I don't remember being able to pass ar...

Run osgi bundle from command line

I developed an OSGi bundle, which I usually test from Eclipse. Aftrer exporting the bundle, I get a bundle.jar file. I would like to be able to run the generated file from the command line. Something like: C:\java -jar bundle.jar osgi_framework path But, how to include the osgi framework in it? and also, how can I start the bundle imme...

Good Coding: modularized js files or one big js file?

Just want to ask the gurus out there about this. I know that CSS files are better merged instead of separated into a zillion files. Does js work the same way? Here's a few points I currently know(or believe...so you can point something out if my belief/understanding is wrong): i know that js is better modularized for easier maintenance...

CoreData can't find mapping model in an OSX framework bundle, but works fine in iOS

I have CoreData-based data layer (using a SQLite datastore) that I am using in both an iOS app and on the server that the iOS clients talk to. The data layer (objc code + coredata model / mapping defns) is compiled into the iOS bundle as per usual, and is compiled into a Framework bundle for use on OSX. I am hitting a brick wall with d...

Shared preference

I developed one app in that i want to sen URI from Class1 editText to another class containing editText can anyone tell me how to do that ...

push Rails3 on Heroku. can not find mysql gem

hi, i'm getting an error when pushing to heroku using rails 3. I'm on windows with ruby 1.8.7 Administrator@WIN-DQC3IH63U7C ~/nasha (master) $ heroku rake db:migrate rake aborted! no such file to load -- mysql /disk1/home/slugs/280561_9c64ba2_1741/mnt/Rakefile:4 (See full trace by running task with --trace) (in /disk1/home/slugs/280561_...

iPhone Binary Upload - Bundle ID Problem

Hi, We have our app all ready to upload to Apple for approval but have unfortunately hit a brick wall when trying to upload the binary due to an issue with the Binary ID. In iTunes Connect the Bundle ID shows as GTYOP2FEGW.com.mycompanyname.myappname (I've replaced some of the values here for privacy but the structure is the same). Wh...

Restoring Rails 3's Bundle Install Path... It's now install in my root

Hi, I did something while trying to install the vestal_versions plug-in that ended up creating a vestal_versions directory in my app's root with the following: - Application - APP - DB - vestal_versions - ruby - 1.8 - bin - cache - doc - gems - specifications Which if deleted prevents the...

Trouble sending Bundle with PendingIntent to a Broadcast Receiver, data lost.

Hello, I am adding some basic alarm functionality to my program via the use of AlarmManager and a BroadcastReceiver class (named AReceiver.java). My problem is that the data I add to the bundle attached to the Intent creating the PendingIntent appears to be lost. The only bundle data I can access in the AReceiver class is a android.in...

Bundler can't find Ruby gem that appears on website

I installed Bundler on a pre-Rails 3 application and am trying to use it to install gems. My Gemfile contains the following lines: source :rubygems [...] gem "RubyInline", "3.8.1" However, when I run bundle install I get this error: Fetching source index for http://rubygems.org/ Could not find gem 'RubyInline', required by 'memcache-...

Can't find header files while running bundle install

I am just getting started learning rails. I am building my first app using Ruby on Rails tutorial by Michael Hartl. the book said to use this gem file. source 'http://rubygems.org' gem 'rails', '3.0.0.rc' gem 'sqlite3-ruby', '1.2.5', :require => 'sqlite3' group :development do gem 'rspec-rails', '2.0.0.beta.18' end group :test...

Why can't files in my iPhone NSBundle folder be deleted?

I'm having trouble figuring out why files in my iPhone app seem to persist, even when I've deleted them. Here's the code that's giving me trouble: NSFileManager *fileManager = [NSFileManager defaultManager]; NSString *bundlePath = [[NSBundle mainBundle] bundlePath]; NSString *folderPath = [bundlePath stringByAppendingPathComponent:@"fi...

How do I package a rails as a standalone executable.

I've been developing a web application and a lot of customers are asking if they can host the application in their network (for security reasons). I have been looking for a way to package up a rails app into a single executable (with server and all), but haven't been able to find anything. My other requirement is that we distribute it ...

How to reference an included file in OSGi bundle when performing java.io.File or FileInputStream

I am using the aQute Bnd toolset to create an OSGi bundle and have packaged with some dependant 'resource' files. This includes *.css files and *.xsd files in a resources directory I have created. I have included the following in the bundle.bnd file: Include-Resource: resources/=resources/ and when I do a build, the generated *.jar ...

bundle.putBoolean() bug?

I am putting together a bundle for an activity and sometimes my boolean isLiveis null. When I do the following. Bundle b = new Bundle(); b.putBoolean("isLive", isLive); The docs for the SDK clearly say both arguments are allowed to be null, however if isLive is null I get a NullPointerException have I found a bug in the SDK? ...

this bundle is invalid. Apple is not currently accepting applications built with this version of the SDK 4.2

Dear Concerned, My base sdk is 4.2 deployment sdk is 3.1.2 I had done the following steps - Build the .app bundle for distribution for "Device" and "Distribution" in the drop down menu of the main XCode screen. - In the "Project Settings" the base SDK is 4.2 and your deployment target SDK to 3.1.2 both settings are found in that "Bu...