[android-developers] Re: How to unmount SD card with java code on android?

2011-05-23 Thread FrankG
Hi Vicky, The i.e. teh Settings App uses an AIDL Interface ( IMountService ) to mount/unmount the sdcard finally via vold. But I think only as part of the system build and signed with the platform key your are able to use it. But you can check this for your own. Good luck ! Frank On 23 Mai, 0

Re: [android-developers] First item in Gridview has null mAttachInfo

2011-05-23 Thread String
Or, it may well be a bug in GridView. I've confirmed to my own satisfaction a somewhat similar bug in a GridView that I use: the view attached to the first item returns (0,0) for getHitRect(). Only the first item, but I'm not doing *anything* different in its creation or handling. Makes for a P

[android-developers] Re: Many apps disappeared in Android Market this morning

2011-05-23 Thread Eong
The Simplified Chinese option also disapeared from the description part. It seems it's not just a bug. On 5月18日, 下午2时57分, feng wrote: > I found the same issue. > > On May 17, 9:19 am, john huang wrote: > > > > > > > > > I have try clear everything I can clear, and reboot several times, no luck

[android-developers] is anybody there having interest to reverse engineer the spotify code?

2011-05-23 Thread Hitendrasinh Gohil
hi, Is there anybody having interest to reverse engineer the spotify code? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: NFC JNI Error on Nexus S

2011-05-23 Thread Shekhar
I do face similiar kind of errors 05-24 15:00:41.765: INFO/ActivityManager(113): Starting: Intent { act=android.nfc.action.TECH_DISCOVERED flg=0x3000 cmp=com.example.andorid.apis.mifare/.MainActivity (has extras) } from pid -1 05-24 15:00:41.781: INFO/Foreground dispatch(1587): Discovered tag

[android-developers] Web view performance

2011-05-23 Thread maccoy
In one of our application we are using web view to show some html content(we have some css and so may not be able to use Textview). But it seems the loading of web view is very slow.(atleast when the first time we launch this page).is there any way we can optimise this or any other suggestion.. --

[android-developers] cancel Notification

2011-05-23 Thread shanmu nathan
Hi guys, I need one help.. I need to cancel a notification when the event is over. can anybody help me.. -- With Regards, SHANMUGANATHAN. A Software Engineer Trainee, Citrisys Solution, Phone: +91.44.22311173 Mail To: sayyadu...@citrisys.com -- You received this message because you

[android-developers] Re: ActionBar forward compatibility

2011-05-23 Thread Brill Pappin
Thanks Zsolt, I missed it when looking over the docs. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

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

2011-05-23 Thread Spooky
On May 23, 10:25 pm, Zsolt Vasvari wrote: > Not to sound braggy, but my app has been netting $3000+/mo in > sales for the past 6 months, after Google's cut. The previous poster in this thread mentioned that they get, on average, about $100/month. Even half of that, to me, would be a huge boost,

Re: [android-developers] Re: Updating row dynamically in table layout

2011-05-23 Thread Justin Anderson
Use a ListView and write an Adapter... You could probably start with sub-classing BaseAdapter and making it take an ArrayList of data. You should then find this much easier to do... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 23, 2011 at 9:

[android-developers] Re: Application crashes when downloding long data in from server and in loop.............

2011-05-23 Thread imran ali
i am saving whole data to database after parsing using Json parsar. -- As i think there is some thing limitation in doInBackground() Method. Regards Imran ali On May 20, 4:35 pm, Daniel Drozdzewski wrote: > Imran, > > Any debug info? > Listing of your doInBackground() perhaps? > > Are you saving

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

2011-05-23 Thread Justin Anderson
@Zsolt Now I'm curious... What apps have you published so far? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 23, 2011 at 11:03 PM, Kevin TeslaCoil Software < ke...@teslacoilsw.com> wrote: > I quit my day job several months ago for my "Android

[android-developers] Re: TelephonyManager is not returing My phone number

2011-05-23 Thread Zsolt Vasvari
So the phone doesn't know its own phone number as you had discovered it by looking at the phone status. Why do you think the API should miracolously figure out the phone number for you? FYI, my phone is also showing "Unknown" for my number -- it's probably dependent on the operator and the SIM ca

