[android-developers] Regarding short cut icon

2009-09-30 Thread Guru
I found this peice of code for creating short-cut at the dektop: Intent shortcutIntent = new Intent (Intent.ACTION_MAIN); shortcutIntent.setClassName(this, this.getClass ().getName()); Intent intent = new Intent();

[android-developers] Re: What would cause a DeadObjectException?

2009-10-01 Thread Guru
When the remote process gets killed by the OS,then you get a DeadObjectException. Any process might get killed by the OS depending on system requirements. On Thu, Oct 1, 2009 at 10:22 AM, yukinoba ckmagic...@gmail.com wrote: to dear all Android developers and fans, Does anyone ever meet a

[android-developers] Re: Activity Closing, Task affinity

2009-10-01 Thread Guru
look at onResume() On Wed, Sep 30, 2009 at 4:59 PM, Siju siju.mat...@gmail.com wrote: How can I force an activity to close when user presses Home button or navigates out of the activity? Do I get a callback when focus goes out of the activity? I cannot see that in the Activity callback

[android-developers] Re: Question on task affinites

2009-10-05 Thread Guru
Thanks I got the required functionality from Music Player application : !-- This is the current music playing panel, which has special launch behavior. We clear its task affinity, so it will not be associated with the main media task and if launched from a notification will not bring the rest of

[android-developers] WVGA Widget issues??

2009-10-07 Thread Guru
I have been able to scale-up my application in WVGA skins pretty easily for my app.But in WVGA mode the widget seem to be not working as desired.Sometimes the widget just gives the message No more room in the Home Screen even though there is space.Some times it takes up the whole screen without

[android-developers] Re: Sometimes the running emulator is not found from within Eclipse?!

2009-10-10 Thread Guru
+1 i have also ecountered this umpteen times on Windows XP. Sometimes it does not take recognise the internet connectivity.Only a restart helps On Sat, Oct 10, 2009 at 7:01 PM, Mariano Kamp mariano.k...@gmail.comwrote: Hi, when launching my app from within Eclipse, sometimes the running

[android-developers] Re: How to do ListView dynamic item growing?

2009-10-13 Thread Guru
OnScrollListner there is an example in the API demos. On Tue, Oct 13, 2009 at 2:12 PM, wangxueming m.wongxm...@gmail.com wrote: Now I want to make a ListView,with 20 items, Then when it scroll to the end, I get new data and add to the end of ListView dynamic. Just Like ListView in Android

[android-developers] Re: Google wave invitations...?

2009-10-15 Thread Guru
I want it.Thanks very much! On Fri, Oct 16, 2009 at 9:11 AM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations -- Thanks and Regards Gurudutt P.S. --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-10-10 Thread guru
' to '\sdcard': Read-only file system --- When i see in the emulator,I dont see the file i have pushed.Thanks for your help. Thanks Guru On Sep 24, 2:50 pm

[android-developers] Re: Where does the emulator look for the SD Card Image File ?

2008-10-10 Thread guru
help Thanks Guru On Sep 24, 2:50 pm, Sudha [EMAIL PROTECTED] wrote: in addition to the above mail I tried to pull out the default image coming the camera folder( apperas in the pictures in the emulator) and tried to push teh same back to /sdcar/dcim/camera. now also teh image appreas liek

[android-developers] How to change the ringtone of the phone

2008-10-15 Thread guru
hello, I need to know whether there is any way the ringtone of the phone can be changed programatically.If yes,please could any one help me on this. Thanks Guru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] file that is wriiten on an SDCard not visible

2008-10-16 Thread guru
I needed to download a file and store it in my sdcard.I first save it by writing in the output stream(by using openFileOutput) in the application package.From here I copy it to my SDCard and its written on my SDCard.But when i see my SDCard in the file in the DDMS mode i am able to see that

Re: [android-developers] Re: Widget Layout Frustration

