Well for the future it will be better if you can post small sample where you can demonstrate issue as above problem description obviously was not clear

PS: "I am using nebeans ide." You do not need to tell us what IDE you are using, it is code that matters...

though I do wonder what he's done that makes his eclipse project's compiling dependent on the order of dependencies in the project settings window :)

I do remember NetBeans being funny back in the day while building JME app and you messed up order ;)
But hey then I been student and had no clue about building tools, and been happy IDE did it for me :D

Above description wouldn't help in solving your issue. If your build is dependent on JRE System Library above/below JUnit.jar it is plainly obvious you are dependent on IDE and your project will not build sucessfuly from command line, therefore cannot be run from CI. I do strongly suggest to check out Gradle or Maven

You should have gone with Map and there would be no need for switch ;)

Well you have to work out some logic that will find out in which location proximity you are in. Once you identify location it should not be hard either have Map<Location, StringResources> where StringResource is only id to the strings new StringResources(R.string.resource_1, R.string_resource_2). However this is only short term solution, it would be better to send data to server that should return you these data that you want to show user

@James he did actually felt in the need to share it with other websites too http://www.geeksforgeeks.org/multiply-two-numbers-without-using-multiply-division-bitwise-operators-and-no-loops/#comment-2063336220


"Once you start down the dark path, forever will it dominate your destiny."
-- Yoda

@Hanif1993 you welcome

Glad to hear that!

You are misunderstanding concept. This is not jar library that you add to your project, but rather expectation that user has this application installed on device and thereore with help of Android intent you can say "load this url with following application of this package name"

OsaMasw commented: thanks +2

There is no official API yet as this is still under development. However according to VLC forum you just need to do this

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setPackage("org.videolan.vlc.betav7neon"); // Use org.videolan.vlc for nightly builds
intent.setDataAndType(Uri.parse("http://example.com/media/test.mp4"), "application/mp4");

My suggestion would be to check first for vlc in PackageManager to avoid crash if app not installed. You can follow discussion on intent here

Well done

Without seeing actual code hard to say...

Yes, you can

Add button

  1. Setup new layout just with button
  2. When adding button inflate this new layout to reduce all that mess with LinearLayout.LayoutParams
  3. Then add button to parent (LinearLayout)

Buttons disapeared on fragment return - you need to apply some persistance to record your change, which should happen onPause and re-initiaded with onResume. You could do this with bundle that you pass around. However this will become more complicated as you move around app and other needs to be past to other components.
So you need to decide what storage is best for you http://developer.android.com/guide/topics/data/data-storage.html. For start you may want to use SharedPreferences, if you have more complex structure database would be better.

Ahhh, OK. Simple, lets examine code (sorry for cheeky comments)

if(new File("ATM.xls").exists()){ //check if file exists
    System.out.println("File exists"); //YES it does exist
    //but I failed to assigned to some object
    File excel = new File("ATM.xls");//doesn't exist so I create new file
    //but this go no further because it is local variable

So the code should be something like

File excel = new File("ATM.xls");
if(!excel.exists()) {
    try {
    } catch(IOException e) {
        Systemout.println("Failed to create new file, \n" + e.getMessage()); //Log framework would be much better instead of system print outs
//I have made sure file either exists or is created and now I can continue

That only creates WritableWorkbook, an object to which you have to write some data and then close in order for file to be generated. Check these examples http://www.programcreek.com/java-api-examples/index.php?api=jxl.write.WritableWorkbook

Sorry, but it is unlikely to workout anything from that log. However any of these values un Tag column are part of your app? If so you should check call for them, any possiblity of looping or excesive use of memory(trying to read in memory same image which is already there -to do caching)

  1. Increase allocated memory to device (You should have minimum 8gb ram on your pc/laptop or emulator will be always slow). Secondary you may want to install HAXM (you do have to run actually manual install once downloaded through Android SDK as it is 3rd party product) you will find it in your ANDROID_SDK_DIRECTORY/extras/intel/Hardware_Accelerated_Execution_Manager
  2. Use Genymotion instead, free registration for personal usage, way faster then default emulator
  3. Get real device, there is nothing better then real device and fast deployment. Motorola Moto G or Moto E cost about £100 ( I call it good investment)

Yes, but that post was Modified 19 June 2011
Also check this recent discussion on Reddit http://www.reddit.com/r/androiddev/comments/2wf2ge/android_sdk_vs_flash_builder_thoughts/

@SimonIoa can we please keep discussion to single thread???

As I said in other thread I would not recommend Flash based appplication as it is not supported by Android neither iPhone. However you can do HTML 5, CSS and JavaScript and use stuff like cordova which should help you to create hybrid app that will run on both platforms(Android and iOS). Otherwise you need to do native development.

I do only native Android development so I will not be able to help you with this. Have look at http://www.adobe.com/devnet/air/air_for_android.html for articles in regards of this. Also they do have their own forum where you can ask questions and get answers...

You aware that Android and iPhones ditched support for Adobe Flash

You have duplicate id in some XML layout, mostlikely the one where you showing map fragment

Daniweb rules says

Do provide evidence of having done some work yourself if posting questions from school or work assignments

So post what you wrote so far and maybe will help you

You need to run your music as servive, you can see example here http://developer.android.com/guide/topics/media/mediaplayer.html#mpandservices

jalpesh_007 commented: thanks.it is helpful. +4
ravi142 commented: @Thank you +2

build.xml is used by Ant to provide specific instruction how to build your project https://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html

Similary Maven uses pom.xml tutorial and Gradle uses build.gradle tutorial

@JamesCherrill not all using Java 8 yet :P

@James_30 given that you mention build.xml I believe you have Ant build and your IDEs (NetBeans, Eclipse) do know where to find joda jar in libs folder. However if you compiling from command line you need to include also path to any jar on compile time

Example (please correct me if wrong, didn't do this in ages...)

java -classpath C:\PATH_TO\joda-time-1.6.2.jar my.application.package.name