[android-developers] TelephonyManager is not returing My phone number

2011-05-23 Thread Babita kumari
In my project, I need to take the phone number, that i am doing Using Following code:- TelephonyManager telephonyManager = (TelephonyManager) context .getSystemService(Context.TELEPHONY_SERVICE); telephonyManager.getLine1Number(); The last line suppose to return phone number. But its retur

Re: [android-developers] how use broadcast receiver to receive data from server?

2011-05-23 Thread Hitendrasinh Gohil
hi, see in streaming client dont knows when the song is changed,so when song is changed server ll send details of song to all of its clients. so how can it so that i can change song details. using soket,or thread or etc..i need to do the above functinality ,pls suggest a way. -- You received thi

Re: [android-developers] how use broadcast receiver to receive data from server?

2011-05-23 Thread Kumar Bibek
So, when you receive this details on the client side, you can send a braodcast or a notification right? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, May 24, 2011 at 10:40 AM, Hitendrasinh Gohil < hitendra.virtuei...@gmail.com> wrote: > > hi, > > there is radio streami

Re: [android-developers] how use broadcast receiver to receive data from server?

2011-05-23 Thread Hitendrasinh Gohil
hi, there is radio streaming ,at the end of song server ll send details of next song. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] db4o SODA query with multiple Constraint

2011-05-23 Thread imran ali
Hi all, i have database of db4o, and i have to implemnt query according to 3- values, and i want to get size of object. like i have object of "Recipe- class" and Reicpe class having there different ids, according to all ids i have to find number of objects of "Recie" form db. can any one help

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

2011-05-23 Thread Kevin TeslaCoil Software
I quit my day job several months ago for my "Android Apps career" and am doing very well and love it. But it's not like I set out to be an Android App developer. I taught myself programming and programmed the hell out of whatever I could, went to university for Electrical Engineering/Robotics, got

[android-developers] Re: ActionBar forward compatibility

2011-05-23 Thread Zsolt Vasvari
It's right in there where it describes the -v flag: "The API Level supported by the device. For example, v1 for API Level 1 (devices with Android 1.0 or higher) and v4 for API Level 4 (devices with Android 1.6 or higher). " On May 24, 12:14 pm, Brill Pappin wrote: > Hmm... I must have missed t

Re: [android-developers] how use broadcast receiver to receive data from server?

2011-05-23 Thread Kumar Bibek
How does your server send the data ? Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, May 24, 2011 at 9:17 AM, Hitendrasinh Gohil < hitendra.virtuei...@gmail.com> wrote: > hi, > > server is sending some data to client when some event occurs at server > side.so how can i

[android-developers] Re: ACTION_UP never seen by app

2011-05-23 Thread Spooky
On May 23, 10:45 pm, B Lyon wrote: > did you mess with the GestureDetector stuff? it handles some > of the determination of whether something is a scroll or fling, > etc.. I did, before I found the tutorial that I used as a guide for my app's code. I got exactly nowhere with it, though. I seem

[android-developers] db4o SODA query with multiple Constraint

2011-05-23 Thread imran ali
Hi all, i have database of db4o, and i have to implemnt query according to 3- values, and i want to get size of object. like i have object of "Recipe- class" and Reicpe class having there different ids, according to all ids i have to find number of objects of "Recie" form db. can any one help

[android-developers] RemoteViews in HoneyComb

2011-05-23 Thread Chambras
I have a home screen widget that uses setBoolean to enable or disable components in the widget. It works just fine in Froyo and GingerBread but it is giving me exceptions on HoneyComb Basically I have this line: views.setBoolean(R.id.s_button, "setEnabled", true); When I run it on HoneyComb i

[android-developers] Re: Android Emulator -- Long Wait on Splash Screen, then Nothing

2011-05-23 Thread Indicator Veritatis
Unfortunately, 2G is really not enough for running Eclipse and the Android emulator. I saw a dramatic improvement on my system when I replaced my 2G DIMM with a 4G DIMM. But the emulator really does take a very long time to do its initialization of the phone even now. 3+ minutes is not unusual. Tha

[android-developers] Re: How to disable orientation changing?

