Get absolute path to assets folder in PhoneGap

Get absolute path to assets folder in PhoneGap

Is there a way to get the absolute path of an image in phonegap asset folder?I need the absolute path to attach the image in a mail using EmailComposer plugin.EmailComposer plugin wants an absolute path like this: /storage/sdcard0/DCIM/Came

how to access facebook or twitter using blackberry API?

how to access facebook or twitter using blackberry API?

I am newbie for such kind of social networking Application integration using blackberry API.i want to develope such kind of application which can use the facebook or twitter social networking site integration using available blackberry api.

How to rotate portrait/landscape Android emulator? [duplicate]

How to rotate portrait/landscape Android emulator? [duplicate]

This question already has an answer here: How do I rotate the Android emulator display? [duplicate] 24 answers I am new to Android development.I know i

Strip signatures and replies from emails

Strip signatures and replies from emails

I'm currently working on a system that allows users to reply to notification emails that are sent out (sigh).I need to strip out the replies and signatures, so that I'm left with the actual content of the reply, without all the noise.Does a

How to display Progress Bar in BlackBerry?

How to display Progress Bar in BlackBerry?

I want to display a progress bar or progress dialog while downloading something from server it may be image or anything else. How can I do this in BlackBerry? 1:This blackberry kb article might help you: Sample "Please Wait" screen 2:

How can I read SMS messages from the inbox programmatically in blackberry?

How can I read SMS messages from the inbox programmatically in blackberry?

I want to read SMS messages from Inbox,Draft,and sent from my blackberry device programmatically.Would any one will help me. 1:There is only way to access SMS messages, implement MessageListener and intercept messages when they are sendi

Android equivalent to iphone indexed UITableView

Android equivalent to iphone indexed UITableView

I am porting an iPhone app over to the Android platform. One of the views has a very large list of data and on the iPhone app, there's a scrollbar of sorts on the right hand side that displays the letters of the alphabet and allows the user

How to bind “mobileinit” event in jQuery Mobile?

How to bind “mobileinit” event in jQuery Mobile?

This is how I'm trying to hook into the mobileinit event:$(document).bind("mobileinit", function() { console.log("Mobile init");});But this doesn't work on Chrome (Latest version), Ripple v0.9.1 and on a BlackBerry bold 9790 running OS7.

Meta-tags for mobile – should they be used?

Meta-tags for mobile – should they be used?

Meta-tags "Viewport", "MobileOptimized" and "HandheldFriendly" can be used to provide appropriately formatted HTML-content to mobile devices. Are these tags good things? They seem pretty platform specific in many cases, and even when not pl

BlackBerry and map based apps like Yelp and Google Map

BlackBerry and map based apps like Yelp and Google Map

This is a question-loaded post from someone who is just getting started with BB development. Any guidance is much appreciated. How are map based BlackBerry apps such as Yelp and Google Map implemented? As with the web based version. Yelp

BlackBerry programing - create borderless popup screen

BlackBerry programing - create borderless popup screen

Do you know how to create borderless popup screen within Blackberry app? 1:PopupScreen popup = new PopupScreen(new VerticalFieldManager());popup.add(new LabelField("Hello!"));Border border = BorderFactory.createSimpleBorder( new X

BlackBerry programing - create borderless popup screen

BlackBerry programing - create borderless popup screen

Do you know how to create borderless popup screen within Blackberry app? 1:PopupScreen popup = new PopupScreen(new VerticalFieldManager());popup.add(new LabelField("Hello!"));Border border = BorderFactory.createSimpleBorder( new X

BlackBerry programing - create borderless popup screen

BlackBerry programing - create borderless popup screen

Do you know how to create borderless popup screen within Blackberry app? 1:PopupScreen popup = new PopupScreen(new VerticalFieldManager());popup.add(new LabelField("Hello!"));Border border = BorderFactory.createSimpleBorder( new X

BlackBerry - image 3D transform

BlackBerry - image 3D transform

I know how to rotate image on any angle with drawTexturePath:int displayWidth = Display.getWidth();int displayHeight = Display.getHeight();int[] x = new int[] { 0, displayWidth, displayWidth, 0 };int[] x = new int[] { 0, 0, displayHeight, d

Bing Maps SDK For Blackberry 6.0

Bing Maps SDK For Blackberry 6.0

I need to use Bing maps in an app being developed targetting blackberry OS 6.0. But could not find any natively available framework or SDK. Please help me on using either Bing or Google Maps SDK on blackberry. Please provide the references

XML parsing not working on android build of lwuit app

XML parsing not working on android build of lwuit app

I use Kxml2 parser to parse the xml response I get as a response from a remote page. It is for user authentication, and the returned xml gives several details about the user. The app is built with LWUIT 1.5 and it works on MIDP and Blackber

Horizontally centering fields in a vertical field manager

Horizontally centering fields in a vertical field manager

vfm = new VerticalFieldManager(Manager.VERTICAL_SCROLL); vfm.add(new LabelField("horizontally centered...",Field.FIELD_HCENTER | LabelField.FOCUSABLE)); vfm.add(new LabelField("horizontally centered...",Field.FIELD_HCENTER | LabelFiel

Get absolute path to assets folder in PhoneGap

Get absolute path to assets folder in PhoneGap

Is there a way to get the absolute path of an image in phonegap asset folder?I need the absolute path to attach the image in a mail using EmailComposer plugin.EmailComposer plugin wants an absolute path like this: /storage/sdcard0/DCIM/Came

Is WAP Dead?

Is WAP Dead?

7-8 years ago I developed some cool apps using WAP. The mobile phone apps were able to help several in a few local governments, school systems as well as apartment complexes manage their mobile-workforce and various duties they did. Back

mobile site redirect to desktop version using .htaccess

mobile site redirect to desktop version using .htaccess

I have a mobile site and it has just started a service for desktop users also. How do I use .htaccess to redirect users using the desktop to the desktop version of the site?I have tried simple PHP scripts to redirect to the home page of the

Is there a way to get the stack trace of an exception in form of a String in Blackberry?

Is there a way to get the stack trace of an exception in form of a String in Blackberry?

I want to log the stack trace of exceptions into a file. Is there a way that I can get the stack trace in form of a String, or somehow make ex.printStackTrace() print the trace into a stream or a file? I know that there is a way to do this

Conditional Java compilation

Conditional Java compilation

I'm a longtime C++ programmer, new to Java. I'm developing a Java Blackberry project in Eclipse. Question - is there a way to introduce different configuration sets within the project and then compile slightly different code based on those?

How to convert / cast long to String?

How to convert / cast long to String?

I just created sample BB app, which can allow to choose the date.DateField curDateFld = new DateField("Choose Date: ", System.currentTimeMillis(), DateField.DATE | DateField.FIELD_LEFT);After choosing the date, I need to convert that long

Use jQuery to detect whether a device can make telephone calls (supports “tel://” protocol)

Use jQuery to detect whether a device can make telephone calls (supports “tel://” protocol)

In my website, I have several links like so:218.111.2222I want to use jQuery (or other method) to determine whether the device supports making calls / using the tel:// protocol. Does such a method exist in the world?I want to use some metho

PHP - Check if the page run on Mobile or Desktop browser

PHP - Check if the page run on Mobile or Desktop browser

In my PHP page I should display two different text contents according to whether the page run under mobile or desktop browser. Is there a way to perform this control in PHP? 1:There is a very nice PHP library for detecting mobile clients