2009-11-11 Thread Guru
thanks Romain. On Wed, Nov 11, 2009 at 9:49 PM, Romain Guy romain...@google.com wrote: That's the common Intent. On Wed, Nov 11, 2009 at 1:22 AM, for android forandr...@gmail.com wrote: i was referring to the INSTALL_SHORTCUT in the launcher application with action

Re: [android-developers] Re: offsetLeftAndRight() not working

2009-11-12 Thread Guru
textView.post(new Runnable() { public void run() { textView.offsetLeftAndRight(50); } }); On Thu, Nov 12, 2009 at 2:59 PM, Nithin nithin.war...@gmail.com wrote: After a layout means, after attaching the view to layout

[android-developers] Re: UnknownHostException

2009-08-11 Thread Guru
Could any please confirm that this is a bug in the SDK.Due to this we face a lot of issues in our app. http://code.google.com/p/android/issues/detail?id=2764 On Thu, Jul 23, 2009 at 9:10 AM, Guru gurudut...@gmail.com wrote: I saw this thread(since it is a dead thread--starting a new one

[android-developers] Re: Check for internet connection

2009-08-21 Thread Guru
/** * Checks whether the device is able to connect to the network * @param context * @return */ public static boolean isNetworkAvailable(Context context) { ConnectivityManager connectivity = (ConnectivityManager) context

Re: [android-developers] AppWidget Update on Orientation Change

2009-12-29 Thread Guru
there is a thread whch explains how to do this.I could'nt google it easily. You need to specify a different id for each of the layout.that is for example: sample.xml LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:orientation=vertical *android:id=landscape*

Re: [android-developers] Re: AppWidget Update on Orientation Change

2009-12-29 Thread Guru
the best way to call my code. - Ryan On Dec 29, 9:46 pm, Guru gurudut...@gmail.com wrote: there is a thread whch explains how to do this.I could'nt google it easily. You need to specify a different id for each of the layout.that is for example: sample.xml LinearLayout xmlns:android=http

[android-developers] Enabling wifi tethering mode

2010-08-30 Thread guru
Hi All, I am not seeing Wif tethering app in my phone. I enabled wifi in froyo build. But it is not showing tethering app ? What do i need to enable the app? Thanks Gururaja B O -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Enabling wifi tethering mode

2010-09-01 Thread guru
Hi All How to enable Tethering UI in froyo. I got some help from group, but still I am unable to enable UI. Please let me know procedure if any one enabled it. Thanks Gururaja B O On Aug 30, 2:45 pm, guru guru.nav...@gmail.com wrote: Hi All, I am not seeing Wif tethering app in my phone. I

Re: [android-developers] start emulator with ant

2010-09-01 Thread Guru
yep thanks i was able to start it:- target name=start.emulator exec executable=${emulator} failonerror=true arg value=-avd/ arg value=${my-avd}/ /exec /target On Wed, Sep 1, 2010 at 6:50 PM, Mark Murphy

[android-developers] Dialog box not (onClick event is not invoked) coming up while scanning for devices

2010-04-08 Thread guru
HI This is regarding Bluetooth application. Some times when I do scan for devices and device name change simultaneously, the dialog for name change request is not coming up. I am not getting why how scanning affects the device name change? how these are internally organized so that one can

[android-developers] Bluetooth application

2010-04-12 Thread guru
Hi All, This is regarding to bluetooth application in Android. When scanning of devices is active, if I invoke Device rename option, then some times the dialog for rename option is not coming. When I see the log, the onClick method of device name change is not invoked!. After scanning completes

[android-developers] How to know whether Activity/service is running or stopped

2010-04-13 Thread guru
Hi All, When I do various operations on bluetooth application ... scanning, renaming and discoverable after some time non of these works... if I try to change name, it is not reflecting. is it problem with Activity/service? How to check whether these are still running? How to debug such cases?

[android-developers] Bluetooth : Device Name/scan/discoverable event is not getting generated.

2010-04-14 Thread guru
org.bluez.Adapter:PropertyChanged from / org/bluez/1518/hci0 Please any clue or idea why this is happening. Guru -- 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] Wifi - Unable to scan for networks

