Re: [android-developers] Re: Creating 2D games with Android and Blender

2010-11-23 Thread Miguel Morales
, avoids some thread synchronization problems. On 23 nov, 09:13, Miguel Morales therevolti...@gmail.com wrote: Nice, I enjoyed the part of content creation.  I'm going to keep your suggestion of using a single bitmap with all the sprites instead of individual images. Although it's not terrible

Re: [android-developers] How to make network reconnection in the app of c/s?

2010-11-15 Thread Miguel Morales
Something like this wouldn't be hard to implement in your application. Android offers several classes that will help you in probing for the state of the network connection, wifi connection, etc. If what you're doing is just regular socket TCP communication simply wrap your communication in an

Re: [android-developers] Re: TCP problem - hangs when reading server's response

2010-11-13 Thread Miguel Morales
Well, you're using ReadLine() are you sure the server is actually sending lines, as in ending with '\n'? You might want to try using the InputStream directly with read(). On Sat, Nov 13, 2010 at 6:18 PM, bobetko bobe...@gmail.com wrote: And one more thing, Encoding.UTF8 is used. Not sure if

Re: [android-developers] I/O streams in android

2010-11-11 Thread Miguel Morales
I've been using the java.net classes for fast and reliable communication with a backend server. Sounds like an issue with your code. On Thu, Nov 11, 2010 at 10:55 AM, manorit manori.tha...@gmail.com wrote: Hi: I am developing a multiplayer game on android. I am having a Java server and android

Re: [android-developers] Thanks for your five stars, Haypi Kingdom, top10 game at Apple App Store, has come to Android Market!

2010-11-10 Thread Miguel Morales
Cool, will be checking this out. Looks like Pocket Empires. On Tue, Nov 9, 2010 at 11:50 PM, Eric jude...@gmail.com wrote: Haypi Kingdom, top10 game at Apple App Store, has come to Android Market! Haypi Kingdom is a massively multiplayer online role-playing game (MMORPG). You will be a

Re: [android-developers] Re: Tomcat on Android

2010-11-04 Thread Miguel Morales
All I gotta ask is, why? I'd imagine Tomcat is not written to be run in embedded/legacy devices such as an android device. You'd be wasting a lot of memory and cpu cycles. I guess if it's a wall mounted device, it might be ok. But at that point why not just use a PC of sorts and use some linux

Re: [android-developers] Re: Detect weather a phone is rooted or not

2010-11-02 Thread Miguel Morales
See the section title 'Replacement for copy protection' at http://developer.android.com/guide/publishing/licensing.html and see if that fits your needs. On Mon, Nov 1, 2010 at 10:49 PM, Chris Stratton cs07...@gmail.com wrote: No.  It is impossible to tell in general.  At best you could look for

Re: [android-developers] Re: Prevent Rooted phones to access sqlite db and preferences

2010-11-01 Thread Miguel Morales
Read the section titled: 'Replacement for copy protection' at: http://developer.android.com/guide/publishing/licensing.html On Mon, Nov 1, 2010 at 12:26 AM, Dimitris dnkou...@gmail.com wrote: Encrypt your data when writing to DB and decrypt when you read. Might make ur app a tiny bit slower but

Re: [android-developers] Re: How to figure out who is causing GC on my device?

2010-10-31 Thread Miguel Morales
Try putting your phone in airplane mode and see what happens. On Oct 31, 2010 5:39 PM, dipu contac...@gmail.com wrote: Thank you very much for the tip. I have restrasted my phone and made sure that my app is not running. Now I see two processes causing the GC. system1103 1013 221560 49288

Re: [android-developers] Re: for loop drawing first graphics to x0 y0 if more than 1 iteration

2010-10-31 Thread Miguel Morales
Are you sure you are not modifying any of those values from another thread. On Oct 31, 2010 11:07 AM, acr acr...@gmail.com wrote: So, It has nothing to do with the loop if I add the images manually I get the very same result the first graphic is being drawn to x0 y0 in my code. what I have is

Re: [android-developers] Java and Android phones?

2010-10-29 Thread Miguel Morales
Read this: http://developer.android.com/guide/basics/what-is-android.html 2010/10/29 kearnel_android kearnel_andr...@163.com: As far as I'm concerned, Android uses another Java Runtime Environment called Davilk, which is NOT compatible with common Java applications. 2010-10-30

Re: [android-developers] Business multi-tier application with android client

2010-10-28 Thread Miguel Morales
I'm not too familiar with Tomcat, but have you looked for any server side libraries that support JSON? It's really easy to use with android. On Thu, Oct 28, 2010 at 1:34 PM, mastermind denis.bar...@gmail.com wrote: I'm developing client-server application with android client and now I'm

