Re: [android-developers] Tips on how to start android development

2011-08-04 Thread Miguel Morales
It's easy. Choose a project and start developing it. There's no better way of learning than getting your hands dirty. You won't do everything right the first time, but you'll learn a lot. On Thu, Aug 4, 2011 at 3:21 PM, Mark Murphy mmur...@commonsware.com wrote: On Thu, Aug 4, 2011 at 5:30 PM,

Re: [android-developers] Re: Android -- the forgotten real fragmentation

2011-08-03 Thread Miguel Morales
Do you mean things like adding fields to a table and having these fields also be added to users with existing databases? I haven't done that much with sqlite on android yet, but I can see where problems would occur. But I *think* the sql api has functions to create and alter tables to meet the

Re: [android-developers] Re: Android -- the forgotten real fragmentation

2011-08-03 Thread Miguel Morales
Your app should support older versions of the sdk without the user having the revert to an old (outdated) version of your app. If you are going to support older versions, you should do so by keeping your latest versions backward-compatible. However, sqlite should be fine for this job. This sounds

Re: [android-developers] Re: Android -- the forgotten real fragmentation

2011-08-03 Thread Miguel Morales
you tried I can try those out as well. I suspect the error has to do with your funky file name. On Wed, Aug 3, 2011 at 6:24 PM, Miguel Morales therevolti...@gmail.com wrote: Your app should support older versions of the sdk without the user having the revert to an old (outdated) version of your

Re: [android-developers] Re: Android -- the forgotten real fragmentation

2011-08-03 Thread Miguel Morales
Also just ran a test creating the database using the latest version and reading it using the older version with the same results. On Wed, Aug 3, 2011 at 6:43 PM, Miguel Morales therevolti...@gmail.com wrote: I just compiled two versions of sqlite lite. 3.7.7.1 2011-06-28 17:39:05

Re: [android-developers] Re: Most Efficient (TIMING) way to save the images onto the Tablet!!!!

2011-07-28 Thread Miguel Morales
When writing to the sdcard directly did you wrap your file stream around a buffered stream with a 8k buffer? On Thu, Jul 28, 2011 at 11:37 AM, Kostya Vasilyev kmans...@gmail.com wrote: Your timings don't seem that bad - 180 ms for approximately 3 MB image (you didn't write anything about

Re: [android-developers] troubles with webview + facebook

2011-07-26 Thread Miguel Morales
Does it work in the android browser? Have you tried setting a custom chrome client and overriding the logging method and seeing what it displays? On Tue, Jul 26, 2011 at 1:53 PM, Vladimir Svydenko vov...@gmail.com wrote: Have some problem: I create simple Activity with webview. If you visit

Re: [android-developers] order of images in sprites

2011-07-25 Thread Miguel Morales
I usually follow the rpg maker style, to save space one frame per movement per direction. However, if you want to keep it flexible you may want to have a definition file or something. You might want to look at: http://www.texturepacker.com/ and see what they recommend. On Mon, Jul 25, 2011 at

Re: [android-developers] calling a client side java method from a webview html button

2011-07-21 Thread Miguel Morales
http://developer.android.com/guide/webapps/webview.html On Thu, Jul 21, 2011 at 12:31 PM, sabanim rickd...@gmail.com wrote: cross post url:http://stackoverflow.com/questions/6781613/calling-a- client-side-java-method-from-server-side-html-button Ok In an android vebview I have a java method.

Re: [android-developers] Re: WebView - How can I block/deactivate all the links in a WebView after the content is loaded?

2011-07-12 Thread Miguel Morales
There are a few options. You can set a custom webview client and override onShouldOverride and make it so that the webview never navigates away from the page. If you control the server side, have the page load without the links being clickable. Or insert a piece of javascript that disables the

Re: [android-developers] Re: WebView - How can I block/deactivate all the links in a WebView after the content is loaded?

2011-07-12 Thread Miguel Morales
For overriding the url loading methods, see: http://developer.android.com/reference/android/webkit/WebViewClient.html#shouldOverrideUrlLoading(android.webkit.WebView, java.lang.String) For the javascript, it would be something like getElementsByTagName('a'). Then iterate over the object array

Re: RE: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-07 Thread Miguel Morales
So, I have to find somebody to find a nice, legal way to say 'suck my balls, your patent doesn't apply to my app?' Ok. Sorry, but I'm not going to let these suit retards try to get any money from me. Then again, I live in a shitty apartment and the most expensive thing I own is my do, I ride my

Re: [android-developers] Re: Patent Infringement notice by Lodsys.

