android

How to authenticate a mobile App without username and password?

I'm building a Webapp that uses OpenId to authenticate users, like Stackoverlfow does. There will be a mobile App too, e.g. Android or iPhone. These Apps have to authenticate or login somehow, to access data and update stuff that belongs to the user. Since there is no username and password one could provide to authenticate the mobile dev...

Shared preference

I developed one app in that i want to sen URI from Class1 editText to another class containing editText can anyone tell me how to do that ...

How to code sharing between Android and iOS

Hi everyone, I'm moving away from strict Android development and wanting to create iPhone applications. My understanding is that I can code the backend of iOS applications in C/C++ and also that I can use the NDK to include C/C++ code in Android apps. My question however is how? I've googled quite a bit and I can't find any clear and co...

How to manage objects ?

Hi all, I am new to Android development. I want to know how you all manage objects. For eg we make object as A a = new A(); and then manage that object. But, here, we call A.class; My concern is that i dont want to call onCreate(),nor do i want to push UI screen. I just want to make 1 static object for 1 screen;and want to manage it th...

measure length of edittext string dynamically in android

Hi, How can i measure length of string entered in the edittext while typing.Because i want to show a warning when the entered text length cross 100 character. Thanks in advance. ...

Android SMS Sending behavior

Hi I 've developed on SMS sending application for Android devices. A pop up opens up asking to choose sms applications (native app or mine ), whenever I try to send SMS to contact already present in Contact Book on my android device. But in case, if I try to resend a SMS already present in sms box in android device, no such pop up opens...

ClassNotFound launchig maps activity declared in Android library

I am getting this exception when trying to start an activity (TestLocationActivity) that is derived from MapActivity, and which is declared inside an Android library project: 09-08 09:29:45.357: ERROR/AndroidRuntime(7502): java.lang.NoClassDefFoundError: msumo.business.testlocation.impl.view.TestLocationActivity 09-08 09:29:45.357: ERRO...

How to use an image in a ListView from a database in Android?

I have a ListView: ... <ListView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@id/android:list" android:layout_width="fill_parent" android:layout_height="wrap_content" android:drawSelectorOnTop="false" android:scrollingCache="true" android:fastScrollEnabled="true" android:choiceMode="singleChoic...

Need a detail info about how to learn and start developing Mobile Application

hey guys, till now i have developed web applications but know i'm thinking to get hands on Mobile Application. So how to i start it n from where coz i have no idea about Android,iPhone,Symbian etc.. nor i dn't have a big Phone to know how applications runs on it.. mainly i want to focus on Android Applications, is there any simulator for...

starting android application

hi, I want my application to be started whenever the phone is turned on or restarted. can anyone give me some suggestions regarding this please. thanks kaisar ...

recv failed server is gone in android

In have developed application of streaming. Code loks like: mediaPlayer = new MediaPlayer(); mediaPlayer.setWakeMode(this, PowerManager.PARTIAL_WAKE_LOCK); mediaPlayer.setOnErrorListener(this); mediaPlayer.setOnBufferingUpdateListener(this); new Thread(new Runnable() { public void run() { ...

Android webview

Hi all, I want to open Url when I entered in Edit TExt and when Button is pressed i should get the browser in my app else directly I sg=hould get browser with WebView can anyone clear my problem below is my code package com.zsl.Bimobile3; import android.app.Activity; import android.content.Context; import android.content.Intent; import...

Need sample code to implement scanning barcode in Android

Hi, Kindly provide the sample code for scanning Bar code for Android application. Warm Regards, Chiranjib ...

beginner prob with tutorial 'Hello World'

I am just starting with Android development using Eclipse and am working through the following tutorial :- http://developer.android.com/resources/tutorials/hello-world.html At the point in the tutorial where I open the strings.xml file I get an error message 'java.lang.NullPointerException' I have checked and double checked the xml code ...

call activity when notification click event

i want to call the activity when user pull down the notification and click on that notification...how can i do that? ...

Android How to back to sleep mode after staying awake(WAKE LOCK)

I 'm using Wake Lock to stay awake my phone. I want to activate sleep mode when I will push the button "Activate" How can I activate sleep mode? ...

Android StartActivityForResult for reusable code - any other ways of doing this? (regarding Twitter)

Currently I'm trying to implement a reusable Twitter status 'poster'. The Twitter status part of it is working, but the reusable bit isn't. Here's what I'm doing: An activity called SummaryDisplay imports a class TweetStatus and calls a function sendStatus. It also implements a listener which is called when TweetStatus can confirm th...

access Application class from class other then Activity

Hi guys, I'm new to Java and android development. In my application I need data which is accessible for a few activities. I've read that a good solution is to use Application class for this. So I use it like this: public class MyApplication extends Application { private String str; public String getStr(){ return str; } pub...

Android Intercepting Events From Other Apps

Hi all! Does anyone knows how to intercept events from other 3rd party Apps, say, games, Maps, etc. This includes events like motionevents, screen prompts, etc. We have limited success with capturing touch events via the AccessibilityService, click, longclick, etc. But hitting a blank dealing with motionevents such as gestures or how t...

Minimum Android version for Monodroid applications?

Hi, I'm looking into using Monodroid for Android app development. I'd like to know what minimum version of Android is required for runnning Monodroid applications. Thanks, Adrian ...