[android-developers] Developing HTC touchflo like inteface for android

2010-06-10 Thread Sudeep Jha
Hi, After seeing HTC touchflo interface for windows mobile phones, I thought of building the same for my android app. Can anybody suggest how to go about this for the quick launch buttons view @bottom of screen? -- Warm Regards, Sudeep -- You received this message because you are

[android-developers] Re: App disappears from the Market after upgrade

2010-06-10 Thread piemm...@googlemail.com
Similar problems here, Before google did the market 'fix' for 2.1/2.2, 2 of my apps (Torque) appeared correctly in the Android Market for Android1.6 and upward (The MyTouch 3G as an example), after the upgrade, they are no longer visible apart from on Android 2.x+ devices Regards, Ian -- You

[android-developers] Re: App disappears from the Market after upgrade

2010-06-10 Thread Scott STEPHEN - Better Contacts
Ian, What apps ? I will test here from France. Scott On Jun 10, 8:09 am, piemm...@googlemail.com piemm...@googlemail.com wrote: Similar problems here, Before google did the market 'fix' for 2.1/2.2,  2 of my apps (Torque) appeared correctly in the Android Market for Android1.6 and upward

RE: [android-developers] Dynamically obtaining several instance of a view item defined in layout/xml file

2010-06-10 Thread Ericson, Anders
Hi, Just inflate from the xml each time you want a new instance of that particular view. Like this: View innerRL = LayoutInflater.from(context).inflate(R.layout.inner_view, null); /Anders -Original Message- From: android-developers@googlegroups.com

RE: [android-developers] Placing a bitmap image in ImageView

2010-06-10 Thread Ericson, Anders
Sounds like you want to change the scale type on the image view. http://developer.android.com/reference/android/widget/ImageView.ScaleType.html /Anders -- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of pawan nimje Sent: den

[android-developers] Re: Receiving MMS

2010-06-10 Thread mike
hi guys, does that mean it's not possible??? but there's a permission name Receive_MMS. if it's not possible why do we need such a permission??? regards, Randika -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: App disappears from the Market after upgrade

2010-06-10 Thread piemm...@googlemail.com
Hi, the apps are both versions of Torque. I have found the visibility problem however - someone has changed the market system to exclude apps with the Bluetooth permission for Android 1.6 devices. This behaviour is in my opinion wrong, because I might have added support for bluetooth in my app

[android-developers] Re: PictBridge support on Android

2010-06-10 Thread FrankG
Concerning PictBridge : Android currently has no PictBridge support. So it can only be a vendor extension. I don't know any android device which already supports PictBridge, but I would say that the different vendors are working on this. Maybe someone else know a mobile which already supports

[android-developers] Re: Urgent response needed.

2010-06-10 Thread Vikram
And besides, don't you think it is the same everywhere? From the milk you buy to the car you drive? That's the whole point in today's world. Pushing through all the rubble and heading upfront. Look at the Brins, Pages, Gates' and Zuckerbergs! -- You received this message because you are

[android-developers] Re: ContactContracts

2010-06-10 Thread Vikram
Thanks Dmitri Will take a look at it :) Off topic, but I just can't understand why ContentProviders have to follow the relational model!! On Jun 10, 12:51 am, Dmitri Plotnikov dplotni...@google.com wrote: Hi Vikram, The data structure in the contacts DB has three levels: - Contact is an

[android-developers] Re: Developing HTC touchflo like inteface for android

2010-06-10 Thread Sudeep
How to develop buttons UI that float at the bottom of the screen? sumthing like launcher in Android froyo? On Jun 10, 11:00 am, Sudeep Jha sudeep.neti...@gmail.com wrote: Hi,     After seeing HTC touchflo interface for windows mobile phones,     I thought of building the same for my android

[android-developers] Re: App disappears from the Market after upgrade

2010-06-10 Thread Scott STEPHEN - Better Contacts
Ian, Just to confirm, I do see your apps. Milestone Desire 2.1-update1. Scott On Jun 10, 9:00 am, piemm...@googlemail.com piemm...@googlemail.com wrote: Hi, the apps are both versions of Torque. I have found the visibility problem however - someone has changed the market system to exclude

[android-developers] Uploading Adult apps.