2011-07-06 Thread Miguel Morales
I would respond telling them to contact google. The app never presents the user with any interactive method for making a purchase. From the app level, we tell Android that a user has selected something that may be a product and Android checks if this something is a valid product. (There is no

Re: [android-developers] Drawing

2011-06-28 Thread Miguel Morales
. But when I   zoom in the line stays where it was  and  does not zoom with the whole image ?? how can I make the line adjust with the zoom of the image ?? Thanks in advance On Jun 27, 2011, at 10:11 PM, Miguel Morales wrote: Hmm, doesn't look like you are. Try drawing on the bitmap itself

Re: [android-developers] Drawing

2011-06-27 Thread Miguel Morales
Make sure you are drawing your line after you draw your image On Mon, Jun 27, 2011 at 12:57 PM, New Developer secur...@isscp.com wrote: I'm using the following  type of code to  do panning and zooming  on my own extension of an  ImageView     setBackgroundColor(Color.BLACK);

Re: [android-developers] Drawing

2011-06-27 Thread Miguel Morales
() * line.PX_TO_MM) / 3.0f), -6.0f, mPaint); //canvas.restore(); super.setImageDrawable(layers[0]); So I Think I am drawing first  is there anyway to check or verify this ?? Thanks again On Jun 27, 2011, at 4:03 PM, Miguel Morales wrote: Make sure you are drawing your line after you draw your image

Re: [android-developers] How to play large size video from sdcard in android

2011-06-24 Thread Miguel Morales
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/media/MediaPlayerDemo_Video.html On Thu, Jun 23, 2011 at 11:48 PM, naveen kumar kumarnaveen.si...@gmail.comwrote: Hello Google Android Developer, I am trying to play large video from sdcard by android code,

