Hi All,
I have decided to create my own Java's Robot class in android to take screen capture..i have written the source code of the robot class by my own but the problem is here, the following line in the code is throwing compilation error..saying "The method createRobot(Robot, GraphicsDevice) in the type ComponentFactory is not applicable for the arguments (Robot, GraphicsDevice)"
peer = ((ComponentFactory)toolkit).createRobot(this, screen);
Can anyone suggest me what would be the solution....
thanks..
Hello,
I need in full screen window functional in my gtk+ application. I try to use gtk_window_fullscreen(GtkWindow* Window):
I have function:
static void
full_screen(MainWin *mw)
{
gtk_window_fullscreen((GtkWindow*)mw);
}
When i try to call this function i see error:
Gtk-CRITICAL **: gtk_window_fullscreen: assertion `GTK_IS_WINDOW (window)' failed
What's wrong?
Thank you
Basic example, if I bought a chipset with a light socket and bulb soldered to the chipset; then put a USB cable with the mini-USB plug on the end to get plugged into the android phone. Can I write a Java application to turn on/off the light, get the status of the light(on/off) and maybe power a super-small led/bulb with power from the phone itself?
Any insight at all would be greatly appreciated. Thank you
If you have a handle to a Spinner object in an Android activity, can you programmatically pop open the spinner options - thereby forcing the user to choose an option even though they did not click on the spinner themselves?
Hi, I need to know the signal strength of a Bluetooth connection to a remote device that I make with my Android 2.1 phone. From the SDK, I can see that I can determine the RSSI at the time I discover the remote device. But I can't see how to update that RSSI value over time.
Can someone give me a hand? Thanks!!
Besides making an HTML5 app (which may very well be the answer to this question), are there any other languages I can develop in for android besides Java?
There are tons of pay and free bluetooth toggles on the market that work with Android 1.5 (SDK level 3). The problem is there is no visible API for this!
Does anyone have any working code snippits on how to enable and disable bluetooth that works on Android 1.5? I assume you must have to use some kind of reflection for it. There are some examples over on anddev.org, but they only work with Android 1.1 or lower.
This is for Android 1.5 (SDK level 3) and not Android 2.0 or greater. In Android 2.0 or later Google added easy to use APIs.
Hi,
im having following application flow in my android app,
Login-Home-screen1-screen2-screen3-screen4- logout
In the screen4 i've a log out button,which allow user to logout from the application and re login.when i re-logn to the app previous data still be shown,is there way to start the application in fresh when user log out from the app
NOTE: all the above activities launch mode set to "single task",
regards,
Sam.
I note the release a few days ago of the static library bringing fragments to Android versions prior to 3.0, but does this library include the ActionBar? I suspect not.
I assume that for an app that will work on pre-3.0 versions, that it needs a hand-built ActionBar implementation for versions up to 2.3 and then to use the OS default ActionBar in v3.0?
for some reason I assumed the library had ActionBar in it, but as I dig further I'm not finding any evidence of its presence.
Hi,
Is it possible to change the default shape (i.e rectangular) of the button (normal button as well as imagebutton) to something else maybe like star or a triangle in Android? Any tutorials or sample code would be much appreciated.
Hi,
In the Android application I am building, I want to be able to communicate with a local server developed in Django. (Basically a login page and a home page populated with posts and images from users) So do I need to use XML Parsers for the parsing the response from a Django server or is it possible for the server to respond with strings which can be directly used? Also what about images?
Regards,
Primal
Hi,
I am writing an application to listen the SMS inbox in android with one activity and one BroadcastReceiver.Once the SMS comes the Receiver is showing alert message.But i want to send the message information from Receiver to Activity.I don't know how to achieve this.Anybody knows it please help me.
In reference to my previous question regarding making the .EXE file for demonstration
http://stackoverflow.com/questions/2862067/how-to-make-exe-for-demonstration-of-a-android-software-built-in-eclipse
Can anyone explain creating batch file to launch the emulator?
I want to lock files that is on the sdcard of android.
I need to lock them so no one accept my software can delete copy move or send them over bluetooth or any other way.
How can I do it?
So basically the code "almost" works - the problem is that the system does not appear to know that the system wallpaper have been changed or does not do anything about it. Starting and closing another app manually appears to enforce an update.
In an event call the following is done:
getApplicationContext().setWallpaper(pWallOne);
Is there some way of telling the android system to update the graphics or to do some cheap trick that forces it to? Any help or tip would be very much appreciated!!
I am trying to create PHP script to get app version from Android APK file.
Extracting xml file from APK (zip) file and then parsing XML is one way, but i guess it should be simpler. Something like PHP Manual, example #3.
Any ideas how to create script?
How to suppress Spinner double clickable problem of Android.
Try launch any application that having Spinner.
Then double tap it.
It will show context menu twice.
I want to implement PDF viewer in my android application. My application has option of reading some document and i want to open those doc in PDF by default. My application .apk is ready and I have PDF viewer apk with me . What I want is to merge these 2 apk into a single project ? Can anyone help me.This will be really helpful.
Thanks in advance.
Regarda,
Praween
I was wondering is it possible to get a notification of when a new configured network is added to the WifiManager in Android?
I know you can get the current list of configured networks
getConfiguredNetworks
But is it possible to get notification of when a new one is added?
I dont see anything in the WifiManager that would be helpful.
Has anyone any other ideas? Or insight into how this could be achieved?
I uploaded an app built with 1.5 SDK into market, but someone told me they can not find it in the market in their phone. I do not know why, because I have test it in 2.1 emulator.
Then how to know if my app is available in android market with all versions, is there any url to test that?
i want to develop an application on android phone regarding voice recorder.i have to record a sound for about 30 seconds and then stop and save the recorded sound in gallery.can anyone post the code if you have please?