you can use this timer given in devloper guide
new CountDownTimer(3, 1000) {
public void onTick(long millisUntilFinished) {
TextView txttimer=(TextView)
findViewById(R.id.timeremaining);
txttimer.setTex
try this
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK) {
super.onKeyDown(keyCode, event)
do something
return true;
}
return false;
}
On Jan 11, 5:14 pm, vani reddy wrote:
> Thanks.
> I tried this , the problem is
hi
you can use setinitialscale attribut asnd pas value 200 or 300 in it
On Jan 10, 7:37 pm, freefly wrote:
> Hi all,
> I am developing an application where I need to zoom the text on
> the WebView, as much as a single word on the whole screen, is this
> possible ? I have tried with the WebVie
use the following url Environment.getExternalStorageDirectory()+"/
stocks.html"
you can also check if the following file exsists
File f=new File(ur);
System.out.println("file exsists"+f.exsists());//this line will print
true if file exsists otherwise false
On Dec 11, 12:12 pm, Stephan Wiesner
wr
you can do setid(any no) this will be your id
it is used to dynamically assign id to a view or a viewgroup
On Dec 11, 3:44 pm, Duygu Kahraman wrote:
> Selam Ali;
>
> Asıl sormak istediğim şu;mesela TextView tv=new TextView(this); diye bir
> view yarattım.Eğer xmlde yaratmış olsaydım id sini de o
Hi
try to get the file from assets manager
AssetManager asm =getAssets();
asm.open(name of the file)
Thanks Harsh
On Sep 13, 6:33 am, Mark Murphy wrote:
> Just for grins, try all lowercase (shopping) instead of mixed case (Shopping).
>
>
>
>
>
>
>
>
>
> On Mon, Sep 12, 2011 at 11:55 AM, darrinp
if you are setting a bitmap in a image view
you can use getlocationonscreen method
or getLocationInWindow
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscrib
I want to integrate Google reader in my application,
Is there any api available?
Or please suggest me a suitable way to do that.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@google
how are you using your pop up as alert dialog or just dialog
try using dialog may be this coulod help
On Jun 15, 10:48 pm, Shri wrote:
> If a ListPopupWindow is being displayed, I can tap on buttons outside
> it, and the buttons receive the touch event. However, while displaying
> a PopupWindow,
go to ddms select device on top you have options for getting the
screen capture for device
click on capture then save it wherever you want
On Jun 7, 7:56 pm, Bharathi raja
wrote:
> Hi,
> thanks for ur sample code.
> As i said, they are some application screens made up of graphics component.
> F
use gettext size to get the size of the textview
this will return size in float
if you know the current size you can settextsize
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@goog
yes what you can do is first run eclipse
go to help -->install new software --> click on add at the top right
corner
a pop will come click on the archieve and browse to the location
where
your zipped adt is located -->wait for the process to finish and then
click on the next
-->next until you ar
try testing it on the actual phone
the canvas pixel size is less than actual screen
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, sen
try dowblaoding the adt again
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups
put this line of code to open deafult phone nos
Intent intent = new Intent(android.content.Intent.ACTION_SEND);
to open phone book
On Jun 4, 9:26 pm, amnart asayavachira wrote:
> To Android Developer
>
> Hello.
>
> I am new android developer and a litte english . I has one project
> that have two
create the buttons dynamically i.e. at run time
and use shared prefrence to store there state
in the on create /on resume method get the variables stored in the
shared preference
to get the current state while loading
you can also do is check the state in any mehtod and then call that
method in
if you dont want to display your activty on the screen
dont make it as an activity make it a different class
write the code in this and call it wherever you want this class
if you dont want the object of this class creaated every time
make it static
On Jun 6, 11:22 pm, Marcin Orlowski wrote:
> O
in manifest file put intent filter as callback and browseable
On May 29, 1:02 pm, Dianne Hackborn wrote:
> This will also cause the browser to add new windows/tabs to the single task
> it maintains. Please don't do this kind of thing. :}
>
>
>
> On Sun, May 29, 2011 at 12:01 AM, Doug wrote:
>
You can use a base class for all activty and use the timer code
within that class
if your program is long you wont have to artie the code in every class
On May 15, 12:51 am, TreKing wrote:
> On Fri, May 13, 2011 at 2:58 PM, laurent bouis wrote:
> > I did some research and the only suggestion I
use custom view to draw the circle and then place it in the activity
On May 15, 2:42 am, Droid wrote:
> I have an image that needs a red circe at x,y coords. Its in an image
> view. I can get x,y coords but no idea at all about how to place a red
> circle?
--
You received this message because
please check if you added permissions in the manifest file
and your internet is connected at the time you run the app
On May 9, 8:34 pm, Innocent wrote:
> Hi guys I'm working on a project and my GPS on the emulator am using
> doesn't seem to function!! WHEN I try to run a simple program to show
>
override the back button
and pass intent to the class you want to go to.
and save the state of the current activity
On May 10, 1:54 pm, Ali Chousein wrote:
> I agree with Muhammad. Save your instance state and restore it when
> necessary, instead of trying to do something against the framework.
>
you want to dispaly this menu bar at the bottom of the screen right
you have many ways to do this you can create and paste it like an
image on the bottom of the screen
or you can put tabhost .
or next way is little complex but it is the way i do it
public class BottomMenu extends LinearLayout
when you scroll with the help of fling
compare the speed with which you want to scroll
like if velocity >(some value dont scroll
if velocity is< some value scroll
On May 9, 9:03 pm, Omar Adobati wrote:
> Hi Everyone,
>
> I would like to knoe if I can limit the speed of the fling gestures in my
>
no need to add it in manifest
simply create an mediaplayer
this will be the command:
int i=getResources().getIdentifier(s,"raw",getPackageName());
if(i!=0){
MediaPlayer player = new
MediaPlayer().create(getBaseContext(),i);;
player.se
create a folder in one of the drives which has file name keystore
please use this location while giving set command you find on net to
generate md5
On May 3, 12:23 am, Goutom wrote:
> Hello TreKing,
> u dont need to read the documentation.
> Regards,
> GoutomOn Wed, Apr 20, 2011 a
can you put the code
On May 3, 5:58 am, Albert Rosa wrote:
> So this is my first time working with android and the sqlite db. I followed
> the instructions and was able to have a db connection where i was able to
> create and edit records. However i changed the schema of the db just to make
> it
pci encryption
On Apr 27, 3:23 pm, Hitendrasinh Gohil
wrote:
> hi,
>
> can anyone tell me which the fast encryption scheme in android that i
> can use?
>
> regards,
> hitendrasinh gohil
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To p
generate the tokens in your app whatever you want to send
and then send it to server
the server side coding i dont know
but for client side coding i can tell you if you have any queries i
have already done this for 2 apps
On Apr 27, 10:01 pm, TreKing wrote:
> On Tue, Apr 26, 2011 at 3:43 AM, yo
the procedure is as follows
1. get a md5 fingerprint
the command is keytool.exe -list -alias androiddebugkey -keystore D:
\Androidkeystore\debug.keystore -storepass android -keypass android
but make sure the D: drive coantains the androidkeystore file (located
in the .android folder )
2.type the md
you have to move to java
On Apr 13, 10:55 am, Atul Prakash wrote:
> Dear Friends,
>
> I need to convert our existing iPhone 3-D action game code to run on
> Android. Recently, I have developed 2-D game on Android platform and
> now I am moving towards 3-D. These days I am exploring the options t
write the setitemchecked method withinin oncreate method.
On Apr 13, 9:56 am, Akshay Goel wrote:
> But I am manipulating the data by calling setItemChecked(). When I
> said updating the UI, I meant updating data that results in refreshing/
> changing the UI.
>
> Thanks,
> Akshay
>
> On Apr 12, 10
ActivityManager am = (ActivityManager)
getSystemService(Service.ACTIVITY_SERVICE);
List processes;
processes = am.getRunningAppProcesses();
for(ActivityManager.RunningAppProcessInfo info: processes) {
Log.i("Process:", info.processName);
}
On Apr 11, 9:35 am, Julius Spencer wrote:
> Hi,
>
>
hi
you can use the saxparser or dom parser you can find example
on android developer.
to put the whole data in your application and then use it.
On Apr 6, 8:52 pm, Neutron_boy wrote:
> I am fairly new to Android, but have some experience reading and
> understanding code, including Java.
> My que
there is set background property in tabwigdet
On Apr 4, 11:13 am, AlexBonel wrote:
> Didn't find any discussion of this problem in the group. How can I get
> rid of the white line under tab widgets in TabActivity? And if anybody
> knows I would be verry gratefull if you would also tell me how to
String s=(Edittext) findviewbyid(R.id.edittext01).getstring.tosring();
On Apr 4, 12:36 pm, rishabh agrawal wrote:
> How to get data from EditText & how to stored in Buffer i.e Integer..
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To p
use string to store in database
On Apr 4, 2:59 pm, thavorac chun wrote:
> Hi everyone,
> I'm working with sqlite right now and at this this moment i found a
> problem related to reading data from sqlite that i can not solve it.
> For example i have a french word " Hôtel " that have been insearte
use overlays in map
in overlays you can use drawable images
On Apr 4, 1:28 pm, hEngi wrote:
> Hi,
> I'm new in android.
> I'd like to use a picture as a map. The easiest way is WebView. There
> is zoom and i can pull the image etc. But i have a problem. I cannot
> use my picture from res/drawabl
put the view in a xml file
..
.
...
On Mar 25, 6:11 am, Byung-Ju wrote:
> Hi
>
> Thanks for reading this.
>
> 1. Big Canvas (1000x1000) and display(screen) 320x480
>
> 2. drawBitmap(bitmap1, 100, 100, null);
> 3. drawBitmap(bitmap2, 500, 500, null);
> ... and do something bi
store them in drawable folder within res and and call the imageview
object.setbackgroundresource(r.drawable.name of the image)
On Mar 27, 9:05 pm, "Igor Nesralla Ribeiro"
wrote:
> Hi,
>
> I have this scenario :
>
> I have 50 images files of restaurants , that
> restaurants(name,city,address,imag
take a boolean variable and wirtie two if condition
on each condition set condtions
On Mar 27, 8:55 pm, Gabriel wrote:
> How I create a button with two functions?
> For example, when I click it once it starts a sound, and if I click it
> again it stops the sounds.
>
> Or a Mute button, that when
database if security is invloved
if on xml on internet
On Mar 22, 2:46 pm, -Ernest wrote:
> Hello guys,
> Thanks for making android a wonderful platform.
> Me and my mate are writing a project and its an android app.
> Yesterday i finish my third book about programing for
> the android platform "
you want to create your own media player
or use the media player supported by android
On Mar 23, 7:55 am, cibin wrote:
> I am beginner in Android; I know only the basics...Please help me to
> create a Media Player in Android
--
You received this message because you are subscribed to the Google
Declare a method to add button in a function and add setonclicklistner
method on the button
in the onclicklstner method do whatever you want to do with the button
On Mar 15, 5:04 pm, DanH wrote:
> PS: You can probably skip chapters 13 and 15.
>
> On Mar 15, 4:53 am, "Ponraj \"Android Developer\"
just open it in web view
webview.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,
LayoutParams.FILL_PARENT));
webview.setBackgroundColor(0);
webview.setInitialScale(110);
form.addView(webview);
try ontouch method
get x and y coordinate of the area clicked
and do as you want on the clicked event
On Mar 21, 4:39 pm, Rich E wrote:
> Hi,
>
> I'm trying to figure out how to capture keyboard input from a View, without
> subclassing EditText or something similar (the reason is that I have a
yes all things you specified could be done
write overwrite back button code for 1
2 not clear
3 ok write overwrite onstop ,onpause,on resume
On Mar 22, 7:59 am, DulcetTone wrote:
> My app responds to speech commands.
>
> I want the behavior to be that
>
> 1. if back is hit on my initial activity
yes it could be done
On Mar 21, 6:20 am, shubhandroid wrote:
> Can an app with the following features be made:
> -Phone1 transfers video feed from the major camera to the screen of
> phone2 via bluetooth
> -when user clicks on a button on the screen of phone2, it should
> press
> a number of the
@Override
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK) {
//Intent intent = new Intent(this,name of the class where you
want to go to);
startActivity(intent);
return true;
}
set paint style
canvas.drawLine(100, 100, 200, 200, new Paint());
instead of new paint define pay style
On Mar 22, 11:27 am, "Vishwesh R." wrote:
> my code:-
>
> main.xml
>
>
>
> android:id="@+id/view1"
> android:layout_width="fill_parent"
> xmlns:android="http://schemas
if the ip address is different the connection will break
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-develop
read google references to undertstand existing applications
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-devel
hi i am trying to develop a code in which i try to add some buttons
and some textbox on canvas which contains bitmap image
but when i try to do so
i got code from google in which you can add linear layout with canvas
i modified it
and when i try to run it the linear layout which contain button
co
i am making a application in which i need to draw a circle in the
middle of the screen with with variable radius everytime
with this i have to put few text boxes and buttons on the view
to draw the circle i use canvas
and to add buttons and text boxes i put linear layout
but i am not able to do
54 matches
Mail list logo