Re: [android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread Miguel Morales
, 2011 at 2:18 PM, naveen kumar kumarnaveen.si...@gmail.comwrote: On Jun 24, 1:30 pm, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Fri, Jun 24, 2011 at 12:44 PM, Miguel Morales therevolti...@gmail.comwrote: http://developer.android.com

Re: [android-developers] Re: How to play large size video from sdcard in android

2011-06-24 Thread Miguel Morales
Post your whole logcat and your layout xml. On Fri, Jun 24, 2011 at 11:09 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Fri, Jun 24, 2011 at 11:26 PM, Miguel Morales therevolti...@gmail.comwrote: Are you getting paid for this? If so, pay one of us and we can fix it for you

Re: [android-developers] client-server in android

2011-06-23 Thread Miguel Morales
Dear adrian Who's Adrian? You can use google to find examples on how to use networking on Android, it's fairly simple. On Thu, Jun 23, 2011 at 6:11 PM, Chi Kit Leung michaelchi...@gmail.comwrote: I think that is more suitable to use SOA. On Fri, Jun 24, 2011 at 10:43 AM, TreKing

Re: [android-developers] Re: How to play large size video from sdcard in android

2011-06-22 Thread Miguel Morales
I wouldn't bother trying to split up the video content. MediaPlayers should have no problem streaming the data from the file just like it can stream from a url. I've never done it before, but make sure you are using the API correctly. Read:

Re: [android-developers] Re: SAX parser crashes with Permision Denied exeption message when retriving google weather XML.

2011-06-22 Thread Miguel Morales
Make sure you have the INTERNET permission on your AndroidManifest.xml On Wed, Jun 22, 2011 at 3:11 PM, Ali Chousein ali.chous...@gmail.comwrote: AFAIK, Google weather API is an undocumented API. This means they can change it anytime based on their own needs and you'll have no reason to

Re: [android-developers] Cambiar tamaño a una imagen

2011-06-22 Thread Miguel Morales
Depende en que quieres hacer. Si quieres definar la maxima dimension usa: setMaxWidthhttp://developer.android.com/reference/android/widget/ImageView.html#setMaxWidth(int) http://developer.android.com/reference/android/widget/ImageView.html#setMaxWidth(int)

Re: [android-developers] Graphics with line

2011-06-22 Thread Miguel Morales
i=daty.length You're accessing elements in the array that don't exist. What's in daty[i+1] if i is equal to 4? On Wed, Jun 22, 2011 at 3:36 PM, TreKing treking...@gmail.com wrote: On Tue, Jun 21, 2011 at 5:16 PM, Vini vinic...@gmail.com wrote: , but throws me an error the application has

Re: [android-developers] Parsing JSON

2011-06-21 Thread Miguel Morales
JSONObject json = new JSONObject(jsonString); On Tue, Jun 21, 2011 at 1:48 PM, Jorge Luis jorgelferr...@gmail.com wrote: How do i simply parse {status:true,msg:Logged In.}? Thx -- Jorge Luis Ferrari Cé Desenvolvedor / Web Designer Siga @JLFerrari -- You received this message because

Re: [android-developers] Parsing JSON

2011-06-21 Thread Miguel Morales
Yep On Tue, Jun 21, 2011 at 1:51 PM, Jorge Luis jorgelferr...@gmail.com wrote: after that i should use json.getBoolean and json.getString? 2011/6/21 Miguel Morales therevolti...@gmail.com JSONObject json = new JSONObject(jsonString); On Tue, Jun 21, 2011 at 1:48 PM, Jorge Luis jorgelferr

Re: [android-developers] Re: New added folder to app

2011-06-10 Thread Miguel Morales
folder and reading using relative path seems to be very complicated On Jun 9, 3:16 pm, Miguel Morales therevolti...@gmail.com wrote: Ah, then try checking: file:///android_asset I *believe* this gets converted in the app to the path of your resource folder. On Thu, Jun 9

Re: [android-developers] Application performance slower in Samsung Galaxy S

2011-06-10 Thread Miguel Morales
If you're writing files to the disk (such as writing to a database) make sure you do it in batches and set a large buffer size (i.e use the buffered stream classes.) If you are properly doing it in the background run some tests and determine what exactly takes the longest. If it's the network

Re: [android-developers] New added folder to app

2011-06-09 Thread Miguel Morales
See: http://developer.android.com/guide/topics/data/data-storage.html On Thu, Jun 9, 2011 at 2:49 PM, KC203 kavithachandramo...@gmail.com wrote: Hi , In my android , i am creating multiple folders say X1 , X2 , X3 so on , and each have list of files which needs to be displayed to user

Re: [android-developers] Re: New added folder to app

2011-06-09 Thread Miguel Morales
this folder and files along with .apk On Jun 9, 2:51 pm, Miguel Morales therevolti...@gmail.com wrote: See:http://developer.android.com/guide/topics/data/data-storage.html On Thu, Jun 9, 2011 at 2:49 PM, KC203 kavithachandramo...@gmail.com wrote: Hi , In my

Re: [android-developers] Re: webservice php

2011-06-09 Thread Miguel Morales
Why steal a book when there's perfectly good information available all over the internet? You need to break your problem into sections. Like any other program even written. First, use some dummy information and don't even worry about fetching it from the web server. Then figure out how to

Re: [android-developers] Re: webservice php

2011-06-09 Thread Miguel Morales
Yeah, also if this is for some sort of oversea dev firm. Please leave the development to competent American programmers and refuse the work if you are unable to do it well. It's bad enough that good jobs are going overseas, but the fact that it's being done by incompetent programmers is even

Re: [android-developers] How can I get app ratings to display on my website?

2011-06-07 Thread Miguel Morales
I think this being the android *developer* forum might have made them believe you were an actual developer. Or perhaps the fact you said you made an app might have thrown them off. Anyway, scraping is not stealing. That's how google works. On Mon, Jun 6, 2011 at 11:13 PM, Spiderfly Studios

Re: [android-developers] login form

2011-06-06 Thread Miguel Morales
Wow, I really hope that's not for an enterprise application. I believe this is a candidate for http://thedailywtf.com Don't bother stripping bad characters/phrases, do this on the server side. Also, don't ever mix UI code and networking code in the same thread. Read:

Re: [android-developers] login form

2011-06-06 Thread Miguel Morales
the state between HTTP calls. I believe there are some options for HTTPClient so that it does it automatically. On Mon, Jun 6, 2011 at 11:11 AM, Knutsford Software i...@knutsford-software.co.uk wrote: - Original Message - From: Miguel Morales To: android-developers@googlegroups.com Sent

Re: [android-developers] login form

2011-06-06 Thread Miguel Morales
2) Separate your UI code from your network code, otherwise your app will get an Application Not Responding dialog error. I am not sure what you mean. I presume you mean I need a new thread for parts of it but where would I start and end it? The basic rule when using a thread or

Re: [android-developers] Immediate need of .Net developer in Maimi FL

2011-06-01 Thread Miguel Morales
Nope, this is fairly annoying as well. In fact, recruiters in general are pretty useless and annoying. On Wed, Jun 1, 2011 at 10:05 AM, Tommy droi...@gmail.com wrote: This isn’t a job posting forum… Get out of here with this crap… Am I the only one who hates when people do this? *From:*

