[android-developers] Re: How to trace contentProvider

2010-03-19 Thread Ted Chien
Hi, Before you continue to study the code, you need to know the Java language more. Go find a Java book and study it first. On 3月17日, 上午10時24分, a a harvey.a...@gmail.com wrote: Dear All, I am now reading contentProvider.java( under the base/core/java/android/content) Ln 127 looks

[android-developers] Gallery Documentation

2010-03-19 Thread Deepak Arul
Is there any documentation for Architecture of Gallery application in Android 2.0/2.1 ? -- 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,

[android-developers] [Android-developers] Overlay in Views. Please suggest

2010-03-19 Thread Latha Shivanna
Hii All I need your help/suggestion on this issue. In my application, i have a surfaceView and a videoView which are occupying the full screen. SurfaceView is on the top and thus VideoView is hidden below. But i need to see both SurfaceView and VideoView together. How do i achieve this? I

Re: 答复: 答复: [android-developers] Where is th e source project location of YouTube in Eclair?

2010-03-19 Thread Ted Chien
Don't think you are in a English group so people don't know Chinese... On 3月12日, 下午1時40分, a a harvey.a...@gmail.com wrote: 吹毛求疵 2010/3/12 Dianne Hackborn hack...@android.com: Please not that hard-coding package names is fragile and can cause your app to break. For things on market, you

[android-developers] Re: onFling

2010-03-19 Thread Ajay
Finally I found a way to synchronize the scrolls. I was using a gesture listener to listen for scrolls/flings which did not give me accurate results. Now I simply pass the onTouch events from one view to the other view. This makes both the views to scroll perfectly in sync. On Mar 18, 5:26 pm,

[android-developers] How to build libwebcore.so ?

2010-03-19 Thread Deepak Arul
I am unable to complete the system build since libwebcore.so is not found: -- target Strip: libwebcore (out/target/product/generic/obj/lib/ libwebcore.so) build/tools/soslim/main.c(130): open(out/target/product/generic/

[android-developers] Stop an Activity (Urgent)

2010-03-19 Thread Chirayu Dalwadi
Hello Community, My application contains three-four pages. On click of button in first page, I start a new activity which redirects to another page and second page redirects to third page and so on. Now I want to include one button which On click will redirect to first page by stopping all

[android-developers] Re: Strategies for using Touchscreen MotionEvent Coordinates

2010-03-19 Thread ko5tik
If your game is not a very time sensitive, you may as well use ImageViews for tiles - then you will get honest touch events from them. If you are using SurfaceView , there is Callback surfaceChanged - there you will get hones resolution and can determine size and position of yout tiles On

[android-developers] App not visible in Australia

2010-03-19 Thread String
I've had a couple of Australian users this week contact me saying that one of my paid apps isn't visible. Has anyone else had specific trouble down under? And yes, I've confirmed that AU is selected for publishing the app on my Developer Console. Thanks, String -- You received this message

[android-developers] Re: How to choose connection type

2010-03-19 Thread badzio
Ok, so can say that phone is in two states: 1) wifi 2) GSM GSM means - umts, edge, gprs etc Right? And it's not possible to have wifi on and gsm on and sometimes use wifi, sometimes gsm? I don't want to turn off wifi permanently, because for other application it is useful. I just want use only

[android-developers] Re: How to choose connection type

2010-03-19 Thread badzio
Another question - how can I switch off wifi? Of course I mean from source code :) On 18 Mar, 21:39, spachner stefanpach...@googlemail.com wrote: Hi, when Wifi is on, GSM (which means UMTS or what mobil network you are using) is off and vice versa. If GPRS or other transmission types are

[android-developers] how to get the total size of sdcard?

2010-03-19 Thread mmkr
Hi all, In my application i want to display all the properties of the sdcard like sizeof sdcard, used space in sdcard , free space etc.. I'm able to get the used space of sdcard, but unable to get the total size of sdcard ( size given at the creation time of AVD ). How can i do that?

[android-developers] Re: Functional retrieval of strings?

2010-03-19 Thread HippoMan
Let me get this straight - you would rather have a runtime exception that you just catch and ignore than a compile time error that will quickly identify your problem and allow you to fix it on the spot? Why exactly would you prefer this? I want to change the behavior of my app by means of

