Android :: Display APIs - Buffer On Screen?
Nov 3, 2009
How can we display a buffer on screen?
Currently I create a bitmap using Bitmap's CreateBitmap() and render it on screen using canvas' drawBitmap().
Is there any other way of doing this in Java layer?
View 8 Replies
Jun 11, 2010
Currently I want to develop one Activity to allow the user to see the screens/activites of all running tasks , then the user can select one of them to switch it to foreground. As I known, HTC Sence seems already to have this implementation for Home screen, to display the thumbnail of all Home panels in one screen. Does anybody know how to access screen stack in Android?
View 1 Replies
View Related
Mar 31, 2009
I would like to produce an android user interface which allows the user to move added components/widgets around the screen by selecting them and then dragging them around.
Is this possible using the standard android apis?
View 3 Replies
View Related
Jul 29, 2010
Is it possible, from within my android java app, to capture an image of what is on the screen, even if it was written using native (ndk)? I do not wish to take screen shots of other apps, just my own. I can already capture and image of a canvas that I am aware of, but is there a view or canvas or something like it that always represents what is on the screen, so that a) I don't have to capture the separate views images and recompile them, and b) I can see what my native (jni) code is doing with the graphics too?
View 1 Replies
View Related
Apr 12, 2010
I'm working on an Android app in which I would like to use multi-touch. However, I do not want to completely leave out those still running a 1.x OS phone. How do you program the app so that you can use the 2.x multi-touch APIs (or any other higher level API for that matter) and still allow it to gracefully degrade on 1.x systems. If you create a project in Eclipse for 1.x can you even still access the 2.x APIs?
Basically I want it to show up in the marketplace and work on all 1.6 and higher phones and just allow access to the higher level functionality if available.
Also, if anyone can point me to any data on the number of 1.x devices vs. 2.x devices in use.
View 2 Replies
View Related
May 20, 2010
I have recently started working on an app which has both Java and native components. I am trying to generate trace information for both components using Debug.startMethodTracing("myapp") and Debug.startNativeTracing() alternately.
However, both are behaving unexpectedly.
When I use Debug.startMethodTracing("myapp"), I can see a file /sdcard/myapp.trace being created but it is always empty no matter how long I run my app. When I use Debug.startNativeTracing() and start the emulator with the -trace <tracename> switch, I see a message saying "Trace started", but when I try to run my app, the
emulator crashes.
View 1 Replies
View Related
May 18, 2010
It seems a little ahead of tomorrows Google event.But I'm already getting many complaints that my app fails completely under Android 2.2.So that scares me a lot!Anyone know when the API might be released? Tomorrow perhaps?
View 5 Replies
View Related
Jun 15, 2009
I want to upload my documents(in the mobile) to google docs, Can Google data APIS work in Android?
View 2 Replies
View Related
Aug 10, 2009
In the Web When we apply the Map Keys, we need sumbit the URL of our sites. In the Google APIs Add-on , we need the MD5 of our soft to get the Map keys. but here is a big question.
1. MD5 is easy to be changed.
2. First I got the MD5 of my app ,and then submit, but when I add the new keys, if the MD5 is changed, there will have the problems of the martch.
3. what should I do?
View 2 Replies
View Related
Oct 2, 2009
I'm building an app where I want to architect the app layer separately from the service layer (not android services). So I'll create a service interface(the apis) and then create a class(es) that implement that service interface. Inside the android application layer, I want to code to just that service interface. I think this is similar to how the google maps apis works. the api interface and stubs are in the framework, then each device actually provides the implementation. I don't need to go that far, but I am wondering how I package this up. One, where would I put these interfaces, so I can code to them in the app layer (like Activities). Second, how do I tell Android where the implementing classes are? I'm guessing this is somewhere in the manifest? For now I think I would probably just build the service implementation with the application source code, if that's easier. Eventually I'd like to break that out and drop it in as a 3rd-party jar.
View 4 Replies
View Related
Apr 25, 2009
I could see there are many APIs available in Android. If I have to create some device driver do I need to use Java(Android) for that also. Or that will be in C?
View 2 Replies
View Related
Jul 8, 2010
I work with Eclipse and implement some applications using the Android Emulator.
I'd like to know: Is it possible to extend Android APIs with other .jar file?
If it's possible, how can I extend the APIs?
I just have to add libraries to the project or do I copy it to the $ANDROID_HOME/platforms/android-8/tools/lib
View 1 Replies
View Related
Oct 20, 2010
In my android app, I need to design a Welcome Screen which will be shown to the user only once after the app is installed and opened. The app in question is a database driven app and I would love to include some 3 - 4 screens to help the user create re-usable resources for use within the app and a few tips. They would be Dialog Alerts with the last welcome screen showing the "Do Not Show Again" checkbox. how to show the welcome screen just once.
View 3 Replies
View Related
Oct 23, 2009
I have a requirement to turn the screen display on and off from a Android Service. I should have a function SwitchScreenDisplay (ON/OFF), to ON or OFF the display. I searched through the SDK and found a few APIs and settings. One method I found is
boolean err = android.provider.Settings.Secure.putInt(myThis.getContentResolver(), Settings.System.SCREEN_OFF_TIMEOUT, 1);
But it gave the following security permission exception
[03-14 21:24:41.575: ERROR/DatabaseUtils(1066): java.lang.SecurityException: Permission denial: writing to secure settings requires android.permission.WRITE_SECURE_SETTINGS] even though I had added the following statement in
AndroidMenifestFile.xml <uses-permission android:name = "android.permission.WRITE_SECURE_SETTINGS"></uses-permission>
So my question is: Was the above method is the right way to SWITCH OFF the screen - How does the Long End Key press, switches/powers off the display? Which API it calls? - How to Switch on? Is it using the PowerManager wakelock?
View 3 Replies
View Related
Apr 25, 2011
My project group for our senior project is developing an Android app. We are pretty much done at this point, but we have to present our app on Friday. We have done a practice presentation with a demo on the emulator, but we would like to present it on my phone.
I was wondering what is the best/easiest way to put my Android display on a PC so we can do our presentation on my phone the way it was meant to be shown.
So it would be my phone connected to a laptop, laptop connected to projector, and laptop displaying my phone's display on the projector.
This way we can also use our GPS location and use the app to take pictures which are both important parts of our presentation.
View 9 Replies
View Related
May 25, 2010
Kinda like in the format of a class-dump result but in Java, I already have the Android.jar file and I would like to dump a clean listing of classes and methods for each .class file. How do I do this?
View 1 Replies
View Related
Nov 24, 2010
Anyone know where I can find what Android APIs are supported in the latest Flex AIR SDK (Hero). In particular is the speech to Text API supported?
View 2 Replies
View Related
Feb 19, 2009
I am developing maps application which has to support driving directions and route search and creation. But there is no API support in Android for this.
So i want to use google map APIs instead of Android APIs, Are there any APIs available for driving directions in google. If yes, What are those APIs, How can i use those APIs with Http request/response.
I read some where that earlier googlenav package was there in Android SDK, but it is now removed. May I know the reason for removal of this package, or When can i expect it to come back with fixed version of googlenav in Android? Looking forward to your reply.
View 3 Replies
View Related
Oct 26, 2010
Or is it essentially the same SDK/APIs as standard Android development?
View 5 Replies
View Related
Nov 10, 2010
Wondering what the differences between REST and JSON APIs are, how you interface with them, and how to go about parsing the results. My goal is to build a small application for my android phone to tell me when the next train will get to the subway station by my house, using the developer API provided by the transit agency.
I'm learning C++ in university, but hope to go about this in Java. I'm sorry if this is more of a discussion question rather than a black and white answer question, but I can't find any information elsewhere.
View 2 Replies
View Related
Jul 13, 2012
I am working on Eclipse and am looking for method to down load Android API's offline and then plug it to Eclipse
is there a method for that ? because my internet Connection drive me crazy.
View 2 Replies
View Related
May 25, 2010
I am new to android. In my application if user selects the button in the alertDialog I need to open a new screen and I have to display some message on that screen. How to open a new screen?
View 2 Replies
View Related
Apr 20, 2010
The dialog("android.app.Dialog") normally pops up in the center of screen. Can we make the dialog to come in the bottom of screen.
View 5 Replies
View Related
Mar 25, 2009
I am trying to design a UI which utlizes two ListViews on the screen at the same time. Is this possible ?
So here is a quick example of how I was intending to do this.
1) Create an XML which positions 2 ListViews one onto of the other each ListView having there own ID
<ListView android:id="@android:id/list" android:layout_width="fill_parent" android:layout_height="198px"
View 5 Replies
View Related
Oct 5, 2010
I tried WebView.getSettings().setLayoutAlgorithm(LayoutAlgorithm.SINGLE_COLUMN); but view crashed in 1.6 OS. I calculate scale(webview.capturePicture()) but I cannot set it after page loaded. Is it any working solution for fitting webview content to display (1.6 OS)?
View 2 Replies
View Related
Sep 7, 2010
I want to display the image like first image but my images are displaying like second image
i want to display images like first image, like center in screen and equal spaces top and bottom look first image,but my images are displaying not center in screen and no spaces in top,what can i do for display image like first images.anybody knows,please give solution for that.
View 1 Replies
View Related
Oct 18, 2010
In most tutorials is how to display only one of them, I noticed to display an array, main class should use interface from ListActivity, but when i try display something else (like my edittext box) program crashes.
Somebody suggest me To display an array like that:
ArrayAdapter<String> myAdaptor = new ArrayAdapter<String>(this,R.layout.test,myStrings); myListView.setAdapter(myAdaptor);
but this is not doing anything.
Can anyone tell Me what is wrong in this lines or explain me how to solve my problem?
View 2 Replies
View Related
Nov 14, 2010
hello, i have a gles based game that takes quite some time to load because of the huge amount of textures.
now i want to display a loading-text or loading-bar as soon as possible as the application is starting up.
what is the fastest way to display a text like this? should i do it in gles as well or should i use an alert or view?
View 1 Replies
View Related
Apr 27, 2009
Can please anyone let me know how to display a raw RGB 565 byte array on the screen.
View 2 Replies
View Related
Oct 5, 2010
I am looking for an optimized solution to display image in different screen size. I have a image in server which I would like to display in different handled devices like iPhone, iPad ,Android based tablets or mobiles etc.
View 1 Replies
View Related