2010-06-10 Thread Zaid
i read in the android content guidelines that no 18+ or adult apps are allowed. how do people manage to upload adult apps? i have one i would like to upload. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Placing a bitmap image in ImageView

2010-06-10 Thread Goran Genter
On Jun 10, 6:20 am, pawan nimje pawanni...@gmail.com wrote: Can you suggest some method to pre-scale the bitmap. Bitmap bmpScaled = Bitmap.createScaledBitmap(Bitmap bmpSource, 50, 50, true) -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: How/where to find key used for signing the system.img applications.

2010-06-10 Thread FrankG
Hello Chris, IMHO no chance to do this. To sign with the platform key you must build your app as part of the whole System build for a particular device from a certain manufacturer. Good luck ! Frank On 10 Jun., 07:29, Chris narendrasingh.bi...@gmail.com wrote: The problem is i want to

[android-developers] Re: Urgent response needed.

2010-06-10 Thread Onomp
Thank you for your 2 cent Kevin!! :-D I just thought of something as well... If the market place wasn't so messed up and I hadn't come across so many bunk apps.. I wouldn't be here right now. I wonder how many people that holds true for and how many people it will hold true for. On Jun 9, 2:02 

[android-developers] How to implement a listiew like Android built-in application Settings.apk

2010-06-10 Thread Jiang
I want to design a ui like that of Settings Display  (Comments, here Settings is an Android built-in applicatin). That ui looks like a ListView, is it predefined or customized? If it is a customized ListView, where can I find the down-arraw icon on the riht of Brightness item row? Thanks.

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread Sean Hodges
I don't think you can upload it to the Android Market, but other app markets will allow it. One such market: http://www.mikandi.com/ - NOTE: *not* suitable for work, depending on your work :) On Thu, Jun 10, 2010 at 8:33 AM, Zaid zaid.a...@gmail.com wrote: i read in the android content

[android-developers] Android.view.InflateException: Binary XML file line #7

2010-06-10 Thread brilliant winger
Hi. My Activity @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } main.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android

[android-developers] Re: How global is the app market?

2010-06-10 Thread ko5tik
Those markets aare cool, but without chinese knowlege there is no chance to put apps there... On 10 Jun., 05:28, NightGospel wutie...@gmail.com wrote: Hi Neilz, Be one of Asian people, AFAIK, mainland China people they have market their own, it's name is 安卓市場(Translation to English is

[android-developers] Re: PopupWindow - controlling size?

2010-06-10 Thread AMGG
I have exactly the same problem... did you finally found some solution? Thx On May 27, 8:17 pm, Nathan critter...@crittermap.com wrote: I've experimented with a PopupWindow, but don't have a very good way of controlling its size. It only responds to absolute pixels. I've tried doing this:

回复: [android-developers] How to implement a li stiew like Android built-in application Settings.apk

2010-06-10 Thread Jiang
Oh, I know, it is preference activity --- 10年6月10日,周四, Jiang webs...@yahoo.cn 写道: 发件人: Jiang webs...@yahoo.cn 主题: [android-developers] How to implement a listiew like Android built-in application Settings.apk 收件人: android-developers@googlegroups.com 日期: 2010年6月10日,周四,下午4:45 I want to design

Re: [android-developers] Re: How global is the app market?

2010-06-10 Thread Sean Hodges
I agree, it's a little tricky to use a Chinese language-only site when, like me, you are not able to read Chinese. I admit, it's completely my fault that I'm not multilingual, but there are many like me and it is a barrier for both sides. Also, even if I could navigate my way around the site,

Re: [android-developers] Re: How can i vertically align items in RelativeLayout?

