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

Calling a Java/Android method from C/C++ | Techbirds

Posted on: September 4, 2017 /
Categories: Mobile Applications

Continuing my previous blog on how to use native code using JNI. I am sharing an example on how to call Java/android method from your native code(c/c++). com.exapmle.android.MainActivity.java public class MainActivity extends Activity { private static String libname = “mylib”; static { System.loadLibrary(libname);} @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main_activity); String result = call_to_native();

Read More →

APK to BAR Conversion (BB10 and Above) for Windows OS | Techbirds

Posted on: September 4, 2017 /
Categories: Mobile Applications

Posted on: February 6, 2014 / Categories: Mobile Applications / Author Name: devashish.techbirds Link : https://developer.blackberry.com/android/documentation/create_a_debug_token_cmd_line_1728294_11.html Steps mentioned in Link Repeat this step after 30 days blackberry-debugtokenrequest -storepass -devicepin 2AB54D80 bb10debugtoken.bar blackberry-deploy -installDebugToken bb10debugtoken.bar -device 169.254.0.1 -password lptpl@bb Convert apk2bar -a “” -d Avoid debug token bar to successfully sign these bars. batchbar-signer xxxxxxxxx.bar “C:\Users\\AppData\Local\Research

Read More →

Android Layouts | Techbirds

Posted on: September 4, 2017 /
Categories: Android, Android Apps, Mobile Applications, Tutorials

Linear Layout A Linear Layout arranges all its children in one direction either vertical or horizontal. this direction is set by using setOrientation() methd in Actiivty or android:orientation in .xml file. See the example. To see the the Attributes and method of Linear Layout visit the page Example: Vertical Linear Layout main.xml Example: Horizontal Linear

Read More →

Android Concept | Techbirds

Posted on: September 4, 2017 /
Categories: Mobile Applications

// Alternative of setAlpha() method Used for transperancy(Added in API level 11)is class AlphaAnimation , applicable in lower version of android as well(below API level 11). Above or at API level 11: We can use setAlpha(float) method. Below API level 11: We can use the way specified below. AlphaAnimation animation = new AlphaAnimation(alpha, alpha); animation.setDuration(duration);

Read More →

Android Concept | Techbirds

Posted on: September 4, 2017 /
Categories: Mobile Applications

Code to extract the images from canvas and save it into Sd card of mobile in Android : //canvasview is an object or reference to Canvas { canvasview.setDrawingCacheEnabled(true); canvasview.buildDrawingCache(true); // MainActivity.bitmap2=canvasview.getDrawingCache(true); Bitmap imgData = Bitmap.createBitmap(canvasview .getDrawingCache(true)); DateFormat dateFormat = new SimpleDateFormat(“yyyy/MM/dd HH:mm:ss”); Calendar cal = Calendar.getInstance(); storeImage(imgData, “/” + cal.getTime().toString().replace(‘:’, ‘_’) + “.png”); Toast.makeText(EditorActivity.this, “image

Read More →

« 1 … 48 49 50 51 52 … 66 »

Search on Site:

Quick Navigation

  • ABAP
  • Android
  • Android Apps
  • Blackberry Apps
  • cocos2d-x
  • General
  • HTML5/Design
  • IOS
  • IOS/Iphone Apps
  • JavaScript
  • Microsoft Technology
  • Mobile Applications
  • PHP
  • Poker app
  • Poker bonus
  • Poker news
  • Poker review
  • SAP
  • Testing
  • Tutorials
  • Windows App
  • Windows Phone Apps

Fresh Articles

  • Mostbet review
  • Bet365 review in India
  • Pokerstars Blowout Series is out
  • Facebook Zynga Poker
  • Purple Poker: Smooth Online Poker Experience for All

Copyright © Techbirds, 2023 | All rights reserved.