Re: [android-developers] Re: Application still Running After Exit

2010-10-26 Thread Miguel Morales
But what if a user just wants no updates temporarily until the app's restarted, like he's used to by any other OS? And not have to sign on again after the restart? Every popular application on windows that does anything in the background has options within the app to control all of this.

Re: [android-developers] Web service access in Android

2010-10-25 Thread Miguel Morales
Well, we won't do the whole project for you. If you own or wrote that web services all you need to do is write a script to output data to JSON or XML. Then from Android simply load the script and collect the information and display it in your app. Simple. Sounds like you don't have much

Re: [android-developers] please, fix website

2010-10-25 Thread Miguel Morales
Although I agree the website should work on a mobile device when are you really going to be using the technical documentation while browsing on your device? I do my development on a regular laptop or pc in which case the website works perfectly. On Sun, Oct 24, 2010 at 6:44 PM, g b

Re: [android-developers] Begging with Web Services in Android

2010-10-25 Thread Miguel Morales
Well, you'll probably want to use the ksoap2 library to communicate with your SOAP web service. However, it is my opinion that SOAP is a crappy and bloated interface usually meant for the 'enterprise'. Remember, most users will connect to your service via a 3G connection at best. SOAP includes

Re: [android-developers] Service provider / client

2010-10-25 Thread Miguel Morales
Sounds like your variable 'binding' is undeclared. Simply declare it on your class like binding = this or simply use this. On Sun, Oct 24, 2010 at 6:32 AM, Beowulf persspol...@gmail.com wrote: Greetings   I am creating a service client and the following lines give me error.  I was wondering

Re: [android-developers] Android Synergy Client