2010-06-10 Thread Thierry Legras
Hi Kumar, Thanks for your help. Indeed no, they are not below one another but on an horizontal line like this: | ImaveView |[TextView][EditText] | ImaveView | | ImaveView | And basically i want to do this: | ImaveView | | ImaveView |[TextView][EditText] | ImaveView | (there is only one

RE: [android-developers] Re: How global is the app market?

2010-06-10 Thread 楊健
Is it really? I think the mmarket is the only one official market of China! You can put your paid version app on mmarket now. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of ko5tik Sent: Thursday, June 10, 2010 6:32

[android-developers] Re: How global is the app market?

2010-06-10 Thread Kaj Bjurman
I don't know why, where or how, but I know that my free Android app, that I only have published on Android market has Chinese users, so they must be able to see my app. On 9 Juni, 20:27, Neilz neilhorn...@gmail.com wrote: Hi. I'm UK based and I'm wondering how much of the world can see and

[android-developers] Re: [Beginner] - problem with onClick()

2010-06-10 Thread lamia
Thanks On 2 juin, 21:21, Nicholas Ault naa...@gmail.com wrote: This is described in the Dev Guide (http://developer.android.com/guide/topics/ui/ui-events.html ) // Create an anonymous implementation of OnClickListener private OnClickListener mCorkyListener = new OnClickListener() {    

Re: [android-developers] Re: ListView

2010-06-10 Thread Mark Murphy
Sandy wrote: Actually the link I was referring to was horizontalscrollview within a scrollview (NOT a listview like i mentioned below). Here it is: http://stackoverflow.com/questions/2646028/android-horizontalscrollview-within-scrollview-touch-handling This will not work for me because the

[android-developers] Re: Urgent response needed.

2010-06-10 Thread Yahel
That's even worse than you think. I have five friends who bought a low cost android device (spica), each and everyone of them didn't even know what the market was, i had to show them...Then they went...Wow cool. But I wonder how many people do not know when they buy and use their phone as just

Re: [android-developers] Re: How global is the app market?

2010-06-10 Thread Alex Xin
First of all, I'm a Chinese adn I want to tell you guys the truth about this fast growing market. I know that most of android powered phones sells in this market has no google market pre-installed in their device. In my Lenovo LePhone, which is a Android 1.6 based system, even has no google search

[android-developers] Re: java.lang.OutOfMemoryError

2010-06-10 Thread Bob Kerns
What I was trying to get at is that if you're relying on System.gc(), you're skating on the edge, memory-wise, tweaking the exact behavior of the GC. I didn't mean to suggest it's not helpful; I've followed with interest your reports of your experience. But I'd characterize calling System.gc() as

[android-developers] Is it possible to link to iTunes Store from Android application?

2010-06-10 Thread Samuh
Is it possible to link to iTunes store from within an Android application? The user should be able to download a song and save it to his/her SDcard, play the file etc.? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] How to resolve the hide interface in Eclipse

2010-06-10 Thread yangm
I use Eclipse to develop my application, but I wan to use some @hide interface. -)In Eclipse, build failed, because the symbol could not be resolved. -)I put my application to $(AND_REPO)/packages/apps/. build with make, the build passed. How can I make the build pass in eclipse ? (I know use

[android-developers] Manulaly reset event on Android

2010-06-10 Thread ls02
Is there sync object on android similar to manually reset event on Windows? It must have signaled and non-signaled state both set manually. A thread must be able to wait on it and wait would return immediately if the object is in signaled state and block if it is in non signaled state until

Re: [android-developers] Is it possible to link to iTunes Store from Android application?

2010-06-10 Thread Mark Murphy
Samuh wrote: Is it possible to link to iTunes store from within an Android application? The user should be able to download a song and save it to his/her SDcard, play the file etc.? There is nothing built into Android for that. Apple routinely changes iTunes to prevent this sort of link (see

Re: [android-developers] Is it possible to link to iTunes Store from Android application?

2010-06-10 Thread Sean Hodges
I don't think so, Apple haven't released an API for iTunes. You might be able to hack something together, pulling the files off the local hard disk, etc, but be prepared to fight against compatibility problems between versions. On Thu, Jun 10, 2010 at 12:23 PM, Samuh samuh.va...@gmail.com

Re: [android-developers] Manulaly reset event on Android

2010-06-10 Thread Mark Murphy
ls02 wrote: Is there sync object on android similar to manually reset event on Windows? It must have signaled and non-signaled state both set manually. A thread must be able to wait on it and wait would return immediately if the object is in signaled state and block if it is in non signaled

Re: [android-developers] How to resolve the hide interface in Eclipse

2010-06-10 Thread Sean Hodges
You can exclude classes (or entire packages) from the build in Eclipse by right-clicking on them and selecting Build Path - Exclude. On Thu, Jun 10, 2010 at 12:26 PM, yangm yangm...@gmail.com wrote: I use Eclipse to develop my application, but I wan to use some @hide interface. -)In Eclipse,

[android-developers] Re: Problem in Controlling Audio

2010-06-10 Thread Alok
Thanks for the reply Sachin, but I'm not sure how to check for user permission for changing audio manager. Anyways I found the mistake that I was doing. First we need to instantiate the AudioManager object as: MyAudio = (AudioManager) getSystemService(Context.AUDIO_SERVICE); now

[android-developers] Re: Is it possible to link to iTunes Store from Android application?

2010-06-10 Thread Samuh
Thank you Mark and Sean. -- 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+unsubscr...@googlegroups.com

[android-developers] Re: Is it possible to link to iTunes Store from Android application?

2010-06-10 Thread Samuh
I don't have an iTunes account to actually try this(hope this is not illegal). What will happen if I browse to iTunes Store from a browser on my phone and buy a song? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Manulaly reset event on Android

2010-06-10 Thread ls02
I looked at both of them and I don't think either of them work as manually reset event. Semaphore and lock ussualy have matching lock and unlock called from the same thread, they do not provide way for another thread to unlock the thread waiting on object. Basic Java Object sync works fine but it

Re: [android-developers] Re: Manulaly reset event on Android

2010-06-10 Thread Mark Murphy
ls02 wrote: I looked at both of them and I don't think either of them work as manually reset event. Semaphore and lock ussualy have matching lock and unlock called from the same thread, they do not provide way for another thread to unlock the thread waiting on object. Basic Java Object sync

[android-developers] Communication with the Server

2010-06-10 Thread Markus
Hello! ! try to develope a Android Application that communicate with a Webserver to talk to Webservices. So the User logged in and a Service runs in the Background and request every 5 minutes to the Webserver and get an XML File. The XML File would be parsed and the new jobs will be insert in the

[android-developers] Re: How global is the app market?

2010-06-10 Thread Kaj Bjurman
What do you mean when you say that google closed their site. What site? I used gmail, google search and google reader when I visited China last month (and I didn't use a proxy) On 10 Juni, 13:12, Alex Xin xinxi...@gmail.com wrote: First of all, I'm a Chinese adn I want to tell you guys the

[android-developers] Re: Is it possible to link to iTunes Store from Android application?

2010-06-10 Thread Mike dg
I don't think you can buy from iTunes from a browser. You need the client. On Jun 10, 7:57 am, Samuh samuh.va...@gmail.com wrote: I don't have an iTunes account to actually try this(hope this is not illegal). What will happen if I browse to iTunes Store from a browser on my phone and buy a

[android-developers] Google Maps App

2010-06-10 Thread zohar lerman
Hi, I have several Android devices and each of them has different version of Google Maps: 3.0 in HTC G1, 3.1.1 in HTC Dream and 3.4 in Nexus one and Motorola Droid. When i use the following code: Intent myIntent = new Intent(Intent.ACTION_VIEW,Uri.parse(geo:0,0? q=Starbucks)); I get different

[android-developers] How to adjust mic gain on HTC dev phone 2?

2010-06-10 Thread BobG
I have downloaded the HTC kernel source for the htc sapphire/magic from hts, and its huge and looks like its for a desktop because there are drivers for many different processors, busses, sound cards, video cards, everything imaginable except something that looks like audio for an htc phone. I

[android-developers] ListView, SimpleCursorAdapter and Cursors

2010-06-10 Thread ColletJb
Hi, I have a very simple issue i actually can't fix :( I have a basic database with fields, let's say MyDBHelper.KEY_ID, MyDBHelper.KEY_NAME, MyDBHelper.KEY_DATA and a listview where i only display the MyDBHelper.KEY_NAME field. I used this sample of code : Cursor c = data_db.getAll();

Re: [android-developers] ListView, SimpleCursorAdapter and Cursors

2010-06-10 Thread Adrian Vintu
SimpleCursorAdapter adapter = new SimpleCursorAdapter(this, R.layout.list_item, c, new String[]{MyDBHelper.KEY_NAME, MyDBHelper.KEY_ID}, new int[]{R.id.field_name}); i.e. leave the KEY_ID at the end of the String[] and do not link it to any View. Create the context

[android-developers] XPS application problem

2010-06-10 Thread subrat kumar panda
Hi all, In my android XPS app , when when my app shows latitude longitude(means received) after that my app shows a window force close. when i close it again again it comes out showing . at that time latitude longitude is not showing. but when i debug my app using Sony xperia_x10 inside

[android-developers] Re: ListView, SimpleCursorAdapter and Cursors

2010-06-10 Thread ColletJb
Thanks a lot, it worked ;) ;) On 10 juin, 15:18, Adrian Vintu adrianvi...@gmail.com wrote:  SimpleCursorAdapter adapter = new SimpleCursorAdapter(this,        R.layout.list_item,        c,        new String[]{MyDBHelper.KEY_NAME, MyDBHelper.KEY_ID},        new int[]{R.id.field_name}); i.e.