2011-05-23 Thread Indicator Veritatis
Rather than outright disabling it, Android allows you to declare that your application handles it. You can then do nothing -- if that really is the right thing to do. So in AndroidManifext.xml, add as a child of the appropriate wrote: > Hi all. > > I have an online game for mobile browsers, but i

[android-developers] Re: ActionBar forward compatibility

2011-05-23 Thread Brill Pappin
Hmm... I must have missed that. The best description i can see is "The correct behavior is for the system to match resources marked with a version qualifier equal to or less than the platform version on the device" which looks like what your referring to. -- You received this message because

[android-developers] Re: Forward Reference in XML File

2011-05-23 Thread Zsolt Vasvari
Just use the @+id notation. @id will not create a resource ID. On May 24, 11:59 am, Eric wrote: > Are you allowed to reference an ID to a View that is defined later in > the XML?  Sometimes when I do this it works, and other times I get a > compilation error.  I am not sure if this is the Androi

[android-developers] Forward Reference in XML File

2011-05-23 Thread Eric
Are you allowed to reference an ID to a View that is defined later in the XML? Sometimes when I do this it works, and other times I get a compilation error. I am not sure if this is the Android compiler/ parser, or my IDE (IDEA) failing. For example, if you have a RelativeLayout for Component A,

[android-developers] Re: how to read all sms,calendar events,emails?

2011-05-23 Thread Zsolt Vasvari
As Gergely said, the Calender Provider is not a public API. If you want to read calendar events, go to the Calendar app source code and copy out the relevant pieces. On May 24, 11:45 am, Hitendrasinh Gohil wrote: > is there anybody who knows how to read calendar events? -- You received this

[android-developers] how use broadcast receiver to receive data from server?

2011-05-23 Thread Hitendrasinh Gohil
hi, server is sending some data to client when some event occurs at server side.so how can i use broadcast receiver to listen server events. regards, hitendrasinh gohil -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

Re: [android-developers] ACTION_UP never seen by app

2011-05-23 Thread B Lyon
did you mess with the GestureDetector stuff? it handles some of the determination of whether something is a scroll or fling, etc.. On Mon, May 23, 2011 at 11:39 PM, Spooky wrote: > As determined as I was to solve this without having to ask > for help, I am now officially confused beyond all hope

Re: [android-developers] how to read all sms,calendar events,emails?

2011-05-23 Thread Hitendrasinh Gohil
is there anybody who knows how to read calendar events? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developer

[android-developers] Re: Focus changes when changing the background for AutoCompleteTextView

2011-05-23 Thread Tom
Hadn't thought of using a StateListDrawable, which worked perfectly. Thanks! On May 23, 8:15 pm, Zsolt Vasvari wrote: > I don't know if this is expected behvior, but this kind of stuff you > should probably handle with a StateListDrawable.  That way, you don't > need to mess around with the focus

[android-developers] ACTION_UP never seen by app

2011-05-23 Thread Spooky
As determined as I was to solve this without having to ask for help, I am now officially confused beyond all hope. I've been digging, and digging, and diggin, through searches and sample code, trying to find out how to change images (next or previous) in an ImageView that displays one of many

[android-developers] Re: Updating row dynamically in table layout

