Re: [android-developers] Re: new developer questions

2011-04-05 Thread Miguel Morales
The latest. On Tue, Apr 5, 2011 at 12:40 AM, hoss7 hoss...@gmail.com wrote: which eclipse version On Apr 5, 12:22 am, Miguel Morales therevolti...@gmail.com wrote: 1. Eclipse 2. Android SDK 3. Yes 4.http://developer.android.com/guide/topics/fundamentals.html On Sun

Re: [android-developers] new developer questions

2011-04-04 Thread Miguel Morales
1. Eclipse 2. Android SDK 3. Yes 4. http://developer.android.com/guide/topics/fundamentals.html On Sun, Apr 3, 2011 at 12:32 PM, hoss7 hoss...@gmail.com wrote: i want starrt develop android app i am Computer engineering and web developer i have many questions 1.best ide for develop? 2.what

Re: [android-developers] Re: in-app billing problems

2011-03-31 Thread Miguel Morales
Billing testing works fine on my G1 using 1.6 On Thu, Mar 31, 2011 at 1:30 PM, Mr Pants pantssoftw...@googlemail.comwrote: Hi Tony, Thanks for pointing that out, will save me wasting even more time on getting this very clunky functionality workingI'm sure it could have been made easier.

Re: [android-developers] Re: in-app billing problems

2011-03-31 Thread Miguel Morales
, real in-app products? On Mar 31, 9:35 pm, Miguel Morales therevolti...@gmail.com wrote: Billing testing works fine on my G1 using 1.6 On Thu, Mar 31, 2011 at 1:30 PM, Mr Pants pantssoftw...@googlemail.com wrote: Hi Tony, Thanks for pointing that out, will save me

Re: [android-developers] Re: in-app billing problems

2011-03-31 Thread Miguel Morales
Either that, or I have a special G1. I'm guessing they'll support lower versions sooner rather later. On Thu, Mar 31, 2011 at 2:02 PM, Miguel Morales therevolti...@gmail.comwrote: Well, I'm saying that the market service returns RESULT_BILLING_OK (or whatever) on my G1. Perhaps it's a problem

Re: [android-developers] Re: in-app billing problems

2011-03-31 Thread Miguel Morales
hurt On Mar 31, 10:06 pm, Miguel Morales therevolti...@gmail.com wrote: Either that, or I have a spe... On Thu, Mar 31, 2011 at 2:02 PM, Miguel Morales therevolti...@gmail.com wrote: Well, I'm saying that the market service returns RESULT_BILLING_OK (or wha... On Thu, Mar 31

Re: [android-developers] Need Help to Develope my first Android Project.

2011-03-30 Thread Miguel Morales
Why don't you just do it yourself? I thought college was a place to learn to do things in the real world. You won't get help like this in the real world. On Wed, Mar 30, 2011 at 1:44 AM, Kirti Joshi joshikirti...@gmail.comwrote: Hi! everyone, i need help to develop my first android project.

Re: [android-developers] Question.!!

2011-03-30 Thread Miguel Morales
No, it's not possible to write any android app in c/c++. Most likely you'll need to learn the java sdk at some point. Quit being lazy and learn it. On Tue, Mar 29, 2011 at 9:38 AM, wahedul arefin arefin.a...@gmail.comwrote: Is it possible to write any android application in c/c++ ? If it is

Re: [android-developers] Ruby on Rails for Tablet Computers (Android OS)

2011-03-30 Thread Miguel Morales
Why not just host it on the internet instead of the device? Have you confirmed the device can act as a server with regular carriers? Will it only work in wifi mode? Don't you care about slowing down a user's tablet CPU just to run your web app? Don't you care to leave the devices vulnerable to

Re: [android-developers] onKeyDown

2011-03-28 Thread Miguel Morales
You need to catch key events on your activity, not your view. On Mon, Mar 28, 2011 at 3:09 PM, bob b...@coolgroups.com wrote: Can someone tell me why the onKeyDown event never gets called here? (even when a key is pressed) import android.app.Activity; import android.content.Context;

Re: [android-developers] Saving instance state of webview

2011-03-28 Thread Miguel Morales
Try changing: @Override public void onSaveInstanceState(Bundle outState) { ((WebView)findViewById(R.id.webview)).saveState(outState); } to browser.saveState On Fri, Mar 25, 2011 at 11:31 AM, RNeumannVWB rneum...@vwbresearch.comwrote: I have a simple app for our

Re: [android-developers] Re: Dialog box without title