[android-developers] Add calendar item through Intent?

2010-03-19 Thread Sven Jacobs
Hi all, I'm developing an app that displays a list of events and would like to know if there's any standard way to add an item to the (Google) calendar, preferably by sending an Intent? I'm developing for Android 1.5. Thanks for any hint! Regards, Sven -- You received this message because you

[android-developers] Re: How to choose connection type

2010-03-19 Thread badzio
Ok, I've found http://almondmendoza.com/2009/10/17/turn-off-turn-on-wifi-in-android-using-code-tutorial/ :) On 19 Mar, 09:21, badzio bad...@gmail.com wrote: Another question - how can I switch off wifi? Of course I mean from source code :) On 18 Mar, 21:39, spachner

[android-developers] Re: Functional retrieval of strings?

2010-03-19 Thread HippoMan
Resources has getIdentifier() for this. However, this is significantly less efficient than just using the R static data member. Use it if you have to (and cache the lookups), but avoid compile errors doesn't strike me as a great reason to do so. Thank you. As I described in more detail in my

[android-developers] Re: Add calendar item through Intent?

2010-03-19 Thread jarkman
There's no documented way. You will find some folks have found undocumented ways (for example, http://jimblackler.net/blog/?p=151 - read the comments too). In my own experimentation, I managed to make the Calendar app on the device completely non-functional, so I became disillusioned with the

[android-developers] How to build the system AP in EClipse?

2010-03-19 Thread MeMe
How to build the system AP in EClipse? For example, I want to trace Camera AP. I tried to import the Camera folder to make a new project and build it, but I failed. Anyone can teach me to setup it and build it? THanks a lot. -- You received this message because you are subscribed to the Google

[android-developers] Re: Are primitive types garbage collected in Android?

2010-03-19 Thread Mario Zechner
As a rule of thumb: everything you have to use the new operator for to get a hold of it is going to get garbage collected at some point. Note that this is also true for primitive arrays like int[], float[] etc. Local primitive type variables within methods don't need to get garbage collected. On

[android-developers] Re: how to get the total size of sdcard?

2010-03-19 Thread MrChaz
Something like this should work: StatFs stat = new StatFs(Environment.getExternalStorageDirectory().getPath()); long bytesAvailable = (long)stat.getBlockSize() * (long)stat.getBlockCount(); long megAvailable = bytesAvailable / 1048576; the cast to

[android-developers] Re: Stop an Activity (Urgent)

2010-03-19 Thread Karan
Use finish() function of class Activity. On Mar 19, 12:29 pm, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote: Hello Community, My application contains three-four pages.  On click of button in first page, I start a new activity which redirects to another page and second page redirects to

[android-developers] Re: Button in ListView

2010-03-19 Thread Anton Pirker
Hi! Thanks for the help! I have now implemented it the way you suggested, but the onSingleTapUp is not firing. This is what i have done: // defined my own gesture detector: class MyGestureDetector extends SimpleOnGestureListener { @Override public boolean onSingleTapUp(MotionEvent e) {

Re: [android-developers] hi

2010-03-19 Thread Sean Hodges
On Thu, Mar 18, 2010 at 1:21 PM, akshu aksharanadaha...@gmail.com wrote: i don't know about pc. Have you tried turning it off and on 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] Unable to set the maps program working

2010-03-19 Thread raqz
Hello, I tried a lot, read most of the tutorials on the web but still unable to run the program. The moment i run, it its says, the process stopped and closes. Please let me knwo what is wrong...the code is as below main.xml ?xml version=1.0 encoding=utf-8? RelativeLayout

[android-developers] Re: Overlay in Views. Please suggest

2010-03-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
You need to use FrameLayout and than you can overlap the VideoView on top of SurfaceView On Mar 19, 1:46 am, Latha Shivanna latha...@gmail.com wrote: Hii All I need your help/suggestion on this issue. In my application, i have a surfaceView and a videoView which are occupying the full