2011-05-23 Thread pramod.deore
Any body as suggestion? On May 23, 3:38 pm, "pramod.deore" wrote: > I had written some code for this like: > > First I had created one TreeSet object as: > TreeSet ts = new TreeSet(); > >                 public void checkExist() >                 { >                         if (ts.add(tokens[5]))

Re: [android-developers] HashMap failed

2011-05-23 Thread B Lyon
What do you see in with logcat? On Sun, May 22, 2011 at 11:40 AM, giels wrote: > I have som problem with this code, > my application failed since i start it. > > I notice that my setListAdapater is a main problem. > Helps me please : > > my code : > > public class main extends Activity { >      

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

2011-05-23 Thread Zsolt Vasvari
Not to sound braggy, but my app has been netting $3000+/mo in sales for the past 6 months, after Google's cut. It all depends what your app is -- if it's a toy app, expect toy income from it. If it's an app that adds serious value to people's lives, expect an income go along with that. It's comp

[android-developers] Re: Android Emulator -- Long Wait on Splash Screen, then Nothing

2011-05-23 Thread Zsolt Vasvari
The fact that the emulator is unsuable and Google not offering a reasonably priced development tablet, it's not at all surprising that there are so few tablet optimized apps out there. On May 24, 10:33 am, Chi Kit Leung wrote: > I got the same situation as you.  Unless you ate develop in tablet,

[android-developers] Re: Android Emulator -- Long Wait on Splash Screen, then Nothing

2011-05-23 Thread Zsolt Vasvari
The Honeycomb 3.1 emulator is next to unusable. It's even worse than 3.0. On May 24, 10:33 am, Chi Kit Leung wrote: > I got the same situation as you.  Unless you ate develop in tablet, I > suggest you try 2.3.3.that is much fastet > On May 24, 2011 8:30 AM, "dpapathanasiou" > wrote: > > > > >

[android-developers] Re: Focus changes when changing the background for AutoCompleteTextView

2011-05-23 Thread Zsolt Vasvari
I don't know if this is expected behvior, but this kind of stuff you should probably handle with a StateListDrawable. That way, you don't need to mess around with the focus handling, which I found to be quite messy (buggy?) in Android. On May 24, 11:09 am, Tom wrote: > I want to have the backg

[android-developers] Focus changes when changing the background for AutoCompleteTextView

2011-05-23 Thread Tom
I want to have the background of an AutoCompleteTextView change whenever the focus switches to the view. Seems easy enough, but after overriding the onFocusChange method, I've noticed the focus switches every time I call setBackgroundResource. To clarify, this code @Override public

Re: [android-developers] Android Emulator -- Long Wait on Splash Screen, then Nothing

2011-05-23 Thread Chi Kit Leung
I got the same situation as you. Unless you ate develop in tablet, I suggest you try 2.3.3.that is much fastet On May 24, 2011 8:30 AM, "dpapathanasiou" wrote: > Hi, > > I'm brand new to Android, running Eclipse 3.6.2 on Mac OSX 10.6.7, > using Android 3.1. > > I'm trying the "HelloAndroid" tutor

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

2011-05-23 Thread Justin Anderson
I would have to agree that for the most part creating Android Apps would not be a career. While it is true that a few developers may be able to make it a career the majority of us do it for fun... I have three apps on the Android Market (2 paid and 1 free)... All apps are rated 4 or 4 1/2 stars a

[android-developers] Re: Plot quadratic equation graph

2011-05-23 Thread Peter Webb
You can draw lines using canvas.drawline. You can make these smoothed lines by specifying your points in a Path class. Once you load your points in the Path array, it is a couple of lines of code to draw it with the Canvas class. If this is all you want to do, it doesn't need any third party lib

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

2011-05-23 Thread Kristopher Micinski
On Mon, May 23, 2011 at 2:11 PM, imran115 wrote: > Hi everyone, > > I was wondering what peoples thoughts maybe on the application that > Android are developing, that allows people with no programming > experience to create apps. I am currently learning the basics in > Android development and wan

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

2011-05-23 Thread Satya Komatineni
This is certainly nice. I have had a chance to play around with "Scratch" and lego like programming interface to teach programming concepts to teens and gaming concepts to programmers. It is wonderfully intriguing to tie the idea to productivity applications. I don't believe it will replace the

Re: [android-developers] Problem while installing my android app

2011-05-23 Thread B Lyon
What is in your logcat log? On Mon, May 23, 2011 at 7:16 PM, TreKing wrote: > On Sat, May 21, 2011 at 5:36 AM, sohaib rahman > wrote: >> >> Why is it so? > > Your app is crashing. > >> >> Please help me > > Please debug your app. Or at least post stacktrace of the crash. > >

[android-developers] Re: ActionBar forward compatibility

2011-05-23 Thread Zsolt Vasvari
Yes, if you read the docs, you would notice that v11 applies for 11+. On May 24, 8:33 am, Brill Pappin wrote: > Thanks Mark and Zsolt, > > Actually I was asking if there was a way to do it so I don't have to add a > new resource file for every version. > Needs a v11 and above option or a range op

[android-developers] Re: ActionBar forward compatibility

2011-05-23 Thread Brill Pappin
Thanks Mark and Zsolt, Actually I was asking if there was a way to do it so I don't have to add a new resource file for every version. Needs a v11 and above option or a range option. e.g. /values-v11+ Or I was looking for another way to do it entirely. -- You received this message because you

Re: [android-developers] Main.xml class problem

2011-05-23 Thread B Lyon
several things on stackoverflow, and a reference to this issue http://code.google.com/p/android/issues/detail?id=13092 not sure if it applies to your case, but it seems like it might be. Weird that it was working before. On Mon, May 23, 2011 at 6:04 AM, MartinM wrote: > I've moved a working pro

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

2011-05-23 Thread B Lyon
I think some folks will probably do some cool things with it. On Mon, May 23, 2011 at 8:20 PM, Miguel Morales 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 makers provide th

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

2011-05-23 Thread Miguel Morales
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 makers provide there are limits to their use. Even though a browser implements javascript and you can do many things with it, it's non complex

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

2011-05-23 Thread Doug
On May 23, 3:43 pm, Miguel Morales 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 -- You received

Re: [android-developers] How to view my own posts in Web?

2011-05-23 Thread Nguyen Dat
Hi Phong Nice to meet you here, For your question: + Try to use search function in group with your keyword (or your email address) + To stop receive email from group, go to "Edit my membership " then select "No Email", Done Regards, DatNQ On Mon, May 23, 2011 at 2:30 PM, phongle wrote: > Hi all

Re: [android-developers] How to write a program that can display Jpeg or Bmp image from buffer?

2011-05-23 Thread Justin Anderson
1. Write a program that can display Jpeg or Bmp image from array buffer 2. No... 3. Go to http://www.catb.org/~esr/faqs/smart-questions.html. Go directly to http://www.catb.org/~esr/faqs/smart-questions.html. Do not pass Go. Do not collect $200. 4. Try Again... Thanks, Justin An

Re: [android-developers] book

2011-05-23 Thread Justin Anderson
Oh goody! Really? I can't wait! Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 20, 2011 at 4:15 AM, ARUMUGAM S wrote: > i will come tomorrow > > -- > You received this message because you are subscribed to the Google > Groups "Android Develop

Re: [android-developers] porting and build system

2011-05-23 Thread Justin Anderson
You need to ask this question in the android porting google group. This is for SDK application development. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 20, 2011 at 12:43 AM, mahesh.kalmeshwar < mahesh.kalmeshwar.andr...@gmail.com> wrote: >

Re: [android-developers] First item in Gridview has null mAttachInfo

2011-05-23 Thread Justin Anderson
Debug your code and find out why it is null... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 19, 2011 at 8:27 PM, Hanlin Day wrote: > Views loaded through Adapter into Gridview, the mAttachInfo of the > first item is null always, the rest of

Re: [android-developers] show soft keyboard

2011-05-23 Thread Nguyen Dat
Dear Bechir You can follow this sample by explicit call show soft keyboard (Ref.1) InputMethodManager imm = (InputMethodManager) SearchActivity.this.getSystemService(Context.INPUT_METHOD_SERVICE); if (imm != null){ imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,0); } Refereneces: h

Re: [android-developers] list activty with array adapter onListItemClick issue

2011-05-23 Thread Justin Anderson
Impossible to tell without some code... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, May 20, 2011 at 2:34 PM, aspirant_r wrote: > I have an activity which uses an intent to navigate to a second > activity which fills a list(from array.xml for no

Re: [android-developers] problem in installation of android sdk

2011-05-23 Thread Justin Anderson
Did you install the 32-bit or 64-bit version of the JDK? I don't know if this has been fixed but I know in the past it would only find the 32-bit JDK. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sun, May 22, 2011 at 8:50 AM, Arslan wrote: > I am f

Re: [android-developers] Re: Unlock thing

2011-05-23 Thread Justin Anderson
If that is the case then they are probably doing this by an unofficial means of an unpublished API. This should not be done. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Sun, May 22, 2011 at 6:24 AM, Sandy wrote: > > > On May 21, 3:52 am, Justin An

Re: [android-developers] Counter application

2011-05-23 Thread TreKing
On Sun, May 22, 2011 at 2:20 AM, cricinsite wrote: > so please give me an idea/ walk through to develop this small application. > http://developer.android.com/index.html - TreKing

Re: [android-developers] Problem while installing my android app

2011-05-23 Thread TreKing
On Sat, May 21, 2011 at 5:36 AM, sohaib rahman wrote: > Why is it so? Your app is crashing. > Please help me Please debug your app. Or at least post stacktrace of the crash. - TreKing

Re: [android-developers] findViewById() returns 'null' when I pass a Resource ID of List view.

2011-05-23 Thread TreKing
On Sat, May 21, 2011 at 6:50 AM, closetrack wrote: > But the method is throwing back null.Cant figure out what I am doing wrong > here. > Did you call this after setContentView? Are you sure you actually have "R.id.listView1" defined in the layout that's set for this activity? -

[android-developers] Re: Context LocationManager

2011-05-23 Thread cellurl
Here's the API if anyone has an app that needs to know the speedlimit... http://goo.gl/kQYqZ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Feedback on AppSwipe! and Quick Launch in Android Market...

2011-05-23 Thread MagouyaWare
I just released new versions of my apps in the Android Market. If anyone would like to check them out and post feedback here I'd be open to any comments, suggestions, criticisms, etc... Here are the Market Links for them: AppSwipe!: https://market.android.com/details?id=com.magouyaware.appswipe

[android-developers] Re: Debugging Killed Activity

2011-05-23 Thread Kevin
I looked at making a new remote application, but how do I know what port to use and what do I put in for the host? I'm debugging it on my phone since the emulator's camera doesn't work for me. I'll try using Log.v too maybe I can figure it out with that. On May 23, 11:21 am, Kacee wrote: > You

[android-developers] Re: Honeycomb Preview SDK: HTTP Live Streaming support validation

2011-05-23 Thread Mrid
Hello, please respond is there anyone facing problem with HTTP Live Streaming on Android 3.1 ? It was running properly on 3.0 On May 18, 11:17 am, Mrid wrote: > is anyone having the same problem ? > > On May 17, 11:51 am, Mrid wrote: > > > > > > > > > Hi Mulder, I was able to play above video un

Re: [android-developers] Android connection to MySQL database

2011-05-23 Thread Mark Murphy
On Sat, May 21, 2011 at 3:20 PM, Teunis Middelkoop wrote: > HTC Android 2.1  Eclipse with Android plugin. > The phone is via wifi connected to a LAN > How can I make a connection to a MySQL Server? Write a Web service for the MySQL server. Then, use HttpURLConnection or HttpClient on Android to c

Re: [android-developers] Creating a custom map

2011-05-23 Thread Mark Murphy
Don't use MapActivity and MapView. You will have to roll your own map system. On Sun, May 22, 2011 at 3:28 PM, James Fleming wrote: > Hello Fleming Here, > > I just wanted to ask, when developing a map app, how can i make it so > that the map its self is custom (Like a historic map or computer >

Re: [android-developers] ListView wrap_content problem

2011-05-23 Thread Mark Murphy
On Sun, May 22, 2011 at 11:35 AM, Vla wrote: > It seems that ListView ignores layout_height="wrap_content". Correct. > I want a ListView to occupy exactly the space required by its content > as wrap_content does, There is no such concept. A ListView may have 0, 1, 2, 3, 4, 5, 6, ..., 3493, 3494

Re: [android-developers] Can't get working startActivityForResult from objects method

2011-05-23 Thread Justin Anderson
You don't create new instances of Activity in Android... They are managed by the OS. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 23, 2011 at 2:50 AM, treiguts wrote: > extends -- You received this message because you are subscribed to th

Re: [android-developers] How to show "Background Data" screen?

2011-05-23 Thread Mark Murphy
Try: startActivity(new Intent(Settings.ACTION_SYNC_SETTINGS)); with an import for android.provider.Settings. http://developer.android.com/reference/android/provider/Settings.html#ACTION_SYNC_SETTINGS On Sun, May 22, 2011 at 5:31 AM, H.L. wrote: > Hi all, > > In Market app, when it detects that

Re: [android-developers] How to disable orientation changing?

2011-05-23 Thread Justin Anderson
But not with JavaScript or HTML... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 23, 2011 at 5:01 PM, Justin Anderson wrote: > Meaning solely from your website? No... > > Meaning you are going to publish an app that displays your game in a >

Re: [android-developers] How to disable orientation changing?

2011-05-23 Thread Justin Anderson
Meaning solely from your website? No... Meaning you are going to publish an app that displays your game in a WebView? Yes... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 23, 2011 at 4:14 AM, herfleisch wrote: > Hi all. > > I have an online

Re: [android-developers] How to disable orientation changing?

2011-05-23 Thread Mark Murphy
I doubt you can disable it via JavaScript or HTML in a standard browser. If you write an Android native application with a WebView widget to display your game, you can arrange to have that activity stay in one orientation via the android:screenOrientation attribute in the manifest. On Mon, May 23

Re: [android-developers] android 2.1 screen resolution and orientation

2011-05-23 Thread Mark Murphy
If you are referring to making firmware modifications, please visit http://source.android.com and find a more suitable Google Group. This group is for developers writing applications using the Android SDK. On Mon, May 23, 2011 at 5:06 AM, Manoj Kumar wrote: > hi, > > i need to change the screen r

Re: [android-developers] pthread linking error

2011-05-23 Thread Mark Murphy
If you are doing this as part of an SDK project using the NDK, please try the [android-ndk] Google Group, which is dedicated to NDK questions. On Mon, May 23, 2011 at 4:49 PM, Richard Deurwaarder wrote: > Hello, > > I'm porting a native engine written in FreePascal. > > I've got my crosscompiler

[android-developers] Re: iterating through listview child views and getting tag throws class cast exception

2011-05-23 Thread Streets Of Boston
You are using setTag and getTag on children of a ListView, which are list* -item* views. If your list*-item* views are just an ImageView, wrap each ImageView in a parent-view (a FrameLayout or something) instead and return this parent-view as the return-value of 'getView'. Then *lView *in your sa

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 wrote: > @override > public void onBackPressed(){ > nWebView.goBack(); > return; > } > > I am using code above in Activity (from tutorial) and it does not > work :-( > A

Re: [android-developers] Force hdpi drawables on mdpi-xlarge devices

2011-05-23 Thread Dianne Hackborn
Don't force the Xoom to use hdpi. You will be inconsistent with every other app, all of which are using the Xoom's correct density which is mdpi. Why do you want to do this? As I've said, Galaxy Tab made a design decision to use a larger density and thus have a blown up UI. Again use the densit

Re: [android-developers] Re: Text scaling properly on two different mdpi devices (Evo, and Galaxy Tab 10.1)

2011-05-23 Thread Dianne Hackborn
The font size should be the same on those two devices (myTouch and Galaxy Tab 10.1) because they have the same density. What is bringing you to think they should be different? On Mon, May 23, 2011 at 3:34 PM, Mike wrote: > Hi Dianne, > > Thanks for the quick reply. > > I understand density to be

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 shor

[android-developers] Re: Text scaling properly on two different mdpi devices (Evo, and Galaxy Tab 10.1)

2011-05-23 Thread Mike
Hi Dianne, Thanks for the quick reply. I understand density to be a function of native resolution versus physical display size. So, the new Galaxy Tab 10.1 which has a native resolution of 800 x 1280 pixels and a physical display size of 10.1" diagonal ends up being a mdpi device. When I popula

[android-developers] (compat package) Loaders are executed, but not visible ?

2011-05-23 Thread Jorrit
I'm just getting started with the Honeycomb features, and after making a simple (actionbar) tabbed test with fragments, I decided to convert to the compatibility package. So far so good, the only thing that does NOT seem to be working is the (simple test) loader. See code below. The loader is actu

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

2011-05-23 Thread imran115
Hi everyone, I was wondering what peoples thoughts maybe on the application that Android are developing, that allows people with no programming experience to create apps. I am currently learning the basics in Android development and wanted to pursue it as a career. Is there any point, as just abou

[android-developers] pthread linking error

2011-05-23 Thread Richard Deurwaarder
Hello, I'm porting a native engine written in FreePascal. I've got my crosscompiler up and running and it's compiles simple hello world programs. However when i attempt to ccompile the engine it gives me linking errors /usr/local/bin/arm-linux-ld: cannot find -ldl /usr/local/bin/arm-linux-ld: c

[android-developers] Method to check WIFI AP is protected or not

2011-05-23 Thread gdgg
Hi, Is there any method to check WIFI AP is protected by WEP/WAP/WAP2 or equivalent mechanism or not protected? I checked the android.net.wifi.WifiConfiguration.AuthAlgorithm int LEAPLEAP/Network EAP (only used with LEAP) int OPENOpen System authentication (required for WPA/WPA2)

[android-developers] Lack of CORS support on Android Browser

2011-05-23 Thread lamberreke
Dear all, Apparently CORS is not well supported on Android devices. I discovered following bugs while using CORS enabled websites (e.g. http://www.wiro.be/nieuwesite/personel/cors/index.php). * Cache issues: whenever I use CORS requests, as defined by the specification (http://www.w3.org/TR/cors/

[android-developers] User defined voice in TTS

2011-05-23 Thread Asi
Is there any way to change TTS voice in local accent, Indian English? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to and

[android-developers] Main.xml class problem

2011-05-23 Thread MartinM
I've moved a working project from one PC running Galileo to a new PC running Helios. If I go to the Graphical tab of Main.xml I get the following error: Error during post inflation process: TabHost requires a TabWidget with id "android:id/tabs". View found with id 'tabs' is 'com.android.layoutlib.

[android-developers] Problem with monkeyrunner. java.lang.ClassCastException when use sameAs().

2011-05-23 Thread Alexander Sukhov
Hello, I build SDK from source code. And i want to use the following script: img=MonkeyRunner.loadImageFromFile(path='bla bla bla') img_1=device.takeSnapshot() img_1.sameAs(img, 1) But this error: File "/home/semc/monkey/out/host/linux-x86/sdk/android- sdk_eng.semc_linux-x86/tools/test.py", li

[android-developers] android 2.1 screen resolution and orientation

2011-05-23 Thread Manoj Kumar
hi, i need to change the screen resolution to 240x320 and then correspondingly the screen orientation from landscape to portrait. can anyone please suggest which files have these settings in android eclair 2.1. i am using LTV350QV.c and default configuration in that is 320x240. thanks Manoj --

[android-developers] Can't get working startActivityForResult from objects method

2011-05-23 Thread treiguts
I have default class that I get in new project: public class start extends Activity { private static final int REQUEST_ENABLE_BT = 1; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); . // BluetoothDevice o

[android-developers] Scrollview force to be on Top

2011-05-23 Thread Asi
Hello, I am creating few controls run time e.g textview and buttons. all the controls are child of Scrollview. Textview is filling up from db, sometime string is big and sometime small. when i click on Next button, new record appears successfully but the focus is not going the top of scrollview. pl

[android-developers] android 2.1 screen resolution and orientation

2011-05-23 Thread Manoj Kumar
hi, i need to change the screen resolution to 240x320 and then correspondingly the screen orientation from landscape to portrait. can anyone please suggest which files have these settings in android eclair 2.1. i am using LTV350QV.c and default configuration in that is 320x240. thanks Manoj --

[android-developers] onBackPressed

2011-05-23 Thread a23456
@override public void onBackPressed(){ nWebView.goBack(); return; } I am using code above in Activity (from tutorial) and it does not work :-( Api level 8 It was working couple days ago but I did play with some settings and now it does not work :-( How can I fix it? When I click Back button - deb

[android-developers] Re: Force hdpi drawables on mdpi-xlarge devices

2011-05-23 Thread Zsolt Vasvari
I would just use a set of drawables with the largest DPI your minimum SDK version allows and let the system scale it for you. So typically, just have HDPI drawables if your minSdkVersion < 8, and XHDPI drawables if your minSdkVersion >= 8. You may get a slight performance improvement if you prov

  1   2   3   >