Thank you
On Apr 10, 12:09 am, Mark Murphy wrote:
> yves wrote:
> > I've read a lot of tutorials explaining how to use the HTTP Client
> > from the previous Android SDK.
> > With SDK 1.1 r1 this API has totally changed.
>
> > Is there any tutorial for this new API?
>
> HttpClient is a product of
yves wrote:
> I've read a lot of tutorials explaining how to use the HTTP Client
> from the previous Android SDK.
> With SDK 1.1 r1 this API has totally changed.
>
> Is there any tutorial for this new API?
HttpClient is a product of the Apache Foundation. Documentation,
including examples, can b
haiii
i will send some code for go thro in that and make the one object of that
one in u r activity class and use this...
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.S
hi,
as per mark told you use the finish() method to end the activity. when
you finish() the activity the onDestroy() will get called.
I hope your don the onCreat() and OnDestroy() methods well.
On Apr 8, 8:39 am, Rohit Kundalkar wrote:
> @Override
> public void onDestroy() {
> su
Thank you for the informations! It seems to be good hints to start :)
On Apr 8, 9:27 pm, Mark Murphy wrote:
> binklee wrote:
> > Hi everybody,
>
> > I've an activity that extends ListActivity. I do a kind of check on
> > all elements of the list and if an element corresponds to my criteria,
> >
binklee wrote:
> Hi everybody,
>
> I've an activity that extends ListActivity. I do a kind of check on
> all elements of the list and if an element corresponds to my criteria,
> I would like to put the background of this element in green (by
> example) or to add any visual effect on this element.
@Override
public void onDestroy() {
super.onDestroy();
try{
}
catch(Exception ex){}
}
write this in onCreate() method in calculator activity.
Do all the finishing stuff in try{}
On Wed, Apr 8, 2009 at 5:31 AM, Meryl Silverburgh <
silverburgh.me...@gmail.c
Meryl Silverburgh wrote:
> Hi,
>
> how can I destroy an Activity in android?
> e.g. if i launch the 'Calculator' Activity, how to destroy it so that
> the onDestroy method will get called?
Call finish() from within the Activity.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://tw
Ok, thanks. I was thinking sublcassing TextView was somewhat heavy
handed for such a seemingly simple thing but barring any alternatives
it will do.
On Apr 2, 3:38 am, Romain Guy wrote:
> You can simply use the onSizeChanged() method when you subclass TextView.
>
>
>
>
>
> On Tue, Mar 31, 2009 a
You can simply use the onSizeChanged() method when you subclass TextView.
On Tue, Mar 31, 2009 at 1:38 PM, fosta...@gmail.com wrote:
>
> Hi,
>
> I have a TextView whereby the text size is scaled to fill as much
> space as possible (I'm basically doing this by repeatedly calling a
> Paint#getText
> Then, does Andriod has any roadmap to support Arabic languages, which
> is a LTR and need scrollbar on LEFT?
Unfortunately not at the moment :(
> In case I need to provide this support (i.e. scrollbar on left) in
> Cupcake, does Android framework allow any scope for this? Is it JAVA
> framewor
Thanks. I understnad that scrollbar on left side of UI is not possible
with current SDK (assuming CupCake version).
Then, does Andriod has any roadmap to support Arabic languages, which
is a LTR and need scrollbar on LEFT?
In case I need to provide this support (i.e. scrollbar on left) in
Cupcak
Nope :(
On Fri, Mar 27, 2009 at 1:56 AM, debashis wrote:
>
> Hi,
> I have a UI screen (Vertical orientation) in Android, that display a
> english text string. String size is large and I am getting a default
> scrollbar on the right side of my screen. Any way to move the
> scrollbar to the left s
On 26 Mrz., 14:43, flaubertg wrote:
> How do you bind java BigDecimal object to SQLiteStatement? It doesn't
> seem like BigDecimal is suppoted.
Hi!
Just write and read the object as string:
// Convert for writing
String writeString = myBigDecimal.toString();
// Convert after reading
BigDecima
Hi All,
I will tell you more simple way. To execute the test cases of sample
application provided by google please follow the following steps.
1. Open Eclipse and move to your desired workspace.
2. Create new Android Project and select Create Project from existing
source.
3. Browse to any sample
Behalf Of Romain Guy
Sent: Thursday, March 26, 2009 4:20 PM
To: android-beginners@googlegroups.com
Subject: [android-beginners] Re: How to draw a broken line in Android?
It's shown in the ApiDemos sample app that comes with the SDK.
On Thu, Mar 26, 2009 at 1:15 AM, Zhang Bo-E13782 wrote:
>
It's shown in the ApiDemos sample app that comes with the SDK.
On Thu, Mar 26, 2009 at 1:15 AM, Zhang Bo-E13782 wrote:
> Dear all,
> I met an issue that can we draw broken line in Android?
> After search on goole and investigate it by myself, I still could not found
> the function or any info,
>
Hihi,
you found about how to use if the user entered information in some
field and it doesn't validate
you show dailog.
But I want to correct method you have used.
you should method show().
V.Nhan.
protected Dialog onCreateDialog(int id) {
return new AlertDialog.Builder(RegisterEvent.this)
Hi,
try setting the apntype for the browser APN to "default" and the
apntype for the MMS APN to "mms", I have similar setup (two APN) on my
G1 from T-mobile.
Cheers
T.
On Mar 18, 8:37 am, FayGU wrote:
> I have a G1 phone and use it in mainland China.
> But I can't config it to work with browse
That did not work. Here is my tableRow layout. Maybe I am doing
something wrong.
On Mar 18, 4:03 pm, Glen Humphrey wrote:
> set the following properties for both the EditText and the TextView
> widgets.
>
> android:layout_weight="1"
> android:layout_width
set the following properties for both the EditText and the TextView
widgets.
android:layout_weight="1"
android:layout_width="fill_parent"
On Mar 18, 2:56 pm, frizzo wrote:
> I have a TableLayout with a couple of TableRows. Inside a table row,
> i have an EditText widget followed by
I do not see a related method for that attribute in the EditText
class. However, there are other similar things you could do such as
android:focus/setFocusable(boolean) or create another TextView whose
android:editable="false" and use setVisiblilty() to switch between the
editable and not editabl
> I have a TableLayout with a couple of TableRows. Inside a table row,
> i have an EditText widget followed by a TextView widget.
>
> How can I make sure that each widget in the row takes equal width?
android:layout_weight should work, as TableRow inherits from LinearLayout.
--
Mark Murphy (a
hi ralf, thanks for your answer. but also... your demo did not worked
for me.
You may try it yourself. thanks also for the links, will have a look.
here now for all fellows, two routines that work
- with regular tags.. if they have innertags or not
- and a routine that looks specialy for innertag
I'd suggest to take that opportunity to learn on regexp and try a/ to
understand what the one we gave you does and b/ how to modify it with
your new requirement.
Franky, regex are not that hard to come up with -- it is harder to
read an existing one than to write one :-)
I suggest the following
I will try it... looks good :) i love this regex stuff, but still have
no clue about.. haha
but if it works.. respect..
can you also do something like sm1 (serge) that includes also
attributes like:
So i guess we need something like.
takeit (OrgString, Tagstring, AltTag)
like: takeit (myString,
I appreciate your words about consistency and I will consider that.
Meanwhile, how do I achieve android:editable="false" in code?
I didn't see .setEditable on the EditText widget.
Thanks.
On Mar 15, 11:26 pm, Romain Guy wrote:
> You could use android:editable="false" but I would really advise
You could use android:editable="false" but I would really advise you
to use setEnabled(false) as it provides a visual clue to the user that
the control cannot be edited. The same visual cue is used by all
disabled widgets and consistency is good :)
On Sun, Mar 15, 2009 at 11:23 PM, frizzo wrote:
Thank you. However, setEnabled(false) disables the entire control
(e.g. grays it out, etc..). I don't really want that. I simply want
the user to be unable to change a value in the EditText widget.
Btw, the reason, I don't just use a TextView widget is that readonly
is only needed when certain
setEnabled(false). You may want a simple TextView inside too.
On Sun, Mar 15, 2009 at 11:13 PM, frizzo wrote:
>
> I can't seem to find a method that does that. Is there a way to do
> it?
>
> Thanks.
> >
>
--
Romain Guy
Android framework engineer
romain...@android.com
Note: please don't sen
Or the equivalent:
public String takeit(String input, String tag) {
Pattern p = Pattern.compile(".*?<(" + tag + ")>([^<]*)");
Matcher m = p.matcher(input);
return m.matches() ? m.group(2) : null;
}
R/
On Thu, Mar 12, 2009 at 1:34 PM, EECOLOR wrote:
> I think that would be something
thanks serge, great communication.
right now its ok for me, because the code who does create the tags is
also from me :)
so i can be sure there is always a start and ending tag.
just for anyone who is interested here an extended version that does
allow to
search for several tags in a long string
Looks good guruk. It's quite fast. I timed it.
fyi: The code I posted earlier can also work with input of xml tags
with attributes, such as
"Hello, this is a test 12345 ..."
which is common with tags, and it also avoids raising the nasty
RuntimeException IndexOutOfBoundsException (by method sub
test delete spam
On Fri, Mar 13, 2009 at 2:01 AM, senthil wrote:
>
> Hi,
> I have used the below code to send the SMS, But my need is the same
> sms should be reflected in the android native sms application.
> SmsManager smsManager = SmsManager.getDefault();
> smsManager.sendTextMessage(destAddr
On Mar 14, 8:50 am, frizzo wrote:
> I'd like users to be able to enter a price (e.g. 4.49 or 10.99) and
> that's all, no negative numbers or any of that. Is there a feature
> that allows me to do that? I can't seem to find support for masks.
You can use the "android:numeric" xml attribute.
Or
Albert,
I don't think that it can be done using StringTokenizer.
serge
On Mar 14, 12:17 pm, Albert Hernández
wrote:
> I think that the methods proposed here are very heavy:
> XML Parsing is too much for that easy task
> "Check it manually" is not optimal
>
> I suggest you to have a look on the c
binklee wrote:
> I'm trying to perform a HTTP request and to read the answer.
>
> My first idea was to import java.net.*; and to use :
>
> URL url = new URL(myUrl);
> String answer = (String)url.getContent(); // !!! produce an error in
> Android !
Try this:
http://www.exampledepot.com/egs/jav
That sounds so VB2
On Mar 14, 5:46 am, Mark Murphy wrote:
> frizzo wrote:
> > I'd like users to be able to enter a price (e.g. 4.49 or 10.99) and
> > that's all, no negative numbers or any of that. Is there a feature
> > that allows me to do that? I can't seem to find support for masks.
>
> Yo
Hey,
You can't run these tests as simple java JUnit tests, they need to be run on
the device. The process is pretty straight forward and is best explained
here;
http://dtmilano.blogspot.com/2008/11/android-testing-on-android-platf.html
What I am currently trying to work out is how to debug my te
Hi and thanks for all your great help
So I also like to share what I use now
public String TakeIt (String xtag, String xhtml)
{
String x1tag = "<" + xtag + ">";
String x2tag = "";
int xstart = xhtml.indexOf(x1tag);
int x1le
I think that the methods proposed here are very heavy:
XML Parsing is too much for that easy task
"Check it manually" is not optimal
I suggest you to have a look on the class StringTokenizer:
http://developer.android.com/reference/java/util/StringTokenizer.html
Albert
On Mar 13, 11:57 pm, sm1
frizzo wrote:
> I'd like users to be able to enter a price (e.g. 4.49 or 10.99) and
> that's all, no negative numbers or any of that. Is there a feature
> that allows me to do that? I can't seem to find support for masks.
You can use setKeyListener() on the EditText to supply it something that
I do it this way (it works for me):
/**
* @param tag The tag without the angle bracket, i.e.,
* the given value does not start with "<".
* @param str The string containing the tags and data.
* @return empty string when tag absent or str invalid.
*/
String takeit(Str
I think that would be something like this:
public String takeit(String str, String tag)
{
return str.replace(".*?<" + tag + ">(.*?).*", $1);
}
Greetz Erik
On Thu, Mar 12, 2009 at 7:14 PM, guruk wrote:
>
> Hi,
> i have a long String and need to capture some text in between of some
> tags.
>
>
I think you need to use parse for that.
2009/3/12 guruk
>
> Hi,
> i have a long String and need to capture some text in between of some
> tags.
>
> for example:
>
> myString="Hello, this is a test 12345 and here i like
> to say oioidddad what is that notwise opxmark> and now i close";
>
> How w
JLMG wrote:
> I was over at db4o and they had a demo with the emulator displayed in
> landscape (sideways) mode.
>
> How do you do that?
- toggles you between portrait and landscape modes in the
emulator.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http:
Just out of curiosity, has anybody tried using Joda Time (http://joda-
time.sourceforge.net/) in an Android application? The Joda API is
much better than Java's built-in Date and Calendar classes.
++Steve
On Mar 8, 12:54 pm, sm1 wrote:
> There may be built-in methods for such things as "5 minu
Thanks for your reply Squalus. Actually I am working on the OS... I
have things working now, the problem was I needed to UNinstall ADT 0.8
that comes with the SDK BEFORE I INstall ADT 0.9 that gets built with
the latest source. They were conflicting.
I then run the newly built emulator from outsi
There may be built-in methods for such things as "5 minutes ago" but I
don't know any yet.
for the current time in human-readable form, using some default date
display format (which may or may not be dependent on user-preferred
locale and date format selection, this remains TBD for Android), the
Hi there,
I'm not sure from reading this but you may be confused just a bit. To
write applications for android you just need the android sdk and the
eclipse plugins. Install guide for that is here (including linux
directions):
http://developer.android.com/sdk/1.1_r1/installing.html
The bits y
Hi,
I am calling on my gallery widget, and it does not move it.
The widget is set at y=0 in the layout XML,
and calling the function does not move it...
At what stage do I call it ?
TIA
On Feb 1, 6:40 am, Romain Guy wrote:
> Use View.offsetLeftAndRight().
>
> On Sat, Jan 31, 2009 at 8:34 PM,
Hi,
Is there any internal method/object I can use to return a format
like the built-in call log does ?
(i.e. "5 minutes ago", "2 days ago"...)
On Mar 6, 2:55 pm, Tseng wrote:
> I wouldn't really use this method to be honest. Even the Android
> Documentation sugest to use native methods, instea
That page also said not to use native methods for trivial computation.
In my experience the Java Calendar and Date objects are expensive and
memory hungry. Avoid them, including their DateFormatters, whenever
possible. That being said, it probably shouldn't matter much unless
you are performing m
Hi Marcus,
if I get you correctly, you want to display a date in a readable
format that comes from miiliseconds.
System.currentTimeMillis() returns a primitive long, so Date date =
new Date(System.currentTimeMillis()) will not work.
Try this:
long millis = System.currentTimeMillis();
Date date
I wouldn't really use this method to be honest. Even the Android
Documentation sugest to use native methods, instead of writing your
own stuff for methods which are already available (i.e. simple date
formating).
[Use Native Methods]
http://developer.android.com/guide/practices/design/performance
The Date object works, but much better to use Calendar.
Calendar cal = Calendar.getInstance();
cal.setTime(milliseconds);
SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/"); // see
javadocs for how to construct date strings.
sdf.format(cal.getTime());
Sometimes I construct my human read
I would use:
Date date = new Date();
date.setTime(milliseconds);
and now from date you can read all: year, month, day, hour, min. and sec.
Marcus pisze:
> Hi,
>
> as I understand, the internal date-format is the time in millis, since
> it is the format to store in sqlite and the format I get fr
I'm needing to know the same thing.
On Jan 31, 11:40 pm, Romain Guy wrote:
> Use View.offsetLeftAndRight().
>
> On Sat, Jan 31, 2009 at 8:34 PM, srajpal wrote:
>
> > i cannot seem to figure out how to move abutton
> > something likebutton.setTop(10);
>
> > there are gets for the top and left bu
simonc wrote:
> Hi,
> Is it possible to store my APK file on the phone / SD card and run it
> from there? and how would I go about doing that?
I think there are some "explorer" type apps available that browse
through the SD card and will install APKs if you choose them.
Unfortunately, I don't kno
In your Android application, you can use normal Java solution to
execute a Linux command .
For example:
Process process = Runtime.getRuntime().exec("chmod 777 /data/
data/...")
process.waitFor() ;
Not make sure whether it is your question.
--~--~-~--~~~---~--~-
..except the ota update they just pushed specifically has a totally unlocked
bootloader.
This is an employee dev phone (image), they are unlikely to lock it down.
On Mon, Mar 2, 2009 at 6:03 AM, Andrew wrote:
>
> On Mar 1, 7:13 pm, Disconnect wrote:
> > For 1.1, your official options are "suck
We're working on enabling an official update path to 1.1 for ADP1 owners.
JBQ
On Fri, Feb 27, 2009 at 11:20 PM, Ákos Maróy wrote:
>
> Hi,
>
> I'm a newbie towards android, just having received my development phone
> yesterday. I saw on the android developers site that a newer version of
> the S
On Mar 1, 7:13 pm, Disconnect wrote:
> For 1.1, your official options are "sucks to be you". Your
> unofficial options are a little better - since google updated
> all their employees phones you can install the 'holiday'
> update. (Available for any testkeys-enabled phone - like the
> adp1 - at h
So we can agree on that it should be Google who should always provide
an official image per SDK version that is fully functional. Anything
else is hacking, which is not necessarily bad, but people should not
be surprised if they don't get what they want.
On Mar 1, 7:13 pm, Disconnect wrote:
> Th
That will not get you 1.1 - it will get you master, which (iirc) is to be
called 1.5. (What it is right now is a bleeding edge development branch,
that is rarely updated from the internal google branches, plus the fixes
needed to build without google's huge collection of closed-source apps and
fram
> On Feb 28, 8:20 am, Ákos Maróy wrote:
> > I'm a newbie towards android, just having received my development phone
> > yesterday. I saw on the android developers site that a newer version of
> > the SDK is available - 1.1. the dev phone I got is shipped with 1.0
Please understand what you are d
I agree. I have had my ADP1 for a couple months now, and still have
not figured out how to upgrade it. Sure, there are docs all over the
place -- but they all state that I am going to loose functionality if
I upgrade (Market for example). We really need an official guide from
Google on how to up
Hey Akos
The ADP1 is supposed to be updated by you, compiling the source on
your own. There are many guides out there that can help you get there
(or just to install a preconfigured build of 1.1).
Make sure to look through the documentation on source.android.com.
One of the most important sources
>> How do you move an Icon from one of the three to another?
>
> You don't, IIUC. They will fill up when you have enough icons on your home
> page.
You do. Long click the icon, drag it to the edge of the screen, wait
for a couple of seconds and it will scroll to the next screen.
--
Romain Guy
On Wed, Feb 25, 2009 at 5:39 PM, JLMG wrote:
>
> I have an ADP1 and I can not figure out how to remove an Icon from the
> 'Home' page after I put one there. Seems silly but after a couple of
> hours fussing with it I'm asking for help.
>
Touch the icon and hold your finger on it (do a "long clic
ops, i found it! it is under the frameworks dir.
thanks
On Feb 25, 6:01 pm, LP wrote:
> HI,
>
> I have been looking to change the contact application PhoneTypes:
> Mobile, Home, Work, Work Fax, etc and remove or add new type but i
> haven't been able to find where i need to do so. i don't see
Depends.
SessionState sounds like it's a class which extends BaseSavedState
(which is used to preserve states of an widget). For example
private static class SavedState extends BaseSavedState {
long contactId;
public SavedState(Parcel source) {
su
Don't start deveral new posts, one is enough.
Basically you can't do it. However in R29 Firmware there was an bug,
which allowed commands to be executed. But this was an bug/exploit and
should not be used as basic for a programm to work as it was already
fxied in R30 or R31. So only phones with t
Well, first off:
>From the SDK/Framework (read: from within your Android Application)
itself there is no way to access the underlaying Linux commands
directly if i understand it correctly. If you want to access the shell
of your Emulator or DevG1 Phone, you could do it with the "adb shell"
comman
"adb shell" perharps? If not, would you care to be more specific?
On Tue, Feb 24, 2009 at 5:40 AM, steve68 wrote:
>
> Is it a way to access Linux shell command from with the Android SDK? I
> would like to do it as a root user
>
> Thanks,
>
> >
>
--~--~-~--~~~---~--~-
What if I have my own custom class, e.g., "SessionState" that I want to pass
back and forth?
Thanks,
Joe
On Mon, Feb 23, 2009 at 6:35 AM, Odessa Silverberg <
silverberg.ode...@googlemail.com> wrote:
>
> Basically by adding the data you want to pass as extras.
>
> If you need to pass simple values
Thanks a lot !
It solved my problem :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group,
Chavepeyer Geoffrey wrote:
> I'd like to know how I can pass the instance of HttpClient created in
> a first activity to a second activity.
Assuming you really want to do that, you can have the HttpClient be a
public static data member of one of the activities (or some common
utility class) and r
I'm not sure how to do it automatically but you can do this from the
command line to at least get text to a console. Do this while the
emulator or device is running...
adb logcat
Hope that helps
-Tyson
On Feb 20, 4:27 pm, Nitin67 wrote:
> Hello,
>
> Is there a way to have my program o
Basically by adding the data you want to pass as extras.
If you need to pass simple values, like an integer you could do it by
int myValue = 13;
Intent myIntent = new Intent(v.getContext(), Item.class);
myIntent.putExtras("myValueKeyword", myValue);
You can also pass arrays, Bundles, Parcelabl
You can look at the source code of the Android Music application. The
playlist activity lets you reorder items.
On Mon, Feb 16, 2009 at 12:37 AM, frizzo wrote:
>
> Is there an example somewhere of reordering a listview? I'd like the
> user to be able to drag an item from, say, position 4 to pos
Hi,
please go through the below tutorials
http://developer.android.com/guide/tutorials/hello-world.html
Regards
Tijomon Mathew
On Sat, Feb 14, 2009 at 10:40 AM, harryper...@gmail.com <
harryper...@gmail.com> wrote:
>
> Try this link - very good for me
> http://www.hometutorials.com/google-andr
Try this link - very good for me
http://www.hometutorials.com/google-android.html
Best,
Harry
On Feb 13, 8:49 am, Leonardo Leite wrote:
> Hi everybody.
> I'm getting started in Android plataform.
> I want to know how could I creat a "Hello World" application?
> Thanks everybody.
--~--~
No, that is not possible with the G1 at this time. The application
processor does not have access to uplink or downlink audio.
On Feb 15, 12:59 am, frizzo wrote:
> If I am on a line with another person and I switch to another app and
> play a sound using the code below:
>
> MediaPlayer mMediaPla
frizzo wrote:
> Can you give me an example?
Pretty much everything in Android's ApiDemos uses layouts, so there are
hundreds of examples of layout XML.
The use of layout XML for ListView rows is probably in a handful of the
ApiDemos, and also in this blog post series:
http://androidguys.com/?s=
Can you give me an example?
On Feb 13, 1:07 pm, Mark Murphy wrote:
> frizzo wrote:
> > How can I control the height on an individual entry in a ListView
> > widget? Is there a property I can set? I can't seem to find it.
>
> Generally, that is governed by the row View itself. ListView effectiv
frizzo wrote:
> How can I control the height on an individual entry in a ListView
> widget? Is there a property I can set? I can't seem to find it.
Generally, that is governed by the row View itself. ListView effective
treats each row as android:layout_height="wrap_content". So, if you want
to
http://code.google.com/android/intro/hello-android.html
On Fri, Feb 13, 2009 at 8:49 AM, Leonardo Leite wrote:
>
> Hi everybody.
> I'm getting started in Android plataform.
> I want to know how could I creat a "Hello World" application?
> Thanks everybody.
>
> >
>
--
Faber Fedor
Linux New Jer
Is there a reason you can't use the Debug mode in Eclipse? Instead of
clicking on the Run button, click on the litte bug to the left of it. You
can set breakpoints, watch variables, etc.
this may help: https://eclipse-tutorial.dev.java.net/
On Fri, Feb 13, 2009 at 9:53 AM, Liaofan wrote:
>
>
Just create the XML file in the correct directory (layout/ for layout files,
etc.). If you're using Eclipse and the Android plugin, the R.java file will
be rebuilt as necessary.
If you're not using Eclipse, you will have to run the ant build manually,
IIUC.
On Tue, Feb 10, 2009 at 11:00 PM, tijo
follow the following steps to run the application on your phone
http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware
On Feb 10, 11:15 pm, Ganesan V wrote:
> You ned to creae .apk file, Just extract the Helloandroid example and create
> project use eclipse and
You ned to creae .apk file, Just extract the Helloandroid example and create
project use eclipse and compile it. then you will get .apk file the install
that apk file ino emulaor or device.
Ganesh.
On Tue, Feb 10, 2009 at 6:00 PM, Anup wrote:
>
> Hi:
>
> I am new in Android development. I have
Figured it out. \n
Question of inconsistency though, why does it recognize HTML
constructs for pretty much everything else, but uses \n for carriage
returns?
On Feb 9, 12:45 am, frizzo wrote:
> I want to show some text in the AlertDialog. This text comes from
> strings.xml where I've defined a
Never mind, figured it out - RelativeLayout.
On Feb 10, 10:08 am, frizzo wrote:
> Hello, I have 5 buttons. I'd like to layout the 1st 4 buttons
> starting at the top and going down.
>
> I want the last button to be docked to the bottom of the screen.
>
> How can I pull off something like that?
I am trying to display the image which is in byte array .How do I
write to file and how to access that file to display the image ?
On Feb 9, 8:48 pm, Mark Murphy wrote:
> dilu wrote:
> > Hi All, I am getting image from server side as Base64 string in xml
> > form.Now i want to convert this base6
This is not supported in SDK 1.0. You must have a surface to display
the video. If the surface is destroyed, you must pause the video.
On Feb 8, 3:23 am, PianoPan wrote:
> Hi,
>
> I refer to the code of apidemo to write a program to play video. I
> use the MediaPlayer to play the video file, it
dilu wrote:
> Hi All, I am getting image from server side as Base64 string in xml
> form.Now i want to convert this base64 string into image.once it will
> get converted into image then i will store it into my local database.
> Canany one tell me how to do this? Any example iOr sample code for
>
Hi Aus,
For horizontal rotaion is possible when you running browser click
option more then flip orientaion.but it in normally we have to select
another emulator skin.
Ganesh.
On Feb 6, 2:02 pm, AusR wrote:
> The keys are described on the emulator reference
> page:http://code.google.com/android
The keys are described on the emulator reference page:
http://code.google.com/android/reference/emulator.html
Switch to previous layout orientation (for example, portrait,
landscape) KEYPAD_7, F11
Switch to next layout orientation (for example, portrait, landscape)
KEYPAD_9, F12
On Feb 6,
Just add android:layout_gravity="bottom" on your Button/
On Thu, Feb 5, 2009 at 11:41 PM, frizzo wrote:
>
> How to align a widget to the bottom of the screen in a FrameLayout?
>
> And a follow-up question. Is there a tutorial (preferably a video
> one) that explains things like Layouts, propert
601 - 700 of 1027 matches
Mail list logo