Questions tagged [bundle]

Bundles are a group of resources.

A bundle is a directory that has a well-defined structure and can host anything from classes to controllers and web resources. Even if bundles are very flexible, you should follow some best practices if you want to distribute them.

In ASP Net MVC, bundles are used to combine multiple javascript and CSS files into one, improving the download speed of a website.

In Android bundles are, "A mapping from String values to various Parcelable types." --http://developer.android.com/reference/android/os/Bundle.html Bundles are used to save the state of activities and/or fragments as well as passing data between classes.

5438 questions
2
votes
4 answers

Android: Should I pass in serializable or recreate the object from Bundle?

So I have a Calendar obj which implements serializable by default and I want to pass it in a bundle so the value of it is saved on screen rotation. Should I pass it as a serializable or extract the values and recreate the obj for…
user2968401
  • 925
  • 3
  • 14
  • 27
2
votes
4 answers

How to access Bundle from iOS static library

I'm working on a static library using Core Data framework. Sadly, I'm unable to access my Bundle / .momd file generated. What I've done : Create my Data Model (Model.xcdatamodeld file) Create a new Bundle target (named sdkResources) where I've…
MajorShepard
  • 403
  • 4
  • 14
2
votes
0 answers

Debugging bundled javascript in WebStorm

Is there a way to debug a bundled javascript in WebStorm setting breakpoints in the files that are source for bundling, instead of the bundle itself? I use browserify as bundling package, but I can consider using other ones. The only limitation is…
moudrick
  • 2,148
  • 1
  • 22
  • 34
2
votes
1 answer

Sylius Fresh Installation: can't install "sensio/generator-bundle"?

I am new to Sylius and I have just installed a fresh Sylius project on my Mac, it is working fine. Then I realised that I need to create my own bundle under src to overwrite the Sylius bundles. Usually, I will use "php app/console generate:bundle"…
Ryan
  • 75
  • 2
  • 8
2
votes
2 answers

saved instance bundle is null in onCreateView for DialogFragment

I am saving a key value pair before displaying the warning dialog. However the onCreateDialog() for the dialog is called with a null bundle. Is there something extra I need to do to pass the bundle to the dialog? MyDialogFragment testFrag= new…
user2399453
  • 2,930
  • 5
  • 33
  • 60
2
votes
1 answer

How to create a bundle

how do I create a bundle with resources like images and xibs to share it between apps? I saw that there's a way to do it when creating a new project, but there must be a way to do it based on a finished project, right? Thanks in advance –f
flohei
  • 5,248
  • 10
  • 36
  • 61
2
votes
1 answer

Difference in access speed between bundle content and file content

I'm using files in my app and I was wondering, since all user will be using the sames files (for my example), i'm providing them in the app bundle. Now, my question is : Is it faster to access it straight from the bundle or should I save it as a…
Gil Sand
  • 5,802
  • 5
  • 36
  • 78
2
votes
1 answer

Using Relative Paths to Load Resources in Cocoa/C++

I am currently working directly with Cocoa for the first time to built a screen saver. Now I came across a problem when trying to load resources from within the .saver bundle. I basically have a small C++ wrapper class to load .exr files using…
moka
  • 263
  • 1
  • 3
  • 9
2
votes
0 answers

XPC service(s) to handle multiple loadable bundles in a sandbox app

I have a sandbox app which accepts third-party made plugins, multiple plugins at the same time could be connected. I'd like to use XPC service(s) to create another layer of security for those bundles and just in case if one of them crashes I'd like…
Ezeki
  • 1,519
  • 10
  • 17
2
votes
1 answer

Redmine can't generate secret token

I have problem with generating secret token. I'm was trying this: [redmine]# rake generate_secret_token rake aborted! LoadError: cannot load such file -- rspec/core …
Lukasin
  • 51
  • 2
  • 6
2
votes
1 answer

getLongExtra always return default value using PendingIntent

I want to pass a long value using a PendingIntent something like this Intent intentForPending = new Intent(context, NewBlaBlaActivity.class); long courseId = 15252; intentForPending.putExtra("courseId",…
2
votes
3 answers

Deploying osgi bundles to cics

I've created several Java applications for CICS and used CICS Explorer and deployed them to CICS TS 4.2. Everything I've read says to deploy in this manner, but what if I want to create an application to deploy to a 3rd party environment? According…
mister270
  • 366
  • 1
  • 15
2
votes
1 answer

How to extract a value from a facebook invite friends onComplete() response

I am implementing Facebook friends invite in my android app and I need to get to how many friends user sent app request so that I can award him some points. What I have done so far is as below WebDialog requestsDialog = (new…
user3177222
  • 261
  • 2
  • 3
  • 11
2
votes
2 answers

Creating custom framework in iOS

I am trying to create my own iOS framework for my project. I am following the below link to create it:- Creating custom framework in iOS I am not getting any error as well as warning but not able to see the content of Product folder generated during…
Vikas Gill
  • 31
  • 3
2
votes
1 answer

How to thoroughly clean up a ruby on rails project?

I am very new to ruby on rails. I've installed a complicated ruby on rails project via github clone and bundle install, and I was making minor changes to it until it reaches a point whereby it is not stable anymore, sass was throwing strange…
dickyj
  • 1,830
  • 1
  • 24
  • 41
1 2 3
99
100