[android-developers] Flickr Photo upload error

2013-03-13 Thread cgttester gold
public void sendPost() { String title = posttitle.getText().toString(); String body = poststring.getText().toString(); HttpPost hpost = new HttpPost("http://api.tumblr.com/v2/blog/"; + blogname.getText().toString() + ".tumblr.com/post?api_key=" + token); List nameValuePairs = new

Re: [android-developers] Re: OutofMemory Excepton error in android

2013-03-13 Thread Kristopher Micinski
Throwing a line of code isn't going to stop your library from attempting to buffer a huge file... Kris On Thu, Mar 14, 2013 at 1:59 AM, karunakar medamoni wrote: > Thanks for ur Suggestion. > > Ooops. I tried it now still same error java.lang.outofMemoryError. > > Thanks & Regards > > M. Karun

Re: [android-developers] Re: OutofMemory Excepton error in android

2013-03-13 Thread karunakar medamoni
Thanks for ur Suggestion. Ooops. I tried it now still same error java.lang.outofMemoryError. Thanks & Regards M. Karunakar University of Hyderabad,Hyd, 9491388035. On Thu, Mar 14, 2013 at 11:15 AM, Harish wrote: > Hi > > Try this code if it helps > > System.setOut(new PrintStream(new Buffe

Re: [android-developers] Re: Sync contacts

2013-03-13 Thread shibin francis
Buddy.. Itz very simple. You can run your service when something happened(onChange) to your contact. It can be add edit delete or update. You must check what happened to your contact. On 3/5/13, Johnny wrote: > have you got the answer? Actually I am also trying to do this task. > > On Tuesday, Ma

[android-developers] Re: OutofMemory Excepton error in android

2013-03-13 Thread Harish
Hi Try this code if it helps System.setOut(new PrintStream(new BufferedOutputStream(new FileOutputStream("/data/data/com.samsaadhani.sandhi1/files/output"),1024))); FileOutputStream fis = openFileOutput("input", Context.MODE_PRIVATE); fis.write(input.ge

Re: [android-developers] Re: OutofMemory Excepton error in android

2013-03-13 Thread Kristopher Micinski
how big is the file you're reading..? In general, you can't allocate that much space on Android. To combat this you need to be able to do lazy I/O. But ... are you trying to read in a dictionary (using apertium?). I'd guess this is a few megabytes at least right? Having a megabyte or two on th

Re: [android-developers] Re: OutofMemory Excepton error in android

2013-03-13 Thread karunakar medamoni
Hi Richard Good Morning. As per your mail am attaching my android log file. Please have look at once. I ran the same program from command line and also in eclipse. I got the output , when i try to integrate with android am getting this error. Thanks & Regards M. Karunakar University of Hyderaba

[android-developers] bluetooth file transfer failure

2013-03-13 Thread akash roy
here i am trying to send a file over bluetooth but its not sending any data. here the main problem is that its not sending or receiving any data over the two devices but they are connected to each other. Sending code: File myFile = new File(message.toURI()); Double nosofpackets = M

[android-developers] image issue while view it as base64 in android mobile2.3

2013-03-13 Thread senthil kumar
Hi, Using phone and javascript in our application. we want to see the image as base64 from the sqlite db. In some mobile all the image(i.e 4 or 5) are viewed but in some mobile some of the image(even 1 is not displayed) are not viewed we do not know why it happening... is it due to memory? Pl

[android-developers] How to merge Android project to maven project

2013-03-13 Thread chandur mani
Dear All, Kindly help me out above the same. Thanks Mani -- -- 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-d

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-13 Thread Jason Polites
So I've been working in Intellij all day today, although most of the time was spent in the setup/config process. I initially tried to get the C++ plugin to work for my NDK related stuff but just couldn't get the paths setup correctly (I assume) becaus

Re: [android-developers] Re: How to replace the ItemizedOverlay with onTap event

2013-03-13 Thread Mark Murphy
On Wed, Mar 13, 2013 at 6:39 PM, Edward Lin wrote: > If I am using RelativeLayout to position the popup over the marker, is there > any way I can get the location of the marker on the mapFragement when I > click the marker? Well, you know the latitude and longitude of the marker, as you created i

Re: [android-developers] Re: How to replace the ItemizedOverlay with onTap event

2013-03-13 Thread Edward Lin
Thanks for information! That sounds like Google Map API V2 is way more complicated than V1 if developers try to use a popup to show information and execute different events. If I am using RelativeLayout to position the popup over the marker, is there any way I can get the location of the marker on

Re: [android-developers] Integrate app with Pinterest, Instagram...

2013-03-13 Thread TreKing
On Wed, Mar 13, 2013 at 5:08 PM, Carlos Calvo <1caca...@gmail.com> wrote: > What is the best option? This has nothing to do with Android development. - TreKing

[android-developers] Integrate app with Pinterest, Instagram...

2013-03-13 Thread Carlos Calvo
Hello, I want to integrate my application with a storage service of images in the cloud type Pinteres, Instagram, etc. You know if any of these has API to manage the images from my application? What is the best option? thx kLvin -- -- You received this message because you are subscribed to

[android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-13 Thread bob
I tried intelliJ on Mac yesterday, and it *was* a hassle telling it where the JDK and Android SDK were. I'm not even sure how I got past that part. A lot of fiddling and googling were involved. Anyhow, it is working now, and the fonts are pretty nice on Mac. I'd say I prefer them over Ecl

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

2013-03-13 Thread Lew
Jason wrote: > Sure, but the intention of the thread was to inform as to whether intellij > is a realistic option for Android development. People are relaying their > personal experience with each, which is all valid, relevant information for > those interested in the answer, which I am since

Re: [android-developers] Re: How to replace the ItemizedOverlay with onTap event

2013-03-13 Thread Mark Murphy
You define views for the InfoWindow, but that's not what is rendered on the screen, AFAIK. Instead, the views appear to be converted into a bitmap, presumably by drawing them into a bitmap-backed Canvas. My assumption is that this is due to the inter-process communication between the Maps V2 librar

Re: [android-developers] Re: How to replace the ItemizedOverlay with onTap event

2013-03-13 Thread Edward Lin
I can supply the custom view, the views have the autolink for phone or email, but when I click the InfoWindow, it raised as whole InfoWindow event. Here is the codes I revised from a post by Commonware. Any light? public class TaskMapV2 extends FragmentActivity implements OnInfoWindowClickListener

[android-developers] Re: maps api 2,onlocationchanged direction

2013-03-13 Thread lbendlin
The blue marker is not your location. It is just the starting point of the route. You need to manage the MyLocation overlay separately. On Wednesday, March 13, 2013 1:40:13 AM UTC-4, Pratama Nur Wijaya wrote: > > >

Re: [android-developers] Re: How to replace the ItemizedOverlay with onTap event

2013-03-13 Thread Edward Lin
I will have a try and let you know the results. Thanks! On Wed, Mar 13, 2013 at 3:25 AM, Martin wrote: > Can you use the InfoWindowAdapter and override it's GetInfoContent handler > to supply your own custom View and in that custom View create the clickable > Views you require? > > > https:/

[android-developers] Re: android cts: Why do tests in the package run fail but individual tests pass?

2013-03-13 Thread RichardC
AOSP forums are here: http://source.android.com/community/index.html On Wednesday, March 13, 2013 3:49:06 PM UTC, trueskew wrote: > > I'm hitting failures when running > > cts-tf > run cts --package android.holo > > but when I run the failed tests individually, like > > cts-tf > run cts --class a

[android-developers] Re: Sending and Receiving SMS/MMS in Android

2013-03-13 Thread Etienne
*Receiving MMS* So after doing more research I saw some suggestions of registering a ContentObserver. That way you can detect when there are any changes to the content://mms-sms/conversations Content Provider, consequently allowing you to detect incoming MMS. Here is the closest example to ge

Re: [android-developers] Re: OutofMemory Excepton error in android

2013-03-13 Thread karunakar medamoni
Hello Richard Thank u for u reply. I will be back with full stack from LogCat by tomorrow morning. Thanks & Regards M. Karunakar University of Hyderabad,Hyd, 9491388035. On Wed, Mar 13, 2013 at 6:11 PM, RichardC wrote: > Can you include the full stack trace from LogCat please. > > > On Wedn

[android-developers] android cts: Why do tests in the package run fail but individual tests pass?

2013-03-13 Thread trueskew
I'm hitting failures when running cts-tf > run cts --package android.holo but when I run the failed tests individually, like cts-tf > run cts --class android.holo.cts.HoloTest --method testHoloWallpaperNoTitleBar they pass. Without knowing the internals, I'd expect that something that fail

[android-developers] Re: Android Service

2013-03-13 Thread bob
On Friday, March 1, 2013 1:39:59 AM UTC-6, Amith Salian wrote: > > I have a strange situation with my Service in Activity. > My service calls a background method every 20 sec when active. In the > development environment the time elapse between successive calls is exactly > 20 sec,* however in

[android-developers] Re: EditText stops displaying characters as I'm typing?

2013-03-13 Thread Chandra Sekhar Nayak
I am finding the same problem in my Kindle tablet. While typing 1st letter its not showing and after that from 2d to 8th letter its showing and there after it is not showing. This issue happens with the edittext of some activities. Some other Activities are having the edittext with same attribu

[android-developers] Re: OutofMemory Excepton error in android

2013-03-13 Thread RichardC
Can you include the full stack trace from LogCat please. On Wednesday, March 13, 2013 11:37:16 AM UTC, karunakar medamoni wrote: > > Hello > > Every one. This is karunakar working on android project. Am converting > apertium based webpage to android app. When i try to run > com.apertium.lttoolb

[android-developers] Re: Android Service

2013-03-13 Thread Dan
On Friday, March 1, 2013 2:39:59 AM UTC-5, Amith Salian wrote: > > I have a strange situation with my Service in Activity. > My service calls a background method every 20 sec when active. In the > development environment the time elapse between successive calls is exactly > 20 sec, however in an

[android-developers] OutofMemory Excepton error in android

2013-03-13 Thread karunakar medamoni
Hello Every one. This is karunakar working on android project. Am converting apertium based webpage to android app. When i try to run com.apertium.lttoolbox.LTPorc class with two arguments filename.bin file and input file am getting this error. If any help from any one it would be helpful for

[android-developers] Re: New SDK release for Egnos

2013-03-13 Thread Leonardo Costa
Hello! The European Commission wanted me to remind you that the EGNOS SDK v3 is fully available for different OS: access the EGNOS portal for downloading your version of the toolkit (Download the EGNOS SDK). You can also check the compatibility of your OS version. If you encounter any problem in

[android-developers] CONNECT Request sent when using HttpUrlConnection and keep-alive

2013-03-13 Thread Guillaume Lachaud
Hi ! I am using Charles Proxy to monitor HTTP requests during the development of my application. I have recently switched from using HttpClient to HttpUrlConnection and I have noticed something weird with Charles. After issuing a few requests in a row (say something like 30), I will see a requ

[android-developers] Re: How to replace the ItemizedOverlay with onTap event

2013-03-13 Thread Martin
Can you use the InfoWindowAdapter and override it's GetInfoContent handler to supply your own custom View and in that custom View create the clickable Views you require? https://developers.google.com/maps/documentation/android/reference/com/google/android/gms/maps/GoogleMap.InfoWindowAdapter#get