[android-developers] Re: Scrollable widgets in alternative Home applications.

2010-06-10 Thread James Morrissey
Is there any more ongoing discussion about this? I've been highly interested in this ever since I got a HTC Hero back in July last year and noticed that HTC had custom scrollable widgets. Francois, I've also purchased your calendar and messenger widgets and for a short time I was using the

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread TreKing
On Thu, Jun 10, 2010 at 2:33 AM, Zaid zaid.a...@gmail.com wrote: how do people manage to upload adult apps? They do it anyway, since no one really polices the Market. On Thu, Jun 10, 2010 at 4:15 AM, Sean Hodges seanhodge...@googlemail.com wrote: I don't think you can upload it to the

Re: [android-developers] Re: How global is the app market?

2010-06-10 Thread Alex Xin
Ok, Google has decided to close their local website http://www.google.cn/due to the Internet censorship in China. You could still use google global service site like google.com or gmail.com. But if you try to search some keywords within China you'll find that google.com cannot access for some

Re: [android-developers] Re: How global is the app market?

2010-06-10 Thread Alex Xin
All connections to google.cn now forward to google.com.hk On Thu, Jun 10, 2010 at 10:19 PM, Alex Xin xinxi...@gmail.com wrote: Ok, Google has decided to close their local website http://www.google.cn/due to the Internet censorship in China. You could still use google global service site

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread Sean Hodges
On Thu, Jun 10, 2010 at 3:08 PM, TreKing treking...@gmail.com wrote: On Thu, Jun 10, 2010 at 4:15 AM, Sean Hodges seanhodge...@googlemail.com wrote: I don't think you can upload it to the Android Market, Well, you *can*, as evidenced by the plethora of adult apps already on the Market. You

