Cant call solidity function from app.js?

Solidity function function betOnTeam(uint team) payable public { emit LogInfo(“INSIDE betOnTeam——————–“); if(team == 1) { if(msg.value == amount) { homeBet = msg.sender; if(homeBet != 0 && awayBet != 0) { //oraclize_query(“URL”, url); oraclize_query(“URL”, “json(https://api.crowdscores.com/v1/matches/123945?api_key=93c4c515196741beaf5e4528b64ea511).outcome.winner”); update(); } } else { throw; } } Here is the .JS file through which i am trying to call this…

Details

Change coordinates of RectF after canvas rotate

I used this code to draw text vertically. RectF rectF2 = new RectF(); matrix.mapRect(rectF2, bounds); canvas.save(); canvas.rotate(90, rectF2.right, rectF2.top); canvas.drawText(text, rectF2.left, rectF2.bottom, mTextPaint); canvas.restore(); This works well, but I want to change the coordinates as well. Because later I tap on the object and do the drag and drop. Now the problem is, As you…

Details