Run Blustacks or Android to play clash of clans on ubuntu 13.4+
Install VirtualBox Install virtualbox from the Ubuntu Software Center.
download android sdk to run AVD
Create a new Virtual Machine with the steps mentioned here. http://androvm.org/blog/blog/2012/11/14/androvm-configuration-tutorial/
download ur app and run
------------------OR-------------- (BEST=>)Try Genymotion runs with VBox/ Linux Its not really bluestacks but something similar which will emulate android apps http://forum.xda-developers.com/showthread.php?t=2333452
Related videos on Youtube
virepo
Updated on September 18, 2022Comments
-
virepo over 1 year
I have looked at the other related posts on stack overflow but still cant get this working.
Should be very simple.
I have this jQuery and HTML code:
$('.add-headset').click(function() { if ($(this).text() == 'ADD') { $(this).text('REMOVE'); $('.buy-headset').val('hiii'); } else { $(this).text('ADD'); $('.buy-headset').val(0); } });
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> <div class="add-headset">ADD</div> <input type="text" name="buy_headset" class="buy-headset" value="0" hidden />
The text changes between ADD and Remove fine, but the value of the input field is not changing. I don't understand as I do pretty much the same thing with a different element underneath and this works fine.
Any ideas?
-
Shivam Sarodia almost 10 yearsWhat is your question here?
-
Joe Hanus almost 10 yearsI want to play Android apps and games Pacifically Clash of CLans on Ubuntu
-
Joe Hanus almost 10 yearsI also tried Running Windows 7 with Virtual box and then Bluestacks within the Windows VM but still loading error
-
bamtheboozle over 6 yearsYou can't use
val()
to set the value of adiv
element. Use.append()
instead. -
Rohit Kumar over 6 yearss0 y0u want to change text for $('.buy-headset') ?
-
virepo over 6 yearsI want to change the value of the input field with the class of buy-headset
-
GreyRoofPigeon over 6 yearsSeems to working fine... jsfiddle.net/j23hprbc (note, removed the invalid
hidden
attribute) -
JLRishe over 6 yearsThe value is changing. The question is - why do you have a
text
input that you're not displaying? Isn't that whathidden
inputs are for? -
palaѕн over 6 yearsJust do
console.log($('.buy-headset').val())
inside click at last. It is getting correct value everytime. -
Rory McCrossan over 6 yearsNote that
val()
updates the value property of the element, not the attribute, so the change will not be visible in the DOM, even though the call worked. -
freedomn-m over 6 years@DragoşPaulMarinescu 1 it's an
input type=text
not a div 2 if you use.append()
it won't change the value, it will just keep adding new values. At least suggest using.text()
or.html()
.
-
-
Joe Hanus almost 10 yearsWine does not work for Bluestacks unless you or someone else got it to work i couldnt thanks i wish it was that easy
-
bobpaul over 9 yearsBluestacks does not work in VirtualBox; it complains that the graphics card is unrecognized and refuses to install. Clash of Clans does not work on GenyMotion.
-
virepo over 6 yearsThanks! been scratching my head all day aha