[android-developers] OutOfMemoryError

2010-06-10 Thread svebee
hello, as I'm beginner in Android I have problem with memory - after only 2-3 minutes I get Force Close and outOfMemory Error. I have only onCreate (I know, stupid, but I didn't knew for anything else as I started only few weeks ago) and inside I have... @Override public void onCreate(Bundle

Re: [android-developers] OutOfMemoryError

2010-06-10 Thread Adrian Vintu
What does logcat say? see http://developer.android.com/intl/de/guide/developing/tools/adb.html and http://www.adrianvintu.com/blogengine/post/Colored-Logcat-Script-for-Windows.aspx if you don't know what logcat is. BR, Adrian Vintu http://www.adrianvintu.com On Thu, Jun 10, 2010 at 4:28 PM,

[android-developers] Re: Uploading Adult apps.

2010-06-10 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
ask on the discuss list, I forget the chaps name but he just started such a market about 6 months ago he follows that list so you should have your answer shortly after posting On Jun 10, 9:23 am, Sean Hodges seanhodge...@googlemail.com wrote: On Thu, Jun 10, 2010 at 3:08 PM, TreKing

[android-developers] Service gets killed (due to activity ?)

2010-06-10 Thread Tejas
Hi, I have a service running in the background. It starts on device boot. Also, I have one activity (that appears in the task launcher) in which I have provided buttons to start and stop the service. Now, I install the application on the phone and I start the service using this activity (and not

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread John T. Haggerty
Ive heard rumors of things like that however never seen anything proving this even with exploratory web searches.one would assume they are very much unadvertised On Jun 10, 2010 8:24 AM, Sean Hodges seanhodge...@googlemail.com wrote: On Thu, Jun 10, 2010 at 3:08 PM, TreKing treking...@gmail.com

Re: [android-developers] Service gets killed (due to activity ?)

2010-06-10 Thread Mark Murphy
Tejas wrote: I have a service running in the background. It starts on device boot. Boo! http://www.androidguys.com/2009/09/09/diamonds-are-forever-services-are-not/ My question is, now, if the android platform kills this activity, will it kill my service too ? When your

[android-developers] Re: TaskAffinity causes new instance being created when startActivity

2010-06-10 Thread James Wang
Dianne, You are right. We did want to make an activity like launcher. In fact, our product is more complicated than what I said above. Below is the real plan: 1)We made an activity as the launcher L; 2)A tells L to start B; 3)B does something and tells L starts A again. L,A,B have the same

