hi David,
I have the same situation to this. However, I could connect to
internet by using HttpClient and get responses. The "3G icon" appears
in the top of Android home, but browser does not work at all. I have
my own proxy address with proxy.local:80, and sets in the Eclipse
preference and usin
Hi mscwd01,
It is works great, thanks very much. but what about extends
BaseExpandableListAdapter ?
Maybe i should provide a ImageProvider for the dynamic image binding.
Thanks again :)
On Dec 18, 8:10 pm, mscwd01 wrote:
> Hey Luke,
>
> Sure, I managed to solve it myself after several tedious h
Hi!
I ordered at the 13. of December for delivery to Germany and I wonder
how many times this has to be cleared:
Package Progress
LocationDateLocal Time Description
KOELN (COLOGNE),
DE 19/12/2008 7:55REGISTERED WITH CLEARING AGENCY / SHIPMENT
SUBMITTED TO CLEARING
hi,
I have surveyed lots of solutions to this problem. However, most
solutions break (or say, cheat) the SSL verification for development
usage, and surely I don't want to make this kind of solutions in my
own application. Could you help to provide a guideline how to create
application-specific k
first, use "emulator -wipe-data" to rest your /data partition.If this still
doesn't solve the problem, try updating to 1.0_r2 and let us know
On Fri, Dec 19, 2008 at 3:06 AM, Esther wrote:
>
> My emulator can't connect to network by Browser or Email application
> but the PC does connect to inter
I have discovered how to get an InputStream object from a Uri pointing
to an image stored on the SD card!!!
Since the method to do this was not straight forward to me, I would
like to share it so that others may not suffer like I did.
A ContentResolver is the thing needed, but it is an abstract c
Check the Notepad tutorials.
On Dec 19, 3:47 am, "luckcomesh...@gmail.com"
wrote:
> Hi All,
>
> How can we use sqlite3 for database usage in Android. I'm trying to
> use it, but I couldn't get enough information on these things. I want
> to create new database(new tables) and want to use that in
Thx Ralf ;-)
On 12月16日, 上午5時35分, Ralf wrote:
> On Thu, Dec 11, 2008 at 11:55 PM, yukinoba wrote:
>
> > hi all
>
> > does anyone know thatlogcatsupports utf-8 display or not?
> > I ve tried to transfer non-unicode string message objects to the Log
> > method, with new String(s.getBytes(""), "utf
You can start an intent with actionpick and set the type as People.content
type..and on the activityresultset u will get the uri with
intens.getData.From that in ur activity u have the uri frm whch u can get
the info about the contact selected.
On Fri, Dec 19, 2008 at 12:57 AM, Sarath Kamisetty <
Yeah I know that. My problem is that I am not sure about how battery
draining this could be. Doing something everytime the screen goes off.
(ok just for a few ms but well)
Thank you for your answer.
On 18 Dez., 20:53, "Dianne Hackborn" wrote:
> There is a broadcast sent when the screen goes off
Hi everyone,
Want to create data base using Android and need to populate in the
required places.
Please tell me the procedure to get the each column values(like first
name, last name) in a specific row by calling some functions(like get/
set) to populate in user interface part.
Give me some examp
Hello all!
I am trying to pay registration fee as Android developer to sell my
program in Android Market, but see error telling me about payment
fail.
Why does it happend? I already payed successfully with this Visa
Classic card for another services, e.g. I have bought a domain.
--~--~-
Hi,
My sample application wants to display the contacts (that were
previously added) in the phone and let user pick some of them. Are
there any APIs we can use to access the contents of the contacts ? If
contacts are stored in some database, do I need to know the underlying
schema of contacts ?
My emulator can't connect to network by Browser or Email application
but the PC does connect to internet properly with no proxy. The "3G"
icon on the emulator status bar never appears like the emulator
running on other PC. Could someone help me on this issue? (I'm using
the emulator in android-sdk
Hi All,
How can we use sqlite3 for database usage in Android. I'm trying to
use it, but I couldn't get enough information on these things. I want
to create new database(new tables) and want to use that in my
application as I need to add, update, delete the rows(or records) in
each table for a wel
I have this method
public void animate(ImageView image, int iTime){
AnimationDrawable frameAnimation=new AnimationDrawable();
Drawable anim1 =
image.getResources().getDrawable(R.drawable.thing);
Drawable anim2 = image.getResources().getDrawable
(R.
Is there any in-built support for equalizers in Android?
For Music Player or maybe for the audio-out (either through speakers
or bluetooth headset)??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developer
any help
On Thu, Dec 18, 2008 at 6:42 PM, for android wrote:
> i need to get a customizable tablelayout with borders. Hence in the
> onDraw,I have the following code,but i get only the left side and top of the
> rectangle.but not on the right and bottom lines of the rectangle.
>
>
> I have l
Yeah, it sounds like the best way to implement this behavior is to
avoid the Keyboard level enirely and do it by catching tab characters
as they are appear in the edit text, removing them, reassigning the
previous text to the box, and then performing the desired request
focus on the next edit text
Probable on the restart of the activity u need to update the list.
On Thu, Dec 18, 2008 at 9:55 PM, Soonil Nagarkar wrote:
>
> Giving this topic some life, is there any way to implement something
> similar to finishOnTaskBackground? It is possible to reenter a task
> that was previously in the b
how come a pop up menu appear on clicking a button unless and until in its
onclicklistener, popup menu is being invoked
pls elaborate what are u trying to do...
Vaibhav
On Thu, Dec 18, 2008 at 11:32 AM, diya blore wrote:
>
> Hi ALL.
> i m facing an issue.. wheni click on button a pop up m
Hey, there's a opensource framework http://metawidget.sourceforge.net/ which
claims to build the UI automatically by inspecting the model, it has support
for android also
http://metawidget.sourceforge.net/doc/reference/en/html/ch03s04.html#section-metawidgets-implementing-your-own-android
Any o
So to my amusement! I tried doing the following:
m.setDataSource("http://scfire-dtc-aa01.stream.aol.com:80/stream/
1027");
m.prepare();
m.start();
And PAM! well using a wireless connection and my friend WireShark I
was able to see a healthy communication that seemed to be streaming
just fine! No
In the current version, ports below 1024 aren't accessible to applications.
JBQ
On Thu, Dec 18, 2008 at 7:47 PM, Moto wrote:
>
> I have been trying to create a local RTSP server on my phone but I
> haven't had any luck! I'm trying to connect from MediaPlayer to my
> localhost server on port 855
Fwiw, you can just replace the entire menu view with your own so your custom
UI slides out like a normal menu instead of popping up a dialog. This would
give an experience much more consistent with what users expect.
On Thu, Dec 18, 2008 at 4:34 PM, Mark Murphy wrote:
>
> the.victim wrote:
> > d
I have been trying to create a local RTSP server on my phone but I
haven't had any luck! I'm trying to connect from MediaPlayer to my
localhost server on port 8554 since port 554 doesn't work at all
My server handles the replies to the mediaplayer but somehow the
player shuts down right away
It took me a lot time to figure out the problem.
http://schemas.android.com/apk/res/
android"
android:label="@string/search_label"
android:hint="@string/search_hint" >
Note that all user-visible strings must be provided in the form of
"@string" references. Hard-coded strings, which
Yeah, I've noticed the same. I just posted a new thread though and it
worked right away. Maybe it was just something they were working on
that's fixed now?
On Dec 15, 5:20 pm, Mark Murphy wrote:
> Dan wrote:
> > Thanks for your reply. I've actually gotten this taken care of
> > already...
>
>
I'm not sure if this is concrete enough to file a bug report or
not...but about 2 in 3 emails I receive about apps I've submitted to
the market are blank. They always have the subject of one of my apps
and have what looks to be a valid email in the "from" part of the
email. Just wondering if thi
the.victim wrote:
> don't know the advantages of your solution Mark, but the solution of
> mscwd01 was not that wrong.
> just moving the dialog.show() to the overriden method
> onPrepareOptionsMenu(Menu menu) would have done the job. oncreatemenu
> is just called once.
There might be side-effects
Sure... the reason that I posted it here is so that it would get indexed and
hence be googleable so that us mortals can find it too :)
Mike
On Thu, Dec 18, 2008 at 4:30 PM, Jean-Baptiste Queru wrote:
>
> Do you think that you could copy-paste your email (as is) in a new bug
> report at b.androi
don't know the advantages of your solution Mark, but the solution of
mscwd01 was not that wrong.
just moving the dialog.show() to the overriden method
onPrepareOptionsMenu(Menu menu) would have done the job. oncreatemenu
is just called once.
On 18 Dez., 13:30, mscwd01 wrote:
> That worked nicely
Do you think that you could copy-paste your email (as is) in a new bug
report at b.android.com so that we don't lose track of it?
Thanks,
JBQ
On Thu, Dec 18, 2008 at 4:27 PM, wrote:
>
> Hi all,
>
> I've finally figured out what was going wrong with the udev stuff on
> Fedora Core 6
> setting u
Hi all,
I've finally figured out what was going wrong with the udev stuff on
Fedora Core 6
setting up the USB device for adb. The advice for Ubuntu may be correct, but it
doesn't work out of the box with Fedora Core 6 and probably higher. The reason
is because Fedora Core 6 has a rule in /etc/ude
The system image is read-only. No, you can't remove things from there. And
it would be pointless to, because no data can be written there. And besides
you'd get it back in the next OTA update... unless that update was
incremental and relied on the current system image to be how it expects and
y
It is seriously easier for them to chord ALT+TAB (both on the left side of
the keyboard making it especially awkward) than to move the trackball? Well
whatever.
But anyway, your code will break on pretty much any other future device than
the G1 -- those that have a different keyboard layout, and
Well, I understand your point, but I'm writing a program in which the
user might be doing lots of data entry into numerous text fields. In
my own testing so far it is much much easier, less error prone, and
generally more efficient to do this with the tab and return keys
instead of the thumb whee
generally: http post requires content-length unless you use chunked
encoding.
In the example you give set the content-length to the length of your
StringEntity.
On Dec 17, 4:00 am, agal wrote:
> Hi,
>
> I want to do an HTTP Post in Android, using the HttpClient 4.0 APIs.
> This is my code s
Nevermind. Every problem I've had today has been resolved by
realizing that the lib/res/default dir in the SDK has it all. I
should have looked there before digging in the jar.
On Dec 18, 5:46 pm, Robert Green wrote:
> I'm building custom buttons, spinners and text areas for my latest app
> an
I'm building custom buttons, spinners and text areas for my latest app
and I totally understand how 9-patches work but the btn_default...
9.png files that I found in my android.jar look right but don't
contain the 1px 9-patch border! Looks like none of the 9.png files
do.
What I wanted to do was
Anybody??
On Dec 9, 8:57 pm, Nik Bhattacharya
wrote:
> Hello,
>
> I have the following situation. I have a LinearLayout that has an
> onclick listener on it. In the linear layout, I have a TextView that
> has some text in it. I use Linkify on the TextView with the following
> intention:
>
> I
You know what Michael... you gone stop commin at me like dis!
On 12/18/2008, Michael wrote:
>
> Ignoring the previous reply
>
>> 1. be able to place and retrieve text files on gphone flash memory via
>> usb
>
> You'd be better off storing things like this on the SD card, rather
> than in pho
Hi all, I'm creating Bitmaps to draw in a surface. I want to do the
right thing and handle as many Surface pixel formats as I can, while
creating the Bitmap format that will be most efficient for that
Surface.
So I'm wondering how to reconcile these formats:
Bitmap.Config confi
Ignoring the previous reply
> 1. be able to place and retrieve text files on gphone flash memory via
> usb
You'd be better off storing things like this on the SD card, rather
than in phone memory. More space for one, and if you want to be able
to retrieve the files via the USB data connecti
I have found the approach of using type "vnd.android-dir/mms-sms" only
works when the DIALER app is closed. If sent while the dialer app is
open I receive the following error:
"Connection problem or invalid MMI code."
Anyone have some other ideas?
On Dec 9, 1:56 pm, "devile...@gmail.com" wrot
On Dec 18, 3:05 pm, "Xavier Mathews" wrote:
> Yea Delete your prefrence data... be sure that the xml can not convert
> to rss! Then delete the older file from the explorer.
You realize that RSS is just an XML file with a particular schema, yes?
--~--~-~--~~~---~--~---
I notice that we can't remove the "system packages" either. I just
tried "adb uninstall com.android.email" and of course it didn't
work... got:
W/PackageManager( 48): Attempt to delete system package
com.android.email
from the emulator. Figured I'd see if I could save some space :)
--~--~-
On Thu, Dec 18, 2008 at 11:30 AM, sthustfo wrote:
> Does the current android SDK provide support for
>
> 1. AES-128 encryption
> 2. MD5 hash computation
Yes on both counts. AES is available for use via the class
javax.crypto.Cipher (along with helpers CipherInputStream and
CipherOutputStream), a
Anyone have any insight? Thanks!
- Nick
On Dec 9, 7:59 pm, nknize wrote:
> More specifically, can we point the MapActivity to a company owned
> Enterprise Earth Server that contains our own fused image layers?
> Currently the MapActivity pulls the Satellite and Map layers
> fromhttp://google.
Don't hijack the post create your own.
On 12/18/2008, Rajendrakumar C wrote:
>
> HI,
>
> Can anyone of you know how to extract the comosers info from Mp3 file.
> Please let me know if you know that.
> >
>
--
Xavier A. Mathews
Student/Browser Specialist/Developer/Web-Master
Client Based Te
Aes yes. MD5 don't think so.
On 12/18/2008, sthustfo wrote:
>
> Hi,
>
> Does the current android SDK provide support for
>
> 1. AES-128 encryption
> 2. MD5 hash computation
>
> Thanks in advance.
> >
>
--
Xavier A. Mathews
Student/Browser Specialist/Developer/Web-Master
Client Based Tech Supp
Hello this has already been posted! Please don't post more than once.
Now I am guessing that you are talking about the G1. Flash memory
is kinda like ram so i am not sure if you can get into the phone flash
mem and start tranfering files on there. It also depends on how much
space you have nor
Yea Delete your prefrence data... be sure that the xml can not convert
to rss! Then delete the older file from the explorer.
On 12/18/2008, Mark Murphy wrote:
>
> Massimo Barbera wrote:
>> For testing purposes I have changed the value of one preference
>> (android:key="my_value") from a class ex
I can only guess that the RTSP client in OpenCore didn't like
something it found the DESCRIBE response. I'm not sure that it can
handle broadcast mode. Maybe someone from PV will be able to provide
some insight.
Did you get an error message back from the MediaPlayer through
onErrorListener?
On D
You can use "adb pull" to retrieve an .apk from a running system. In this
case our model is much more like PalmOS than windows, where the thing you
download and install is also the thing that you run, there is no separate
installer.
On Thu, Dec 18, 2008 at 5:41 AM, jarkman wrote:
>
> Dianne - t
Correct that feature is to just allow you to install an app update just like
you would of a third party app. To be able to update, the new app must be
signed with the same certificate as the one built into the system.
On Thu, Dec 18, 2008 at 6:03 AM, Jean-Baptiste Queru wrote:
>
> The detailed
There is a broadcast sent when the screen goes off.
On Thu, Dec 18, 2008 at 3:07 AM, code_android_festival_way <
festival.s...@googlemail.com> wrote:
>
> Hello.
>
> I'm thinking about implementing an Alarm which starts up a little
> CheckupService which checks if another WorkService (on which I r
It sounds like you would be better off looking at the desired behavior of
your notification activity rather than your app. In particular, you can set
it up to launch separately from the app, so pressing back will always return
to what the user was previously doing. The app model doc should descri
A particular Service component is managed as a global singleton in the
system, that is there will only ever be one instance of a Service component
created at a time.
The core Service functionality allows you to tell the system about work
being done by your application outside of the normal
activit
Massimo Barbera wrote:
> For testing purposes I have changed the value of one preference
> (android:key="my_value") from a class external to my
> PreferenceActivity, trough editor.putBoolean("my_value", value);
>
> now each time the PreferenceActivity is started, I have an exception.
>
> How can
Hi,
Does the current android SDK provide support for
1. AES-128 encryption
2. MD5 hash computation
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group
Hi,
I am getting an IOException "wrong version of key store" when I run
the following code:
KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
Can anybody help me?
Thanks a lot!
--~--~-~--~~~---~--~~
You received this message because you are su
Hi, i really need a simple text editor and to my surprise there does
not appear to be one. so i was thinking of creating one. here is
what i'd like to do:
1. be able to place and retrieve text files on gphone flash memory via
usb
2. onclick of the text file create a full screen editable text bo
Apparently next-day air is pointless. I ordered it on the 15th, Fed
Ex. Hasn't arrived yet. There is a web-site for tracking, but it is
lame and well-hidden. I'll bet somebody at Google has a nephew at
Brightstar.
--~--~-~--~~~---~--~~
You received this message bec
I'm trying the whole call log using following code
int deleted_rows = cur_context.getContentResolver().delete
(CallLog.Calls.CONTENT_URI, null,null);
The deletion is successful and whole call log is emptied but
deleted_rows always contain 0. Is this a bug in android ?
the following calls alway
I have MapView and I want to create context menu on the long press on
map but I am unable to create. I have try to create by two way
1.
map =(MapView) findViewById(R.id.maps);
map.setOnCreateContextMenuListener(new View.OnCreateContextMenuListener
(){
@Override
You could try to request android.permission.INTERNET in your manifest file.
--
BRs,
Eric Lu
On Thu, Dec 18, 2008 at 3:25 PM, silverburgh.me...@gmail.com <
silverburgh.me...@gmail.com> wrote:
>
> Hi
>
> If I need to open a new socket in Andriod platform, do I need to set
> some permission before
Dear all,
I have a PreferenceActivity whose structure is described in a
preferences.xml file:
we know this leads to construct a GUI interface trough which you can
change the value of our preferences
For testing purposes I have changed the value of one preference
(android:key="my_value") from a c
Hi,
While browsing some websites on my phone, I have found that the G1
does not support showing Hebrew fonts.
In a world of Unicode Java it seems that at the very least you would
include fonts for other languages - i know that this solution is not
all encompassing and will give very limited suppor
Hi, I am considering working on a simple text editor and have a couple
questions:
1. Does the textedit class have copy/paste built in or does it have to
be implemented separetly?
2. Would a full-screen text box app displaying/saving text from a .txt
file be difficult to implement? Is there is a t
hello
i am just want to remove the defaule Home, and put the sample Home to
replace it
i search the internet and i found there will be a Home.apk at /system/
app
but i cant saw it at Android 1.0 emulator
Q1 : is it be replace or ?
i also found a related topic at this group
"Replace Home Scree
Hi guys, we're doing a research project on the mobile ecosystem
in the Mobility Research Center at Carnegie Mellon Silicon Valley.
Our main goal in our current study is to understand the decision-
making process followed by mobile applications developers/start-ups.
We are particularly interested
Hi, i was thinking of writing a simple text editor that can do the
following:
1. read/overwrite text files on gphone flash memory
2. the text files should be accessible over usb for transfer to/from
pc
3. app should create an editable text box populated with the file's
text contents
4. the text s
Thanks for sharing the solution
On Oct 26, 8:30 pm, akurni wrote:
> I fixed it by changing
> mTitle = ((EditText)
> findViewById(R.id.title_edit)).getText().toString();
> to
> mTitle = ((EditText)
> textEntryView.findViewById(R.id.title_edit)).getText().toString();
>
> thanks for all your
Hi guys
I have a problem in create context menu in Map activity activity. i
try to create it by the following two ways. But it is useless
1.
map.setOnCreateContextMenuListener(new View.OnCreateContextMenuListener
(){
@Override
public void onCreat
I've seen this problem talked about before on the group, but the
general fix seems to be to use a table that has a primary key field
named "_id". This field is present in my table, yet I still get this
exception. However, I only get this exception when I attempt to use
the getColumnIndex method of
I call Camera.takePicture(null,rawCallback,null);
in onPictureTaken(data,camera) of rawCallback, data is null.
I cann't get the raw data.
but if I call Camera,takePicture(null,null,rawCallback), the data is
not null, it contains picture pixels data.
do u know why?
On 10月22日, 下午10时19分, Hong wrot
Has anybody got data SMS working on G1 phone?
It looks DATA SMS send/receive is not working on G1 phone.
The data SMS sender code sends the message as given below
mgr = SmsManager.getDefault();
short port = 1200;
String mesg = "Test";
mgr.sendDataMessage(,null,port,mesg.getBytes
(),null,null);
Hello,
I just got my Dev 1 phone and can't want to load my own system image
on it. I found some pages on XDA developer's site about flashing the
system image, but is there an *official* HOWTO from google that shows
how to do this safely?
Also, I have built a system image using the Android open-
I found some old tutorials on creating custom spinners and while
they're good, they don't talk about the current spinner (text area w/
down arrow).
I've looked through the android.jar res folder as I assumed that there
would be the pngs and xml files that I need as a base to start with
for my cus
On Dec 18, 2:41 am, sukumar wrote:
> hi,
>
> Thats not my doubt. My service needs to read some data using htttpget,
> this action is performed onStart method of the service. While service
> is in middle of reading data from web. If someone starts the service
> again. What happens to the task st
I would also suggest,
http://moderator.appspot.com/#15/e=f8&t=fa
or any of the android forums in which numerous app ideas have been
posted:
http://www.google.com/search?hl=en&q=android+applications+suggestions+forum&btnG=Search
--~--~-~--~~~---~--~~
You received t
A few ideas are mentioned here:
http://forums.t-mobile.com/tmbl/board/message?board.id=Android2&thread.id=1250
Peli
www.openintents.org
www.openintents.biz
On Dec 17, 8:16 pm, "T-Mobile Whisperer [G1]"
wrote:
> Hi Guys,
>
> The Mission: To develop an android program for the G1 (and hopefully
>
Hi,
I have question regarding sub menu. I tried to use sub menu on one of
my context menu. The behavior that I got from it is, it pops up
another menu dialog after I press the that submenu. What i really want
is to have menus like the one for the home screen. Instead of opening
another menu, it d
loty wrote:
> Thanks a lot Mark - excellent explanation.
> Still have a question:
>
> getView's first 2 parameters are
> --position-- The position of the item within the adapter's data set
> of the item whose view we want.
> --convertView-- The old view to reuse, if possible. Note: You sho
Mediascanner has this capability.
On Oct 24, 7:45 pm, CiprianU wrote:
> Hy guys,
>
> Can you tell me how can I extract the ID3 tags from an mp3 file, using
> Android of course.
>
> Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are
The media scanner automatically extracts metadata from any file that
it recognizes on the SD card. Can you be more explicit about your use
case?
On Oct 24, 6:45 am, CiprianU wrote:
> Hy guys,
>
> Can you tell me how can I extract the ID3 tags from an mp3 file, using
> Android of course.
>
> Than
I found this by Romain Guy and it worked perfectly
http://groups.google.com/group/android-developers/msg/0714e077e25d63a6
On Dec 18, 6:09 am, alan wrote:
> if you use a state drawable then you can do this you need the
> "" xml element, its not very well documented but if you have
> the android
I didn't mean to insult anyone - sorry if it came out that way. Just
wanted a clear explanation for what seems to be a weird and
unpredictable behavior.
On Dec 18, 11:57 am, Mark Murphy wrote:
> loty wrote:
> > Is this some sort of garbage collection at work here? I have a pile of
> > garbage vi
loty wrote:
> Is this some sort of garbage collection at work here? I have a pile of
> garbage views to be recycled and hey you need a view - how about this
> one? No, you are SOL...
>
> I mean if getView doesn't bother returning me my original view for a
> given location why bother with convertV
Actually, I got the behavior I was looking for by launching the edit
activity with the no history flag. It's not quite as flexible as I'd
like but everything works as expected.
On Dec 18, 11:25 am, Soonil Nagarkar wrote:
> Giving this topic some life, is there any way to implement something
> si
Is this some sort of garbage collection at work here? I have a pile of
garbage views to be recycled and hey you need a view - how about this
one? No, you are SOL...
I mean if getView doesn't bother returning me my original view for a
given location why bother with convertView at all? I guess eith
Thanks a lot Mark - excellent explanation.
Still have a question:
getView's first 2 parameters are
--position--The position of the item within the adapter's data set
of the item whose view we want.
--convertView-- The old view to reuse, if possible. Note: You should
check that this vi
It makes no sense to me either - I *always* return the same type of
view from getView so I have no idea why the framework would ever send
me a view of a different type.
On Dec 18, 10:11 am, loty wrote:
> Thanks josh,
> I can definitely do the same but it seems super strange to me that it
> would
In my adapter code I only ever return a single type of view from
getView(). This view always has a field with an id of R.id.name.
A non-zero percentage of the time I am given a convertView in the
parameters passed to getView() and the code:
convertView.findViewById(R.id.name)
will return null.
Giving this topic some life, is there any way to implement something
similar to finishOnTaskBackground? It is possible to reenter a task
that was previously in the background without going through the
launcher, in which case the desired behavior of finishing a task with
this flag does not happen.
loty wrote:
> I can definitely do the same but it seems super strange to me that it
> would return anything other than what I created in the initial call.
getView() gets called more than once.
> Is there any rhyme or reason for what this function gets in the
> convertView parameter?
Sure. It's
Just to answer my own question in case anyone has the same problem.
getCount has to return total number of cells to display in GridView.
So if you want to have 3x3 grid getCount needs to return 9
position in getView is linear e.g. position 7 means row 3 cell 1
convertView is a total mystery as it
Yeah, there's a few threads on this in the Beginner's group and I'm
sure there are some here.
What you are seeing is the emulator startup screen (equivalent of BIOS
maybe?) After that you get the Android startup screen which is the
green android logo glowing. After that, the phone will finish bo
Thanks josh,
I can definitely do the same but it seems super strange to me that it
would return anything other than what I created in the initial call.
Is there any rhyme or reason for what this function gets in the
convertView parameter?
Here what Android docs say
--convertView-- The old
1 - 100 of 198 matches
Mail list logo