[android-developers] Re: USBConnection: bulkTransfer OUT => after sending 10-15 x Data's every 4 seconds = USB is disconnected, every time.

2013-07-05 Thread AndroidYourself
No one has this issue?

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Google direction API

2013-07-05 Thread TreKing
This is your code

On Thu, Jul 4, 2013 at 9:19 PM, Sunny  wrote:

>  String hosturl="https://maps.googleapis.com/maps/api/directions/xml?";;
>  String url = "origin=" +*lat1 + " " + lon1*  + "&destination=" + *lat2 +
> " " + lon2* + "&sensor=true";
>

And this is the docs for that API.
https://developers.google.com/maps/documentation/directions/#RequestParameters

*Required parameters*

   - origin — The address or textual latitude/longitude value from which
   you wish to calculate directions. If you pass an address as a string, the
   Directions service will geocode the string and convert it to a
   latitude/longitude coordinate to calculate directions. *If you pass
   coordinates, ensure that no space exists between the latitude and longitude
   values.*

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Google Cancelled this Order. Reason: Other

2013-07-05 Thread Nathan


On Friday, July 5, 2013 3:39:53 PM UTC-6, Steve Gabrilowitz wrote:
>
> How can you tell that they are the same people?  Mine stopped giving me 
> customer information a few months back, all I get now is zip code ;-(
>

Still getting name and zip code, but I guess I should count on that 
disappearing when the transition from Google Checkout to Google Wallet is 
complete. :(

It's going to be a major pain looking up orders in the near future.

Nathan

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] How i can programatically downlaod our emails from gmail account ?

2013-07-05 Thread Lew
Thank you for that, TreKing. I learned a lot from your link.

-- 
Lew

TreKing wrote:
>
> http://lmgtfy.com/?q=gmail+api
>
> Ashish Sharma wrote:
>
>> I want to downaload mails  from my gmail  account..is there any why?
>>
>  

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Google Cancelled this Order. Reason: Other

2013-07-05 Thread Steve Gabrilowitz
How can you tell that they are the same people?  Mine stopped giving me
customer information a few months back, all I get now is zip code ;-(


On Fri, Jul 5, 2013 at 12:48 PM, Nathan  wrote:

> I've always gotten a few of these orders. I have never known what the heck
> that means or what kind of confusing message the end user gets in that
> situation
>
> However, yesterday, July 4th, I have over a hundred in one day. Many of
> them are the same unlucky people trying up to ten times. They outnumbered
> the successful orders.
>
> Maybe other means "our guy who usually approves such orders is out buying
> fireworks"
>
> I wanted to check here to see if anyone is seeing the same pattern.
>
> I believe there was a rash of them last fall and a number of us saw them
> in big numbers.
>
> Nathan
>
> --
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] How i can programatically downlaod our emails from gmail account ?

2013-07-05 Thread TreKing
http://lmgtfy.com/?q=gmail+api


On Thu, Jul 4, 2013 at 4:20 AM, Ashish Sharma  wrote:

> Hi,
>
> I want to downaload mails  from my gmail  account..is there any why?
>
> --
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] setLayoutParams stops working

2013-07-05 Thread TreKing
On Wed, Jul 3, 2013 at 1:24 AM, Wyler Yerrachione <
foundationservi...@gmail.com> wrote:

> So wouldn't I just be setting layout params in your approach as well, so
> would I have any expectation of this same flaky behavior not showing up?


I have no idea. One way to find out is to try and see. There are a lot of
things in Android that work one way but not the other, without clear
evidence of why one method works versus the other.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] APK Re-Install Won't Clear Data

2013-07-05 Thread Johan Appelgren
Where do you store data and what version of Android do you test on? 

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Google Cancelled this Order. Reason: Other

2013-07-05 Thread Nathan
I've always gotten a few of these orders. I have never known what the heck 
that means or what kind of confusing message the end user gets in that 
situation 

However, yesterday, July 4th, I have over a hundred in one day. Many of 
them are the same unlucky people trying up to ten times. They outnumbered 
the successful orders. 

Maybe other means "our guy who usually approves such orders is out buying 
fireworks"

I wanted to check here to see if anyone is seeing the same pattern.

I believe there was a rash of them last fall and a number of us saw them in 
big numbers. 

Nathan

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: how to fire intent when net is connected

2013-07-05 Thread amey523
Hi-register a BroadcastReceiver to listen to the change in network 
connectivity. You'll need to register this receiver in the Manifest file 
since you want it to be active even when the Application is not in the 
foreground. Then in your onReceive you can do something like this:

ConnectivityManager connectivityManager = (ConnectivityManager) 
context.getSystemService( Context.CONNECTIVITY_SERVICE );
NetworkInfo activeNetInfo = 
connectivityManager.getActiveNetworkInfo();
   
   if(activeNetInfo!=null){

 //send your email
 {







On Thursday, July 4, 2013 6:11:11 AM UTC+1, Sadhna Upadhyay wrote:
>
> Hi guys,
>i am creating a app in which i have to email and the issue is this 
> that mail should be send whenever net is connected,even application has 
> been exit.
> may be some gramatical here please ignore that and please help me
>
>
>

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Files saved in internal memory getting cleared when application closed from multitask window

2013-07-05 Thread amey523
If you want your data to persist even when the Application is sent to 
background, it is better to save the data on the external SD Card. It might 
be that your data is getting cleared when you are swiping it off from the 
running Applications or recently running Applications. Try using 
SharedPreferences and see what happens. If that doesn't help, then it might 
be a good idea to use the External Directory or SQLite.

On Friday, July 5, 2013 8:15:06 AM UTC+1, Safy wrote:
>
> Our app saves application data to internal memory using the 
> Context.getDir(foldername,Context.MODE_READABLE | Context.MODE_WRITABLE). 
> The app data works fine on all platform except Android Samsung Galaxy Nexus 
> 4.2.2 and Google Nexus 4.2.2, when the application is closed from the multi 
> task window, by swiping the application out from current running 
> application list. If the appllication is exited normally, by pressing back, 
> back.. button the app data does not get affected. 
> We tried the same steps on HTC One 4.0.3, but the issue is not 
> reproducible and the app data does not get cleared when the application is 
> removed from currently running list from the multi task app running view. I 
> have debugged a lot, I couldn't find any issue with the code. All the file 
> streams are closed properly.  Also when we set the following setting under 
> developer option, Background process limit to No Background processes, the 
> app data is not getting cleared on Samsung Galaxy Nexus 4.2.2 and Google 
> Nexus 4.2.2. 
> If we set the Background process Limit  back to Standard Limit and Close 
> our application from  Multi task application View on the device homescreen, 
> the App data gets cleared, hence all the information of the user gets 
> cleared.
> Our application has multiple activities, When the Application is send to 
> background by pressing Home Button from the Launcher Activity, and then 
> closing the Application from Multi Tasking Window View, the App data does 
> not cleared and the issue is not reproducible on Samsung Galaxy Nexus 4.2.2 
> and Google Nexus 4.2.2.
> But when the Application moves away from Launcher Activity to other 
> Activity of our Application and then our Application is sent to background, 
> by pressing Home Button and then closing our application from Multi Tasking 
> Window from the Device Homescreen, the Files saved using 
> Context.getDir(foldername,Context.MODE_READABLE | Context.MODE_WRITABLE) is 
> getting cleared.
> I also tried to reproduce this issue on Android Emulator 4.2.2, but it is 
> not reproducible and it is working perfectly.
> I am not sure why the internal memory files are getting cleared by the OS 
> and how is it related to the Limit Background Process, as our application 
> is working perfectly with No Background processes, but it is getting 
> cleared in case of Standard Limit which is the Factory Settings in all 
> Devices.
>

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Files saved in internal memory getting cleared when application closed from multitask window

2013-07-05 Thread Safy
Our app saves application data to internal memory using the 
Context.getDir(foldername,Context.MODE_READABLE | Context.MODE_WRITABLE). 
The app data works fine on all platform except Android Samsung Galaxy Nexus 
4.2.2 and Google Nexus 4.2.2, when the application is closed from the multi 
task window, by swiping the application out from current running 
application list. If the appllication is exited normally, by pressing back, 
back.. button the app data does not get affected. 
We tried the same steps on HTC One 4.0.3, but the issue is not reproducible 
and the app data does not get cleared when the application is removed from 
currently running list from the multi task app running view. I have 
debugged a lot, I couldn't find any issue with the code. All the file 
streams are closed properly.  Also when we set the following setting under 
developer option, Background process limit to No Background processes, the 
app data is not getting cleared on Samsung Galaxy Nexus 4.2.2 and Google 
Nexus 4.2.2. 
If we set the Background process Limit  back to Standard Limit and Close 
our application from  Multi task application View on the device homescreen, 
the App data gets cleared, hence all the information of the user gets 
cleared.
Our application has multiple activities, When the Application is send to 
background by pressing Home Button from the Launcher Activity, and then 
closing the Application from Multi Tasking Window View, the App data does 
not cleared and the issue is not reproducible on Samsung Galaxy Nexus 4.2.2 
and Google Nexus 4.2.2.
But when the Application moves away from Launcher Activity to other 
Activity of our Application and then our Application is sent to background, 
by pressing Home Button and then closing our application from Multi Tasking 
Window from the Device Homescreen, the Files saved using 
Context.getDir(foldername,Context.MODE_READABLE | Context.MODE_WRITABLE) is 
getting cleared.
I also tried to reproduce this issue on Android Emulator 4.2.2, but it is 
not reproducible and it is working perfectly.
I am not sure why the internal memory files are getting cleared by the OS 
and how is it related to the Limit Background Process, as our application 
is working perfectly with No Background processes, but it is getting 
cleared in case of Standard Limit which is the Factory Settings in all 
Devices.

-- 
-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.