[android-developers] Re: Service gets killed (due to activity ?)

2010-06-10 Thread Tejas
Thanks for Bo-ing me Mark. With every booo, I learn something ! :) On Jun 10, 11:17 am, Mark Murphy mmur...@commonsware.com wrote: Tejas wrote: I have a service running in the background. It starts on device boot. Boo!

[android-developers] Making broadcast receiver post of UI/main thread

2010-06-10 Thread Andreas Agvard
Are we guaranteed that Application.onCreate() runs in the UI/main thread? I want to assume so but I can't find any information to make me 100 % sure. When I receive a broadcast I want to post a message onto the UI/main thread. Currently I've added a function in my Application class to return a

[android-developers] Re: How to listen on socket port 80?

2010-06-10 Thread mah
Socket ports below 1024 require the ROOT user id in order to establish a server. If you're building an application intended to go on random devices, you're not going to have any success opening a server on port 80. This is not an Android constraint, it's the way sockets have been in *nix for a

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread Sean Hodges
Quite the contrary, I gave one example in an earlier post to this thread. I believe these app markets are relatively new, which is one of the main reasons they have had little exposure. Anyway, as Fred suggested this discussion would probably be more suited on the discuss list. On Thu, Jun 10,

[android-developers] Calculating jitter and dropped packets

2010-06-10 Thread PrajakataChaudhari
Dear All: I need to calculate network stats for streaming video : jitter and dropped packets. Is there any way i can calculate the parameters for the mediaplayer or the videoView class. Any help will be highly appreciated. Thank you, Prajakta -- You received this message because you are

[android-developers] Re: WebView not loading enough JavaScript that the full Android Browser can.

2010-06-10 Thread theSealPortalTeam
Does anyone have a clue what might be going on? On Jun 8, 11:26 am, theSealPortalTeam thesealportalt...@gmail.com wrote: Context: I'm creating an application that allows the back office system to access android information and vica-verca. However the backoffice system contains huge amounts of

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread TreKing
On Thu, Jun 10, 2010 at 9:23 AM, Sean Hodges seanhodge...@googlemail.comwrote: I still suggest the OP seeks an adult material-friendly market instead of relying on this approach though, or offers the APK as a direct download from a website. Definitely - I hope I did not imply that anyone

Re: [android-developers] Making broadcast receiver post of UI/main thread

2010-06-10 Thread Mark Murphy
Andreas Agvard wrote: Are we guaranteed that Application.onCreate() runs in the UI/main thread? Yes. When I receive a broadcast I want to post a message onto the UI/main thread. You are on the UI/main thread already. Pretty much all callbacks from Android to your code will be on the

[android-developers] Oracle Android App Store

2010-06-10 Thread gosh
Oracle Android App Store Here's the countries that developers can currently sell from via Android Market: http://www.google.com/support/androidmarket/bin/answer.py?answer=150324 Here's the countries that Android Market offers free apps to:

[android-developers] Anyone using the new facebook sdk for android?

2010-06-10 Thread Mark Wyszomierski
Hi, Anyone try using the facebook sdk for android?: http://github.com/facebook/facebook-android-sdk there are a few problems with it, most frustrating is that they're not managing the login dialog correctly - rotating the device will hide the dialog and leak it, sigh. I was going to

Re: [android-developers] Oracle Android App Store

2010-06-10 Thread Leigh McRae
When I look at BlackBerry App World it lists over 200 countries which seems high but I know they support almost everywhere by now so perhaps it's correct. I find it crazy that Canada isn't supported considering NAFTA. I really don't think Google is all that interested in paid apps as they

Re: [android-developers] Uploading Adult apps.

2010-06-10 Thread Shane Isbell
Sean's right. MiKandi is the app store for Adult applications. MiKandi has a lot of good traction and partnerships in the industry. It's a very new industry so it's taking time to work with content providers to get compelling and fun apps out there. But I can say I expect this industry to break

