Menu
  • HOME
  • TAGS

Why is my bundle of data not being sent to my other activity?

java,android,android-intent,android-activity,bundle

Why is this set to null in activity 2? Due to key data-type mismatch. sending sizePrice as String from first Activity but trying to get as double instead of String. Do it as: double sizePrice = myBundle.getDouble("size"); String size = myBundle.getString("sizePrice"); // return xLarge ...

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

php,symfony2,bundle,composer-php,sylius

This is the important line in the error message: sensio/generator-bundle v2.5.0 requires symfony/console ~2.5 Followed by Conclusion: remove symfony/symfony v2.3.25 This means: (a) you have Symfoy 2.3.25 installed and (b) you want to require a version of the SensioGeneratorBundle which requires at least Symfony 2.5. You can solve it in...

Google Map APIs not working after adding bundle identifier - iOS

ios,bundle,google-places-api,identifier

The reason Autocomplete stops working when you add an iOS Bundle ID is that Google Places API Web Service is specifically not designed for using on iOS. As a gentle hint, I suggest you poke around Google Places API for iOS after Google I/O happens later this week. =)

saved instance bundle is null in onCreateView for DialogFragment

android,fragment,bundle

You can retrieve the arguments via DialogFragment.getArguments(). The savedInstanceState is only used when a configuration change occurred. It is being filled in onSaveInstanceState(Bundle outState) and later passed to the new DialogFragment in onCreate() and onCreateView(). The first time a Fragment or Activity gets created it is null....

FOSUserBundle reset password: weird behaviour

symfony2,user,bundle,fosuserbundle

Ok , i have found a small hack. It seems that i cant save the password if there is no change in the User entity. So i created a date type field "dateOfProfilEdit" and actualize it in my controller each time i save the form. Hope it will helps...

Full SPA Application with AngularJS

angularjs,bundle,single-page-application

I did something similar. I'm using Asp.net MVC & WebApi with AngularJS. My first request is to an MVC Action -> It returns a kind of master page(including bundles). When the page gets down to the client, AngularJS kicks in and gets in charge. Now my template views are also...

Android: Why Bundle putExtras doesn't work?

android,android-fragments,bundle

The problem is that you have defined all of your keys (LICENSE_1, LICENSE_2, etc) as an empty string. Thus all of your keys are the exact same. Methods such as putString() take two arguments- a key and a value. A Bundle is really just a map of key-value pairs. If...

Is there a pre-packed vanilla Apache Felix installation with Jetty 9?

jetty,osgi,bundle

If you just take a look at the Apache Karaf project it's a OSGi Container based on Felix/Equinox and brings Jetty along with Pax-Web as service Layer. The most benefit of this server is that you just don't need to care much about all those infrastructure bundles and just unpack...

Building multiple bundles with r.js

build,module,requirejs,bundle,r.js

When specifying modules, r.js includes all files then optimizes ones based on the rules specified in modules. removeCombined: true deletes modules from build that were combined into another module, and then manual deletion of the other files can be used to manually clean up any unwanted build artefacts.

Functionnal tests inside a standalone Symfony2's bundle

symfony2,testing,service,phpunit,bundle

