Hi
I 'm developing a video streaming android application on HTC Tattoo. I 've Lighttpd server at my server side which i use to stream videos to a web site.
On Android , Do I need to enable any module in Lighttpd server?
Thanks
Hi I am Trying to use trace viewer
by
Debug.startMethodTracing("sampletrace");
Debug.stopMethodTracing();
And I pull the sampletrace to a folder from sdcard.
When I try view the tracefile using the following command.
D:\Android\android-sdk-windows\toolstraceview D:\trace\sampletrace.trace
it is showing the following line
Key section does not have an *end marker
Can anybody please explain what is this?
Hi...
I have a problem while using the following import functions..Can any1 help me how to solve it
import android.net.http.RequestQueue;
import org.apache.commons.codec.binary.Base64;
My intent is to send a tweet using Android..
I'm trying to use the gdata java client library on android and have managed a decent hack to get it working. However because the jar for gdata had some package discrepancies with android I had to import the source into my project. This source is dependent on the JavaMail API and the JavaBeans Activation Framework as specified here.
My issue is that the JavaMail jar throws a class definition not found when seeking a class which is in the Activation Framework jar. A stack trace is listed below. I am working in Eclipse and have both jars in a lib folder and added to my build path. I'm not very experienced dealing with jars in a situation like this so any help or insight would be appreciated.
03-29 09:55:26.204: ERROR/AndroidRuntime(331): Uncaught handler: thread AsyncTask #3 exiting due to uncaught exception
03-29 09:55:26.215: ERROR/AndroidRuntime(331): java.lang.RuntimeException: An error occured while executing doInBackground()
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at android.os.AsyncTask$3.done(AsyncTask.java:200)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at java.lang.Thread.run(Thread.java:1096)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): Caused by: java.lang.NoClassDefFoundError: javax.activation.DataHandler
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at javax.mail.internet.MimeBodyPart.setContent(MimeBodyPart.java:684)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at com.google.gdata.data.media.MediaBodyPart.<init>(MediaBodyPart.java:95)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at com.google.gdata.data.media.MediaMultipart.<init>(MediaMultipart.java:126)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at com.google.gdata.client.media.MediaService.insert(MediaService.java:382)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at android.os.AsyncTask$2.call(AsyncTask.java:185)
03-29 09:55:26.215: ERROR/AndroidRuntime(331): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
Hi all.I am new to android. I can able to add the data to google calendar via my java application.But the same code is not working in the android.It gives the Exception message
Error connecting with login URI
how to solve this???
Hi,
In android, are using static variables a recommended practice?
E.g, implementing a Singleton pattern in Java, I usually do:
private static A the_instance;
public static A getInstance() {
if (the_instance == null) {
the_instance = new A();
}
return the_instance;
}
Also, when does this get cleaned up by the Android JVM?
Thank you.
Hi, i notice in the Android Default Voice Recorder that can sense how loud is your voice and show it to you in UI parameter .
Can i use this from the intent or how can i program a code that sense the loudness of the voice in Android.
Hello,
I know how to capture video on android device, but i would like to capture video and add some other information on it e.g. some funny timeclock and save it all to file so the person watching the video will see the exact time of capturing. I would also like to add some watermark.
Do you know how can i do it or is it possible on android device? I read the API but couldnt find anything that could help me.
Hi,
I plan to work with android. Please point me some good books and blogs/discussion/tutorials/ forums for getting vast and in depth knowledge quickly about this android technology.
I'm developing an Android game, it has 20k downloads so far.
But I'm not in US region, so I can't just SELL it via Android Market, so it's free.
So, I'm looking for a best legal way to earn some money from my game.
PS: Game already has AdMob ads, and I'm looking for something better.
Hi,
As you all might be knowing that Paypal has launched an in-App purchase model for Anroid. I will like to know whether this is legally allowed in Android market or not.
I know this may not be the best place to ask this but being developers if anyone has developed an application which uses Paypal In-App and is on Android Market then it would be a great help.
Regards
Sunil
In Android developers I've seen that testPreconditions() method is supposed to be launch before all tests. But in my app test, it's acting like a normal test. It does not run before all tests. Is there something wrong ?
Here is the description about testPreconditions() from android developer :
"A preconditions test checks the initial application conditions prior to executing other tests. It's similar to setUp(), but with less overhead, since it only runs once."
Hi android developers!
I'm clearly a newb, and I was wondering if anyone knows how I can detect a "ring" event on my cellphone through the android sdk? Generally I want to do something with the phone when it begins ringing! Any thoughts?
If you want to simply point me to a page in the api documents that would be a good answer for me, I just don't know how to start my research!
I have downloaded the Android source code on my computer using the repo sync command. Since I have no experience with git and repo , I would like to know if it is possible to copy the mydroid directory (which contains Android source code) to an other computer by just burning it on a DVD and then processing the build without problems.
Thanks in advance and sorry if my question is stupid
I've been playing around with the iOS 7 SpriteKit APIs and I totally love them.
As I'm pretty much a n00b on Android, I'm wondering what the best Alternative would be if I wanted to go cross platform?
I find Cocos2D learning curve pretty steep, where with SpriteKit it's a matter of minutes to get something on the screen.
Then there's MonoGame and Cocos 2D for MonoGame - haven't tried either one I must admit.
How do you convert an existing project into an Android project in Eclipse?
In particular, I want to convert a plain old Java project into an Android Library project.
Thanks.
I want to call android application on clicking of button on some website from mobile.
Suppose I am opening one url on android browser and I want to call my application on clicking on button provided by that site. How to do that??
This might sound stupid but whenever I run my app in Eclipse I get this annoying pop up asking me how to run it: Android app, JUnit, Eclipse app, etc'
I'm always running this project as an Android app, is there any way to tell Eclipse to stop asking me this.
I'm using Eclipse 3.5 on Snow Leopard.
Thanks
** EDIT
Screen shot of the pop up I'm getting
Is it possible to download a folder and its contents using air for android? I would like to also use the same code on iPhone.
I need it to be stored in the application storage so we can reference the content once downloaded.
I know it's possible to download content as referenced in this question: Download Content using Air For Android
but can a person download the entire folder and again store it in the application directory?
Thanks
@lukevain? :)
Does anyone know a good step by step tutorial for using sqlite on Android?
I've found this: http://developer.android.com/guide/topics/data/data-storage.html#db and it ok to start with, but then it wants me to jump into other source code then its difficult to follow.
I've tried others on the web, one from screaming penguin and that just kept causing errors with JVM.
Advice greatly appreciated.
I need to:
Create database, with several tables (auto id, declare type)
update
get
I have seen the below log message when navigating to the Account & sync settings screen but I am confused as to how to create an Intent to navigate there.
INFO/ActivityManager(53): Starting activity: Intent { cmp=com.android.providers.subscribedfeeds/com.android.settings.ManageAccountsSettings }
I dont seem to have access to the ManageAccountsSettings for development.
I just wanted to create an Intent such as below, but I cant call out ManageAccountsSettings
Intent i =new Intent(this,ManageAccountsSettings.class);
//Then start the activity
startActivity(intent);
Hello Developers
Thanks to every on to support android development forum.
I want to make a application where when I click a button in my application then open android
built-in Calculator application.
That means I want to call calculator apk file from my application.
Is it possible?
Advanced thanks to reply