[android-developers] Re: App disappears from the Market after upgrade

2010-06-10 Thread piemm...@googlemail.com
Hi, thankyou, they are still displaying in 2.1+ But unfortunately though they're no longer visible in android 1.6 which is a fair chunk of market I'm missing! Ian On Jun 10, 8:20 am, Scott STEPHEN - Better Contacts scott.stephen...@gmail.com wrote: Ian, Just to confirm, I do see your apps.

Re: [android-developers] Google Maps API: Catching zoom and panning events

2010-06-10 Thread Raymond C. Rodgers
On 6/9/2010 7:13 PM, Steve Howard wrote: On Tue, Jun 8, 2010 at 9:03 PM, Raymond Rodgers raym...@badlucksoft.com mailto:raym...@badlucksoft.com wrote: On Tue, Jun 8, 2010 at 7:14 PM, Steve Howard ste...@android.com mailto:ste...@android.com wrote: A simple solution is to

[android-developers] requestFocus() doesn't bring up soft keyboard for edittext

2010-06-10 Thread Mike Topper
Hello all, I have a BroadcastReceiver and in the onReceive method it does some stuff and when its done it should change the focus to a specific EditText field in the ui. This all works just fine with requestFocus() but it doesn't actually bring up the soft keyboard when that edittext receives

[android-developers] Re: OutOfMemoryError

2010-06-10 Thread Eric F
First you need to figure out what is taking up all the space in your memory as well as what is causing the OOM. Like is OOM caused when you switch between two activities over and over again? or if you rotate the phone over and over causing the activity to be re-created over and over. In which case

Re: [android-developers] Re: App disappears from the Market after upgrade

2010-06-10 Thread Yuvi
Just FYI, I checked for Torque visibility on: - HTC Hero (Android 2.1) -- both versions visible - HTC Magic (Android 2.1) -- both versions visible - HTC Hero (Android 1.5) -- both versions NOT visible - HTC Magic (Android 1.6) -- both versions NOT visible YuviDroid On Thu, Jun 10, 2010 at 6:58

Re: [android-developers] Re: java.lang.OutOfMemoryError

2010-06-10 Thread Stephen Eilert
On Thu, Jun 10, 2010 at 8:18 AM, Bob Kerns r...@acm.org wrote: What I was trying to get at is that if you're relying on System.gc(), you're skating on the edge, memory-wise, tweaking the exact behavior of the GC. I didn't mean to suggest it's not helpful; I've followed with interest your

[android-developers] Re: Anyone using the new facebook sdk for android?

2010-06-10 Thread pacoder
Yeah I just did an integration using it for an app and ran into similar issues, it's very beta (although they do state that). It works 'ok' but as you point it can cause crashes. I had some weird issues on the login screen also, specifically the left button next to 'connect' appears to somehow

[android-developers] Re: OutOfMemoryError

2010-06-10 Thread svebee
if you had a png that was mostly white so compressed very well you might have a 200KB png file that actually is using 6MB of RAM on your device - I didn't know it can use so much space :/ About 90% of images (in total application, about 60% of them (this one 1KB) are used per activity, so I would

[android-developers] Re: Problem using adb push