Re: [android-developers] Error when i open socket and enter data to be send

2011-05-27 Thread Miguel Morales
You need to read: http://developer.android.com/resources/articles/painless-threading.html Also, put some more effort into your questions don't just dump some log text. On Fri, May 27, 2011 at 1:46 PM, ingy abbas ingy.abba...@gmail.com wrote: 05-27 23:34:12.933: INFO/ActivityThread(311): Pub

Re: [android-developers] Re: Error when i open socket and enter data to be send

2011-05-27 Thread Miguel Morales
, Miguel Morales therevolti...@gmail.com wrote: You need to read: http://developer.android.com/resources/articles/painless-threading.html Also, put some more effort into your questions don't just dump some log text. On Fri, May 27, 2011 at 1:46 PM, ingy abbas ingy.abba

Re: [android-developers] Immediate need of Perl Programmer // BOCA RATON, FL // 6 Months contract

2011-05-26 Thread Miguel Morales
I love perl, but this is an android forum. This kind of thing is more like spam. On Thu, May 26, 2011 at 10:31 AM, Emraaz khan emraazkha...@gmail.comwrote: *Hello, We have an immediate requirement of Perl Programmer Kindly review the below requirement and let us know your intrest.* *Please

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-26 Thread Miguel Morales
Um, that's how it works. You shouldn't get a force close unless there is a stackoverflow or memory issue. Perhaps you are talking about an Application Not Responding error, and that's due to bad programming. iPhone doesn't crash when you use the UI thread for any long tasks. You are just unable

Re: [android-developers] What did you use to create your launcher icon for your app?

2011-05-25 Thread Miguel Morales
I strongly recommend paying a professional. They'll do a much better job than a typical developer. I paid $30 for an awesome icon using DeviantArt. I would highly recommend this forum: http://forum.deviantart.com/jobs/ On Tue, May 24, 2011 at 5:07 PM, David Albertson albertso...@gmail.comwrote:

Re: [android-developers] Google account group