2010-04-16 Thread guru
Hi, in Wifi module, postAttemptScan is used to retry for the scanning. Below is the section of code. Here SCAN_MAX_RETRY is 5, if it retry it for 4 times ( as he is doing below ), then it will display Unable to scan Network and immediately displays the Scan AP. if it retry it for 5 times, then it

[android-developers] Bluetooth file transfer to Laptop is failing.

2010-04-20 Thread guru
/BtOppTransfer( 1423): onReceive OUT V/BtOppTransfer( 1423): SDP request returned -1 (4268 ms) Thanks Guru -- 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

[android-developers] FTP client : How to change working directory

2010-04-22 Thread Guru
Hi friends, I am beginner to android. I am trying to develop FTP client in android. I am unable to change the working directory. I am using FileZilla FTP server. I want to upload one file (samplefile.txt) to FTP server. So, Step 1: I created this file using FileOutputStream fOut =

[android-developers] Max number of bluetooth devices that can be paired?

2010-05-10 Thread guru
Hi All is there any max limit that we can pair with bluetooth devices? How to check this limit.? when i tried to pair with more than 15 devices, it becomes slow and later it doesnt pair. Regards Gururaja B O -- You received this message because you are subscribed to the Google Groups Android

[android-developers] dir.delete issue

2010-07-07 Thread guru
Hi All I am facing some while deleting the non-empty directory. it is getting success. But it should not. Scenario: try { File dir = new File(System.getProperty(java.io.tmpdir), platformId + filechk); dir.mkdir();

[android-developers] writing to sd card issue

2010-07-07 Thread guru
Hi all I am trying to write to SD card without android.permission.WRITE_EXTERNAL_STORAGE permission in manifest file. I am able to write to sd card. Whether I have to mention this permission in application manifest or i have to mention in other places also. What other factors I have to look in

[android-developers] running executable.

2010-07-29 Thread guru
Hi All I have a executable which i want to run. How to make it run during bootup time i.e it should be running when mobile gets rebooted. how to make this executable to run in Android and where we specify this? Thanks Gururaja B O -- You received this message because you are subscribed to the

[android-developers] Question on performance of layout inflater

2009-05-14 Thread Guru
I have question on what is the best approch to take.I have a header view in all my screens of the app. So is it best to have the setContent of the header view and then adding the views by inflating them in the sub-class activity as below Base extends Activity{ private Linearlayout mHeader;

[android-developers] Re: [ListView + Custom adapter] items can't be selected (or highlighted)

2009-06-02 Thread Guru
Probably u have returned false in areAllItemsEnabled in the adapter or returning false in isEnabled(position) On Tue, Jun 2, 2009 at 4:36 PM, Tom thomas.coz...@gmail.com wrote: Hi, I developped a ListView with a custom adapter (which extends ArrayAdapter). The problem is that i can't

[android-developers] strike through text in widget

2010-10-18 Thread Guru
Is it possible to have strike through text in widget? the setFlags method is not available in the RemoteViews method?Is there any other way to accomplish this? This was the only link which i found on strike through textView. http://fupeg.blogspot.com/2010/01/strikethrough-android.html Thanks

Re: [android-developers] Re: strike through text in widget

2010-10-19 Thread Guru
, its not possible. You'd have to try something like placing a line (in, say, an ImageView) on top of the TextView. That shouldn't be a problem if the text in your TextView is static, but would be quite tricky otherwise! On Oct 19, 4:41 pm, Guru gurudut...@gmail.com wrote: Is it possible to have

[android-developers] WPA-EAP support in Android

2010-05-11 Thread guru
Hi All Does Android support Wifi WPA-EAP security mode?. Currently they are filtering secured and hidden networks. wifilayer.java /* * Ignore enterprise-secured, or hidden networks. * Hidden networks show up with empty SSID. */

[android-developers] Playing audio file through BT headset and file transfer via BT - voice is breaking.

2010-05-31 Thread guru
Hi All While transferring file via BT to other phone, if I try to play audio file via BT head set voice is breaking. when i see the log i am seeing W/AudioFlinger( 1184): write blocked for 335 msecs, 22 delayed writes, thread 0x22578 W/AudioTrack( 1184): obtainBuffer timed out (is the CPU

[android-developers] Prob using efficient list adapter

2009-06-09 Thread Guru
I have a list view with images and some text items. The images are actually URLs and are locally cached if the url is already displayed once.The problem is the listview seems to change the image itself while rendering.I am very sure that the caching mechanism of the url works fine. Is there

[android-developers] Re: Prob using efficient list adapter

2009-06-11 Thread Guru
multiple times and causing unwanted results.Is there any way to make sure that I call thread only once so that there are no unwanted results.Any ideas. Thanks very much Guru On Tue, Jun 9, 2009 at 11:45 AM, Guru gurudut...@gmail.com wrote: I have a list view with images and some text items

[android-developers] Re: Strange ListView loading problems

2009-06-24 Thread Guru
Are you running any thread in the getView of the adapter? On Wed, Jun 24, 2009 at 2:04 PM, Peter pkana...@gmail.com wrote: I have a listview that is populated by a couple threads that pull in data from the network. Before that data comes in, there are some default values displayed. When the

[android-developers] UnknownHostException

2009-07-22 Thread Guru
is that ,is this an emulator problem or a problem in the SDK. Many of our users complain of errors while they are using the app.Actually the users get Unknownhost exception.And this exception does not appear when the users re-start their device.Can some one shed some light on this. Thanks Guru

[android-developers] video conversion from .flv to .mp4

2010-03-24 Thread Guru
a charm on the iPhone,but i have had no luck on the android G1 developer phone,has any one tried this?If so what are the parameters that I may be missing.I am not even a beginner as far as media related libraries are concerned.Any pointers will be helpful. Thanks Guru -- You received this message

Re: [android-developers] video conversion from .flv to .mp4

2010-03-24 Thread Guru
Hi Marck...did not quite understand what this command actually does..?I got this on my command line Hinting file with Path-MTU 1450 Bytes Saving to src.flv: 0.500 secs Interleaving On Wed, Mar 24, 2010 at 5:39 PM, Mark Murphy mmur...@commonsware.comwrote: Guru wrote: I have been trying

Re: [android-developers] video conversion from .flv to .mp4

2010-03-24 Thread Guru
Thanks Mark.I tried the command with no luck.:( On Wed, Mar 24, 2010 at 5:56 PM, Mark Murphy mmur...@commonsware.comwrote: Guru wrote: Hi Marck...did not quite understand what this command actually does..?I got this on my command line Hinting file with Path-MTU 1450 Bytes Saving

Re: [android-developers] Re: Possible to finish() my activity when Home is pressed?

2010-03-25 Thread Guru
I think onPause is called. It will be hard to only close your activity in response to Home key presses, but I think you can get it to call finish in all cases where the Home button is pressed. The Home Button is not interpreted by the application ,so it is not possible for the app to call the

[android-developers] multiple notification

2010-03-26 Thread guru
HI all, I am noticing same multiple icons displayed on the status bar instead of icon(number of times it occured) ex: icon(2).. when failed in transferring file. How to display this in other format icon(2). Thanks Gururaja B O -- You received this message because you are subscribed to the

[android-developers] multiple Notification

2010-03-26 Thread guru
Hi If multiple notification comes, i want to display the icon once and number of times the Notification has come... not individual icon for each Notification. Please let me know how this can be achieved using NotificationManager? Regards Gururaja B O -- You received this message because you

[android-developers] Re: Notification manager question

2010-03-29 Thread guru
Hi Mark, I am facing problem in having single icon on status bar with number of particular notification occurrence. ex: ICON(3)... i made below changes... the number is coming but again multiple icons are coming up. What I have to need to achieve single icon and number of notification on the

[android-developers] Re: How to display icon on the status bar?

2010-03-29 Thread guru
Hi How to display one icon with number of notification like ICON(2)... is there any way to do it.? if i call below code multiple times, it will display separate icons for invocation. Regards Gururaja On Mar 9, 1:35 pm, a a harvey.a...@gmail.com wrote: NotificationmyNoti =

[android-developers] Re: How to have a notification icon with image + text

2010-03-29 Thread guru
HI Mark Mruphy, The current implementation of the Bluetooth Notification displays icon on status bar for each failure condition. But i want like single icon and number of such notifications. single icon(number) I used .number field, it is displaying number, but it is also displaying the icon

[android-developers] Re: How to have a notification icon with image + text

2010-03-31 Thread guru
for this? Thanks Gururaja O On Mar 29, 6:05 pm, Mark Murphy mmur...@commonsware.com wrote: guru wrote: The current implementation of the Bluetooth Notification displays icon on status bar for each failure condition. But i want like single icon and number of such notifications. single icon(number

[android-developers] Re: Notification manager question

2010-03-31 Thread guru
wrote: On Mon, Mar 29, 2010 at 4:37 AM, guru guru.nav...@gmail.com wrote: What I have to need to achieve single icon and number of notification on the status bar? Make sure you use the same ID when you call NotificationManager.notifiy

[android-developers] Re: Notification manager question

2010-04-01 Thread guru
one in my case... Regards Gururaja B O On Mar 31, 8:28 pm, ~ TreKing treking...@gmail.com wrote: On Wed, Mar 31, 2010 at 6:36 AM, guru guru.nav...@gmail.com wrote: first time it is not displaying number. if i restart my application then it will display the number. To add to what Mark already

[android-developers] Custom Scroll bar

2010-10-10 Thread guru sagar
Hi, Is there any chance of making Scroll bar like this by using existing android's Scroll view s . Thanks, sagar -- 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] Scrollbar

2010-10-10 Thread guru sagar
how to keep buttons on the scroll bar -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Custom Scroll bar

2010-10-10 Thread guru sagar
Hi, Is there any chance of making Scroll bar like this by using existing android's Scroll view s Thanks, sagar -- 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] location receiver

2010-10-12 Thread guru sagar
keep that method in @Overide public void onStart(){ } in Your activity On 10/12/10, A N K ! T ankit.awasth...@gmail.com wrote: ya i know it is the method in LocationManager. but how to use it that it listen everytime a location change occur.. can u give a example here it will be very

[android-developers] Facebook image share

2011-01-04 Thread guru sagar
Hi all, how to upload image to facebook through api ., Thanks in advance Thanks, Gurusagar -- 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] Facebook image share

2011-01-05 Thread guru sagar
Hi all, Is it possible to share image on facebook using facebook api ., please let me if it is possible . Thanks in advance Thanks, Gurusagar On 1/4/11, TreKing treking...@gmail.com wrote: On Tue, Jan 4, 2011 at 4:18 AM, guru sagar gurusagar...@gmail.com

Re: [android-developers] Facebook image share

2011-01-05 Thread guru sagar
an application with facebook and twitter api...thx On Wed, Jan 5, 2011 at 3:54 PM, guru sagar gurusagar...@gmail.com wrote: Hi all, Is it possible to share image on facebook using facebook api ., please let me if it is possible . Thanks in advance Thanks

Re: [android-developers] twitter integration

2010-11-22 Thread guru sagar
HI Kumar, can you please elaborate generic share module with some example ., Thanks, Gurusagar -- 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] Application Icon Badge

2010-11-24 Thread guru sagar
Hi, I want to know weather it is possible to keep badges on application Icons in android .,For example if i have unread sms in then it should display it on the icon Thanks, Gurusagar -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Application Icon Badge

2010-11-25 Thread guru sagar
Hi String, can we make app widgets embedd into application icon., Thanks, Gurusagar -- 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] Camera preview demo

2011-02-13 Thread guru sagar
hi, check permissons in android manifest file On Mon, Feb 14, 2011 at 12:59 PM, Jayanthi jaia...@gmail.com wrote: Hi Dude, I worked on camera preview for taking live image , Here I get following Exception java.io.FileNotFoundException: /sdcard/1297668185153.jpg (Permission

[android-developers] i want to unsubcribe

2011-10-12 Thread guru moorthy
i want to unsubcribe -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For

[android-developers] Browser callback

2011-06-26 Thread guru sagar
Hi all , Is there any possibility to get call back from the in built browser when we start from our activity Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(http://;)); startActivit(intent,0); Thanks in advance Thanks, Guru -- You received this message

[android-developers] HI

2011-06-26 Thread guru sagar
Hi , Is there any possibilty to get callback from in built browser in android when page is completly loaded . Thanks, Gurusagar -- 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] Browser callback

2011-06-26 Thread guru sagar
PM, TreKing treking...@gmail.com wrote: On Sun, Jun 26, 2011 at 1:00 AM, guru sagar gurusagar...@gmail.comwrote: Is there any possibility to get call back from the in built browser when we start from our activity No. And please do not assume that using the intent you posted

[android-developers] Hi-Launch time

2011-06-26 Thread guru sagar
Hi developers , I want to check the launch time for in built browser ?. am not getting callbacks for the in built browser Thanksinadvance -- Thanks, Gurusagar -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Hi-Launch time

2011-06-26 Thread guru sagar
://www.kbeanie.com* On Mon, Jun 27, 2011 at 10:39 AM, guru sagar gurusagar...@gmail.comwrote: Hi developers , I want to check the launch time for in built browser ?. am not getting callbacks for the in built browser Thanksinadvance -- Thanks, Gurusagar

Re: [android-developers] Hi-Launch time

2011-06-26 Thread guru sagar
* On Mon, Jun 27, 2011 at 10:45 AM, guru sagar gurusagar...@gmail.comwrote: i want to check the app launch time for in built browser for varoius devices . Is it possible On Mon, Jun 27, 2011 at 10:40 AM, Kumar Bibek coomar@gmail.comwrote: Launch time? What does that mean exactly? *Thanks

Re: [android-developers] Hi-Launch time

2011-06-26 Thread guru sagar
Hi Kumar , If you dont mine shall i send chat request to you . On Mon, Jun 27, 2011 at 10:58 AM, guru sagar gurusagar...@gmail.com wrote: launch time for android browser . On Mon, Jun 27, 2011 at 10:47 AM, Kumar Bibek coomar@gmail.comwrote: App Launch time in in-built

Re: [android-developers] Hi-Launch time

2011-06-26 Thread guru sagar
://www.kbeanie.com* On Mon, Jun 27, 2011 at 10:58 AM, guru sagar gurusagar...@gmail.comwrote: launch time for android browser . On Mon, Jun 27, 2011 at 10:47 AM, Kumar Bibek coomar@gmail.comwrote: App Launch time in in-built browser? Still, I am not sure what is your question

[android-developers] android edittext cursor back side moving

2011-09-14 Thread guru moorthy
I'm using gestures in android now i need small help when ever my gestures action will be equl my edit text cursor will be need to go back(like move back arrow) my code is if (prediction.equals(Move)) { ? } it will be happen for gestures operation -- You received this message because

[android-developers] Hybrid App: Need some help with showing Listview.

2012-09-29 Thread Guru, Sowmya
Hi there, I'm developing a hybrid app and I need to show a listview in my native code and the values for the view are fetched from a HTML. How do I achieve that? Regards, Sowmya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Unable to create new android application

2013-02-21 Thread Stu Guru
First post ever.. I am running os x mountain lion and very recently downloaded and installed adt 21. I have previously had eclipse juno and helios installed as well as old versions of the SDK. Issue: Create a new android application project using the wizard, tick/untick various options or

Re: [android-developers] ContentProvider contains dirty data from a previous JUnit test

2014-02-22 Thread Code Guru
The `ContentProvider` is created indirectly by calling `getContentResolver()` from inside a method of the `Activity` under test. I will have to look into using `ApplicationTestCase` as you suggest. On Sat, Feb 22, 2014 at 11:44 PM, Danny D daniel.m.dev...@gmail.com wrote: Is the object

Re: [android-developers] ContentProvider contains dirty data from a previous JUnit test

2014-02-22 Thread Code Guru
My current test class extends `ActivityInstrumentationTestCase2`. If I change it to extend `ApplicationTestCase`, how do I start an activity? On Sun, Feb 23, 2014 at 12:16 AM, Code Guru codegur...@gmail.com wrote: The `ContentProvider` is created indirectly by calling `getContentResolver

Re: [android-developers] ContentProvider contains dirty data from a previous JUnit test

2014-02-23 Thread Code Guru
In this case, I am testing the activities of my app with ActivityInstrumentationTestCase2. (I also have tests for the ContentProvider using ProviderTestCase2.) The two tests that I outlined earlier are for the data entry activity. I want to verify that the data entered is inserted into the

[android-developers] Re: Does Android OS have APIs to support VoLTE (VoIP) call application?

2014-04-06 Thread Guru Prasad
Bo zhaobopku at gmail.com writes: Hi : I want to develop a VoLTE call application.  However, I did not find any information about which android API I can use to develop it. May I know if Android OS have APIs to support VoLTE (VoIP) call application? Thank you! Hi, Even I

[android-developers] Re: external flash app?

2009-09-10 Thread Maps.Huge.Info (Maps API Guru)
If you want to depend on an external flash to trigger the camera, and use that flash to improve the picture, I think you'll find that impossible as the camera is way too slow to react to such a sudden event. Try triggering the camera manually. It takes about a second before the image is captured,

[android-developers] Re: Uploading Screen Shots of App to Android Market

2009-09-11 Thread Maps.Huge.Info (Maps API Guru)
I had no trouble uploading my screen shots. Make sure you have no alpha, which may mean in your case using 8 bit PNG's instead of 24. You also may have selected to use transparency in your PNG's which would cause trouble. Make sure you have the exact size asked for as well. -John Coryat What

[android-developers] Re: unique phone id....

2009-09-13 Thread Maps.Huge.Info (Maps API Guru)
I'm using: Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID) as a unique id for the phone. It doesn't require any additional permissions and seems to be unique. Someone correct me if I'm wrong... -John Coryat What Zip? Radar Now!

[android-developers] Re: Request to official ADC2 team.

2009-09-14 Thread Maps.Huge.Info (Maps API Guru)
+ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Disable WebKit JavaScript security for XMLHttpRequest

2009-09-17 Thread Maps.Huge.Info (Maps API Guru)
Use JSON instead. No cross domain security with that method. -John Coryat What Zip Code? Radar Now! --~--~-~--~~~---~--~~ 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: HttpURLConnection getResponseCode

2009-09-17 Thread Maps.Huge.Info (Maps API Guru)
I had this problem as well. I solved it by looping until I got a 200 response. It's 100% effective. Here's is the relevant code: http_response_code = -1 ; HttpURLConnection conn = null ; int iRetry = 0; while ( iRetry 10 ) { iRetry++ ; try { conn=

[android-developers] Re: Trying to get Javascript on Android

2009-09-18 Thread Maps.Huge.Info (Maps API Guru)
I think a lot of developers, especially ones from the web world, forget that these mobile devices are like desktop computers of the mid-90's in power and speed. Trying to get a complex JavaScript application to run on the phone is probably going to be disappointing. Just because it runs on FF

[android-developers] Re: Trying to get Javascript on Android

2009-09-18 Thread Maps.Huge.Info (Maps API Guru)
You can easily test your device's browser JavaScript capabilities by calling up a Google Map API (v3 is best on mobile) application. Here's one you can try: http://www.usnaviguide.com/v3maps/ProjectedOverlayTest.htm If this map works, you have JavaScript enabled. -John Coryat What Zip Code?

[android-developers] Re: Trying to get Javascript on Android

2009-09-19 Thread Maps.Huge.Info (Maps API Guru)
In a word: YES! Implementations of JavaScript vary across all the major platforms, you have to be very careful about testing, test and more testing each time you make a change to any code on a web page. The worst offenders are IE6 and IE7. Safari has plenty of quirks and as the iPhone is a

[android-developers] Re: Trying to get Javascript on Android

2009-09-20 Thread Maps.Huge.Info (Maps API Guru)
The reason they don't work on the Android browser (or webkit for that matter) is that they are using mouse events. If you want to use that code on the Android you have to use touch events instead. Try reading up on the following: touchstart - finger touches the screen touchmove - finger is

[android-developers] Re: Trying to get Javascript on Android

2009-09-20 Thread Maps.Huge.Info (Maps API Guru)
It probably will work, mouse and touch events won't happen simultaneously. As for touch, you can have multiple finger touches (think iPhone) which can be interpreted differently than anything that can be done with a mouse. Android doesn't (I believe) support gestures at this point but may in the

[android-developers] Re: Trying to get Javascript on Android

2009-09-20 Thread Maps.Huge.Info (Maps API Guru)
One other thing... I've found differences between the way iPhone and Android handle events. Mouse events on the iPhone are handled differently on Android, so keep that in mind as well. -John Coryat What Zip Code? Radar Now! --~--~-~--~~~---~--~~ You received

[android-developers] Re: Now ADC2 judging has begun.

2009-09-24 Thread Maps.Huge.Info (Maps API Guru)
How do you figure? I see no announcements, no way to download a judging app, no blog entries, news stories, CNN message on the scroll... I did see an entry in the log from somebody running one of our entries, so maybe testing has begun. -John Coryat What Zip Code? Radar Now!

[android-developers] Re: Now ADC2 judging has begun.

2009-09-24 Thread Maps.Huge.Info (Maps API Guru)
How the devil are regular users going to be to: 1. Know ADC2 exists. 2. Find the judging app. I will bet that the majority of judges will be developers! Talk about a tainted jury! -John Coryat What Zip Code? Radar Now! --~--~-~--~~~---~--~~ You received this

[android-developers] Re: Now ADC2 judging has begun.

2009-09-24 Thread Maps.Huge.Info (Maps API Guru)
I have to say that the judging app is a bit disappointing. There is no way I can see to skip an app, or if it's not applicable (such as traffic in England - I'm in the US), to not judge it. There should be a way to indicate NA and continue. How do you judge an app that you can't run? All 1 stars?

[android-developers] Re: Now ADC2 judging has begun.

2009-09-24 Thread Maps.Huge.Info (Maps API Guru)
Oop! You can hit the menu button and then Skip - that should be more obvious to the users. -John Coryat What Zip Code? Radar Now! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: How to take a screencast demo of app

2009-09-24 Thread Maps.Huge.Info (Maps API Guru)
DDMS tool Device - screen capture. You'll have to be running in the emulator or connected to ddms through the USB cord. -John Coryat What Zip Code? Radar Now! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Now ADC2 judging has begun.

2009-09-25 Thread Maps.Huge.Info (Maps API Guru)
I have to agree that any complex or involved apps will not make it with the way the judging app is written. Google should have made it so you could keep the apps you're judging for a while at least, in some sort of special directory, so you could use them for a few days before deciding if they

[android-developers] Re: Now ADC2 judging has begun.

2009-09-25 Thread Maps.Huge.Info (Maps API Guru)
Last night I reviewed about 20 apps also and had no problems at all. Today, I've not been able to review a single one. I get stuck in the download stage as well. It's probably due to the higher volume on the market right now. Perhaps someone at Google forgot to throw some switch to turn on

  1   2   3   4   5   6   7   >