Skip to content
Logo
  • Home
  • General
    • Cocos2d-x
    • Mobile Apps
      • Android Apps
      • Blackberry Apps
      • IOS/Iphone Apps
      • Windows Phone Apps
  • Tutorials
    • Android
    • HTML5/Design
    • IOS
    • JavaScript
    • Microsoft Technology
    • PHP
    • SAP
      • ABAP
    • Testing
    • Windows App
  • Poker app
    • Poker review
    • Poker bonus
    • Poker news
  • Contacts

Techbirds | Knowledge Hub | Page 43

Posted on: May 6, 2018 /
Categories: Mobile Applications

The normal stroking code of a label doesn’t work in IOS 7.0 but it works successfuly below IOS 7.0 The basic code for enabling stroking is provided below. We need to add a CCLabelTTF and then call the enableStroke function CCLabelTTF *label=CCLabelTTF::create(“Hello”, “Arial.fnt”, 50); label->setPosition(ccp(300,300)); label->enableStroke(ccGREEN, 1.0,true); this->addChild(label); This works fine with IOS below 7.0.

Read More →

Techbirds | Knowledge Hub | Page 39

Posted on: May 6, 2018 /
Categories: Mobile Applications

class updateTwitterImageStatus extends AsyncTask { /** * Before starting background thread Show Progress Dialog * */ @Override protected void onPreExecute() { super.onPreExecute(); pDialog = new ProgressDialog(MainActivity.this); pDialog.setMessage(“Updating to twitter…”); pDialog.setIndeterminate(false); pDialog.setCancelable(false); pDialog.show(); } protected String doInBackground(String… args) { File file = new File(Environment.getExternalStorageDirectory() + “/screenshot.jpg”); try { StatusUpdate status = new StatusUpdate(“upload image”); Read More

Read More →

Techbirds | Knowledge Hub | Page 6

Posted on: May 6, 2018 /
Categories: Mobile Applications

Hello Friends, All the steps to create a project in visual studio using cocos2d-x-3.2. are  given below: Step1: Download cocos2d-x-3.2.zip from the link: https://cocos2d-x.org/download and apache-ant-1.9.4-bin.zip from the link:https://ant.apache.org/bindownload.cgi and extract these two files.   Step2:  After extracting, execute download-deps.py on command prompt to download and install some dependencies. C:\Users\gopal123\Desktop\kapil\cocos2d-x-3.2>python download-deps.py   Step3: Run setup.py.In between environment variable of

Read More →

Techbirds | Knowledge Hub | Page 9

Posted on: May 6, 2018 /
Categories: Mobile Applications

ArrayList: ArrayList is a basic implementation of List interface in Collection framework.It extends AbstractList. ArrayList supports dynamic array that can grow as needed. Some of the important methods in ArrayList are void add(int index,Object element):add the element at the specified index. void add(Object element): Add the element at the end of the list. void  clear(): clears

Read More →

Techbirds | Knowledge Hub | Page 57

Posted on: May 6, 2018 /
Categories: Mobile Applications