I was trying to open a browser session on a blackberry mobile using j2me. I searched the net and I found this solution:
Browser.getDefaultSession().displayPage("http://www.google.com");
But I had a little problem. The Browser word causes a compiler error, so I think there is a library that needs to be imported.
Does anyone know where I can get that library?
A quick Google for blackberry browser getdefaultsession yields: net.rim.blackberry.api.browser.Browser
Related
I wanted to write an application on Google App Engine + Google Cloud Storage for some images processing. But I stumble upon the following exception:
java.awt.image.DirectColorModel is a restricted class.
For image processing, I wanted to try out Apache Commons Imaging. My guess is that any libraries for image processing will stumble on similar error, since probably most of them use java.awt.image.* package. Do you have any idea how to solve this problem?
So basically Google AppEngine does not support java.awt.image.* .
However, you can use the Google AppEngine Image API to work with images.
And you can check this link for more details on Image-API: https://developers.google.com/appengine/docs/java/images/
Btw, similar issue at java.awt.* is not supported by GAE? how to resolve this?
I'm working on a project and I want to implement qr-code scanner in it.
I tried to look for an in-app solution but i didn't find anything relevant so i decided to use a common bar-code scanner to launch an url.
When the user tries to open this link, I want Android to show him a chooser dialog where he can choose to open that link using my application.
I saw a lot of answer to a question like this, but i didn't find anyting about implementing this thing in a no-native android application.
The application is made in html5+javascript+php and all the answers i found spoke abount intent and so on...there is a way to implement the same feature using html5?
Thank you,
Christian
here is the perfect link -
http://devgirl.org/2013/09/17/how-to-write-a-phonegap-3-0-plugin-for-android/
Even I am new to cordova and found many difficulties while designing my 1st plugin.
and be careful cordova 3.0 and later version of cordova has huge difference with the earlier version.
best
I have used WURFL Java API (also using the web browser patch) to create a standalone application for device detection. When a user agent for mobile app is used , it returns generic web browser (or blank field if web browser patch is not used) for Android and application version as device_os_version for Apple iPhone app user agents. The algorithm used in the new api as described in new api algorithms should give correct results but its not!
Can anyone help me how to tackle this problem?
I've not used the JavaAPI myself, but I have had good luck so far getting support directly from the WURFL community forums. They have a subforum for API problems. I would suggest making a post there, including the user agent string that's giving you problems and a sampling of the source code you've attempted to use before.
http://www.scientiamobile.com/forum/index.php
Sorry I couldn't give you a direct answer.
I am getting following Authentication error while trying to login in Dropbox api. Heres the message:
Authentication error: Unable to respond to any of these challenges: {}
I am using Google API Level8 of Android platform 2.2.
Any help will be highly appreciated
Thanks.
Have you tried unistalling and re-installing your version of Android?
ive been looking through various peoples posts and this seems to be the remedy for quite a few Error message Problems. If this does not work try again on a different system with the same software versions etc. and see if the problem still arises. If so contact a direct email address for Android related problems? Im sure there are a few email adresses but choosing one is down to you :)
hope this helps :)
I have created Java Donload Manager in java
Now i want to integrate it with Mozila, Internet Explorer.
Can somebody suggest me how to integrate my above code with Mozila,Explorer.
Is there any Java API that supports the same.
I am sure there is such API...I googled a lot but unable to find...
Please help me....
You suggestions are welcomed....