android

Identify GSM encryption algorithm

I would like to find out whether my android phone (ADP) is using A5/0, A5/1 or A5/2 at a specific time. How can I achieve this? ...

Android minSdkVersion=3 but app is not availabe for android 1.5 devices from Android Market?

In AndroidManifest.xml file I have set - <uses-sdk android:minSdkVersion="3" /> <supports-screens android:normalScreens="true" android:smallScreens="false" android:largeScreens="false" android:anyDensity="false"/> So that app should be available for android 1.5 and higher devices. But I am unable to find this app from Android Market f...

how to read file from the phone memory in android ?

Hello all. I need to read the file from the phone memory.How read file ?can anyone help me?? ...

Only loading video into VideoView without instantly playing

Hi there, I got a question is it possible in Android to load the video data into a VideoView without it instantly starting to play?? If so, how could I do that? Thank you. ...

Android Random.

Hi All, String rank[] = {"tclub1.png", "tclub2.png", "tclub3.png", "tclub4.png", "tclub5.png", "tclub6.png", "tclub7.png", "tclub8.png", "tclub9.png", "tclub10.png", "tclub11.png", "tclub12.png", "tclub13.png"}; Random randInt = new Random(); int b = randInt.nextInt((rank.length)); String d=("tclub"+b+".png...

Which programming languages can be used to develop in Android?

Possible Duplicate: Which programming languages can I use on Android Dalvik? Mostly, Android applications are written in Java. But i heard that its also possible to use Scala or some other languages. And I also read that it's possible to include native C/C++ code. Is there a refernce/list available that shows which languages ...

subclassing a View and overriding onDraw(Canvas)

subclass a View and then override the onDraw(Canvas) method import android.app.Activity; import android.os.Bundle; import android.view.View; import android.graphics.Canvas; public class POCII extends Activity { myView mv = new myView(this); /** Called when the activity is first created. */ @Override public void onCreate(Bundle save...

Fix view at the bottom of the screen in an Activity in android

I want to fix a view at the bottom of the screen.How can i do that? ...

How to get email notifications from email client?

Is there any programmatic way to get email notification in my application from the built in android email client? Do I have to write my own email client if I want to add custom features like auto-reply and stuffs like it or I can extend some notification framework from any existing application? ...

Android: Screen Rotation within Activity doesnt switch portrait/landscape layout

I build my Android Application and want do add layouts for different orientations now. I created a layout-land folder and put a different layout for my first Starter Activity "myStartActivity" (with the same name as the layout i used before for both orientations) in there. Depending on my Screen Orientation BEFORE i start the app the ri...

android.app.ActivityThread is missing in current sdk

Hi, i find some examples in the web which uses android.app.ActivityThread but I can't find it in my android sdk installation(2.1 and 2.2) neither on the android sdk webpage Was the ActivityThread removed from current sdk? If so, is there a alternative? Thanks Thomas ...

Touching both a MapView and a Button on Android

Hey there!! I created a MapActivity that contains a MapView and a Button on the top of the MapView. Like this: I would like that the user touch a point of the mapView with a finger and then touch the button "Add Place" with another finger (the MapView is still pushed by the first finger). The problem is when the first finger touch ...

tabhost change activity

hello, in my app i want to use TabActivity ,suppose it have two tabs(tab1 and tab2) one have activity1(or View1),the other have activity2(View2),then i want to use menu,when i press item "tab3" ,the content of tab1 chang activity3(or View3), when i press item(tab4)of menu,the content of tab2 chang activity4(or View4).how to achieve th...

Unable to get GPS coordinates on Android

Hi I am trying to obtain the GPS coordinates with the following code: public class conTest extends Activity implements LocationListener{ TextView headerText; BufferedReader in = null; private LocationManager lm; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.lay...

Can I perform database specific operation using android.preference package?

hi, I need a database in which I can store data and get data whenever I need. Is this possible with android.preference package. I do not want to use sqlite database regards ...

Android ViewFlipper showPrevious after 300ms

Hey. I just started with Android. I'm using the ViewFlipper layout with 2 LinearLayouts. First layout has a button that switches to the second layout. I would like to add a timer that would switch to the first layout after 3000ms. I tried with a Thread but it did not work (can not communicate with UI element of other thread). My code: ...

Android - A different Bitmap wallpaper for every home screen - OutOfMemory

I am trying to set a different wallpaper for every home screen, but I get OutOfMemory issues. I have 5 Bitmaps which I am trying to overlay on a wallpaper Bitmap which is 5 times the display width. Using the code below I get OOM. The problem seems to be the first line of code which creates the large wallpaper Bitmap. My question is wheth...

ssl class 1 certificate problem

my android give me an error about the certificate. is it a problem coz im using ssl class 1 from startssl? ...

Any guidelines for making android apps for Samsung TV

Are there any tutorials or guidelines available on the web for making android apps for the Samsung TV exclusively? Here's the link: http://www.samsung.com/us/samsungapps/?cid=ppc_hdt_goo_Apps_TV%20Apps_tv+apps Looking forward for feedback. Thank you ...

Maintaining product for Android + iPhone

This is a question to all of you out there who develop for both Android and iPhone. How do you maintain support for the two platforms? Specifically, do you maintain the two products totally separate from each other? create "native" GUIs in Java/ObjC and a "core" library in C/C++? write both versions in the same language (e.g. Java) an...