2011-05-25 Thread Miguel Morales
lol On Wed, May 25, 2011 at 8:50 PM, Goutom goutom.sust@gmail.com wrote: Hello Dear I am relatively new in android application development.I read post( http://groups.google.com/group/android-developers/browse_thread/thread/8644a128491b6d13/537db90fa16f9073#537db90fa16f9073).Brother I

Re: [android-developers] Five-In-Row Tic-Tac-Toe

2011-05-24 Thread Miguel Morales
Luckily for you Android does provide some tictactoe source: http://developer.android.com/resources/samples/TicTacToeLib/index.html On Tue, May 24, 2011 at 7:10 AM, TreKing treking...@gmail.com wrote: Hey Robin, I too wanted to thank you for the original source code you provided. An extra big

Re: [android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread Miguel Morales
Yeah, drawing sprites on a canvas in general is slow. Not to mention with the added collision detection. I would try doing a game-loop for for the animation/calculation and have a single loop for drawing. This makes sure you draw as fast as possible and your calculations run at a steady rate.

Re: [android-developers] Re: Performance issues drawing on a canvas

2011-05-24 Thread Miguel Morales
They should be in separate threads. On Tue, May 24, 2011 at 8:42 AM, neuromit stuart.lay...@gmail.com wrote: Also do you mean that they should be split into separate threads or just separate methods? On May 24, 11:25 am, neuromit stuart.lay...@gmail.com wrote: Thank you both for your

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Miguel Morales
/html5-versus-android-apps-or-web-for-mobile-development.html Doug On May 23, 5:20 pm, Miguel Morales therevolti...@gmail.com wrote: Sorry, that was a bit too brief and actually not completely related. But, what I meant was that because of the layers of non-complexity the browsers and app

Re: [android-developers] Re: choppy game

2011-05-23 Thread Miguel Morales
Hmm, I must be blind because I'm not seeing anything obviously wrong. I *think* your issue is with how you're scheduling your time. You may want to read the Timer docs: http://download.oracle.com/javase/1.5.0/docs/api/java/util/Timer.html#schedule%28java.util.TimerTask,%20java.util.Date%29

Re: [android-developers] Re: How to parse element value using attribute value.

2011-05-23 Thread Miguel Morales
Why not just use the xml parser that comes with Android: http://developer.android.com/reference/javax/xml/parsers/package-summary.html On Sun, May 22, 2011 at 11:37 PM, HariRam hariram1...@gmail.com wrote: I dont know DOM and XML. i am parsing XML in my android application, since that i want

Re: [android-developers] Re: How to parse element value using attribute value.

2011-05-23 Thread Miguel Morales
thought into it. On Mon, May 23, 2011 at 12:12 AM, HariRam hariram1...@gmail.com wrote: Hi Miguel Morales, You are right, we can parse xml using Android. i already did that. i have problem with parsing xml using attribute. can you pls read my question properly. -- Thanks and Regards

Re: [android-developers] Re: How to parse element value using attribute value.

2011-05-23 Thread Miguel Morales
BTW, from 2 seconds of using google: http://www.androidpeople.com/android-xml-parsing-tutorial-using-saxparser On Mon, May 23, 2011 at 12:25 AM, Miguel Morales therevolti...@gmail.comwrote: Your question is written in broken English so it's difficult to understand it. For example, you didn't

Re: [android-developers] Re: Save to SD

2011-05-23 Thread Miguel Morales
Yep that's ridiculously slow. What are you writing to the file? Are you streaming it from the internet? Have you tried posting the code one stackoverflow? Have you tried mounting the sdcard on your computer and moving a file there to check what the time should be? Try using a

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-23 Thread Miguel Morales
Of course not, that's ridiculous. There has never been a GUI that can even come close to the functionality you get with typing code using the programming language. Of course, betting your career on Android is ridiculous too. Strive to become a good programmer and engineer, then you won't be

Re: [android-developers] onBackPressed

2011-05-23 Thread Miguel Morales
http://stackoverflow.com/questions/6077141/android-webview-how-to-code-the-back-button On Mon, May 23, 2011 at 6:41 AM, a23456 a29...@gmail.com wrote: @override public void onBackPressed(){ nWebView.goBack(); return; } I am using code above in Activity (from tutorial) and it does not

Re: [android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-23 Thread Miguel Morales
:43 pm, Miguel Morales therevolti...@gmail.com wrote: This is because those interfaces are not turing complete. They're useless once you reach a certain level of complexity. This is why browser apps are only for the most basic of apps. Care to elaborate on that last statement? Doug

Re: [android-developers] comparison of Thread vs Asynctask in android?

2011-05-19 Thread Miguel Morales
The only difference is that AsyncTask uses a thread pool to do its work. If you use a thread, you will have a slight overhead of creating and starting the thread. However, they both work relatively the same. On Wed, May 18, 2011 at 11:38 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com

Re: [android-developers] comparison of Thread vs Asynctask in android?

2011-05-19 Thread Miguel Morales
Have you read: http://developer.android.com/resources/articles/painless-threading.html ? On Wed, May 18, 2011 at 11:55 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, i have read this from google doc,ANR(Application not responding) happens when , I)main thread(event

Re: [android-developers] HELP!! int to byte array!

2011-05-19 Thread Miguel Morales
http://stackoverflow.com/questions/1936857/convert-integer-into-byte-array-java On Thu, May 19, 2011 at 2:25 AM, Rodrigo Platero rodrigo.plat...@gmail.comwrote: Hi! I need help! I need convert an int to a byte array, and i don't get it!! Thanks!! PD: Sorry my english :S Rodrigo Platero

Re: [android-developers] why doesn't google provide us a pure C/C++ SDK for android?

2011-05-18 Thread Miguel Morales
What the hell is 'standard ui components' when using C++? On Wed, May 18, 2011 at 12:08 PM, TreKing treking...@gmail.com wrote: On Wed, May 18, 2011 at 1:42 PM, jjwang kruglin...@gmail.com wrote: Can you guys tell me why and what am I supposed to do to access standard ui controls in pure

Re: [android-developers] How to optimize HTTPClient.execute(....) call?

2011-05-17 Thread Miguel Morales
As Mark mentioned, first thing is add gzip/inflate support. I've come across this and skimmed some seconds using this. Another thing I've noticed, and not sure what the issue is. It's that HttpClient is much slower than HttpURLConnection. On Tue, May 17, 2011 at 10:53 AM, Mark Murphy

Re: [android-developers] How to optimize HTTPClient.execute(....) call?

2011-05-17 Thread Miguel Morales
Ah, thanks I wasn't aware of that. I'll check that out when I get a chance. Ashok, if you find anything useful, let us know ;-) On Tue, May 17, 2011 at 11:02 AM, Mark Murphy mmur...@commonsware.comwrote: On Tue, May 17, 2011 at 1:59 PM, Miguel Morales therevolti...@gmail.com wrote: Another

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Miguel Morales
You can use a socket on android, although you must be a client for it to work reliably. You cannot and should not act as a server on the android side. To use a socket, simply connect to the ip of the server you are trying to connect to. On Tue, May 17, 2011 at 1:04 PM, ingy abbas

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Miguel Morales
You should post your socket code, or provide more information. On Tue, May 17, 2011 at 2:14 PM, ingy abbas ingy.abba...@gmail.com wrote: This what i did and it connect only when i'm using the android emulator but when i use the mobile it did not connect !!any help in this On 17 مايو, 22:42,

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Miguel Morales
Just post the code to pastebin and show it here. The more eyes, the better. On Tue, May 17, 2011 at 2:27 PM, ingy abbas ingy.abba...@gmail.com wrote: Sure becaue i;m using wifi so it open a web page On 17 مايو, 23:21, Tobiah t...@tobiah.org wrote: On 05/17/2011 02:14 PM, ingy abbas wrote:

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Miguel Morales
If your server works fine using the emulator as your client it seems like it's a networking issue, and not a code issue. BTW, DON'T mix network code and UI code. Read: http://developer.android.com/resources/articles/painless-threading.html On Tue, May 17, 2011 at 3:10 PM, ingy abbas

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Miguel Morales
the server connect to the Mobile the code is working and connect on the emulator putting same port and localhost On May 18, 12:08 am, Miguel Morales therevolti...@gmail.com wrote: I can't seem to telnet using the following command: telnet 50.0.10.107 54639 Make sure your server has

Re: [android-developers] what's the mean of one os everywhere?

2011-05-17 Thread Miguel Morales
It means a single operating system (Android) that will work on tables, mobile phones, set top boxes, cars? etc. On Mon, May 16, 2011 at 6:44 PM, alvinli alvinl...@gmail.com wrote: what's the mean of one os everywhere? -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Miguel Morales
Command. type ?/help for help On May 18, 12:15 am, Miguel Morales therevolti...@gmail.com wrote: Make sure your port is open so that outside clients can connect to that port. First, go to a computer outside your network and try to run: telnet 50.0.10.107 54639 When that succeeds, you can

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Miguel Morales
Not !! and its a huge problem due to my project so do you have any suggestion On May 18, 12:47 am, Miguel Morales therevolti...@gmail.com wrote: And you tried it from a different computer, right? Not one in your house/office? It does not work from here. On Tue, May 17, 2011 at 3

Re: [android-developers] Re: Connection between Android phone and python server suggestion

2011-05-17 Thread Miguel Morales
and any port right ??? On May 18, 1:00 am, Miguel Morales therevolti...@gmail.com wrote: I don't know what to tell you. Go to another house, or an internet cafe and try the command there. Like I said, my computer cannot connect, so it's a firewall/network issue. On Tue

Re: [android-developers] Re: How did you get into Android development

2011-05-15 Thread Miguel Morales
Android development is relatively easy to get into. (For example, I never went to college and work as an Android dev.) Here in the US though, you have to be good at it or else your job will be sent to India. But on the other hand, apps are not as demanding as say making scalable backend software.

Re: [android-developers] Re: Appending nodes to an existing XML file

2011-05-15 Thread Miguel Morales
Hmm, I'd probably do it one of two ways depending on how big the xml file is expected to grow. If it's relatively small, read it into memory, deserialize it, find the node/tag where you wish to append your node, append it and then re-serialize it into the same file. But that's only if it's

Re: [android-developers] How did you get into Android development

2011-05-13 Thread Miguel Morales
I sent my app to the hiring manager, they liked it. I got hired. The end. On Fri, May 13, 2011 at 8:15 AM, Marcin Orlowski webnet.andr...@gmail.comwrote: On 13 May 2011 15:02, Knutsford Software i...@knutsford-software.co.ukwrote: I am a programmer. The point is how do you get paid Android

Re: [android-developers] Synchronization with the web server

2011-05-13 Thread Miguel Morales
By programming it, and probably by using that specific social network android sdk or general api. It other words, by researching and implementing. On Fri, May 13, 2011 at 1:50 PM, Andrei entre...@gmail.com wrote: Good afternoon. Tell how you can make the following function. I call the dialog

Re: [android-developers] parse image

2011-05-11 Thread Miguel Morales
JSONObject json = new JSONObject(jsonString); On Tue, May 10, 2011 at 7:04 AM, nika-...@ya.ru nika-...@ya.ru wrote: how to parse this string using json weather: [ {weatherIconUrl:[ {value: http:\/\/ www.worldweatheronline.com \/images\/wsymbols01_png_64\/wsymbol_0002_sunny_intervals.png } ]

Re: [android-developers] Android - Socket Client side

2011-05-06 Thread Miguel Morales
Have you tried reading the stream into a byte buffer instead of a string? Perhaps the server is simply not sending a newline character. On Thu, May 5, 2011 at 11:23 PM, Yondaime koueik.anth...@hotmail.comwrote: I am able to connect and send data to the server, but i cant read from server...

Re: [android-developers] How to Call a .Net web service from android

2011-05-06 Thread Miguel Morales
That's because you are attempting to do a network call within your UI thread. This should help you: http://developer.android.com/resources/articles/painless-threading.html On Fri, May 6, 2011 at 7:19 AM, mDroid manojgodara1...@gmail.com wrote: Hey All, I want to call a .net web service from

Re: [android-developers] Re: Is it impossible to move and merge text on an image

2011-05-06 Thread Miguel Morales
Maybe have an imageview with your bitmap on the bottom. Then add a textview on the top. Use absolute position for this view, then detect touch/gesture events and when the user moves his finger with the image view, you move the image view to where the finger is. There's probably several ways of

Re: [android-developers] [ask] android httpclient login into web and request data

2011-05-06 Thread Miguel Morales
This is really easy and has nothing to do with android. There are probably a billion examples of this on the web. On Fri, May 6, 2011 at 2:54 AM, Agung Nugroho nug82...@gmail.com wrote: hello android developers, can you help me how to create script to request data from website using

Re: [android-developers] Re: Is it impossible to move and merge text on an image

2011-05-06 Thread Miguel Morales
to save the image with the added text, like merge into a new image. I guess that complicates things. Im investigating and can see that the Canvas class has the drawText method. drawText will write the text solid on the image. So i guess using Canvas is the way to go. @Miguel Morales thanks

Re: [android-developers] Re: Is it impossible to move and merge text on an image

2011-05-06 Thread Miguel Morales
I would make it a transparent EditText view. On Fri, May 6, 2011 at 1:44 PM, Hans-Erik erikswed...@gmail.com wrote: Well, simply do the saving when the user is finished moving the text or using the feature compose the image. The bitmap canvas supports basic things like drawing text. This

Re: [android-developers] adding ads

2011-05-04 Thread Miguel Morales
With an Ad SDK that is provided by companies like AdMob. On Wed, May 4, 2011 at 4:02 PM, bob b...@coolgroups.com wrote: How do most people typically add ads to an Android app? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] How to receive large file over socket in android 2.2

2011-05-03 Thread Miguel Morales
You're doing it wrong, thread.sleep is unnecessary. I'm thinking something changed in the 2.2-2.3.x Dalvik implementation, but try using the following to stream a file: BufferedInputStream inBuf = new BufferedInputStream(socket.getInputStream, 80); byte buf[] = new byte[1024 * 2]; int len;

Re: [android-developers] My first android program

2011-05-03 Thread Miguel Morales
Honestly, the best way to learn what you would do is to get your hands dirty and do it yourself. Research different methods of implementing what you want, and you'll probably fail a couple of times but will learn a lot in the process. That's how most of us gain experience in programming. You

Re: [android-developers] Re: My first android program

2011-05-03 Thread Miguel Morales
guess, you learn from experience. I'm looking forward to get into it soon! (I have my final year exam in a week, I find myself always working on projects just before exams!) Cheers, Richard On May 4, 7:37 am, Miguel Morales therevolti...@gmail.com wrote: Honestly, the best way to learn what

Re: [android-developers] Re: My first android program

2011-05-03 Thread Miguel Morales
, which I use a good amount more than I should.) Kris On Tue, May 3, 2011 at 6:22 PM, Miguel Morales therevolti...@gmail.comwrote: Remember that memorizing things is useless, practice, practice, practice. The time you spend on your projects will probably help you more than memorizing some

Re: [android-developers] Re: My first android program

2011-05-03 Thread Miguel Morales
, 2011 at 6:40 PM, Miguel Morales therevolti...@gmail.comwrote: Right, don't slack on your exams, but nothing beats practice. Sure you might get a job just because of your degree but you might suck as a programmer. On Tue, May 3, 2011 at 3:32 PM, Kristopher Micinski krismicin...@gmail.com wrote

Re: [android-developers] php environment on windows

2011-04-29 Thread Miguel Morales
http://www.phpforandroid.net/ On Thu, Apr 28, 2011 at 4:25 AM, plw i...@knutsford-software.co.uk wrote: How do I set up a environment for testing php development for android? I am using windows xp and I have xamp installed. Thanks -- You received this message because you are subscribed to

Re: [android-developers] php enviroment

2011-04-29 Thread Miguel Morales
http://www.phpforandroid.net/ first link when googling php + android On Thu, Apr 28, 2011 at 6:09 AM, Knutsford Software i...@knutsford-software.co.uk wrote: Hi, How do I set up a testing environement on windows xp to test php apps for android. I have xamp loaded for normal xp

Re: [android-developers] Re: System.exit

2011-04-28 Thread Miguel Morales
Calling System.exit() or even asking for it tells me that your code flow is seriously flawed. The lifecycle of a mobile app is complex, and as such you should follow best practices. On Thu, Apr 28, 2011 at 2:43 PM, Indicator Veritatis mej1...@yahoo.comwrote: I have worked for companies where

Re: [android-developers] Re: System.exit

2011-04-28 Thread Miguel Morales
(it isn't just me anymore), yet NOTHING has been done about it. For someone who knows what he is doing, it would take all of about 15 minutes of editing, but it seems Google would rather thousands around the world waste their time learning the hard way instead. On Apr 28, 3:04 pm, Miguel Morales

Re: [android-developers] webview form reading

2011-04-27 Thread Miguel Morales
what data? On Wed, Apr 27, 2011 at 4:22 PM, bob b...@coolgroups.com wrote: I load a form into a WebView, but I don't know how to read the data from it. Anyone know how? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: java

2011-04-25 Thread Miguel Morales
Plus, Java is MUCH easier than C++. You should be able to learn it in no time. On Sat, Apr 23, 2011 at 12:27 AM, Ashutosh Sing ashu21...@gmail.com wrote: If you know c++ you will not take much time to learn java. Android Require Java to develop applications. Thanks Ashu On Sat, Apr 23,

Re: [android-developers] Game Development in Android

2011-04-21 Thread Miguel Morales
He did answer your question. If you want better help, you'll have to ask better questions. On Thu, Apr 21, 2011 at 9:49 AM, Mohammed Hossain Doula hossaindo...@gmail.com wrote: Man.. You are underestimating yourself... Not me... I am asking to those who know the answer... Not you... I know

Re: [android-developers] which is the best way to play encrpted song instantly?

2011-04-20 Thread Miguel Morales
i've never done it, i figure you'd have to redirect the streams or something. Just look it up, this isn't really android specific. On Tue, Apr 19, 2011 at 9:01 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, play while you decrypthow i can do it? -- Regards,

Re: [android-developers] Socket and Inter Thread Communication

2011-04-20 Thread Miguel Morales
Try changing this: _msgHandler.dispatchMessage(msg); to _msgHandler.sendMessage(msg); Then read the docs on the Handler class. On Mon, Apr 18, 2011 at 11:24 AM, BrunoLemos souzale...@gmail.com wrote: Hello everybody, I'm having a little problem with using threads and handlers. I have a

Re: [android-developers] Do You Want To Create An Application Icon?

2011-04-20 Thread Miguel Morales
Try deviantart.com wanted section, it's where I get all my art from. I paid 30 bucks for a set of all the icons I need for my app professionally done. On Tue, Apr 19, 2011 at 11:32 AM, Camille cs3vi...@gmail.com wrote: I am sorry if this is the wrong thing to do, I am a newbie. I am writing

Re: [android-developers] which is the best way to play encrpted song instantly?

2011-04-19 Thread Miguel Morales
Maybe play the vide data as you are decrypting it. Don't decrypt then play, play while you decrypt. On Tue, Apr 19, 2011 at 6:18 AM, Mark Murphy mmur...@commonsware.comwrote: Don't encrypt the file. On Tue, Apr 19, 2011 at 12:32 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote:

Re: [android-developers] problem for button

2011-04-13 Thread Miguel Morales
The only problem you have is that the code is doing exactly what you're telling it to do. Which is nothing. On Wed, Apr 13, 2011 at 2:50 PM, Kristopher Micinski krismicin...@gmail.com wrote: What? What happens in this case is that (I think, didn't test, maybe it's something else wrong and

Re: [android-developers] In-app billing as a method of activating a trial feature?

2011-04-12 Thread Miguel Morales
I thought products with 0.00 were not allowed. The same for free products. Honestly, your best bet is probably using your own server. On Tue, Apr 12, 2011 at 6:05 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I was thinking that I would allow my free app user's to have access to some portions

<    1   2   3   4   5   >