Trying to add mapviewballoons library in project - android-mapview

I am trying to add mapviewballoons library in my project, by right click project > properties > Android > isLibrary but whenever i click on Add button, in Project Selection box i am not getting any option to add library, i have downloaded mapviewballoons library in my downloads folder

Hmm...I did it in few simple steps, If you have Git configured it will be easy just clone Git repository, right click->import project. If mapviewballoons project is not checked as library (checkbox in properties->android is Library) then check it and simply in project in which you want to use balloons properties->android->add library and it will appear in list

I dont have GIT, dont know what it is, nor have time to learn what that is.
Is there no easier way to import this stuff into a library project?
Why is Java always so ... hard!?
I dont want to spend days learning GIT, just to get those balloons!
My project is overtime already.

Related

I cannot create directories/folders in Android Studio and Flutter, only packages

As you can see here, the option to create new directories doesn't exist, i can only add new packages.
What I want to do though is create a folder structure like
>Lib
>>Pages
>>>Startpage
>>>Loginpage
>>Helpers
>>>Networkhelper
>>>>Requesthelper
>>>Storagehelper
etc...
which i can't do with packages as i cannot put packages into empty packages and stuff
this worked before, however now when i created a new project, the same way i always did, it didn't work. any ideas on what i can do/what went wrong?
For some reason, lib directory is marked as source root. Its actually doesn't make difference wether shown as package or folder. Its the same thing. But if you want to change it, unmark it.
in your project tree:
project_name -> lib:
right click
mark directory as
unmark as source root
Screenshot
Hope it help.

Can you remove NetSuite Bundles after installation

I am working on a NetSuite instance that had custom(contractor/SuiteScript) work installed via a bundle, but it is not a third party product but made for this system. Now there are 2 listings in the dropdown for each file. In other words, if I am adding a file as a library, it shows up twice and I don't know which reference is the correct one to choose. I used search to find the duplicate file name is in the bundle install. Can I safely remove or delete the bundle? thanks any help is appreciated.
You cannot typically remove individual files from a bundle. If you do not need the functionality of the bundle anymore than you can remove it at your discretion by going to Customization>SuiteBundler>Search & Install Bundles>List, then under the action icon click 'Uninstall'.
I wouldn't try to delete a script library from a bundle folder. Even if you are uploading an identical library there may be references in the bundle scripts to the original library that will be broken when if you delete it.
If you are wondering which one you are selecting from the drop down one thing you could do is figure out the internal id of your library file then run a search on your script file that pulls in the library file id's and make sure that they match.

How to install the "sound" library for Processing in a simple way?

It's just so weird that Processing does't come with a "sound" library while the official information provides related information(https://processing.org/reference/libraries/sound/). This only leads me to the Github source code page(https://github.com/processing/processing-sound) and I literally do not know how to install this thing...
Yes, I could use the "Minim" or "Sonia" library. But I have a bunch of example programs which use the "sound" library, each with a "import processing.sound.*;" right at the beginning.
In addition, I can't find anything named "Sound" in the Processing library manager..
What's going on with this library? How do I install it easily?
update
I'm asking this because there is actually no option to install it:
Even when I search:
From your Processing PDE, go to the Sketch menu, then expand the Import Library submenu, and select the Add Library... option.
That will open up a dialog that lists libraries you can install, including the Sound library.
Install it, and you'll be able to use the classes in the processing.sound package.
You may download the .jar file of the library you need and put it in a folder named "code" in your sketch folder.
If you are using a Mac you can still add the library but it's a bit more complicated. You need to download the library and open the finder/documents/processing/libraries and drop the sound folder that you download from the web in the the libraries folder. You then open Processing and add the library through the library manager.

Default c++ project which is setup using autoconf

I know this is not a programming question so someone might close this but I am struggling hard in setting up a simple c++11 project using autoconf. I want a src and obj directory for source and object files. I also want a recursive directory structure. Went through many links but facing a hard time on this. What I wana achieve is have a Project directory then a src and obj directory in that Project directory which will have sub directories for each components. Just thought of asking if there exists some default project which I can download and then use it for my purpose. Thanks.
You can't do that with automake. It doesn't let you choose where the object files go.
Instead you can configure and build in a parallel tree. That is what many GNU developers do. This way the sources and objects are separated.

Integrate mogenerator within Xcode 4

In my application I'm using Core Data stuff to enable persistent data saving. Since I've seen that mogenerator provides a good approach to create and maintain NSManagedObject subclasses (also with additional functionalities), I'm looking for some tips for integrating monogenerator within Xcode 4?
P.S. The question has been submitted based on share your knowledge, Q&A-style.
For Xcode 4.5+, the easiest way is to setup a "Pre-action" in your scheme:
Edit the scheme you want to build
Open the "Build" item and select "Pre-actions"
Click on the "+" and add a "New Run Script Action"
In the "Provide build settings from" popup, use the target
Paste this in the text area:
# Update the mogenerator files
cd ${SOURCE_ROOT}/${PROJECT_NAME}
/usr/bin/mogenerator --template-var arc=true -m ${PROJECT_NAME}.xcdatamodeld -M CoreData/Machine -H CoreData/Human`
Hit "OK" and build
A directory named "CoreData" will be created in your source file area along with the subdirectories "Human" and "Machine". You should now add the "CoreData" folder to your project.
Using mogenerator within Xcode 4 is quite simple.
First of all, download it at mogenerator.
Once done, switch to your Xcode project and, within the Project navigator, select your project (e.g. ProjectName).
Select ProjectName under TARGETS section.
Hold Add Build Phase. A menu appears. Select Add Run Script. A new run script will appear.
Within the text area (under shell field), add some text like the following.
cd ProjectName mogenerator --template-var arc=true --model DataModel.xcdatamodeld/DataModel.xcdatamodel
Et voilĂ . When you build the project you should be able to see generated classes.
For other info and options you should refer to mogenerator wiki.
Hope it helps.
P.S. Feel free to comment or modify the answer if something is wrong.

Resources