Here is my own solution (I summarize all the process for testing in a standalone bundle): 1. First, a good bundle has its own composer.json to define its dependencies: { "name": "my/own-bundle", "type": "symfony-bundle", "description": "Symfony2 bundle that provides ...", "keywords": ["my","own"], "license": "MIT", "authors": [ { "name": "John Doe",...

How to retrieve key/value array from Bundle on Android

android,bundle,push

You can get the string, then make it a JSON Object: String json = extra.getStringExtra("extra"); Then: JSONObject jobject = new JSONObject(json); ...

Save option selected from a floating context menu in a bundle

android,menu,bundle

If your activity hosts a fragment, you can pass the information to the fragment using setArguments(Bundle), which will allow you to bundle up the information and retrieve it when the view is created. The advantage to such an implementation means that the activity you send data to can be used...

Location of CFBundleDisplayName in xCode

ios,xcode,bundle

Select your target in Xcode. Then select the Info tab. Under the "Custom iOS Target Properties" section you will see "Bundle Display Name".

Bundling files in different directories?

c#,css,asp.net-mvc,bundle,bundling-and-minification

For older versions of IE, at least < 10 there are some known restrictions The number of CSS and Script files IE can load - this might be an issue if you're running the site in Debug mode where the bundles don't get bundled. If that's not the case then...

Unable to sign app bundle using Qt frameworks on OS X 10.10

osx,qt,bundle,osx-yosemite,codesign

After digging a bit more, I figured out what the issue in section seventh was: Some of the Qt Framework contain bad information in the Info.plist files (framework name ends with _debug) I came out with this script that fixes all issues (there are still a few hardcoded values that...

Bundle Install, Ruby on Rails, rubyinstaller

ruby-on-rails,ruby,install,bundle

there is a known issue with rubygems > 2.4.0 try running the command after running this gem update --system 2.3.0 ...

Symfony2/Datatable Bundle - error: set a datatable id in your action with “setDatatableId” using the id from in your view

php,symfony2,datatable,twig,bundle

It seems like everything was good. I can't see the problem here, if you followed the doc of aliBundle. Try using the Jquery datatable here, the installation is easier I think and better for your project if it's to manage your entities in Symfony. If you have questions for Jquery...

Rails server runs, but rails console is throwing error “not checked out yet”

ruby-on-rails,ruby,ruby-on-rails-4,bundle

I'm facing the same problem today. And finally solved by upgrade spring from 1.3.1 to 1.3.2.

How to send multiple bundles from activity to fragment

android,android-fragments,bundle

How to send multiple bundles from activity to fragment Use Bundle.putBundle(KEY,VALUE) to prepare a bundle which contains other bundles and you can access using keys: Bundle bundle=new Bundle(); bundle.putBundle("bundle_DescriptioneTab",bundle_DescriptioneTab); bundle.putBundle("bundle_User_Review",bundle_User_Review); Pass bundle to setArguments method and you can access both Bundle using bundle_DescriptioneTab and bundle_User_Review keys....

What is the purpose of tag “guzzle.client” in guzzle client bundle in symfony2 ?

symfony2,bundle,guzzle

The guzzle bundle uses a compiler pass to add the bundle's listeners to the defined clients/services. The compiler pass also adds the subscriptions to the guzzle plugins for your client. The important code is here: https://github.com/misd-service-development/guzzle-bundle/blob/master/DependencyInjection/Compiler/ClientCompilerPass.php...

CQ5 debug bundles using eclipse won't halt

eclipse,debugging,bundle,cq5,aem

Below are some steps that can be helpful. Use that command line to start your CQ instance. java -jar cq5-author-4502.jar -fork -forkargs -- -Xdebug -Xrunjdwp:transport=dt_socket,address=59865,suspend=n,server=y -Xmx1520m -XX:MaxPermSize=512m -XX:-UseSplitVerifier I have simple title component in which I am calling some service method. And applied some breakpoints in service. I have multi-module...

QT5: how to create .app bundle for macx

deployment,bundle,qt5,.app

If your application uses libraries other than Qt, you need to copy the frameworks in yourApplication.app/Contents/Frameworks/ Edit: If your program is a console application, just create a shell script like this, put it in the same directory as your executable in app bundle, and modify your Info.plist so that this...

How to reference data across multiple Android activities? [closed]

android,sqlite,arraylist,android-sqlite,bundle

Create another class (not an activity). Create a static reference there to your arrayList. You can clear that static reference of arraylist when you no longer need it and start it on the splash activity.

BundleTransformer: CSS not bundled through @import directive

css,asp.net-mvc,less,bundle

You should read http://lesscss.org/features/#import-options. In your code @import "../themes/base/tabs.css"; compiles into @import "../themes/base/tabs.css"; (due to the .css extension). Which is a "normal" CSS import, CSS imports require an additional HTTP request to load. You can use the inline option: @import (inline) "../themes/base/tabs.css"; The above inlines the code from tabs.css into...

How to change the working directory of a bundled Java program

java,netbeans,bundle,executable

I'd use something like System.getenv("HOME"); to find the user's home directory instead of changing Java's working directory....

getLongExtra always return default value using PendingIntent

android,android-intent,bundle,android-pendingintent,extras

If you are going to use extras with a PendingIntent, always use a flag in the last parameter of the PendingIntent factory method (getActivity() in your case). Probably you want FLAG_UPDATE_CURRENT, to indicate to replace any existing PendingIntent contents with the new extras.

Set and Get multi dimensional arraylist to and from a bundle

android,arraylist,bundle

You are trying to read your value from the Activity's Intent. You should read it from the data parameter of your method: inviteList = (ArrayList<ArrayList<String>>) data.getSerializableExtra("players"); ...

Unable to bundle data in onSaveInstanceState

java,android,bundle,variable-scope,instance-variables

First issue: you need to declare the variables you would like to use as class variables public class MyClass { private int x; private String y; .... then you can access them properly in other functions. Second issue: call super after you save the variables you need on the bundle...

Are you allowed to create seperate ASP bundles for resources in the same directory?

css,asp.net,bundle

Are you allowed to create seperate ASP bundles for resources in the same directory? Yes How would I reference these bundles with the Styles.Render method? @Styles.Render("~/Content/CssBundle1") @Styles.Render("~/Content/CssBundle2") The important thing to illustrate here is the reasoning behind bundling and the intended use of it. Bundling exists to reduce the...

Android, pass a parcelable array or fetch data again from Content Provider?

android,android-fragments,bundle,android-contentprovider,parcelable

It turns out it is faster to pass the object as a parcelable. At the same time, this might not be the most convenient solution. For instance, passing the object ID and retrieving again in the new fragment is very handy if used in combination with an async loader, which...

How to Import Javafx8 in a bundle in OSGI

osgi,bundle,javafx-8

You can add the library to the felix classpath and append the necesary package(s) to the org.osgi.framework.system.packages.extra option. http://felix.apache.org/site/apache-felix-framework-configuration-properties.html If you do so, the bundle no. 0 will export the required packages. I can provide more detailed instructions later my pc, right now i am on mobile.

Is it possible to get a log of changing bundles statuses?

osgi,bundle

Yes it is possible. Using LogService See the chapter 101.6.1 Bundle Event Mapping under chapter 101 Log Service Specification in OSGi Compendium specification: In short: If there is a LogService implementation in the container, each Bundle and Service event is logged. The logged records can be read with LogReaderService. Equinox...

Activity loads data twice

android,android-activity,bundle,android-lifecycle

Why don't you write 2 classes instead of just one? One class would be for the menu, with just one layout The second one for the game itself With these you ensure the values of the game are always loaded in the same way, without being affected by previous games....

qt put multiple executables into one bundle on mac OSX

osx,qt,bundle,macdeployqt

Yes, multiple app bundles inside another app bundle is possible. how to set the default app to be launched As you're probably aware, when you build a bundle, the main executable binary file is resident in the bundle's Contents/MacOS folder. Also in the bundle is the Info.plist file, which is...

git bundle a range of commits

git,github,bundle

The natural solution would be to add a remote and push: git remote add RepoForked ../path/to/repoForked git checkout MyLocalBase git push RepoForked MyLocalBase But, if you must use git bundle: cd RepoBase git bundle create file.bundle MyLocalBase cd /path/to/RepoForked git remote add RepoBase /path/to/file.bundle git fetch RepoBase git checkout -b...

Change Magento bundle product price type via database

mysql,database,magento,bundle

I hope you don't mean using raw SQL queries. Anyway you can do this using magento Models. These steps should do the job for you (although I did not test it myself!): Load your product: $bundleProduct = new Mage_Catalog_Model_Product(); $bundleProduct->load(YOUR_PRODUCT_ID); Set the price type to 1: $bundleProduct->setPriceType(1); // Price types...

The bundle currently has rails locked at 3.2.12. whats to do?

ruby-on-rails,ruby,gem,bundle

Just run bundle update without telling to update just a specific gem (like rails). This allows bundler to find the lastest possible compination for all gems in the Gemfile. The prototype-rails gem is not activily supported anymore. You should try to replace it as soon as possible (even if the...

How to include more search items

ios,xcode,search,bundle

You can't do much about it since the spotlight's search mechanism is built-in in iOS. When user types a keyword, iOS will search the following two names of all installed apps: The app's bundle display name (the name used in your home screen). The (usually) longer name used in the...

Cannot allocate memory for activeadmin in ubuntu 14.04 with DigitalOcean

ruby-on-rails,memory,bundle,digital-ocean

I have found solution that I do need some more memory for bundle install. That's why I have created swap in harddisk with 512MB memory and it is working fine for me. You can create swap from here....

Passing information from an Activity to an Intent and back using Extras

java,android,android-intent,bundle

As said here http://developer.android.com/training/basics/intents/result.html In main activity override method: @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (resultCode == RESULT_OK) { //Do something here } } Then also in main activity start intent using this method: startActivityForResult(intent.putExtra("DATABUNDLE", createEmptyLocationBundle()), 0); In launched activity pass back data using this:...

LaunchServices: no bundle found with identifier new.myApp.com While launching app

bundle,info.plist,xcode6.1,ios8.1

if you have removed storyboard file then adding your custom viewcontroller to window.rootviewcontroller. Make sure you have removed storyboard file from plist and from general also.

Defining CDN path for multiple files included in a bundle

c#,asp.net,bundle,bundling-and-minification

The point of a CDN(Content Delivery Network) is to have multiple places host the file so it is available geographically closer to the end user. If bundling work like what you were asking for it would be coming only from your server. When you bundle a CDN you can provide...

How to access Bundle from iOS static library

ios,core-data,bundle

Ok, I got it ! After (too) many hours searching to put my Model inside a Bundle I decided to just keep it inside my sdk and check my podspec configuration (since it was working in my sdk tests but not in my final project) This is my solution, inside...

Git problems, 'git not installed'

ruby-on-rails,git,github,bundle,gitlab

Check if Git is installed in a folder with spaces or special character. Try and unzip a recent Git (like PortableGit-2.3.7.1-dev-preview-64-bit.7z.exe) under C:\Git, and add that to your PATH: set PATH=C:\Git\cmd;%PATH% bundle install The PATH issue was mentioned before in issue 5027 and in "Can't run bundle update on Windows"....

MVC 5 bundles internal server error 500

asp.net-mvc,https,asp.net-mvc-5,bundle,areas

I solved the problem. Our permissions system thinks that link to request resource localhost:44300/Content/css is simply a controller/action link.

Add a button to open an URL (Preferences Bundle)

bundle,preferences,theos,tweak

Add the following dictionary to your preferences plist: { action = link; cell = PSButtonCell; label = "Google"; } And the following method to your bundle: - (void)link { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://www.google.com"]]; }...

How can i call service from another in OSGI

service,osgi,bundle

In your service B code you should have a setter for the interface of service C. You then start the ServiceTracker from the bundle Activator in bundle B. When the service C is added you create service B, when it is remove your remove it. If you do not want...

Embedded OSGi: accessing dynamically loaded bundle components

java,runtime,osgi,bundle

Here are some details about the code to use following the previous answer: The interface containing your method. public interface MyInterface { String shout(); } You can notice that it's a good approach to have two bundles for your library: one for the interface, and another for the implementation. It...

Does the ASP.net bundler automatically minify files?

c#,asp.net-mvc,bundle,bundling-and-minification

The Asp.Net bundler does bundle all scripts in the same bundle into one single file, listed in the order they are defined in the bundle. This single file is then minified and delivered to the client. If you include both the normal and minified versions of a script in your...

Bundles for images

.net,asp.net-mvc-4,web-applications,bundle

There's the Sprite and Image Optimization module that you could use. Here's an article explaining in details. The idea is to put your images in the App_Sprites special folder and they will be combined into a single image. Then you can use them in your application with the @Sprite.Image("~/App_Sprites/accept.png") helper.

Spring Abstraction Cache in OSGi Environment

caching,osgi,bundle,servicemix,spring-cache

The problem was missing import of Cacheable annotation package in osgi manifest. org.springframework.cache.annotation Servicemix did not show any error for missing class, just let the service work ignoring Cacheable annotation....

Parceling objects in android to transfer from one activity to another

android,bundle,parcelable

Why (question is why and not how) do you need to parcel objects while sending from one activity to another and not send directly Parcelling/serializing objects isn't for speed as you had guessed. When you're sending data between Activities, and especially between different applications (remember that Intent objects aren't...

Why Scripts.Render invoke JsMinify.Process?

asp.net-mvc,optimization,asp.net-mvc-5,bundle,webgrease

Great Question! Intuitively, you are right, minification of assets should be performed on application Startup. You assume that assets are delivered identically to all browsers. But Microsoft believes that much of JS and CSS is browser specific. If you check asp.net site's reference on ASP.NET 4.5 Bundling and Minification, they...

Where can i download Eclipse Android bundle

android,eclipse,bundle

The Android Developer pages still state how you can download and use the ADT plugin for Eclipse: Start Eclipse, then select Help > Install New Software. Click Add, in the top-right corner. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for...

Ruby on Rails cannot bundle install

ruby-on-rails,ruby,bundle

Solved by using the following two commands: gem update --system gem install bundler...

Infinite loop repository symfony2 fos user bundle

php,symfony2,bundle,fosuserbundle,symfony-forms

I finally find a solution. I removed the find() calls for my own functions (getStatus, getLanguage, getType) and I put a try/catch call inside. Now, it works really good ! Here is the code for Acme/AcmeBundle/Repository/LanguageRepository.php <?php namespace Acme\AcmeBundle\Repository; use Doctrine\ORM\EntityRepository; class LanguageRepository extends EntityRepository { public function getLanguage($id) {...

bundle error missing file only in sudo

ruby,bundle

The failing command is mkdir, which is trying to create that directory. So that's why the directory doesn't exist. If you are using linux or osx, you can use the chmod command to change the permissions for that directory, for example chmod -R 755 /usr/local/rvm/gems/ruby-2.0.0-p353/extensions/x86-linux/2.0.0 Unfortunately there are too many...

Android how to send objects to new fragment

android,android-fragments,bundle

Your custom Object must implement Parcelable. Parcelable is a way to tell Android how the reconstruct custom Objects when passed through a Bundle. http://developer.android.com/reference/android/os/Parcelable.html Once your Object implements Parcelable, you can put your list in the Bundle using putParcelableArrayList(String key, ArrayList value) It is a bit tricky the first time,...

Set a bundle start level programatically on embedded Apache Felix 5

osgi,bundle

I guess you have a Framework instance if you use embedded Felix. In this case I think the following could work: Bundle bundle = framework.getBundleContext().installBundle(location); BundleStartLevel bundleStartLevel = bundle.adapt(BundleStartLevel.class); bundleStartLevel.setStartLevel(xxx); ...

Trying to handle event triggered by Service in the Activity

android,service,broadcastreceiver,bundle,android-pendingintent

Finally, I found the solution! What happened is that on my cases: App foreground: Service sends a Broadcast. Activity receives it and handles the event. App killed: Notification clicked, PendingIntent launched. App reopens and handles the event with the info from Bundle. App in background: Notification clicked, it sends a...

cant use Netbeans console after installing new bundle in Symfony2 (error: Symfony2 console must be selected)

php,symfony2,bundle

NetBeans simply uses <Source Files>/app/console to run console. When unzipping Symfony and installing new bundle it's neccesary to zip subfolder of Symfony directory, not root directory. Unzipped directory structure looks like this symfony2.6.1\Symfony\app\console symfony2.6.1\Symfony\bin\... symfony2.6.1\Symfony\src\... My fault was that I zipped root directory: symfony2.6.1\, instead of Symfony\, or all these...

Android : bundle passing

java,android,bundle

from where you are sending Intent intent = new Intent(); intent.setClass(this, Other_Activity.class); intent.putExtra("EXTRA_ID", "SOME DATAS"); startActivity(intent); to where you are receiving @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Bundle extras = getIntent().getExtras(); if (extras != null) { String datas= extras.getString("EXTRA_ID"); if (datas!= null) { // do stuff } } ...

Pass data using Intent & bundle need to convert to int

android,android-intent,casting,integer,bundle

replace this line int finder = Intent.parseIntent(checkerHolder); with below one int finder = Integer.parseInt(checkerHolder); ...

How to add resource bundle into a xcode project using cmake?

xcode,cmake,bundle

Seems I found a solution: file(GLOB FILES_RSC "${CMAKE_SOURCE_DIR}/resource.bundle") set_source_files_properties(${FILES_RSC} PROPERTIES MACOSX_PACKAGE_LOCATION Resources) ...

How to pass a instance of a google api connected client

android-intent,android-fragments,bundle,google-fit

I solved this by using a Subclass application, thanks to this post : Pass connection object to other activity - Google Tasks API

Manage translation fields in symfony form type generated with KnpLabs/DoctrineBehaviors and Translatable

php,symfony2,doctrine2,bundle,symfony-forms

Answer based on comments. To not reinvent the wheel you can consider to manage translations created using the KnpLabs/DoctrineBehaviors library with it's translatable behavior togheter with the a2lix/TranslationFormBundle. It saves a lot of time because have already implemented the most common functionalities and it's simply to use. ...

Java wrapper around Map-like implementation

java,dictionary,bundle

See apache-commons configuration: https://commons.apache.org/proper/commons-configuration/ in particular the map-based configuration....

Passing Number[] array through Intent

android,arrays,android-intent,bundle,androidplot

The Number class implements Serializable. So you should be able to do the following: Bundle extras = getIntent().getExtras(); Number[] series1Numbers = (Number[]) extras.getSerializable("plotpoints"); ...

How to pass Arguments to Fragment from Activity

android,android-fragments,fragment,bundle

It's hard to say without seeing the logcat, but surely you are missing to call the commit() method on the FragmentTransaction. Also remember to set the arguments to the fragment before calling ft.commit(). @Override public void onTabSelected(ActionBar.Tab tab, FragmentTransaction ft) { mFragment = (LayoutFragment) getSupportFragmentManager().findFragmentByTag(mTag); if (mFragment == null) {...

ASP.NET/MVC Bundler Cache does not work

asp.net,asp.net-mvc,caching,bundle

As I suggested in the comment Igor claimed that in Global.asax there were code for disabling caching: Response.Cache.SetCacheability(HttpCacheability.NoCache); Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1)); Response.Cache.SetNoStore(); Igor just to inform you these lines is one of the suggested way to fix 'browser back button' scenario (but as you can see with some cons). Simple scenario steps:...

Why app/console config:dump-reference framework Bundle configuration dump is different from the configuration of the bundle inside the app/config?

php,symfony2,frameworks,bundle

The file app/config/config.yml is just overriding default configuration. For the framework bundle, the configuration is set up trough Extension (see doc). As you can see in this PHP Class Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension, the FrameworkExtension loads some XML files from Resources/config directory. That's where are defined all services that you can configure in...

Deploying osgi bundles to cics

osgi,bundle,cics

Thanks for you question. Before I can answer I have a couple of my own if you don't mind. Firstly when you say you want to deploy an application to “a 3rd party environment” what do you mean; is this a different CICS system or something else? Secondly what issues...

Using Browserify with Reactjs

parsing,bundle,require,reactjs,browserify

You must compile JSX to plain JS first, there is plugin for browserify. https://www.npmjs.com/package/reactify...

Symfony don't generate new bundle

symfony2,command-line,bundle

i think you're in the wrong directory. you look at Computer/F:/symfony/src and the composer told you it generated a bundle in F:/xampp/htdocs/symfony/src. so take a look in F:/xampp/htdocs/symfony/src, it might be there.

execute bundle who cintains xml parser (SAX)

xml,osgi,bundle,sax,ipojo

org.xml.sax.helpers package is part of the JDK. Your issue can be that this package is not included in the system packages of the OSGi container. In case you want to use it from a bundle instead of the JDK, you can install the org.everit.osgi.bundles.org.apache.xmlcommons.full bundle exports all packages of the...

Sending parameters from a notification to a different activity?

android,android-intent,notifications,bundle,lifecycle

I was lead to an answer via this question: FLAG_ACTIVITY_NEW_TASK not behaving as expected when used in PendingIntent First, I changed this line: Intent notificationIntent = new Intent( this, MainActivity.class ); To: Intent notificationIntent = new Intent( this, NotificationActivity.class ); I made NotificationActivity.class a placeholder activity that will let other...

Bundle and Running a Jar causes java.lang.reflect.InvocationTargetException

java,jar,bundle,bundler,jruby

This isn't a great answer, but I was having a similar issue on jruby 1.7.3 and using 1.7.10 fixed it. I'd still like to know what the issue with 1.7.3 was though, since that's the version everyone else on my team is using.

java load resource file like ClientBundle GWT

java,gwt,resources,bundle

You can use Spring DI to achieve this. @Value("classpath:source/resource.rs") Resource myResource; ...

Symfony 2 - Class “Mingle\StandardBundle\Entity\Product” is not a valid entity or mapped superclass

php,symfony2,doctrine,entity,bundle

Annotations have to be placed inside /** */ comment block, otherwise they are not recognized.

how to open a .bundle file

git,bundle

I needed to initialize the git repository and add master to the end of pull as shown below: git init git pull file.bundle master ...

Multiple file upload with VlabsMediaBundle in Symfony2

php,symfony2,upload,bundle

I was a little bit investigating about your problem and Vlabs Media Bundle seems to be unmaintained. There is form listener on PRE_SET_DATA event (Vlabs\MediaBundle\EventListener\BaseFileListener::preSetData()) that is not compatible with new version of Symfony (it expects DataEvent as parametr instead FormEvent). They fixed it but after 1.1.1 release (you can...

how to passing list<> in bundle

java,android,android-intent,arraylist,bundle

You will need to have ValueActivity implement Parcelable interface and you will need to implement writeToParcel() the CREATOR and a suitable constructor that takes a Parcel as argument. See the documentation of Parcelable interface. To put the list into the Bundle, use: bundle.putParcelableArrayList("list", list); To get the list out of...

Convert JSON to Android Bundle

java,android,json,bundle,adt

just a quick SSCCEE A.class // key for bundle ... public static final JSON_STRING = "jsonString"; Intent intent = new Intent(A.this, B.class); Bundle bundle = new Bundle(); bundle.putString(JSON_STRING,json.toString()); intent.putExtras(bundle); startActivity(intent); and then in B.class ... Intent intent = getIntent(); Bundle extras = intent.getExtras(); String jsonString = extras.getString(A.JSON_STRING); more info about...

Symfony2 - Is an AdminBundle actually the correct way to organise the app?

php,symfony2,bundle

I think it depeneds on tour needs and size of your project. Creating a special bundle to put there logic for of admin panel is a good practice. But if you have a small application with just couple of entities it's not necessary to create AdminBundle. Symfony provides you any...

Difference in access speed between bundle content and file content

ios,file,bundle

Its upto you, if you directly wanna store it as music file, it will consume larger space in app bundle, no other harm. Whereas if you store them as a file in text (bytes), then convert them into mp3 at runtime, obviously, it will cost some lifecycle time. But it...

Sounds from bundle still there after app update

ios,file,bundle

See Technote 2285: Xcode's app install process is optimized for development, but is slightly different than how iTunes and the App Store install apps. This is good during development because it's faster, but using Xcode to install an app over an older old build may create a "frankenbuild" with legacy...

Can't retrieve value from Bundle android

android,android-fragments,fragment,bundle,getstring

Just looking at the screenshot, it looks like you switched the key and value variables. You set the key "2" to "fixedExpenseId", and not the key "fixedExpenseId" to "2".

Passing more than a Bundle to a fragment [Android]

android,fragment,bundle

Is it possible to combine two bundles into one before passing to a fragment on Android? Yes, you can do it using Bundle.putAll(Bundle bundle) Or you can pass both bundles separately by creating a Bundle using Bundle.putBundle(String key, Bundle value) ...

Java: Getting object associated with enum

java,android,enums,bundle,value-of

To get an enum value of the enum type Enemy from a string, use Enemy.valueOf(String). Enemy.valueOf("SPIDER") would return Enemy.SPIDER, provided your enum looks like enum Enemy { SPIDER, BEE}; EDIT: It turns out Zippy also had a fixed set of Enemy objects, each mapped to each value of EnemyType, and...

Best practice bundle product versioning (assembly info)

c#,.net,bundle,assemblyinfo

I don't think it is possible. First, those properties are embedded in the .NET assembly header, not the Windows file properties. So it isn't directly accessible in Windows. Another thing is, you need to change that File Properties window by hand. You can get and set the properties (see Read/Write...

Redmine can't generate secret token

ruby,bundle,token,redmine

Something is looking for rspec. But you don't have it in your Gemfile, which is why rake cannot find it (nor bundler). It appears to be installed, so just add it to your Gemfile , then bundle and you should be all set. As it looks like a rails project,...

Running OSX Bundle via Open

osx,qt,cmake,bundle,cpack

The solution for this ended up being that the libcocoa.dylib library was not finding the requisite libraries. See Building OSX App Bundle for a thorough answer on the subject. otool -L is your best friend.

Bundling individual files

javascript,asp.net-mvc,bundle

I would still suggest you put that file through bundling, advantages you get: It will get minified for production Should you add more javascript files later, it will be just a matter of adding those to a bundle, without ever making changes to your HTML template ...

Parcelable object that receives passed data coming up null

android,android-intent,nullpointerexception,bundle,parcelable

Okay, so when you're doing this: Intent updateIntent = new Intent(MainActivity.this, ContactsActivity.class); Bundle bundle = new Bundle(); bundle.putParcelable("contact", item); updateIntent.putExtra(ContactsActivity.RECIVED_CONTACT, bundle); startActivityForResult(updateIntent,1); adapter.notifyDataSetChanged(); You end up with a data structure something like: Intent { Bundle extras { Bundle bundle { Contact contact; } } } and when you retrieve it:...