2010-10-25 Thread Miguel Morales
I can't help but sounds cool. I've used syngergy and it's pretty cool. As for the mouse I'd either use the movement tracker. (i.e. the user controls the mouse by moving the phone or by using the touch event. The keyboard should be straightforward, in fact this doesn't sound too hard. On Sun,

Re: [android-developers] Re: Application still Running After Exit

2010-10-25 Thread Miguel Morales
I'd just make an automatic response explain to her that hitting home is like you're minimizing the application, or getting it out of the way. Or ask her where in what other program or place do you hit home and expect the application to close or exit? Ask here what happens when she hits back on

Re: [android-developers] Re: How to handle Home Button

2010-10-25 Thread Miguel Morales
Try overriding your onFinish() or onPause(), you might be able to do what you're trying to do there. On Mon, Oct 25, 2010 at 5:47 AM, channa kad channa.andr...@gmail.com wrote: I tried for KEYCODE_HOME, its not working.. Are you are it works? On Mon, Oct 25, 2010 at 6:11 PM, AJ

Re: [android-developers] android Service

2010-10-25 Thread Miguel Morales
You might want to get a book because they tend to do a good job of explaining the initial process and fundamentals a bit more clearly. Other than that, I don't understand what you mean by 'how different lines are used?' The best way to learn is just to read and practice, oh and practice. On Sat,

Re: [android-developers] Re: Recents

2010-10-24 Thread Miguel Morales
English isn't even my first language and I've never gotten confused with any of the terminology. The difference between a task, process, and thread is quite clear. It becomes even clearer the more you spend time with the framework. Even in normal computer applications, the word task often

Re: [android-developers] Re: Application still Running After Exit

2010-10-24 Thread Miguel Morales
Well, the 'home' or 'back' button does not even imply 'exit. Spending any time with the platform even a regular user can see that pressing 'home' is a lot like pressing the minimize button on a regular application and pressing 'back' is simply like saying to the phone 'take me to the last screen

Re: [android-developers] Best way for accessing web service

2010-10-23 Thread Miguel Morales
Do you HAVE to use ksoap? SOAP is such a crappy bloated interface. On Fri, Oct 22, 2010 at 11:48 PM, Goutham P N pn.gowt...@gmail.com wrote: Hi, I'm having a problem while accessing a web service through ksoap2 library, is there any other way to access the web service. I can't use ksoap2

Re: [android-developers] Android app with a lot of videos

2010-10-22 Thread Miguel Morales
It all depends on the nature of your application. I'm sure the market has a size limit well below 600MB. If it is a regular app meant for regular users to download, very few people are willing to download 600MB files over a 3G connection. Again, I would say it depends on the nature of your

Re: [android-developers] How can I access data from SD card?

2010-10-21 Thread Miguel Morales
Google offers some good documentation on this: http://developer.android.com/guide/topics/data/data-storage.html On Thu, Oct 21, 2010 at 8:30 PM, MG my.android.a...@gmail.com wrote: Hello everyone! I juts want to know how can I access a certain data from my SD card. How can I browse SD card

Re: [android-developers] Re: stopping the GC from kicking in

2010-10-20 Thread Miguel Morales
No, it's not wrong. It's just the best way of avoiding GC runs in your code. A game is not like most software out there. A lot of the time modern design patterns have to be thrown out the window just for performance and usability. Sure it would be nice if the GC were faster and more efficient

Re: [android-developers] Re: Detecting area code

2010-10-20 Thread Miguel Morales
Perhaps by using GPS position and some sort of area code database you might be able to conjure up something. On Wed, Oct 20, 2010 at 11:37 AM, Denis Souza denis.so...@gmail.com wrote: Is that really possible? Frankly I don't think so... but not 100% sure either. Just wanted to see if there

Re: [android-developers] Re: Detecting area code

2010-10-20 Thread Miguel Morales
Ah my mistake, I didn't read the last part. You could also just do the network operation in the background and when the user is about to make a call just use the last-known co-ordinates. On Wed, Oct 20, 2010 at 12:36 PM, Miguel Morales therevolti...@gmail.com wrote: Perhaps by using GPS

Re: [android-developers] Re: Which Javascript Framework?

2010-10-20 Thread Miguel Morales
I agree with Kumar. It's pretty hard to impossible to design an interface that works well in a 1024x768 screen size with a precision mouse pointer and one that works well in a 480x320 owned by users with big thumbs. Either you'll be wasting a lot of space, or you'll be cramming your UI. I

Re: [android-developers] Re: How to connect to a remote MySQL DB without webservices... ?

2010-10-19 Thread Miguel Morales
There is nothing implemented into the standard SDK to directly connect to a MySQL database. Your best bet might be to use something like an external library such as: http://code.google.com/p/sqldroid/ I've never used this myself though. On Mon, Oct 18, 2010 at 11:29 PM, JonFHancock

Re: [android-developers] Re: stopping the GC from kicking in

2010-10-19 Thread Miguel Morales
Sometimes, on devices such as a G1 there is still a GC that occurs once around every minute due to background system services. However, there is plenty you can do in your own code to avoid GC runs. The first thing I recommend watching is this google presentation:

Re: [android-developers] Re: i am new in Android and i don't know how to create media player project please help me

2010-10-15 Thread Miguel Morales
Help you with what? You'll have to be MUCH more specific. 2010/10/14 Vitaliy Tarasenko vitta...@gmail.com: What do you mean cant create? Object of MediaPlayer class?? Project for using media player is similiar for any android project - MediaPlayer is usual class which you can use. On 14

Re: [android-developers] 2D game from Java swing to android platform

2010-10-13 Thread Miguel Morales
It also depends on what type of game you are porting. If it's a simple game then you can simply use something like a SurfaceView or even an extended class of ImageView for the background. For each character you would use an ImageView or something similar. I recommend watching the following video

Re: [android-developers] Re: Can I Access Oracle Database Directly From my Android application

2010-10-13 Thread Miguel Morales
android emulator??? On Oct 12, 12:35 am, Miguel Morales therevolti...@gmail.com wrote: What are you trying to do?  It would probably be easier to create a 'gateway' to the database via a RESTful HTTP service. On Mon, Oct 11, 2010 at 9:14 PM, Goutham P N pn.gowt...@gmail.com wrote: Yes, I know

Re: [android-developers] Best phone for OpenGL game dev

2010-10-13 Thread Miguel Morales
Exactly, it would be unwise to develop a game for a top of the line device when it's going to be laggy and slow on standard devices. I would recommend buying a used G1. You're forced to target 1.5 and can install 2.x if needed. You can also buy it used for ~$60 on craigslist or ebay. On Wed,

Re: [android-developers] Life after G1

2010-10-13 Thread Miguel Morales
I've heard that it's possible to install 2.x on a G1. On Wed, Oct 13, 2010 at 3:53 PM, mikek mik...@gmail.com wrote: I've been using the G1 for a while now and have been quite happy with it except that it only goes up to 1.6. In order to develop on 2.1 and beyond, I need to upgrade to a newer

Re: [android-developers] Can any one help me to break large Html file to small html files in java

2010-10-11 Thread Miguel Morales
I did, it's called javascript. On Oct 10, 2010 11:35 PM, TreKing treking...@gmail.com wrote: On Sun, Oct 10, 2010 at 5:57 PM, Miguel Morales therevolti...@gmail.com wrote: This should be ... Basic to you may very well be advanced to the OP - who know if he's even ever touched javascript

Re: [android-developers] Re: Can I Access Oracle Database Directly From my Android application

2010-10-11 Thread Miguel Morales
What are you trying to do? It would probably be easier to create a 'gateway' to the database via a RESTful HTTP service. On Mon, Oct 11, 2010 at 9:14 PM, Goutham P N pn.gowt...@gmail.com wrote: Yes, I know that. Now my doubt is how to access Remote Database through Android phone? -- You

Re: [android-developers] Flash games for Android is it possible?

2010-10-10 Thread Miguel Morales
You might be able to create an application with a WebView in which you embed your flash game. Or you might be able to create an application which simply launches the browser to the page specified. Although I really doubt any but the simplest flash game will be playable in Android. On Thu, Oct 7,

Re: [android-developers] Re: Android Web Server

2010-10-10 Thread Miguel Morales
I'd much rather package an MQ client library like RabbitMQ with my android application and avoid the overhead of HTTP/Web server and communicate via lightweight packets using an always open socket. I suspect this is how C2DM works. On Thu, Oct 7, 2010 at 11:16 PM, % rm risto.mono...@gmail.com

Re: [android-developers] Can any one help me to break large Html file to small html files in java

2010-10-10 Thread Miguel Morales
This should be absolutely easy to do using javascript. Not sure why you need help with something so basic. On Thu, Oct 7, 2010 at 5:41 AM, santhu santhosh.19...@gmail.com wrote: Hi all,                  Presently am displaying html file in web view and my emulator size 1024*600. if the html

Re: [android-developers] Moderators: Where did my post go?

2010-10-10 Thread Miguel Morales
Sometimes, posts are published in batch. You might have to wait 24 hours for them to pop up. Also, make sure you use the gmail interface to use this group. I've heard the web interface is broken. On Fri, Oct 8, 2010 at 1:39 AM, Jonas Schwertfeger jschwertfe...@gmail.com wrote: 24 hours ago I

Re: [android-developers] Advertising network

2010-10-10 Thread Miguel Morales
From the little bit of research I plan to use MobClix because I heard it generates the most revenue and it's the easiest to set up. But I haven't used them just yet. I'd like to hear what other people recommend as well. On Thu, Oct 7, 2010 at 8:30 AM, Bruno Rørdam brunoror...@gmail.com wrote:

Re: [android-developers] Architectural question

2010-10-10 Thread Miguel Morales
You have a couple of options for communicating with a service. You can either create an AIDL interface to communicate via pre-defined methods. (This is usually necessary if your service is running in another process.) If your process is running in the same process then you can simply

Re: [android-developers] Android group

2010-10-10 Thread Miguel Morales
You don't need to be part of a group to get in-depth understanding. The only way you more understanding is by studying, reading, and getting experience. On Sun, Oct 10, 2010 at 2:40 PM, Kumar Bibek coomar@gmail.com wrote: Welcome On Thu, Oct 7, 2010 at 6:43 AM, karthik

Re: [android-developers] Theme.Dialog - Remove Title Area?

2010-10-07 Thread Miguel Morales
Use: requestWindowFeature(Window.FEATURE_NO_TITLE); On Wed, Oct 6, 2010 at 10:52 PM, Kumar Bibek coomar@gmail.com wrote: Remove the title. As you would have done on an activity. On Wed, Sep 29, 2010 at 7:08 AM, Peake peakeinteract...@gmail.com wrote: I have an activity that is using

Re: [android-developers] Re: Android Web Server

2010-10-07 Thread Miguel Morales
think. On Oct 6, 2:59 pm, Miguel Morales therevolti...@gmail.com wrote: You want to run an HTTP server on Android?  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

Re: [android-developers] Re: Android Web Server

2010-10-07 Thread Miguel Morales
I'd figure that would kill performance. Right? On Wed, Oct 6, 2010 at 11:35 PM, xiaoxiong weng ad...@littlebearz.com wrote: as long as you have access to a public server, you could always do a tunnel. I used to send stuff behind nat through ssh On Thu, Oct 7, 2010 at 2:22 AM, Miguel Morales

Re: [android-developers] Android Web Server

2010-10-06 Thread Miguel Morales
You want to run an HTTP server on Android? Why? On Wed, Oct 6, 2010 at 2:52 PM, kypriakos demet...@ece.neu.edu wrote: Is iJetty the Web Server of choice for Android? I am not looking for information on how to set it up etc, I think I managed to do that, but more whether anyone has any

Re: [android-developers] Need basic idea for Bubble popper game development

2010-10-06 Thread Miguel Morales
I suggest you start by watching this video: http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html On Tue, Sep 28, 2010 at 3:53 PM, damodhar meshram dmesh...@gmail.com wrote: Hi I need to create game which is Bubble popper in Android . i do not have any idea that how

Re: [android-developers] OOS : How do you use google groups ?

2010-10-05 Thread Miguel Morales
I simply use google groups within the gmail web interface. It works great. I've heard that the regular web interface is pretty buggy. On Tue, Oct 5, 2010 at 2:11 AM, Yahel kaye...@gmail.com wrote: Hi all, Sorry for this OOS but Android developper is the only part of my life on google groups

Re: [android-developers] My first ever blog : create and call WSDL service

2010-10-03 Thread Miguel Morales
Great work! I actually learned a bit about WSDL and KSOAP in android. A couple of things I noticed while going through it: It would help if your code (for example the layout.xml from part 2) was properly formatted. You might want to add directions on how to import a library into an android

Re: [android-developers] Re: Problem after reopen the application !!!

2010-10-02 Thread Miguel Morales
What does the logcat/stacktrace say? Your app may be being destroyed when you navigate from it. On Oct 2, 2010 4:02 PM, tarek attia tarek.m.at...@gmail.com wrote: the alert box is as the follow :- The process com.android.phone has stopped unexpectedly. Please try again. On Sun, Oct 3, 2010 at

Re: [android-developers] Help with basic Threading / Message handling App

2010-10-01 Thread Miguel Morales
Correct, The correct order for your onCreate() method is like: super.onCreate(savedInstanceState); setContentView(R.layout.main); this.myTextView = (TextView)findViewById(R.id.myTextView); I *believe* that your myTextView ends up being null. Your handler/thread code looks ok. On Fri, Oct 1,

Re: [android-developers] android design considerations: AsynchTask vs Service (IntentService?)

2010-10-01 Thread Miguel Morales
You will more than likely need a service. It'll save you a lot of work later on. You would start your service when your app starts, then your activities bind to is and communicate via something like AIDL. So the activity can tell the service to start a sync. And when the service is done, it can

Re: [android-developers] How to show notification while service is running..?

2010-10-01 Thread Miguel Morales
What exactly isn't working? Not really a question. The service runs in the same thread as your app so you should be ok. Part of being a good programmer is asking good questions and properly reading documentation. On Fri, Oct 1, 2010 at 2:41 PM, Prakash Iyer thei...@gmail.com wrote: You should

Re: [android-developers] Re: How to send a string to server

2010-10-01 Thread Miguel Morales
Wow, that is really bad code. Don't you know what streaming or buffering is? 2010/10/1 Kostya Vasilyev kmans...@gmail.com: Using a send buffer of 8 or 16 kilobytes gives pretty good performance, and avoids problems with garbage collection. -- Kostya Vasilyev -- http://kmansoft.wordpress.com

Re: [android-developers] Re: Application closed unexpectly Toast wont display anything

2010-09-28 Thread Miguel Morales
What does your logcat say when it crashes? On Tue, Sep 28, 2010 at 2:50 PM, TreKing treking...@gmail.com wrote: On Tue, Sep 28, 2010 at 4:46 PM, Gold thangadura...@gmail.com wrote: I tried my debugger after that only i post here..!  but still i didnt get anything..! If you didn't get a

Re: [android-developers] Re: New to Developing, Need Insight

2010-09-23 Thread Miguel Morales
standards of honest speaking, which do not allow this mis-labeling, considering it a form of dishonesty, not of simple error. On Sep 22, 2:24 pm, Miguel Morales therevolti...@gmail.com wrote: To be honest, I consider most of your replies to be spammier. On Wed, Sep 22, 2010 at 2:22 PM, TreKing

Re: [android-developers] Re: New to Developing, Need Insight

2010-09-22 Thread Miguel Morales
Even if it's spam, if it's a good tool and it helps wanna-be developers create decent apps I don't see the problem. At least each response is tailored to the OP, not technically spam. It can be off-putting though, but you gotta make those sells. Anyway, I don't know about everyone else, but I got

Re: [android-developers] Re: Custom Title and Tab Host

2010-09-22 Thread Miguel Morales
You need to post more code. Not sure what you're trying to do in that bit of code, but you usually set tab titles like so: TabHost tabs = (TabHost) findViewById(R.id.MyTabHost); tabs.setup(); TabSpec ts = tabs.newTabSpec(TAB_TAG_1); ts.setIndicator(System);

Re: [android-developers] Re: New to Developing, Need Insight

2010-09-22 Thread Miguel Morales
recommend anyone to go to a Barne's Noble (or what have you) and browse through the selection to see if what's available fits you personally before dismissing all books on the subject as not being any good. 2010/9/22 Miguel Morales therevolti...@gmail.com At least each response is tailored to the OP

Re: [android-developers] Re: Why aren't the 2D graphics API UI toolkit hardware accelerated?

2010-09-18 Thread Miguel Morales
Drawing a Bitmap using OpenGL is fairly trivial. (Granted they're power of 2.) (http://stackoverflow.com/questions/3553244/android-opengl-es-and-2d/3648054#3648054) There already exists several android game engines for this task such as: http://www.andengine.org/ Google already provides

Re: [android-developers] Re: Why aren't the 2D graphics API UI toolkit hardware accelerated?

2010-09-18 Thread Miguel Morales
That whole example is trivial and is missing alot of boiler plate. Because it is a trivial task There already exists several android game engines for this task such as: http://www.andengine.org/ Google already provides GLSurfaceView to handle lifecycle changes. Even using the native android

Re: [android-developers] MySQL Connectivity

2010-09-14 Thread Miguel Morales
Try adding e.printStackTrace() in your catch method. On Sun, Sep 12, 2010 at 12:51 AM, Rosebeat rosebeat2...@gmail.com wrote: Hello, I have this code that I want to make on android. Here is the PHP code ?php mysql_connect(localhost,username,password); mysql_select_db(game); echo Database

Re: [android-developers] Re: Any way to animate a 2D Game Smooth without OpenGL ?

2010-09-14 Thread Miguel Morales
Are you using the emulator or a hardware device for testing? I'm sure there's gotta be something that's allocating in your code. In my personal experience, I've gotten the GC down to once a minute at the worst. A lot of the time you can't fully get rid of GC hiccups because of background

Re: [android-developers] Re: Any way to animate a 2D Game Smooth without OpenGL ?

2010-09-14 Thread Miguel Morales
freed xyz Simply because the Allocation View don't show me Thread Objects that may cause the GC to run so often. c) Is there any big disadvantage if the GameThread is a outer Thread..not like in all the examples (there it.s a inner class) thanks 4 feedback On 14 Sep., 22:45, Miguel Morales

Re: [android-developers] Re: J2ME to Android

2010-09-10 Thread Miguel Morales
Sounds like you're doing it wrong. One, try not to include any foreign APIs/Jars unless you need it. Two, instead of trying to lazily port old code, redo the functionality using the classes android provides. Casting is prone to bugs, if don't incorrectly, it can hide warnings and errors. I

Re: [android-developers] Re: J2ME to Android

2010-09-10 Thread Miguel Morales
' everything that you run on Android using Android's API. Again thanks for the good pointers below On Sep 10, 7:26 pm, Miguel Morales therevolti...@gmail.com wrote: Sounds like you're doing it wrong.  One, try not to include any foreign APIs/Jars unless you need it.  Two, instead of trying

Re: [android-developers] Re: How to send a string to server

2010-09-09 Thread Miguel Morales
No, breaking it into two arrays will not help you. I haven't done this myself, but I THINK what you'll want to do is use a BufferedWriter or something similar. In any case, you'll HAVE to buffer your data and send it in chunks. HTTP supports this quite well. Take a look at some BufferedWriter

Re: [android-developers] Upgrade my Game Application

2010-09-07 Thread Miguel Morales
I'm having trouble understanding your question, what isn't being upgraded? The code? Have you tried logging some debug text? Are you using the emulator? How are you installing your app. Also, please use pastebin to post code. On Mon, Sep 6, 2010 at 11:55 PM, Dhrumil Shah

Re: [android-developers] Upgrade my Game Application

2010-09-07 Thread Miguel Morales
...@gmail.com wrote: I send my code. In that code, I want to put Bouncing Ball. But I am not getting how to put it. I am very much thankful for you if you are helping me. ~Dhrumil On Tue, Sep 7, 2010 at 12:41 PM, Miguel Morales therevolti...@gmail.com wrote: I'm having trouble understanding

Re: [android-developers] Re: Develop Games

2010-09-07 Thread Miguel Morales
Personally, I had to write my own map editor for my game: http://4.bp.blogspot.com/_Vtq6sCdzyKs/S_cEda7td7I/ACU/TMGS1nBvoX8/s1600/breathedit.png. You might not have to though, there are a few map editors out there you can reuse something like mappy: http://tilemap.co.uk/mappy.php These

Re: [android-developers] Re: Fog of war? is it possible?

2010-09-07 Thread Miguel Morales
Why not add an overlay view to the 2d canvas view. Then just draw your fog stuff there, perhaps by using some semi-transparent png or something. On Sat, Sep 4, 2010 at 9:07 AM, John Paul Bernal jpbal...@gmail.com wrote: overhead view, 2d canvas on paint, our character by the way is a ball

Re: [android-developers] Multiplayer game communication

2010-09-07 Thread Miguel Morales
There have been a couple of thread about this on this group. http://www.mail-archive.com/android-developers@googlegroups.com/msg75993.html http://groups.google.com/group/android-developers/search?group=android-developersq=multiplayerqt_g=Search+this+group A lot of it depends on the kind of game

Re: [android-developers] Re: Fog of war? is it possible?

2010-09-07 Thread Miguel Morales
Um ok, my solution would work just fine. Except maybe speed-wise. In which case you can then add a GL overlay to your 2d canvas. On Fri, Sep 3, 2010 at 7:37 PM, John Paul Bernal jpbal...@gmail.com wrote: we are using overhead view and 2d graphics on canvas. Our character is a ball where it

Re: [android-developers] Develop Games

2010-09-07 Thread Miguel Morales
I don't think it was that bad, I've see a million times worse. I can't expect everyone's English to be that good. On Tue, Sep 7, 2010 at 1:39 PM, Haroon Khalid ghett...@gmail.com wrote: how do fucking emails like this get approved by moderators? dude give up on Android and slap yourself in

Re: [android-developers] Re: Multiplayer Game – Ha ndle Communication

2010-09-07 Thread Miguel Morales
I responded in your other thread, but for the sake of completeness I will paste my response here: There have been a couple of thread about this on this group. http://www.mail-archive.com/android-developers@googlegroups.com/msg75993.html

Re: [android-developers] open my ass

2010-09-07 Thread Miguel Morales
WTF? Blocking hardware? And too much much info in the subject BTW. On Tue, Sep 7, 2010 at 7:14 PM, saras sa...@itch.com wrote: when did open platform start blocking hardware google unfuck your self ps sorry the red am seeing red -- You received this message because you are subscribed to

Re: [android-developers] How to have a ContextMenu on a GLSurfaceView :?

2010-09-06 Thread Miguel Morales
Override those on your Activity class. On Mon, Sep 6, 2010 at 3:52 AM, ThomasWrobel darkfl...@gmail.com wrote: Having a little trouble working out how to have a context menu working in my GLSurfaceView view. There doesn't seem to be a onCreateOptionsMenu or onOptionsItemSelected to override.

Re: [android-developers] Upgrade my Game Application

2010-09-06 Thread Miguel Morales
How are you upgrading your game? On Mon, Sep 6, 2010 at 3:28 AM, dhrumil dhrumilsh...@gmail.com wrote: Hello 2all, I have developed one simple game application. In that, the box is moving in all four directions. Now I want to upgrade my game. So for that I just add one ball image on this

Re: [android-developers] Re: How to have a ContextMenu on a GLSurfaceView :?

2010-09-06 Thread Miguel Morales
at 4:18 AM, ThomasWrobel darkfl...@gmail.com wrote: Override what? setOnCreateContextMenuListener ? Its parameters are different. On Sep 6, 12:54 pm, Miguel Morales therevolti...@gmail.com wrote: Override those on your Activity class. On Mon, Sep 6, 2010 at 3:52 AM, ThomasWrobel darkfl

Re: [android-developers] XML RPC login failed

2010-09-02 Thread Miguel Morales
Well, for whatever reason your server is returning a 404, simple as that. You'll have to look at the server code and see why. On Thu, Sep 2, 2010 at 12:06 AM, Tsolmon Narantsogt mnt...@gmail.com wrote:  my server log : [2010-09-02 15:04:02,429] INFO:web-service:successful login from 'admin'

Re: [android-developers] which is the best design for an android game?

2010-09-02 Thread Miguel Morales
Maybe you can use something like imgur for us without facebook accounts. Otherwise it seems like phishing. On Thu, Sep 2, 2010 at 1:09 AM, Robert Lin robertli...@gmail.com wrote: http://www.facebook.com/#!/album.php?aid=2042525id=1549646802 The url above is an album of my facebook. Could u

Re: [android-developers]

2010-09-01 Thread Miguel Morales
Yes, yes you can. On Wed, Sep 1, 2010 at 1:20 AM, vineeshkc kcvine...@gmail.com wrote: There is a user input then on submit pass the search keywords to the db server and return the results (the db server has to be external by the way). Could i pass the search query to server side (php) and get

Re: [android-developers] Popping up Toast (or something like it) from a thread

2010-08-28 Thread Miguel Morales
Anything that touches the UI MUST be done on the UI thread. This is the main thread that starts your app. If you start off a thread, you must use an inter-thread communication method. See this: http://android-developers.blogspot.com/2009/05/painless-threading.html On Sat, Aug 28, 2010 at 2:45

Re: [android-developers] Re: Application Screenshots

2010-08-24 Thread Miguel Morales
I agree it's a little harsh, but developers tend to have a short fuse. I would be curious about this myself. On Tue, Aug 24, 2010 at 1:29 AM, Yahel kaye...@gmail.com wrote: This seems like a little over reaction don't you think ? People in this group like to answer to courteous and polite

Re: [android-developers] Why is android build times so slow...

2010-08-24 Thread Miguel Morales
Try turning auto-build off. On Tue, Aug 24, 2010 at 5:56 PM, sdphil phil.pellouch...@gmail.com wrote: Is it because it's rebuilding it every time? In eclipse, I went into window - preferences - Android - Build And turned on Build output - Verbose on. And it looks like it's rebuilding my

Re: [android-developers] Re: Why is android build times so slow...

2010-08-24 Thread Miguel Morales
blast to multiple social networks On Tue, Aug 24, 2010 at 8:57 PM, Miguel Morales therevolti...@gmail.comwrote: Try turning auto-build off. On Tue, Aug 24, 2010 at 5:56 PM, sdphil phil.pellouch...@gmail.com wrote: Is it because it's rebuilding it every time? In eclipse, I went

Re: [android-developers] connecting mysql database

2010-08-21 Thread Miguel Morales
Don't connect to mysql directly from the android device. Any decent developer should know this. You'll have to create a web frontend for your data/app probably using a RESTful style. http://code.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html On Sat, Aug 21, 2010 at

Re: [android-developers] Any Interview Question

2010-08-21 Thread Miguel Morales
I hope you're joking because this post is funny. I don't understand how you can have an interview but don't know how to use google for information about Android. I hope never to use any software you write. On Sat, Aug 21, 2010 at 7:55 AM, crajesh crajesh2...@gmail.com wrote: Hi, Can any one

Re: [android-developers] Re: connecting mysql database

2010-08-21 Thread Miguel Morales
to Android, and on other platforms you CAN connect directly to a remote database.  This is a limitation/shortcoming/feature of Android. On Aug 21, 1:24 pm, Miguel Morales therevolti...@gmail.com wrote: Don't connect to mysql directly from the android device. Any decent developer should know

Re: [android-developers] Why are the standard Android components as ugly as MS Visual Studio components?

2010-08-21 Thread Miguel Morales
I can't stand the apple widgets. Too grey, too dull, ugh. Recently had to jailbreak my bro's iphone and the widgets were just as dull if not more. The back button doesn't animate and is way out of the way most of the time. It's too small, I have to search for it and make sure to press the area.

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread Miguel Morales
This is a problem for all kinds of software. Including PC software. It is not something unique to Android. The only solution I can think of is try to ping or reach an ip that is always up. On Fri, Aug 20, 2010 at 2:43 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Aug 20, 2010 at 4:50

Re: [android-developers] Re: Internet Connection Bug Or Error ??

2010-08-20 Thread Miguel Morales
Did you not read my reply? Try pinging an ip that's always up like 4.2.2.2 or similar. So you'll need a few levels of checks, first the normal check you're doing now. And then an internet reachability test to test if you can reach the internet. This isn't a bug in android, or some sort of

Re: [android-developers] Switching between normal view and glsurfaceview (game loading screen)

2010-08-18 Thread Miguel Morales
Well, I think the easiest thing for you would be to add an overlay view on top of your openGL view. This is fairly easy. On your activity's onCreate you could do this: LinearLayout base = new LinearLayout(this); FrameLayout frame = new FrameLayout(this); YourGLView gl_view = new

Re: [android-developers] connect to sql server

2010-08-18 Thread Miguel Morales
You might want to watch this: http://code.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html and learn how to create web applications. It's a basic and widely used skill as a developer. On Mon, Aug 16, 2010 at 3:23 AM, khalfaoui ameni khalfaoui.am...@gmail.com wrote: hello

Re: [android-developers] Re: Switching between normal view and glsurfaceview (game loading screen)

2010-08-18 Thread Miguel Morales
! On Aug 19, 5:15 am, Robert Green rbgrn@gmail.com wrote: I just load the loading screen textures first and render it in OpenGL ortho while loading.  I even have a progress bar, though you have to load in steps to do that. On Aug 18, 4:40 am, Miguel Morales therevolti...@gmail.com wrote

Re: [android-developers] how to send data to server while recording

2010-08-13 Thread Miguel Morales
What have you tried? On Thu, Aug 12, 2010 at 10:45 PM, cindy ypu01...@yahoo.com wrote: My application needs to send data to server while recording the audio data? Does anyone know how to do that? Thanks! April -- You received this message because you are subscribed to the Google

<    1   2   3   4   5   >