2010-06-10 Thread Jiss
Nobody has an idea ? :/ On 10 juin, 02:06, Jiss jiss...@gmail.com wrote: Hello everyone ! I am trying to port PC/SC on my G1 in order to develop on a smartcard. I am using the SEEK for Android tutorial (http://code.google.com/p/seek-for-android/wiki/UsingPCSC ) But when I get to

[android-developers] Re: Manulaly reset event on Android

2010-06-10 Thread Bob Kerns
This is trivial to do with Java. (I say trivial in the sense of how simple the technique is. Knowing how to properly use ANY thread synchronization, even trivial ones, is hard...). Here's a rough sketch. It's been a long time since I've used the windows Event object, and I'm just typing in the

[android-developers] Re: Manulaly reset event on Android

2010-06-10 Thread ls02
This is similar how I implemented it originally. I though there must be some original Java core object to implement such fundamental as manually reset event. On Jun 10, 2:01 pm, Bob Kerns r...@acm.org wrote: This is trivial to do with Java. (I say trivial in the sense of how simple the

[android-developers] Re: Possible to create an ACTION_MEDIA_BUTTON?

2010-06-10 Thread curtis
I'm pretty sure that sendBroadcast(new Intent(android.content.Intent.ACTION_MEDIA_BUTTON)); will do it; On Jun 9, 3:08 am, duncan duncan.boe...@gmail.com wrote: Hello, I apologize in advance, since I've only gotten started developing for Android, so I'm not particularly familiar with what's

[android-developers] Re: APIs to access email accounts or SMS/MMS messages

2010-06-10 Thread curtis
I can understand why this functionality was removed, but it's really frustrating that I wasted several hours looking for a dead api. Unless I'm missing something, the android documentation doesn't even list it as deprecated. Anyways, I had some success by registering a ContentObserver to the

[android-developers] Re: Unwanted state changes of CheckBoxes in ListView

2010-06-10 Thread Ken Hughes
I'm trying to do something similar, but I can't get my custom view class to see the click events (I set breakpoints in the constructor and I get to those) but I never hit breakpoints in the toggle() or setChecked() methods. Ken On Jun 1, 6:48 pm, zealot zhentao.hu...@gmail.com wrote: Hi, I've

Re: [android-developers] StackOverflowError in UI redraw

2010-06-10 Thread Thierry Legras
Ok, i give up, I tried everything i could to reduce layers, but i am only as few as 5 so far :(( Seems to me impossible to do less, see screenshot showing my current layout

[android-developers] How to test onCreate with saved Bundle?

2010-06-10 Thread Jeff
My app launches the camera to allow the user to capture a picture. Sometimes this causes the OS will kill my App to free up memory for the camera. Once the picture is taken, my app starts back up where it left off using the Bundle I saved in onSaveInstanceState(). My app had a bug where in the

[android-developers] Re: Service gets killed (due to activity ?)

2010-06-10 Thread keyeslabs
If you have a very good reason for doing so (one that you're willing to defend to users and the likes of Mark) then you can force the service to have the same priority as an activity use setForeground. The caveat is that you must keep a notification visible for your service. On Jun 10, 11:00 am,

[android-developers] ListView no longer responding to select when checkbox added to row view

2010-06-10 Thread Connick
I'm sure this is an obvious one but I'm at a loss. I'm using my own layout for list rows, all well and fine ...but the moment I add a checkbox view to the rows layout only the checkbox responds to user selection. I'd like for the checkbox to change state if the user taps anywhere within a given

[android-developers] Gmail app - part of system?

2010-06-10 Thread Cheryl Sedota
Is the gmail app part of the android system, in that it is not able to be updated without a system-wide update? Or is it possible for the gmail app to be periodically updated (thru market or some other mechanism?) without upgrading the platform itself? -- You received this message because you

[android-developers] how can we set the background of button with bitmap image........which is cre

2010-06-10 Thread Dixit Wadhwani
-- for bitmap image..this code is not working public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button bt1= (Button) findViewById(R.id.idd1); Bitmap bitmap =

[android-developers] Determining available internal memory

2010-06-10 Thread Farhan
Hello, Is there an API to determine available internal memory? Thanks, Farhan -- 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

[android-developers] Re: Using a ListView and an Adapter: How to use notifyDataSetChanged()?

2010-06-10 Thread Mariano Kamp
Anybody? :-) On Thursday, June 3, 2010, Mariano Kamp mariano.k...@gmail.com wrote: Hi. Just watched Google IO's World Of ListView presentation [1]. Awesome stuff. I think every Android dev should watch it. One gotcha for me was to use BaseAdapter.notifyDataSetChanged[2]. I checked code

[android-developers] Re: Determining available internal memory

2010-06-10 Thread Farhan
I just found one answer here: http://stackoverflow.com/questions/2652935/android-internal-phone-storage On Jun 10, 12:41 pm, Farhan russ...@gmail.com wrote: Hello, Is there an API to determine available internal memory? Thanks, Farhan -- You received this message because you are

[android-developers] Re: ListView

2010-06-10 Thread Bob Kerns
Prepare to be stunned, I think. I faced a similar issue with horizontal SeekBar's in a vertical scrolling list. I went through a number of iterations trying to get these to play nice. What finally worked, I think would work here, too: An onTouchEvent(MotionEvent) method that tracks how much it

  1   2   >