[android-developers] Re: Big difficult to develop in Android :( (I'm italian)

2010-03-19 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
It would help if you asked about a specific first step.. On Mar 18, 2:23 pm, massimo maxloveg...@gmail.com wrote: Hi, I'm italian boy. I see that I have big big difficult to start to develop with android. I know Java and I have all the Eclipes and Android SDK installed. But for me

[android-developers] Re: How to use scroller in an application?

2010-03-19 Thread satish bhoyar
Does anyone have solution on scroller? pls help On Thu, Mar 18, 2010 at 8:03 PM, satish bhoyar getsatonl...@gmail.comwrote: Hello all, How to use Scroller in an application? do anyone have any reference? please help . Thanks, satish -- You received this message because you are

Re: [android-developers] Big difficult to develop in Android :( (I'm italian)

2010-03-19 Thread Sean Hodges
I agree with Fred, explain what problems you are having. Don't just say something vague like I'm finding it difficult, we need to know exactly what things you are finding difficult to help you. The SDK docs are actually very comprehensive, but you need to use the tutorials to learn Android. Check

[android-developers] Re: Google Analytics for Android: Dispatcher thinks it finished, but there were 65 failed events

2010-03-19 Thread Stefan Klumpp
There is also a discussion going on here: http://stackoverflow.com/questions/1607822/android-what-does-this-google-analytics-dispatcher-warning-mean Unfortunately with no solution so far. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Optimize ScrollView

2010-03-19 Thread Ajay
Hi, I have a big scroll view with lot of child views. Is there any way I could optimize it similar to a ListAdapter getView()? Thank you, AJ -- 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] Re: Can't connect to SPP device

2010-03-19 Thread Gui
I guess this is kind of tricky. The device i'm trying to connect is a GP-GC021 made by Sure electronics, the documentation is really weak. In the documentation, it's a slave device. So that would mean it acts has a server listening for connection, and my android would be the client ... ? I can't

[android-developers] Re: Java OpenGL ES 2.0 bindings project

2010-03-19 Thread Mario Zechner
Hi, i just updated the library. I forgot to add support for VBOs für vertices and indices by introducting proper glVertexAttribPointer and glDrawElements variantes that take an int instead of direct Buffers. All is fixed now. You can download the latest library from

[android-developers] Re: Application taking over Phone app call

2010-03-19 Thread Fabio
Brion, Thank you very much for the reply, in general terms it helps a lot (now I know it is feasible). From within the app in development there is a need to initiate the phone call. If I understand it clearly what you said is that once the app gets the proper permissions declaration the Phone.apk

Re: [android-developers] Re: Application taking over Phone app call

2010-03-19 Thread Mark Murphy
Fabio wrote: Brion, Thank you very much for the reply, in general terms it helps a lot (now I know it is feasible). From within the app in development there is a need to initiate the phone call. If I understand it clearly what you said is that once the app gets the proper permissions

Re: [android-developers] Re: Application losing SharedPreferences and Sqlite database on Droid

2010-03-19 Thread Mark Murphy
Matt (preinvent) wrote: Still no nearer getting this fixed... I rooted my Droid and can see that the /data/data/myapp/lib directory was created some time ago - that implies to me that the main app directory has not been deleted since it was installed some time ago, therefore it's unlikely that

[android-developers] removing all items of a listview

2010-03-19 Thread kavitha
Hi All, How to remove all Items in a ListView in android. I want to remove all items in list view and populate with new items dynamically from a background thread. Please tell,,this is very urgent. Thanks Kavitha -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to use scroller in an application?

2010-03-19 Thread Tor
This largely depends on what you want to do with the spinner. The example below will let the user select from 4 pre-defined values (you'll have to put this into your own class; YourClass): The obvious disclaimers apply, but it should work (toast the value you have spun to). public String[]

Re: [android-developers] removing all items of a listview

2010-03-19 Thread Mark Murphy
kavitha wrote: Hi All, How to remove all Items in a ListView in android. I want to remove all items in list view and populate with new items dynamically from a background thread. Please tell,,this is very urgent. Replace the adapter used by the ListView. -- Mark Murphy (a Commons

Re: [android-developers] Re: How to use scroller in an application?

2010-03-19 Thread satish bhoyar
dude thanks for the help man ... but i was looking for scroller... any ref will also do which tells hw to use it.. thannks, satish On Fri, Mar 19, 2010 at 6:19 PM, Tor tor.hough...@gmail.com wrote: This largely depends on what you want to do with the spinner. The example below will let the

[android-developers] Inserting WIdgets in Custom View

2010-03-19 Thread Nithin
Hi, I created a custom view extending android.view.View class. Now in this class can I add a widget like button or imageView. Any idea about this. Nithin -- 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] Re: Inserting WIdgets in Custom View

2010-03-19 Thread skink
On Mar 19, 12:22 pm, Nithin nithin.war...@gmail.com wrote: Hi, I created a custom view extending android.view.View class. Now in this class can I add a widget like button or imageView. Any idea about this. Nithin you cannot do this extending View class. you have to extend ViewGroup

[android-developers] Re: onFling

2010-03-19 Thread Ajay
Oops!! I still have the problem. Any thoughts anyone? Thank you, AJ On Mar 19, 11:54 am, Ajay aja...@gmail.com wrote: Finally I found a way to synchronize the scrolls. I was using a gesture listener to listen for scrolls/flings which did not give me accurate results. Now I simply pass the

Re: [android-developers] Re: onFling

2010-03-19 Thread social hub
have u tried passing onfling and onscroll events also. that might solve some of ur problems. On Fri, Mar 19, 2010 at 8:40 AM, Ajay aja...@gmail.com wrote: Oops!! I still have the problem. Any thoughts anyone? Thank you, AJ On Mar 19, 11:54 am, Ajay aja...@gmail.com wrote: Finally I found

Re: [android-developers] Stop an Activity (Urgent)

2010-03-19 Thread TreKing
1 - Why is this so (Urgent)? On Fri, Mar 19, 2010 at 2:29 AM, Chirayu Dalwadi chirayu.dalw...@gmail.comwrote: Now I want to include one button which On click will redirect to first page by stopping all activities. So how to achieve that? 2 - One idea - start each page with

[android-developers] How to start Activity from Service (if not already started)?

2010-03-19 Thread AuxOne
I've successfully implemented a BootReceiver, AlarmManager, and Service per the code here: http://github.com/commonsguy/cw-advandroid/tree/master/SystemServices/Alarm Inside the doWakefulWork method of the Service I am instantiating a few classes, but some of them require my Activity to be

Re: [android-developers] Re: Functional retrieval of strings?

2010-03-19 Thread TreKing
On Fri, Mar 19, 2010 at 3:53 AM, HippoMan hippo.mail...@gmail.com wrote: I want to change the behavior of my app by means of the presense or absence of some items in strings.xml. This allows me to control this behavior by simply adding or deleting the items, and then clicking the Save icon in

Re: [android-developers] How to start Activity from Service (if not already started)?

2010-03-19 Thread Mark Murphy
AuxOne wrote: I've successfully implemented a BootReceiver, AlarmManager, and Service per the code here: http://github.com/commonsguy/cw-advandroid/tree/master/SystemServices/Alarm Inside the doWakefulWork method of the Service I am instantiating a few classes, but some of them require my

[android-developers] Re: How to load a Typeface from an Inputstream

2010-03-19 Thread Mario Zechner
Sorry to revive this thread. But i was just fooling around with a 1.5 project where i wanted to load a Typeface from a file given as a filename. Am i correct that this is not possible in 1.5? That is kinda unfortunate :/ On 16 Mrz., 00:53, Dianne Hackborn hack...@android.com wrote: Sorry I don't

[android-developers] Re: Accessing External Database

2010-03-19 Thread uday kiran
Hey Bob,, Tell me one thing...instead of using Webservices,it is easy if we r using Drivers.. If we know which type of database they r using on server side,then we can access that database using related driver...so that the headache willl be reduced am i right??? what is the difference of using

[android-developers] Re: Inserting WIdgets in Custom View

2010-03-19 Thread Nithin
ok skink.. Thanks.. Nithin On Mar 19, 6:37 pm, skink psk...@gmail.com wrote: On Mar 19, 12:22 pm, Nithin nithin.war...@gmail.com wrote: Hi, I created a custom view extending android.view.View class. Now in this class can I add a widget like button or imageView. Any idea about this.

[android-developers] Re: How to start Activity from Service (if not already started)?

2010-03-19 Thread AuxOne
On the whole, that's not a good idea. Popping up an Activity in the middle of whatever the user is doing will not be popular. There are certain circumstances where this is appropriate -- incoming VOIP calls, etc. -- but should not be done in general. Users will attack you with sharp pointy

Re: [android-developers] Re: How to load a Typeface from an Inputstream

2010-03-19 Thread Mark Murphy
Mario Zechner wrote: Sorry to revive this thread. But i was just fooling around with a 1.5 project where i wanted to load a Typeface from a file given as a filename. Am i correct that this is not possible in 1.5? That is kinda unfortunate :/ Yes, I believe that was added in 1.6, sorry. --

[android-developers] Re: Deleting a View from its Parent

2010-03-19 Thread tilo1583
I tried your method, but it still does not work. GridView g = (GridView)findViewById(R.id.gridview1); g.removeAllViews(); It still gives the same exception, as 'removeAllViews() is unsupported' On Mar 18, 5:36 pm, social hub shubem...@gmail.com wrote: what is the parent for the view u r

Re: [android-developers] Re: How to start Activity from Service (if not already started)?

2010-03-19 Thread Mark Murphy
AuxOne wrote: On the whole, that's not a good idea. Popping up an Activity in the middle of whatever the user is doing will not be popular. There are certain circumstances where this is appropriate -- incoming VOIP calls, etc. -- but should not be done in general. Users will attack you with

[android-developers] In Map displaying a button inside InfoWindow

2010-03-19 Thread Nithin
Hi, In Map, I am drawing a infoWindow(Round Rect) showing some data inside it. Can I insert a button inside the infoWindow Nithin -- 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] Re: Functional retrieval of strings?

2010-03-19 Thread Streets Of Boston
If you want to 'dynamically' load these strings, you probably could use reflection. Some 'pseudo' code: public String somehowGetStringAnotherWay(Resources res, String stringName) { try { Field stringField = R.string.class.getField(stringName); int stringID = stringField.getInt(null);

[android-developers] Re: How to start Activity from Service (if not already started)?

2010-03-19 Thread AuxOne
Sorry if I seem confused... Call getContentResolver() in your Service. I'm also doing things like .sendBroadcast() to refresh the photo gallery, .openFileInput() from the Activity. So doesn't that mean GetContentResolver() won't work for me? Your example code has the Alarm scheduled from

[android-developers] Re: Samsung Moment does not return anything in parameters.getSupportedFlashModes()

2010-03-19 Thread Streets Of Boston
Thank you justinh! This will help me identify the phone. If someone also knows the Camera.Paramter's parameter-name and parameter-values for controlling the flash on a Samsung Moment, that would be awesome! :) On Mar 18, 12:00 pm, justinh henderson.jus...@gmail.com wrote: This is what I have

[android-developers] motorola droid is not recognizable

2010-03-19 Thread Bytes
Hi, Platform: Ubutnu adb is not able to recognize the motorola droid. I've created rule files 51-android.rules as follows: UBSYSTEM==usb, ATTRS{idVendor}==22b8, SYMLINK+=android_adb, MODE=0666, OWNER=android but no use. Rebooted both phone and PC. Enabled application debugging option But

[android-developers] We are engineer

2010-03-19 Thread suziki
Hi all Which company use developer android platform MID/Smartphone, If you need,may be we can help you for the developement the BSP layer ,applicaiton and dirver or Intergration the Modem moudle. Many thanks! Ziki su -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Samsung Moment does not return anything in parameters.getSupportedFlashModes()

2010-03-19 Thread suziki
Hi all Which company use developer android platform MID/Smartphone, If you need,may be we can help you for the developement the BSP layer ,applicaiton and dirver or Intergration the Modem moudle. Many thanks! Ziki su 2010/3/19 Streets Of Boston flyingdutc...@gmail.com Thank you justinh! This

Re: [android-developers] Re: How to start Activity from Service (if not already started)?

2010-03-19 Thread Mark Murphy
AuxOne wrote: Like, what If the phone boots up and that starts the Alarm, but then the app is closed and manually restarted. Won't the previous alarm still be in memory? No, outstanding alarms are flushed on a reboot. -- Mark Murphy (a Commons Guy) http://commonsware.com |

[android-developers] Re: Trouble with the SDK

2010-03-19 Thread Source
Hello Xavier, I'd like to make it short, it just worked. thank you very much! The Error when I tried to download it was; Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings Thanks

Re: [android-developers] Stop an Activity (Urgent)

2010-03-19 Thread Chirayu Dalwadi
Thanks Karan And TreKing And it was urgent because i need to complete that task asap -- 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

[android-developers] Re: Application taking over Phone app call

2010-03-19 Thread Brion Emde
All of the intents you can send to various Android activities are described in this document: http://developer.android.com/guide/appendix/g-app-intents.html On Mar 19, 5:36 am, Fabio lfr...@gmail.com wrote: Brion, Thank you very much for the reply, in general terms it helps a lot (now I know

[android-developers] Can't dynamically update ListAdapter for ListView

2010-03-19 Thread Tatyana Ulyanova
Hello, friends! I have a problem with adding new items to ListView. I use custom adapter MyListAdapter. I do that way: public class MyView extends ListActivity{ private ArrayListOrder m_orders = null; privateMyListAdapter m_adapter; private Runnable viewOrders; @Override

[android-developers] Re: Accessing External Database

2010-03-19 Thread Bob Kerns
No, you get a different set of headaches. Drivers (e.g. JDBC drivers) are not intended for this sort of application. You will have reliability problems, security problems, performance problems, problems upgrading your server once you have clients talking to it, because you can't upgrade all your

[android-developers] Re: How to start Activity from Service (if not already started)?

2010-03-19 Thread AuxOne
Is there any advantages / disadvantages to having the Service start the AlarmManager, as opposed to the AlarmManager starting the Service? I though Services were more robust. On Mar 19, 10:50 am, Mark Murphy mmur...@commonsware.com wrote: AuxOne wrote: Like, what If the phone boots up and

[android-developers] Re: Functional retrieval of strings?

2010-03-19 Thread Bob Kerns
For one thing, it allows you to alter the behavior depending on the device characteristics. It also is also easier to script such changes, via XSLT. And it's one way pulling these configurable pieces into a single location. Of course, a dedicated class accomplishes this. It doesn't sound like

[android-developers] Re: Functional retrieval of strings?

2010-03-19 Thread Bob Kerns
I'd suggest instead true/false as the string values. It simplifies your code and gives you the same result. On Mar 19, 1:53 am, HippoMan hippo.mail...@gmail.com wrote: Let me get this straight - you would rather have a runtime exception that you just catch and ignore than a compile time error

Re: [android-developers] Re: recording volume indicator

2010-03-19 Thread Martin Obreshkov
Thanks it worked fine On Thu, Mar 18, 2010 at 10:13 PM, BobG bobgard...@aol.com wrote: I humbly suggest an 8 segment tower... assuming 8 bit audio, calc the avg level of 'a bunch' of samples (a frames worth? 30ms at 8 samps per ms is 240 samps for example), Set a bar in the level indicator

[android-developers] Re: Create Softkeyboard dynamically

2010-03-19 Thread Kritzli
Does really nobody know ? It would be kind if somebody could help me. Cause I'm stuck there and it would save me a lot of time, knowing that one of the ideas is working or not. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-19 Thread Blake La Pierre
Anyone in the US get their phone yet? On Wed, Mar 17, 2010 at 7:40 PM, olivier.bo...@gmail.com olivier.bo...@gmail.com wrote: Hi, Has anyone received one and is not in the ADC2 top 200? I mean has anyone received one just because he has an application in the market matching the criteria?

[android-developers] Re: AlarmManager on droids

2010-03-19 Thread Derek
Hi Mark, I'm also using your WakefulIntentService sample. It works fine in emulator (all releases of Android). It seems to work fine on many devices (HTC Magic, Nexus One ...). However, I get Force Close complains from some users everytime the Alarm goes off. Some are under 1.5 and other are

[android-developers] webkit onGestureXXX

2010-03-19 Thread mike
Is there any plans to support the onGestureXXX set of events like the iPhone's webkit has? Mike, curious -- 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

Re: [android-developers] Re: AlarmManager on droids

2010-03-19 Thread Mark Murphy
Derek wrote: I'm also using your WakefulIntentService sample. It works fine in emulator (all releases of Android). It seems to work fine on many devices (HTC Magic, Nexus One ...). However, I get Force Close complains from some users everytime the Alarm goes off. Some are under 1.5 and other

[android-developers] AnyBody to test My Application on Droid,N1.

2010-03-19 Thread Abdul Mateen
Hi and Asslam-u-Alikum, Any body can help me test my application Facebook Plus on Android Market on Droid/N1. I could not get the device in seeding program, any lucky developer here who can test my application on Droid and N1? it will be very helpful. Thank You, Abdul Mateen. -- You received

[android-developers] Re: adb logcat skips log messages

2010-03-19 Thread Hoyle
I wish that was more evident in the documentation. I lost days of development time trying to track a crash in my native jni application. My program was corrupting memory and the random missing log messages led me on a completely wild goose chase. You can imagine my dismay when I found out my

[android-developers] How to find email of the current user

2010-03-19 Thread Wah
Is there a way to find the email address of the user of the phone? I have a software that requires password. However, sometimes people forget their password and want a reset. I think the best is to send an email to the user of the phone, instead of prompting the email address at the time the

[android-developers] Re: Big difficult to develop in Android :( (I'm italian)

2010-03-19 Thread Steeler
Yes, use the tutorials. When I started, I thought I could learn faster by just studying the Lunar Lander sample code... but as it turns out, that code is in many ways a good example of how not to write a solid Android program. (I still blame that code for a good bit of lost development time.) And

[android-developers] Re: Can't dynamically update ListAdapter for ListView

2010-03-19 Thread Kumar Bibek
What errors or problem do you get? Thanks and Regards, Kumar Bibek On Mar 19, 8:07 pm, Tatyana Ulyanova levkat...@gmail.com wrote: Hello, friends! I have a problem with adding new items to ListView. I use custom adapter MyListAdapter. I do that way: public class MyView extends

[android-developers] My ProgressDialog suffers from ANR timeouts?

2010-03-19 Thread dsukhram
I am downloading a 230MB database file from a server. I am displaying the progress of the download in a progressDialog. However about 12% into the download I get the ANR wait or force close popup. the logs indicate: 03-18 19:55:58.943: WARN/WindowManager(67): Key dispatching timed out sending to

Re: [android-developers] How to find email of the current user

2010-03-19 Thread David Ashwood
Direct them to your website to reset their password - use Google oAuth. No need to send them an email. The complete flow would be: 1) Install software on phone, direct them to your website 2) Request auth to link their Google acc with your site 3) Create the association between the install

Re: [android-developers] Re: Deleting a View from its Parent

2010-03-19 Thread social hub
LinearLayout pa=(LinearLayout)la.getParent(); if(pa!=null){ Log.i(TAG,removed view la parent); pa.removeView(la); mNetworkLayout.removeView(la); } this one works for me. but u should know ur parent first lets say ur

[android-developers] Create replacement lock screen.

2010-03-19 Thread Ozymandias
Does anyone know where to get started if I wanted to change the lock screen? I can't find any information about what intent to hijack or anything like that. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Create replacement lock screen.

2010-03-19 Thread Mark Murphy
Ozymandias wrote: Does anyone know where to get started if I wanted to change the lock screen? I can't find any information about what intent to hijack or anything like that. There is no supported means to replace the lock screen in today's SDK -- sorry. -- Mark Murphy (a Commons Guy)

[android-developers] Pass ArrayListCustom Type to new activity

2010-03-19 Thread Tommy
Hey, I am trying to figure out the best way to pass an ArrayList Custom Type to a new activity. Can anyone post some framework code for me or a link to a site with a good tutorial? Thank you in advance for your time! -- You received this message because you are subscribed to the

[android-developers] Re: Create replacement lock screen.

2010-03-19 Thread Ozymandias
That's unfortunate. So I'm guessing that Flyscreen and others do something hackish, like have a service which launches their activity when the screen turns on? Is there a way to unlock the screen using code? On Mar 19, 12:06 pm, Mark Murphy mmur...@commonsware.com wrote: Ozymandias wrote: Does

Re: [android-developers] Pass ArrayListCustom Type to new activity

2010-03-19 Thread Mark Murphy
Tommy wrote: I am trying to figure out the best way to pass an ArrayList Custom Type to a new activity. I will argue that complex data models should be in a shared spot (e.g., managed by a local service), referenced by both activities. You waste a bunch of CPU time and memory marshaling and

RE: [android-developers] Pass ArrayListCustom Type to new activity

2010-03-19 Thread Tommy
Ok sounds good. I'll drop it into a shared location to be accessable. Thanks for your time. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Mark Murphy Sent: Friday, March 19, 2010 3:41 PM To:

[android-developers] Re: Pass ArrayListCustom Type to new activity

2010-03-19 Thread niko20
If both activites are in the same process, just move the large arraylist to be a global static object. -niko On Mar 19, 1:46 pm, Tommy droi...@gmail.com wrote: Ok sounds good. I'll drop it into a shared location to be accessable. Thanks for your time. -Original Message- From:

[android-developers] Re: how can I animate a widget in and out of a View?

2010-03-19 Thread rsung
Checkout ViewStub discussed here... http://developer.android.com/resources/articles/layout-tricks-stubs.html On Mar 16, 9:39 pm, eburke eburk...@gmail.com wrote: Let's say I have some views stacked inside a LinearLayout: [LinearLayout vertical]        [ListView weight=1 so it fills the

[android-developers] Re: Dismissing Custom Dialog

2010-03-19 Thread Lance Nanek
Call the setOnClickListener method on the Button instance that you got from findViewById, just like you do for the TextView. Both classes subclass View, so they both have that method. Inside the method you call dismissDialog, which is available via the enclosing Activity, just like you call

[android-developers] Re: My ProgressDialog suffers from ANR timeouts?

2010-03-19 Thread Streets Of Boston
You should show some code-snippets of how you show/dismiss your progress dialog and how the download is handled. Right now, there is not enough info to help you. On Mar 19, 2:31 pm, dsukhram duanesukh...@gmail.com wrote: I am downloading a 230MB database file from a server. I am displaying the

RE: [android-developers] Re: Pass ArrayListCustom Type to new activity

2010-03-19 Thread Tommy
Yeah that's what I decided to do. Thanks for the advice guys/gals. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of niko20 Sent: Friday, March 19, 2010 3:56 PM To: Android Developers Subject: [android-developers] Re:

[android-developers] code.google.com is down for source code viewing or svn

2010-03-19 Thread pcm2a
One example would be here: http://code.google.com/p/android-wifi-tether/source/browse/ svn checking out or in is down as well: svn checkout http://android-wifi-tether.googlecode.com/svn/trunk/ android-wifi-tether-read-only svn: Server sent unexpected return value (502 Bad Gateway) in response to

[android-developers] Re: AnyBody to test My Application on Droid,N1.

2010-03-19 Thread Lance Nanek
Runs without crashing on my Droid in the US. There's a Toast popup about an ad not being ready. Doesn't seem like anything a user would care about. Maybe it's just accidentally left in from development. On Mar 19, 1:17 pm, Abdul Mateen abmat...@gmail.com wrote: Hi and Asslam-u-Alikum, Any body

[android-developers] Re: My ProgressDialog suffers from ANR timeouts?

2010-03-19 Thread dsukhram
this is my inner class that handles the downloading and progressbar public class DownloadDBTask extends AsyncTaskObject, Integer, Object { private int mProgress; public Object doInBackground(Object ...urls) { //download file int totalSize =0; try { URL urlFile = new

[android-developers] Re: App not visible in Australia

2010-03-19 Thread r...@thelogicbox
Do you know if they have any paid apps visible? There is an issue with Optus and associated carriers as they don't have an agreement in place for paid apps, hence no paid apps currently show in the market for those users. On Mar 19, 6:45 pm, String sterling.ud...@googlemail.com wrote: I've had a

[android-developers] Re: webkit onGestureXXX

2010-03-19 Thread davemac
I'm not familiar with the iPhone capabilities, but Android comes with the ability to understand gestures. Check out GestureOverlayView: http://developer.android.com/reference/android/gesture/GestureOverlayView.html - dave www.androidbook.com On Mar 19, 12:38 pm, mike enervat...@gmail.com wrote:

  1   2   >