Hi!!
I am new to android,
I try to make translate animation..
this is my xml code: (rail.xml)
<translate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXDelta="100%p"
android:toXDelta="0"
android:duration="4000" />
and this is my java code:
final Animation animShow = AnimationUtils.loadAnimation( this, R....
I am learning Android development, specifically to eventually do OpengL 2.0 ES on it.
So far I have read that the NDK supports Opengl 2.0 ES.
However, is there also a Java API for it?
If there is a Java API for it, which one is recommended? I know both C++ and Java, so it is not a big deal if I have to use the NDK, but I would ...
I'd like to launch a video capture Intent that calls me back with some kind of result. So far it correctly launches the G1's default Camcorder app, but when I finish recording the video in Camcorder, it just sits there (still in the Camcorder app) instead of calling my onActivityResult() method.
Is this just a shortcoming of Camcorder...
b = this.getIntent().getExtras();
s = this.getIntent().getStringExtra("DEFAULTTEXT");
public void onClick(View v)
{
String a = "http://152.226.152.156:1010/jsp-examples/test1";
URL url = null;
HttpURLConnection httpurlconnection = null;
try {
...
I'm trying to create a transparent (no button background) ImageButton that has a custom selector. I have the selector working against the button but I now want the selector drawables to cross-fade into each other.
I saw the TransitionDrawable object that can be represented in XML. Is there a way to connect this into my selector?
Below i...
Hi All,
I need to apply custom font in to MenuItem. Is it possible to apply custom font in to MenuItem?
I'm relay appreciate you any comment.
Chandana
...
Hi,
In my application, i'm creating dynamic tabs.Inside framelayout I've created a edittext.For
each tab i create content of tab will be edittext. When i type in editext of one tab and later if i create a new tab and when i switch between these tabs, it shows the content of editext as empty.
I hope anybody will understand my problem.
...
Hi all,
I have just downloaded the facebook SDK from http://github.com/facebook/facebook-android-sdk
I unpack it from git and opened Eclipse. I then created a new project using existing source and selected the facebook directory. So the sdk project came up correctly (i think). Then I created a new project again using existing source and...
I'm attempting to develop an application that scapes html of a site for relevant data and then display it back to the user in a more UI friendly way. I'm assuming that you can start a webView by
mWebView = (WebView) findViewById(R.id.webview);
but never setting the content to the actual view. So now my question is, can I take the html...
I have Tow Activities A and B. when i Switch between A to B i need animation for Activity B.When i pressesd back button in activity B the Activity B exit with Animation.
Please Answer to this question.
Hope your Qucik Response.
...
I've been trying to make a simple live wallpaper out of a boot animation. So basically i have about 50 .pngs in my drawable folder. I'm able to set the animation to about 10-20 frames and it works great. But once i set it to about 30 frames...I get an OutOfMemory Error. I was hoping maybe someone could take a look at my code and maybe gi...
I have two Activities A and B . When i swithc between activity A to B the Activity b comes with 3d transition animation.when i press a back button in Activity B the Activity B exits with Animation.
Please Answer.
Hope Your Quick Response.
...
My app uses a uncaught exception handler that sends the stack trace to me when the app crashes. Often I get this report from random users.
I cannot replicate it, the opening of the database always succeeds in my case. This is not a database stored on external SD card, only a database opened with SQLiteOpenHelper(context, "SomeName", nu...
hi all,
i implemented the xmpp client in android.its working fine.the next task i focused on group communication from android.please anybody help me in the java code which related to group communication from xmpp.
thnku in advance
regards
renuka
...
I'm looking at replacing the default Android text messing app with my own, but I don't exactly know how to send SMS and MMS text messages. I would like to at least get it so that I can send SMS first, since I would assume that sending MMS would be much more difficult.
So, what exactly should be done when sending messages of these types...
I am trying to create an app where, when you search for a particular animal, from a webservice, I get all the Animal names I have on my server along with their Image URLs. What I want to do is to sift through these Images like you can in case of an album art.
If I have to cache(i.e. ship) the images with my app, I will do that to improv...
Hi all,
I have a strange problem with StateListDrawable or maybe (probably) I'm missing something. I created a test application for it and the same problem occurs. So, this is my StateListDrawable resourse in file test_selection.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/androi...
How do you create an animated dashed or dotted border of an arbitrary shape in Android? In XML (preferred) or programmatically.
See picture below for an example.
...
Hi all,
I am developing portable library on java which will run on mobile device (android, blackberry) . I am looking for lightweight orm framework that i can use here here is list with orm frameworks i found in google http://java-source.net/open-source/persistence . I've used only hibernate and i' not familiar with most of them so any ...
Does camera width and height in Camera.Parameters change when we change orientation from portrait to landscape ?
...