2011-03-26 Thread Miguel Morales
Use: requestWindowFeature(Window.FEATURE_NO_TITLE); On Sat, Mar 26, 2011 at 10:03 PM, Dixi dixitwadhw...@gmail.com wrote: don't use this while writing your dialog box code--- dialog.setTitle(Title name); On Mar 27, 12:32 am, Archit Jain dce.arc...@gmail.com wrote: Hi all,

Re: [android-developers] Unable to start service com.android.vending.billing.IMarketBillingService

2011-03-24 Thread Miguel Morales
Market billing will not work on the emulator. You need a real device with market version 2.3. On Thu, Mar 24, 2011 at 3:57 AM, Gustavo Costa guga...@gmail.com wrote: I'm trying start com.android.vending.billing.IMarketBillingService service and I received this message. I'm using emulator

Re: [android-developers] Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Miguel Morales
Perhaps you are leaking an activity, view, or dialog when you rotate the phone. Remember that rotating the phone calls onDestroy and onCreate again. On Tue, Mar 22, 2011 at 1:51 PM, Justin Anderson magouyaw...@gmail.comwrote: How many times does it take to crash if you skip rotating the phone

Re: [android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Miguel Morales
Are you holding on to the dialog reference? That's probably it. On Tue, Mar 22, 2011 at 2:03 PM, John jo-d...@hotmail.com wrote: On Mar 22, 2:51 pm, Justin Anderson magouyaw...@gmail.com wrote: How many times does it take to crash if you skip rotating the phone 30 times while displaying

Re: [android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Miguel Morales
are deprecated any way, you may want to look into a different solution that will work now and in the future. On Tue, Mar 22, 2011 at 2:09 PM, John jo-d...@hotmail.com wrote: On Mar 22, 3:05 pm, Miguel Morales therevolti...@gmail.com wrote: Are you holding on to the dialog reference? That's

Re: [android-developers] Re: Out of Memory With Alert Dialog and Screen Rotation

2011-03-22 Thread Miguel Morales
I didn't know about the deprecation, but now that you mention it the showDialog(int) method is deprecated, but they've replaced it with showDialog(int, Bundle), which should work the same way. Ah, ok yeah I see that method. According to the docs, onCreateDialog should only be called ONCE

Re: [android-developers] Something I said?

2011-03-22 Thread Miguel Morales
If you posted through the web interface it might have been a bug or something. What was the title of your thread? This thread showed up just fine so you can't be banned. And yes, some real silly questions make it through the filter. Use the gmail interface, it's much better. On Tue, Mar 22,

Re: [android-developers] Something I said?

2011-03-22 Thread Miguel Morales
Well I saw your thread, personally I haven't ever played with what you are talking about I can't help you there. It seems that it's a pretty specific question, and perhaps that's the problem. On Tue, Mar 22, 2011 at 5:04 PM, slipp3ry slipp3ry_whip...@yahoo.co.ukwrote: Thanks for the reply

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread Miguel Morales
I think that if you have extra time, you use it to practice or learn more English. All the Android functions are written from a western/US perspective and so is the documentation. Your English needs to be up to par to be able to read through it and any other official documentation. It seems

Re: [android-developers] help me pleaseeeeee

2011-03-22 Thread Miguel Morales
Well, we can't really help you if we can't understand you. Anyway, good luck on your issue. On Tue, Mar 22, 2011 at 6:43 PM, jaafar zbeiba jaafarinformati...@gmail.com wrote: thank you for your advice but I ask you for help and not a council -- You received this message because you are

Re: [android-developers] Dialog, TabView

2011-03-21 Thread Miguel Morales
You may have to initialize the dialog using the top-level activity context and not the tab's sub activity. Haven't tried it, but it *should* work. On Mon, Mar 21, 2011 at 2:05 PM, Filip Havlicek havlicek.fi...@gmail.comwrote: Daniel, that is not enough. Post better description of your problem

Re: [android-developers] Canvas to OpenGL

2011-03-21 Thread Miguel Morales
Use GLCanvas and look up examples. On Mon, Mar 21, 2011 at 6:09 PM, TreKing treking...@gmail.com wrote: On Mon, Mar 21, 2011 at 7:52 PM, brian purgert brianpurge...@gmail.comwrote: So where do I start Learn OpenGL? Read through the sample game projects?

Re: [android-developers] Re: 2d game development

2011-03-21 Thread Miguel Morales
Good place to start: http://www.youtube.com/watch?v=U4Bk5rmIpic On Mon, Mar 21, 2011 at 6:16 PM, a a harvey.a...@gmail.com wrote: so, do you think your provider below url is a bare bones ? http://code.google.com/p/libgdx/ 2011/3/21 Riyad Kalla rka...@gmail.com: Any game engine you look at

Re: [android-developers] Keeping WebView history through orientation change?

2011-03-19 Thread Miguel Morales
A simple way is to override onSaveInstanceState on your activity and call saveState on your webview. Then on your onCreate if the saved state bundle isn't null call restoreState on the webview. It should reset its layout, and remember its history. On Sat, Mar 19, 2011 at 2:21 PM, Mark Murphy

Re: [android-developers] help me pleaseeeeee

2011-03-19 Thread Miguel Morales
Your onClickListeners is wrong. I'm not sure why that even compiles. Nothing happens because you never call sendFeedback(). On Fri, Mar 18, 2011 at 5:33 PM, jaafar zbeiba jaafarinformati...@gmail.com wrote: hello I just created a code to input area password c is to say in dermarage of the

Re: [android-developers] Re: Not able to receive UDP Data

2011-03-18 Thread Miguel Morales
]; DatagramPacket datagram = new DatagramPacket(data, 0, data.length, null, 0); socket.receive(datagram); On 18 мар, 03:20, Miguel Morales therevolti...@gmail.com wrote: I've read people on the internet recommending to use UDP for game networking on Android. However, when I was attempting to implement

Re: [android-developers] Twitter on Android

2011-03-18 Thread Miguel Morales
Go to the facebook website, they have a developer kit for Android. Along with documentation. On Fri, Mar 18, 2011 at 2:53 AM, chamith weerasinghe e05ch...@gmail.comwrote: Hi all I'm new to android and I want to insert facebook and twitter intraction for my android application. please help

Re: [android-developers] Re: Not able to receive UDP Data

2011-03-18 Thread Miguel Morales
, since there you have greater control and transparency: you can run Wireshark and see configuration on more points in the network. If you root your phone, you can even run tcpdump on the phone. On Mar 18, 2:01 am, Miguel Morales therevolti...@gmail.com wrote: Can you verify this works on a device

Re: [android-developers] Walking Sprite....

2011-03-17 Thread Miguel Morales
You need to learn about game loops and updated sprite positions. Just google 'game loop tutorial.' Here's the first tutorial I came across from a quick search: http://www.nuclex.org/articles/3-basics/5-how-a-game-loop-works On Wed, Mar 16, 2011 at 9:25 PM, Anirudh anirudh.the...@gmail.com wrote:

Re: [android-developers] Re: Not able to receive UDP Data

2011-03-17 Thread Miguel Morales
I've read people on the internet recommending to use UDP for game networking on Android. However, when I was attempting to implement it using my real G1 device on Tmobile. However, I didn't have any success. I don't really recall having tried it on the emulator, but I probably did. If anyone

Re: [android-developers] Walking Sprite....

2011-03-16 Thread Miguel Morales
This is a fairly generic question not specific to android. As others have posted, it's far too broad. I have posted an animation tutorial on my blog: http://developingthedream.blogspot.com/2011/01/android-canvas-frame-by-frame-animation.html However, you need to know the basics of Android

Re: [android-developers] Re: Is it possible to get android device id? (Urgent -- Please)

2011-03-14 Thread Miguel Morales
I've read somewhere (some stackoverflow post) that using the network mac address is actually more unique and reliable than the system id. On Mon, Mar 14, 2011 at 12:13 PM, Brill Pappin br...@pappin.ca wrote: Try this... works every time http://tinyurl.com/6danm5t -- You received this

Re: [android-developers] Sending file from sdcard to FTP-server?

2011-03-14 Thread Miguel Morales
Well the first issue is that you are making a network request on the main UI thread. This will block the thread until the network operation completes and might make your program close. I suggest you start by reading this:

Re: [android-developers] Market 2.3.2 : why is in-app billing API still returning RESULT_BILLING_UNAVAILABLE?

2011-03-12 Thread Miguel Morales
Looks like this started to work now. Just tried the dungeons sample on my G1 and it seems to finally work. On Fri, Mar 4, 2011 at 1:24 AM, Kostya Vasilyev kmans...@gmail.com wrote: 04.03.2011 11:50, Nikolay Elenkov пишет: I agree it's pure speculation, but that's all we have. It does seem

Re: [android-developers] Re: Fragment Support forward compatibility?

2011-03-10 Thread Miguel Morales
They just released the static library for 1.6+ devices so that they can use fragments too. This is freaking awesome, I can't wait to start playing with it. There is just so much new stuff there's no time to play with it all. On Thu, Mar 10, 2011 at 4:57 PM, davemac davemac...@gmail.com wrote:

Re: [android-developers] Re: override back button

2011-03-10 Thread Miguel Morales
Well, I *think* you're using it wrong. Basically, onKeyDown allows you to override the default key behavior for whatever key is pressed. So, if you return 'true' it means that you have handled the behavior. So, you have to provide your own code to navigate your activities/view if you are

Re: [android-developers] Re: override back button

2011-03-10 Thread Miguel Morales
. On Thu, Mar 10, 2011 at 5:27 PM, Colin colin...@gmail.com wrote: The super return would only be for a key besides down. I believe Justin is right with the onBackPressed(), I'm just not sure where or how to do that. On Mar 10, 8:10 pm, Miguel Morales therevolti...@gmail.com wrote: Well, I

Re: [android-developers] Re: override back button

2011-03-10 Thread Miguel Morales
, Miguel Morales therevolti...@gmail.com wrote: Well like he said you must be using 2.0+ what's your target sdk set to? Other than that, you're probably returning false which means your conditions aren't being met and you're not returning true. You might want to add some logging

Re: [android-developers] Re: Which Mobile Advertising Site?

2011-03-09 Thread Miguel Morales
scarce on information for developers (at least from a quick browsing.) This might be a good option for you since that activity is called every so often and the users who want that functionality shouldn't mind sitting through some ads to reach it. Thanks. ...Jake MM == Miguel Morales

Re: [android-developers] Global Variables

2011-03-09 Thread Miguel Morales
If you define to use your custom application class in the android manifest file you can get the class from your activities. Inside your activity, simple use (MyAppliction) getAppliction() and then you can access your variables. If it's static global variables you're looking for. Then you would

Re: [android-developers] Global Variables

2011-03-09 Thread Miguel Morales
: http://www.dtw-consulting.com/GolfCaddie Golf Caddiehttp://www.dtw-consulting.com/GolfCaddie| Golf Caddie Forum http://www.dtw-consulting.com/GolfCaddie/forum | Golf Caddie FAQ http://www.dtw-consulting.com/GolfCaddie/faq.html by DTW-Consulting, Inc. On 3/9/2011 6:16 PM, Miguel Morales

Re: [android-developers] Small game develop

2011-03-09 Thread Miguel Morales
Simply override the input methods in your activity then call onDraw to have the canvas be redrawn. On Mon, Mar 7, 2011 at 9:11 PM, JackeyChan a397420...@gmail.com wrote: I only want the ball can move with user input: up , down, left, right. now , the ball is created by extend the View class

Re: [android-developers] Using a Freemium Model

2011-03-09 Thread Miguel Morales
This has been asked several times, including in the android market forums. No response from Google yet, but according to their TOS it is against the rules to collect payments in your application. On Tue, Mar 8, 2011 at 10:00 PM, Brian515 brian.char...@gmail.com wrote: I'm finishing up writing

Re: [android-developers] Mobile development, best computer configuration?

2011-03-09 Thread Miguel Morales
Mac works great because you can develop for iOS and Android. However, last time I checked BlackBerry didn't have a proper Mac OS tool and you were stuck using windows. I haven't played around with it since. On Wed, Mar 9, 2011 at 3:39 AM, mikael_w mikael.wozn...@gmail.com wrote: Hi, For the

Re: [android-developers] Reg. Iphone like Tab design in Android

2011-03-09 Thread Miguel Morales
The problem with that is that it takes up a lot of room in the bottom specially when in horizontal orientation. The standard android way is to use the options menu or tabs at the top if it's necessary. On Wed, Mar 9, 2011 at 2:46 AM, srini seenub...@gmail.com wrote: HI, I need to create tab

Re: [android-developers] Which Mobile Advertising Site?

2011-03-08 Thread Miguel Morales
I use admob and mobclix. They're both super easy to integrate. Just google some things like admob vs mobclix and you'll see what people have to say. On Tue, Mar 8, 2011 at 11:48 AM, Jake Colman col...@ppllc.com wrote: Would anyone mind sharing their experiences with the various Mobile

Re: [android-developers] Phone gap

2011-03-08 Thread Miguel Morales
WTF? Did you even bother to read their documentation? It's really easy to use and setup a project. On Tue, Mar 8, 2011 at 10:20 PM, androidianlover nnn androidianlo...@gmail.com wrote: hi, i want to use phone gap in my androidapplication. so plz send to me information how it configar with

Re: [android-developers] 100 chances to win Google IO tickets

2011-03-08 Thread Miguel Morales
Looking at the schedule: https://sites.google.com/site/lastcallforio2011/schedule it looks like it starts really early at 9:00 AM, it would be really cool to get free tickets. But that's so early. Also, there's no indication as to the kind of app contestants would be coding (at least for android

Re: [android-developers] ThruTu .....How'd they do it

2011-03-07 Thread Miguel Morales
sliding drawer? On Thu, Mar 3, 2011 at 12:23 PM, Kevin Singh coolkevinsi...@gmail.comwrote: Thrutu a new app for android is able to put a drawer on top of the incall screen which has several functions and only takes up a fraction of the screen. In addition the cal control buttons below still

Re: [android-developers] Long server process...solution

2011-03-04 Thread Miguel Morales
http://www.youtube.com/watch?v=xHXn3Kg2IQE On Fri, Mar 4, 2011 at 1:57 PM, dashman erjdri...@gmail.com wrote: I'm doing a POST to a site to do some work...this process takes a long time (about 30-60 seconds). I plan change it so that i can do the work in a separate thread on the server.

Re: [android-developers] Trouble With WebView

2011-03-04 Thread Miguel Morales
Your best bet might be to implement a custom WebViewClient to catch a click on the mp3 link. Then override the load behavior and use an intent to properly launch whatever you're trying to launch. On Fri, Mar 4, 2011 at 4:49 PM, Dan king...@gmail.com wrote: Hello All, I am using a WebView to

Re: [android-developers] Re: Trouble With WebView

2011-03-04 Thread Miguel Morales
I don't get it, what do you mean it's a query? On Fri, Mar 4, 2011 at 5:06 PM, Dan king...@gmail.com wrote: I've thought about doing that but the URL to open is a query, not a standard file link as shown above. On Mar 4, 5:01 pm, Miguel Morales therevolti...@gmail.com wrote: Your best bet

Re: [android-developers] Re: Trouble With WebView

2011-03-04 Thread Miguel Morales
, Daniel Schultze king...@gmail.com wrote: For example: http://www.google.com/?q=example+search . http://en.wikipedia.org/wiki/Query_string On Fri, Mar 4, 2011 at 5:15 PM, Miguel Morales therevolti...@gmail.comwrote: I don't get it, what do you mean it's a query? On Fri, Mar 4, 2011 at 5:06 PM

Re: [android-developers] Re: Trouble With WebView

2011-03-04 Thread Miguel Morales
Schultze king...@gmail.com wrote: The query has no pattern to it as these are generated dynamically and could respond with anything. Analyzing the html resource isn't very practical. My big question is not the Browser meant to handle this? -Dan On Mar 4, 2011 5:33 PM, Miguel Morales therevolti

Re: [android-developers] Socket Development

2011-03-02 Thread Miguel Morales
Sounds like a firewall issue. On Mon, Feb 28, 2011 at 7:57 AM, vonengel vonengel.gro...@googlemail.comwrote: Hi everybody, I am working on an application which communicates with different machines (Linux) via sockets. My problem is the following: I want to be able to connect from my phone

Re: [android-developers] Are you submitting your app to more than just the Android Market?

2011-03-02 Thread Miguel Morales
I've actually used the alternative markets as a testing ground for my game. On slideme, I started out strong but peaked at around 645 downloads. On getjar, it's been going strong with most 'test players' from there at almost 2000 downloads. I haven't tried any other market beside that, my game is

Re: [android-developers] Market 2.3.2 : why is in-app billing API still returning RESULT_BILLING_UNAVAILABLE?

2011-03-02 Thread Miguel Morales
I can confirm that behavior as well. Just waiting on google now On Wed, Mar 2, 2011 at 1:37 PM, Kostya Vasilyev kmans...@gmail.com wrote: Same here - thought I'd start working through the dungeon sample, but get the same error code, despite having market 2.3.2 / 2.3.3. They haven't

Re: [android-developers] Re: Android Apps with HTML5

2011-03-01 Thread Miguel Morales
HTML5 can't even touch the experience of a native app. Most popular app on the android market are native However, for dev speed you can't beat html5. Plus you get automatic cross-platform compatibility with iOS, BB, etc. On Tue, Mar 1, 2011 at 10:59 AM, Igor Nesralla Ribeiro

Re: [android-developers] Using Facebook API in Android

2011-02-25 Thread Miguel Morales
You have to read the facebook API docs. Then, using your programming skills use their documentations to implement it on Android. If you can't then you are just not good enough yet and need more practice. Therefore, instead of asking for people to help you, you should continue to practice. In

Re: [android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-25 Thread Miguel Morales
Well, according to the in-app billing: http://developer.android.com/guide/market/billing/billing_admin.html#billing_purchase_type They have an option for unmanaged items and give you the option to handle unmanaged items yourself. So, since you're not breaking the TOS by handling payments in your

Re: [android-developers] Re: GOOGLE TO BAN PAYPAL?!

2011-02-25 Thread Miguel Morales
. You cannot do that, you must present the user interface for the in-app billing system. On Feb 26, 1:49 pm, Miguel Morales therevolti...@gmail.com wrote: Well, according to the in-app billing: http://developer.android.com/guide/market/billing/billing_admin.html#... They have an option

Re: [android-developers] Check permissions

2011-02-25 Thread Miguel Morales
Well, since you are modifying the manifest and recompiling a new apk for each version anyway. Simply have a file such as Const.java in which you define some static fields which you can check against at runtime. You'll have to still make changes to two places, but you won't have to touch your code

Re: [android-developers] How to i adjust the width of an imageview in the java code

2011-02-25 Thread Miguel Morales
Have you tried the setMaxWidth() as per the ImageView docs? You *may* have to use setLayoutParams. Haven't tried this myself, but again it's what the docs say. On Fri, Feb 25, 2011 at 10:05 PM, brian purgert brianpurge...@gmail.comwrote: I have a battery and on top of the battery i have a

Re: [android-developers] Help Please!!!

2011-02-24 Thread Miguel Morales
You might have better luck in the phonegap forums. On Wed, Feb 23, 2011 at 3:57 AM, Riyaz z abdrahma...@gmail.com wrote: Hi Guys, Am using phonegap application in Eclipse to develop my Android Application. I like to know programmatically turn off the auto suggest text when i type in text

Re: [android-developers] NullPointerException with Strange backtrace not going into my code

2011-02-23 Thread Miguel Morales
Are you sure you're not messing with the UI from another thread? On Wed, Feb 23, 2011 at 2:39 AM, Thierry Legras tleg...@gmail.com wrote: Hi, I have got from time to time crash reports with such backtrace: java.lang.NullPointerException at

Re: [android-developers] Can I put a link page to my own market Apps?

2011-02-23 Thread Miguel Morales
This ain't Apple. I'm pretty sure they'll allow it. Even if they don't I doubt they would enforce it. On Wed, Feb 23, 2011 at 1:45 PM, Droid rod...@gmail.com wrote: I need to categorize my Apps and so need do build an external web page with links to my Apps and embed it in a WebView in my

Re: [android-developers] Detecting BACK button press on AlertDialog

2011-02-22 Thread Miguel Morales
Set an ondimiss listener. On Tue, Feb 22, 2011 at 1:46 AM, dashman erjdri...@gmail.com wrote: I've an AlertDialog with no buttons - just a pick list. How can I detect if the user has pressed the BACK button (i.e. closed the dialog). -- You received this message because you are subscribed

Re: [android-developers] Re: android market 2.3.0

2011-02-22 Thread Miguel Morales
I checked too with the same results. It would be nice if Google would give us a notice. On Tue, Feb 22, 2011 at 8:40 AM, twkx soule.tho...@gmail.com wrote: Hi all, The in-app billing sample app keep on saying The Market billing service is not available for me. I've checked the Android

Re: [android-developers] Re: Does Android have a LinkButton. Basically like text but you click on it?

2011-02-19 Thread Miguel Morales
No, but the simple way to do it is to have a textview in your layout xml. Set the android:linksClickable=true Then, in your code add a click listener to the textview to handle the click. To make it look like a link set the hml like so: myTextView.setText(Html.fromHtml(a href='#'hello world/a));

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Miguel Morales
If I recall correctly, ajax requests can indeed call the webview client. I'm not sure I understand what you're trying to implement, but the onLoadResource() callback a bit useful. If you're handling your own loadURL in shouldOverride() you need to set return false so that the webview doesn't

Re: [android-developers] WebViewClient callbacks called too often

2011-02-19 Thread Miguel Morales
, Feb 19, 2011 at 2:43 PM, Mark Murphy mmur...@commonsware.com wrote: On Sat, Feb 19, 2011 at 2:37 PM, Miguel Morales therevolti...@gmail.com wrote:  If you're handling your own loadURL in shouldOverride() you need to set return false so that the webview doesn't attempt to load the page twice

Re: [android-developers] What is current version of Android Market

2011-02-17 Thread Miguel Morales
Strange, even though the market version now says 2.3.2 the Dungeons app provided by google for in-app purchase testing still displays a 'billing service not available' message. On Thu, Feb 17, 2011 at 3:24 PM, TreKing treking...@gmail.com wrote: On Tue, Feb 15, 2011 at 2:34 AM, muhammad mahmood

Re: [android-developers] Camera Access through WebView

2011-02-16 Thread Miguel Morales
You may want to try phonegap, I believe they have camera support, and they're open source. On Wed, Feb 16, 2011 at 1:10 AM, perumal subramaniam perumal...@gmail.com wrote: Hi Sogan, Thanks for the info. But the links does not offer a solution. Has this been done? Or Camera API access through

Re: [android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread Miguel Morales
Try setting the multipart/form-data header in your connection. Might be easy to use HTTPUrlConnection. See: http://stackoverflow.com/questions/4896949/android-httpclient-file-upload-data-corruption-and-timeout-issues On Wed, Feb 16, 2011 at 2:38 AM, alex c alex.chuny...@gmail.com wrote: not

Re: [android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread Miguel Morales
Sorry, missed the part where you already tried URLConnection. You should post that code here, because using non-standard classes, specially for network communication, is not recommended. On Wed, Feb 16, 2011 at 4:23 AM, Miguel Morales therevolti...@gmail.com wrote: Try setting the multipart/form

Re: [android-developers] Re: Corrupted images when uploading to server via POST

2011-02-16 Thread Miguel Morales
Bah, sorry it's late. Noticed you are using DefaultHTTPClient. In any case, have you tried setting the multi-part header yourself? Did you see it set when you were using tcpdump? On Wed, Feb 16, 2011 at 4:35 AM, Miguel Morales therevolti...@gmail.com wrote: Sorry, missed the part where you

Re: [android-developers] Re: In app billing...

2011-02-12 Thread Miguel Morales
I have tried to implement code using the provided example project. Although you can get some work done, the lack of a 2.3 market version really hurts testing. I have tried running the Dungeon app on a 1.6 device with no luck. On Sat, Feb 5, 2011 at 2:14 PM, fooyee reloadingthej...@gmail.com

Re: [android-developers] Re: In app billing...

2011-02-12 Thread Miguel Morales
that 2.1 and 2.2 are the majority market, with 2.3 going to be building up this year, I am fine with it targeting that, but if it's 2.3 and later, that kinda sucks because it will be a while before we can really tap into a larger market of 2.3+ devices. On Sat, Feb 12, 2011 at 1:54 AM, Miguel

Re: [android-developers] Problem in Handler

2011-02-03 Thread Miguel Morales
Right, just move your obtainMessage() inside your loop. I personally use Message.obtain(), although I'm not sure what the difference is. On Wed, Feb 2, 2011 at 11:45 PM, Dianne Hackborn hack...@android.com wrote: You are sending the same messages into the handler while they are still being

Re: [android-developers] Re: Android SDK is so slow that is ridiculous.

2011-01-29 Thread Miguel Morales
Not to mention that testing OpenGL games is impossible. The only way to test on devices is users, otherwise it's just a guessing and hoping for the best. In any case, I don't care WHY the emulator is so slow. Hopefully they'll make it fast in the near future, the iPhone emulator is much better.

Re: [android-developers] XML or JSON in Android

2011-01-28 Thread Miguel Morales
You can also zip the data on the server side and decompress it on the data side. Might save some time. If you use DefaultHttpClient you can use headers (ENCODING_GZIP) so it does it automatically. Also, it seems like your application will be wasting network and battery by checking the server so

Re: [android-developers] C2DM within gaming paradigm

2011-01-28 Thread Miguel Morales
It sounds fine, however the biggest problem I would see is the data limit on C2DM messages. Your data needs to stay below 1024 bytes. It seems though that if you're just sending messages that tells the clients to pull data. So, it seems like it should work ok. But of course, with a socket you

Re: [android-developers] Re: SocketException : The operation timed out

2011-01-18 Thread Miguel Morales
Sometimes what happens on my phone is that after a certain period of inactivity the device shuts down the internet connection. I'm not familiar with ThreadSafeClientConnManager but I'm guessing it doesn't fail when the connection was shut down and fails when you attempt to read/write data. This

Re: [android-developers] Drawing on a canvas like normal VS OpenGl

2011-01-08 Thread Miguel Morales
You should watch this: http://www.google.com/events/io/2009/sessions/WritingRealTimeGamesAndroid.html On Fri, Jan 7, 2011 at 8:34 PM, brian purgert brianpurge...@gmail.com wrote: So I was just wondering is openGL better in terms of making a 2dgame. does it render faster then if I were to draw

Re: [android-developers] Android : Issues with medialets ads

2011-01-07 Thread Miguel Morales
You might want to contact their support. On Fri, Jan 7, 2011 at 1:35 AM, jayabal padmavathy.jayaba...@gmail.com wrote: Hi Guys, I wanna use medialets ad in my android app. I have faced some issues which are listed below,   1. Got an sample with downloaded sdk, banner ads are not working in

Re: [android-developers] Re: Rotating an Android VideoView

2011-01-06 Thread Miguel Morales
Perhaps you can extend the VideoView class, then override onDraw. Then you can rotate the canvas there, and call super.draw(canvas). That might work. On Thu, Jan 6, 2011 at 9:30 PM, Darshan cmb...@gmail.com wrote: My app's requirement is that it should display the Video in Landscape mode only

Re: [android-developers] Re: Game pretty much like mine

2010-12-20 Thread Miguel Morales
I just released an alpha version of my game which has taken me over a year to make. Checking out the market, it doesn't seem I have much competition. I get a nice niche though, which is multiplayer games. The market is becoming increasingly saturated, I'm guessing to stand out you have to step

Re: [android-developers] Re: Available databases for Android

2010-12-15 Thread Miguel Morales
There's also CouchDB for Android: http://www.couchone.com/android On Wed, Dec 15, 2010 at 12:06 AM, Jawwad Farooq jawwad.far...@gmail.com wrote: While surfing I found a very very useful resource: http://tordtech.blogspot.com/search/label/Benchmarking Please have a look .. On Dec 15,

Re: [android-developers] aapt and zlib issues on fedora 13 64bit

2010-12-15 Thread Miguel Morales
This has to with the latest version of the sdk. The way I fixed it was by compiling zlib myself so that it replaces the standard library using: ./configure --prefix=/usr This might not be safe though, but I don't use that machine for much so I didn't care. Seems to be working ok so far. On

Re: [android-developers] Project on Android

2010-12-15 Thread Miguel Morales
Appropriate definition of what? On Wed, Dec 15, 2010 at 10:40 PM, Chirayu Dalwadi chirayu.dalw...@gmail.com wrote: Hello Group, As a part of my college curriculum, I want to do a part-time project on Android. Please suggest me appropriate definition. -- *Warm Regards,** Chirayu

Re: [android-developers] Audio triggered by database change?

2010-12-06 Thread Miguel Morales
You'll probably want some sort of PUSH notification. If you are targeting 2.0+ you might want to take a look at http://code.google.com/android/c2dm/index.html. If you're targeting anything before that you'll have to roll your own. Probably using a service that either polls the server, or which

Re: [android-developers] How to send a simple email programatically? (exists a simple way to do it??)

2010-12-06 Thread Miguel Morales
Like others have pointed out, there is no easy way. The EASIEST way is to use a webservice. Which will be much more stable and work all the time. You also need to know about what the email protocols are, i.e. SMTP or IMAP. A simple google search turned this:

Re: [android-developers] Application help (Communication between phone and computer)

2010-12-06 Thread Miguel Morales
Well, you have two options. You can either communicate the applications directly with each other, or have an intermediary. If you choose to have the applications communicate directly you have to make either of the applications can listen on a port and have other clients communicate with it. This

Re: [android-developers] Re: How to build a 2d GUI to an OpenGL ES app?

2010-11-27 Thread Miguel Morales
. So do you mean that I should use the android.opengl package to develop the 3d  graphics in openGL? Is this the standard way to develop 3d graphics in Android? On 25 Nov, 12:27, Miguel Morales therevolti...@gmail.com wrote: What? No, no C++.  Just use a GLSurfaceView to render all your

Re: [android-developers] Re: How to build a 2d GUI to an OpenGL ES app?

2010-11-25 Thread Miguel Morales
mixing Java and C++ in an Android project? SurfaceView and the GUI in Java and GLSurfaceView and the visual effects in OpenGLC+ +? On 25 Nov, 01:12, Miguel Morales therevolti...@gmail.com wrote: You can simply have a SurfaceView overlaying your GLSurfaceView and draw whatever HUD orGUIelements you

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

2010-11-24 Thread Miguel Morales
! I have seen your map editor in HTML/JS, it is pretty awesome. I thought something similar for Egg Savior, but ended with plain old ASCII text for the maps :) Regards. On 24 nov, 00:01, Miguel Morales therevolti...@gmail.com wrote: Thanks for the response, you are actually getting a better

Re: [android-developers] How to build a 2d GUI to an OpenGL ES app?

2010-11-24 Thread Miguel Morales
You can simply have a SurfaceView overlaying your GLSurfaceView and draw whatever HUD or GUI elements you want using the regular Android widgets. On Wed, Nov 24, 2010 at 5:43 AM, Eyvind Almqvist eyv...@mobile-visuals.com wrote: I want to make an OpenGL ES version of my M3G app Astral 3d worlds.

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

2010-11-23 Thread Miguel Morales
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 it does indeed have a performance impact. Are you getting good performance using this approach with canvas alone?

Re: [android-developers] Re: Android calls to web service slow? Using .NET web service

2010-11-23 Thread Miguel Morales
Are Android developers content with all calls to a web service taking 800ms over WiFi and 4000ms on EDGE? Actually, yes, that is expected. Particularly when using HTTP, because of the overhead which includes many syn/ack packets and may split the packets up resulting in more round trips. If

<    1   2   3   4   5   >