Re: [android-developers] Re: What is the name of this widget?

2011-01-11 Thread MerlinBG
+1 mort The NumberPicker is already created for Date- and TimePickers. If it is already existing, and reusable component, why not be public?! Nobody is speaking of requesting new widgets or components, but at least let's have the existing ones public. Btw - I have tried the widget proposed by K

[android-developers] Re: Making 2 buttons the same size

2011-01-11 Thread mort
> On Mon, Jan 10, 2011 at 7:01 PM, John Lussmyer wrote: > > > Is there any way to do that via settings in the XML? > Give them both the same weight. Sadly, this also works only for short texts like OK and Cancel. If you need word wrap or a word's too long, the layout is messed up. Sometimes I even

Re: [android-developers] Re: Making 2 buttons the same size

2011-01-11 Thread venkat kumar
Hi, Both buttons - Layoutweight give as 1. It shares equal size of both buttons. It wont consider the text size. Regards venky On Tue, Jan 11, 2011 at 1:44 PM, mort wrote: > > On Mon, Jan 10, 2011 at 7:01 PM, John Lussmyer >wrote: > > > > > Is there any way to do that via settings in the XML

Re: [android-developers] App Widget

2011-01-11 Thread Kostya Vasilyev
11.01.2011 5:14, John Gaby пишет: I tried adding a class member variable, 'm_appWidgetManager', which I set during the onUpdate call. However when I get the onReceive call, this value is null. Right. Is this because the onReceive is called with a different instance of my class, and if so, w

[android-developers] Re: What is the name of this widget?

2011-01-11 Thread Pent
> beautiful and somewhat buggy (esp. if you enter numbers with the > keyboard). Nontheless, I think you'd see it way more often if it was If you've copied it, call clearFocus() before you ask it for the number. Pent -- You received this message because you are subscribed to the Google Groups "A

Re: [android-developers] Accessing Facebook photos from the Contacts provider

2011-01-11 Thread appel
I believe he's talking about ContactsContractin the Android SDK. The official Facebook client uses it but there's some special handling somewhere making the photos only available in the built-in contacts and sms apps

[android-developers] Re: Focusing a video camera

2011-01-11 Thread ko5tik
On Jan 10, 9:21 pm, elik wrote: > I developed a small video camera application. It is based on code from > the android sources. > It all works fine except focus. First, I was surprised to see that the > sample video camera code don't have autofocus (or focus). > I understand I need to call camer

Re: [android-developers] Re: Making 2 buttons the same size

2011-01-11 Thread Kostya Vasilyev
11.01.2011 11:14, mort пишет: There doesn't seem to be any simple, reliable, always working way to get buttons use exactly the given percentage of the available space. This works for me: a LinearLayout with two children (let's call them left/right). Set both children's width to "0dp" and layou

[android-developers] no service while using emulator

2011-01-11 Thread ellison ye
I seems that configure is error in my *emulator* ,"*NO Service*" will display in screen while first start it ,Can anyone help me to solve this -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-dev

Re: [android-developers] no service while using emulator

2011-01-11 Thread Kumar Bibek
A simple restart should fix the problem if you are not behind a firewall or proxy. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Tue, Jan 11, 2011 at 2:04 PM, ellison ye wrote: > I seems that configure is error in my *emulator* ,"*NO Service*" will > display in screen whi

[android-developers] Services and battery life

2011-01-11 Thread Vikram
I have a service which interacts with the Android Location service to get location updates. Once the service starts, it tries for 2 minutes to get the best location possible. I want to get location data for 30 mins, every 5 minutes. I can do this in two ways: 1. start the service, let it run for 3

Re: [android-developers] NFC

2011-01-11 Thread Ajith Kamath
Please go through previous threads already on nfc in the developers group Tag reading demo provided is just a simulation. Regards, Ajith On Tue, Jan 11, 2011 at 11:27 AM, kampy wrote: > Hi All, > > I read the docs about the NFC on android and tried with the sample > provided in the develoers gr

[android-developers] INSTALL_PARSE_FAILED_NO_CERTIFICATES

2011-01-11 Thread MobileVisuals
My project has worked before on a Windows 7 PC. I then installed the Android developement tools on a Vista PC. I tried to run my project, but got: Installation error: INSTALL_PARSE_FAILED_NO_CERTIFICATES Please check logcat output for more details Why does this happen and how can I resolve it? Th

[android-developers] Re: Changing the height of ContextMenu at runtime

2011-01-11 Thread Goodwin
I think it's impossible unless you modify the Anroid framework. On 1月10日, 下午10时25分, yogi wrote: > Hi All, > > I have a requirement in which i have to adjust the height of the > contextMenu at run time.The List already have enough element to make > scroll in the context menu (11-12 items). so th

[android-developers] Re: NFC

2011-01-11 Thread kampy
hi thank u i am reading all the threads in the group for understanding the complete structure of the NFC .. Thanks & Regards, Narasimha On Jan 11, 2:18 pm, Ajith Kamath wrote: > Please go through previous threads already on nfc in the developers group > Tag reading demo provided is just a simul

[android-developers] Re: ThreadSafeConnectionManager timeout...

2011-01-11 Thread lou
New info, I think the timeout is only when I'm connected with Wifi, not in 3G or edge ! Is it possible ? What can I do ? Thanks. On Jan 7, 6:33 pm, lou wrote: > Thanks for your answer, > And yes, I've already tried to modify these parameters, but I think it > don't change anything, even when the

[android-developers] Style Question

2011-01-11 Thread pedr0
Hi at all, I tried to write my own style.xml: #00 normal #00 italic But Eclipse doesn't c

Re: [android-developers] Style Question

2011-01-11 Thread Kostya Vasilyev
"italic" is a "textStyle", not "typeface". -- Kostya 11.01.2011 13:46, pedr0 пишет: Hi at all, I tried to write my own style.xml: #00 normal

[android-developers] Re: Style Question

2011-01-11 Thread pedr0
Autoreply :-) #00 normal bold #00 normal

Re: [android-developers] Carousel View Animation..?

2011-01-11 Thread Abhilash baddam
Hi friends, Thanks for your reply...if anybody is having code snippets regarding this issue please send it to me. On Tue, Jan 11, 2011 at 11:24 AM, kavitha b wrote: > yes,U r absolutely right. > > > On Tue, Jan 11, 2011 at 11:19 AM, Kumar Bibek wrote: > >> I think you misunderstoo

[android-developers] Order of insert

2011-01-11 Thread Serdel
I am wondering how can I insert an element at the beginning of the data base? I want to do this because: a) I want to display the elements (ListView) as 'last-inserted on top and first-inserted on the bottom' (like a stack) b) I want to limit the amount of elements in my db. When a new element is a

Re: [android-developers] Order of insert

2011-01-11 Thread Mark Murphy
On Tue, Jan 11, 2011 at 7:10 AM, Serdel wrote: > I am wondering how can I insert an element at the beginning of the > data base? There is no such concept in modern databases. > I want to do this because: > a) I want to display the elements (ListView) as 'last-inserted on top > and first-inserted

Re: [android-developers] Order of insert

2011-01-11 Thread Marcin Orlowski
On 11 January 2011 13:10, Serdel wrote: > I am wondering how can I insert an element at the beginning of the > data base? There's no such thing like "beginning of database". Database is set of data. Order of data is irrelevant to database itself. If you want to ensure certain order just sort your

[android-developers] Theme.Dialog bug in 2.1?

2011-01-11 Thread Schoel
Hello, I have found some weird behaviour which might be a bug. I found it while developing a quite large application but I've been able to reproduce the behaviour in a minimal approach so that I can provide source code. I have a service that is constantly running and at certain times it pops up a

[android-developers] help regarding snapshot of webpage

2011-01-11 Thread kavitha b
Hi All, I need to capture snapshot of webview and write the snapshot into a pdf file.User should not see the procedure of taking snapshot of web page. I tried using this code this.myWebView.setWebViewClient(new WebViewClient() { public void onPageFinished(WebView view, St

[android-developers] need urgent help regarding snapshot of web page

2011-01-11 Thread kavitha b
Hi All, I need to capture snapshot of webview and write the snapshot into a pdf file.User should not see the procedure of taking snapshot of web page. I tried using this code this.myWebView.setWebViewClient(new WebViewClient() { public void onPageFinished(WebView view, St

[android-developers] Re: How to Customize android Os For supporting regional languages

2011-01-11 Thread kariyachan
Hi Dianne, Now I've been trying to add Indian regional language translation for System Ui hoping it will helpful to others too. I noobe to this I did following things, downloaded source code for froyo compiled it using make command and I got system

[android-developers] Re: Media framework in gingerbread

2011-01-11 Thread Neelakanth
Hey guys can somebody answer my questions? On Jan 6, 7:43 pm, Neelakanth wrote: > Hi, > I have few questions. I have searched on google and android related > forums, but I have not found much relevant details. > 1. Froyo uses stagefright and pvcore for media playback. Gingerbread > says that "New

[android-developers] Exchanging data between apps

2011-01-11 Thread Marcin Orlowski
Hi, I got app A and B. Now I need app A to be able to ask app B to build some content (bitmap) and return it so A can use it. What is best approach to do that (I don't want to write any temporary files to SD)? -- You received this message because you are subscribed to the Google Groups "Android

Re: [android-developers] Carousel View Animation..?

2011-01-11 Thread Jitesh dedhiya
May this link will help you..you just need to calculate the TranslateAnimation(0, 100, 0, 200); http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/AnimateDrawables.html TranslateAnimation very important

Re: [android-developers] Exchanging data between apps

2011-01-11 Thread Jitesh dedhiya
Content providers may be the one approach http://developer.android.com/reference/android/content/ContentProvider.html On Tue, Jan 11, 2011 at 6:49 PM, Marcin Orlowski wrote: > Hi, > > I got app A and B. Now I need app A to be able to ask app B to build > some content (bitmap) and return it so A

Re: [android-developers] Exchanging data between apps

2011-01-11 Thread Kostya Vasilyev
11.01.2011 16:19, Marcin Orlowski пишет: Hi, I got app A and B. Now I need app A to be able to ask app B to build some content (bitmap) and return it so A can use it. What is best approach to do that (I don't want to write any temporary files to SD)? Bitmap implements Parcelable, so you can tr

[android-developers] Package name problem during apk installation

2011-01-11 Thread Paolo
Hi there, I created a project for my app with a package name like this: com._3towns.app, but when I try to install and launch the app, the device reboots and the installation failed. Why? The I thought underscore is supported, isn't it? Any ideas? -- You received this message because you are su

[android-developers] Re: How to differentiate market download app and non-market application

2011-01-11 Thread Brill Pappin
Wouldn't the LVL library indicate if its a market app? AFAIK it actually has a response that will indicate a non market app. http://developer.android.com/guide/publishing/licensing.html - Brill Pappin On Jan 11, 12:25 am, Kumar Bibek wrote: > I don't think you can, other than breaking into the

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-11 Thread Leon Moreyn-Android Development
So clarify this once and for all. Unless I buy the phone as a developer phone, ie out of contract, the provider doesnt not have to give me access to be able to install out of market apps, ie my own developed apps unless they are on the market? On Jan 10, 10:05 pm, Dianne Hackborn wrote: > On Mon,

[android-developers] How to investigate a system crash reported by user?

2011-01-11 Thread Mark Carter
A user has reported that running my paid app (interestingly the free version runs fine using almost the same codebase - LVL being the biggest difference) immediately results in a Force Close and then he cannot do anything other than switch off the device (Galaxy S running official ROM). If he hold

[android-developers] Re: App Widget

2011-01-11 Thread John Gaby
> AppWidgetManager manager = AppWidgetManager.getInstance(context); > That is exactly what I needed, thanks much! On Jan 11, 12:21 am, Kostya Vasilyev wrote: > 11.01.2011 5:14, John Gaby пишет: > > > I tried adding a class > > member variable, 'm_appWidgetManager', which I set during the onUpdat

[android-developers] setFilterQueryProvider not working - Please help

2011-01-11 Thread rams
Hi All, I am using the call log (call history) database and showing it to the user by means of a list view and a simple cursor adapter. Now, I want to change the list view according to user's selection. if user selects "dialed calls", only dialed calls should be shown. I tried using setFilterQue

[android-developers] Re: How to differentiate market download app and non-market application

2011-01-11 Thread Mark Carter
AFAIK, LVL will indicate if the app has been obtained from the Market, but not that that particular installation came from the Market. For example, you can download a paid app, uninstall it and then install another APK (same package name, version number, and signed with the same key) and LVL will r

Re: [android-developers] Package name problem during apk installation

2011-01-11 Thread Marcin Orlowski
On 11 January 2011 15:01, Paolo wrote: > Hi there, > I created a project for my app with a package name like this: > com._3towns.app, but when I try to install  and launch the app, the > device reboots and the installation failed. > Why? The I thought underscore is supported, isn't it? Not as the

Re: [android-developers] How to investigate a system crash reported by user?

2011-01-11 Thread Marcin Orlowski
On 11 January 2011 15:39, Mark Carter wrote: > A user has reported that running my paid app (interestingly the free > version runs fine using almost the same codebase - LVL being the > biggest difference) immediately results in a Force Close and then he > cannot do anything other than switch off t

Re: [android-developers] Exchanging data between apps

2011-01-11 Thread Marcin Orlowski
On 11 January 2011 14:36, Kostya Vasilyev wrote: > Bitmap implements Parcelable, so you can try passing it an intent extra. > > However, you wouldn't want to do this with large bitmaps, since the > underlying RPC mechanism works best with data under 1 megabyte (if I > remember the number right, m

Re: [android-developers] Exchanging data between apps

2011-01-11 Thread Marcin Orlowski
On 11 January 2011 14:22, Jitesh dedhiya wrote: > Content providers may be the one approach > http://developer.android.com/reference/android/content/ContentProvider.html Thanks. I know I can use CP, but I forgot to mention I was looking for simplier approach for now -- You received this message

[android-developers] Hoe to record voice..?

2011-01-11 Thread Abhilash baddam
Hi friends, I am trying to record a voice but i am getting an exception..when the clicks on a button it will start recording and when he clicks on stop it's stops recording that is my idea and that recorded file will be stored in SDCard. But here i am getting IllegalStateException at

[android-developers] Re: Accessing AudioManager within a class which extends BroadcastReceiver

2011-01-11 Thread rsnider19
Thanks. I could have sworn I had tried the following and gotten errors but it is exactly what worked. I can now change the ringer mode of the phone. For others looking for the same idea, use the following snippet: import android.content.BroadcastReceiver; import android.content.Context; import

[android-developers] Re: How to investigate a system crash reported by user?

2011-01-11 Thread Stephan Wiesner
Try http://code.google.com/p/acra If there is a "normal exception" it should be reported. Greetings from Zurich, Stephan On 11 Jan., 15:39, Mark Carter wrote: > A user has reported that running my paid app (interestingly the free > version runs fine using almost the same codebase - LVL being t

Re: [android-developers] Carousel View Animation..?

2011-01-11 Thread TreKing
On Tue, Jan 11, 2011 at 5:51 AM, Abhilash baddam < abhilash.androiddevelo...@gmail.com> wrote: > Thanks for your reply...if anybody is having code snippets regarding this > issue please send it to me. OK. I'll code up something that will work 100% for sure in your project and have it over to you

[android-developers] Re: Code Assist still Slow

2011-01-11 Thread snpe
There are two problems related to code assists with ADT and Helios. 1) ADT problem related to classpath container described on http://code.google.com/p/android/issues/detail?id=7850#c7 It is fixed in ADT 8.0.x 2) problem with WTP Webservices context assist. See https://bugs.eclipse.org/bugs/show

[android-developers] Re: Order of insert

2011-01-11 Thread Serdel
Thanks for your answers. I was suggested a easier solution by sorting the list by rowid so i do not need to add another column. On 11 Sty, 13:37, Marcin Orlowski wrote: > On 11 January 2011 13:10, Serdel wrote: > > > I am wondering how can I insert an element at the beginning of the > > data bas

Re: [android-developers] Re: How to investigate a system crash reported by user?

2011-01-11 Thread Mark Carter
For some reason he doesn't see a Report button - though I thought this was on all 2.2 devices? 2011/1/11 Stephan Wiesner > Try http://code.google.com/p/acra > > If there is a "normal exception" it should be reported. > > > Greetings from Zurich, > Stephan > > On 11 Jan., 15:39, Mark Carter wrot

[android-developers] Re: Solution for P2P messaging on Wifi LAN

2011-01-11 Thread Federico Paolinelli
Give qualcomm alljoyn a try: http://developer.qualcomm.com/dev/alljoyn-p2p I saw them presenting it at droidcon uk and it looked promising. Hope this helps. Federico On 10 Gen, 23:35, Nathan wrote: > I've seen some older posts on here about P2P messaging. Apparently > there is nothing bui

Re: [android-developers] Carousel View Animation..?

2011-01-11 Thread Abhilash baddam
Thank youTreking. I will wait for your code in the mean while i'l also try to achieve this one. On Tue, Jan 11, 2011 at 9:00 PM, TreKing wrote: > On Tue, Jan 11, 2011 at 5:51 AM, Abhilash baddam < > abhilash.androiddevelo...@gmail.com> wrote: > >> Thanks for your reply...if anybody is having

[android-developers] Re: Hoe to record voice..?

2011-01-11 Thread Abhilash baddam
any help... On Tue, Jan 11, 2011 at 8:45 PM, Abhilash baddam < abhilash.androiddevelo...@gmail.com> wrote: > Hi friends, > > I am trying to record a voice but i am getting an > exception..when the clicks on a button it will start recording and when he > clicks on stop it's stops rec

[android-developers] Re: Theme.Dialog bug in 2.1?

2011-01-11 Thread Streets Of Boston
It looks like a bug, but you should rethink showing a dialog from a background service. Users rellly don't like pop-up dialogs or other screens suddenly popping up when they are busy doing something else. The only screen that can get away with this is the phone-application. Instead, consider

[android-developers] Re: Order of insert

2011-01-11 Thread Bob Kerns
I don't really advise using the rowid for this. Using the rowid is rather limiting, as it is not under your control. If you later need to change the ordering in some respect, you'll have to modify your database. You can do that, of course, but it's unnecessary pain. You did say you wanted to be abl

Re: [android-developers] Services and battery life

2011-01-11 Thread TreKing
On Tue, Jan 11, 2011 at 3:03 AM, Vikram wrote: > 1. start the service, let it run for 30 minutes, and get location updates > every 5 minutes > The likelihood of your Service running un-interrupted for 30 minutes, especially if you're not running in the foreground, is extremely low. > 2. use th

RE: [android-developers] Re: app2sd - not working

2011-01-11 Thread lloyd
If you have not yet solved the problem, then try this. When you publish the app, make sure that "Copy Protection" is OFF under "Publishing Options". I had that problem in one of my apps and that was the solution. Good luck. -Original Message- From: android-developers@googlegroups.com [ma

[android-developers] Re: Hoe to record voice..?

2011-01-11 Thread Matias Alberto de la Vega
Hello Abhilash, could you be more specific about the exception? what kind of exception is the application throwing? have a nice day. On Jan 11, 1:02 pm, Abhilash baddam wrote: > any help... > > On Tue, Jan 11, 2011 at 8:45 PM, Abhilash baddam < > > > > > > > > abhilash.androiddevelo...@gmail.com>

[android-developers] Re: Simple compass functionality

2011-01-11 Thread Phil Endecott
I'm now trying to understand how to allow for the display orientation in my simple compass calculation, since I don't think there is an API that does that for me. It looks like the "right way" to get this is getWindowManager().getDefaultDisplay().getRotation() which returns values Surface.R

[android-developers] Re: Theme.Dialog bug in 2.1?

2011-01-11 Thread Schoel
This is a phone application, and the popup only comes up if the user has actively selected set the option for it (disabled on default). I am aware of people's (and my own!) opinions on popups :) On 11 Jan, 17:16, Streets Of Boston wrote: > It looks like a bug, but you should rethink showing a dia

Re: [android-developers] Theme.Dialog bug in 2.1?

2011-01-11 Thread Dianne Hackborn
This is because all activities in an .apk are given the same task affinity by default, so they will try to stay together on the same stack. You can use android:taskAffinity on an activity to change this. Use "" if you don't want a task affinity for an activity (probably what you want for the dial

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-11 Thread ivan
I ended up NOT going with an interrupt, as it seemed to be (as Bob explained) a crap-shoot. Instead when a user wants to stop an I/O - connection operation I orphan the the blocking thread and set it to die on it's next loop. Since most of the resources are released by the non-blocking thread any

[android-developers] Re: no service while using emulator

2011-01-11 Thread Hari Edo
On Jan 11, 3:34 am, ellison ye wrote: >  I seems that configure is error in my *emulator* ,"*NO Service*" will > display in screen while first start it ,Can anyone help me to solve this Unless I am misunderstanding you, it's emulating the behavior that any phone handset would have when powered o

Re: [android-developers] Re: Anyone know how the App Management system algorithm work on android?

2011-01-11 Thread Rogério de Souza Moraes
Hi Sherv, if you is building an special device, you can modify Android framework and try put your application or service inside of it. I modified Android framework to put some services that my device requires. Regards, Rogerio 2011/1/6 JP > > > On Jan 5, 6:43 am, Sherv wrote: > > I'm trying

Re: [android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-11 Thread Dianne Hackborn
Your phrasing is confusing. The CDD *requires* that for a device to ship with Market it *must* have full ADB support. This is what you use to develop applications on a device: install them, debug them, and everything else involved with development. Being able to install non-Market apps as a *use

[android-developers] Re: What is the name of this widget?

2011-01-11 Thread DanH
> If NumberPicker would have been provided in the SDK, then, someone would > have asked for an alphabet picker, or symbol picker, etc, and the list goes > on. Then, someone would have asked for a On-Off button pattern. Of course, DatePicker already contains a symbol picker, for the month. Having

[android-developers] Separate assets - multiple apks

2011-01-11 Thread NathanBarger
I need to output different assets for different phones, I have several questions please only answer if you are a qualified authority on the subject: 1. Can I output different assets to different apk's - we have images in the range of 25-35 mb, and we want different assets for 3 different phone type

Re: [android-developers] Separate assets - multiple apks

2011-01-11 Thread TreKing
On Tue, Jan 11, 2011 at 12:27 PM, NathanBarger wrote: > I have several questions please only answer if you are a qualified > authority on the subject: > LOL - seriously? If you're going to put that kind of restriction on who can answer your questions, you're going to be hard-pressed for an answer

[android-developers] Droidchart Help

2011-01-11 Thread Brandon
I can't for the life of me figure out how to change the stroke of a line on an XYLinePlot in Droid Charts. It looks like JFreeCharts which this is based off of uses java.awt.BasicStroke, but this isn't available in android. Has anyone come across this? Really need some direction here. Thanks, Br

[android-developers] Listview with different types?

2011-01-11 Thread Chris
Hello All, I'm trying to mimic the setup of the Wireless & networks menu (listview with some checkboxes and some items that bring you to another menu). I'm looking for someone to point me in the right direction, what I'm currently attempting is creating multiple xmls of the checkbox items and the

[android-developers] Question About GPS while on the phone

2011-01-11 Thread Tommy
Hi everyone, I know that with some providers you can't be on the phone and use Internet at the same time. One example would be my moto droid on verizon. Not a big deal as we can put in a broadcast receiver to listen to the phone state. My question is is the GPS provider affected the same way? In o

[android-developers] Listview bubbling up onclick from contained item

2011-01-11 Thread Busa
I have a listview with an extended ArrayAdapter that contains 3 textviews. It is layed out in sort of a column arrangment. I am using the getView with the Viewholder arrangement. I want to be able to click the whole item and specifically one of the textviews. When clicked, I want to sort of bubble

Re: [android-developers] Listview with different types?

2011-01-11 Thread TreKing
On Tue, Jan 11, 2011 at 12:56 PM, Chris wrote: > I'm trying to mimic the setup of the Wireless & networks menu (listview > with some checkboxes and some items that bring you to another menu). > http://developer.android.com/reference/android/preference/PreferenceActivity.html ---

[android-developers] Re: Listview with different types?

2011-01-11 Thread Busa
>From the Google IO talk, it seems like you are doing the write thing, just be sure to use the viewHolder to recycle your views in your adapter class. On Jan 11, 1:56 pm, Chris wrote: > Hello All, > > I'm trying to mimic the setup of the Wireless & networks menu > (listview with some checkboxes a

Re: [android-developers] Re: Listview with different types?

2011-01-11 Thread Kumar Bibek
Yes, depending on the viewtype, you inflate or re-use the right type and it should work. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 12, 2011 at 12:39 AM, Busa wrote: > From the Google IO talk, it seems like you are doing the write thing, > just be sure to use

[android-developers] Re: [android-kernel] repo intialization

2011-01-11 Thread Deva R
> i wanted to initialize the repo in specific folder. whenever  i initialized > the  repo . it initialize in home folder only even i make the directory and > run the command. No such restrictions, and we can chose any directory we want. whole project tree location depends on where we do "repo init

Re: [android-developers] Re: Listview with different types?

2011-01-11 Thread Kumar Bibek
Some useful links http://android.amberfog.com/?p=296 https://github.com/commonsguy/cwac-merge Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 12, 2011 at 12:42 AM, Kumar Bibek wrote: > Yes, depending on the viewtype, you inflate or re-use the right type and it > s

[android-developers] Re: Separate assets - multiple apks

2011-01-11 Thread Hari Edo
Clogging up the marketplace with "SuperApp - for CelluloCarrier AmazingPhone 23X on Gingerbread *ONLY*" version differentiation really sucks. As a user, I ask you not to do that. Look at what games are doing now to get around the APK size problem: a simple download-to-SD process that the user ki

[android-developers] bindService() instantiating a second Service instance

2011-01-11 Thread Anm
When memory profiling my app, I've noticed that multiple instances of the same local service class are getting instantiated. This is not my expectation from my interpretation of the APIs and service example code in the SDKs. My app is designed such that the service represents a data layer, handl

[android-developers] JNI working

2011-01-11 Thread Richard Sámela
Hi, I would like to know something about JNI. How it works in android? does it work on all devices? does it work on tablest with android? I want to use toolkit in C++ programing language. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

Re: [android-developers] JNI working

2011-01-11 Thread Kumar Bibek
Yes, It will work on all devices... Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Jan 12, 2011 at 1:03 AM, Richard Sámela wrote: > Hi, > I would like to know something about JNI. How it works in android? > does it work on all devices? does it work on tablest with and

Re: [android-developers] Question About GPS while on the phone

2011-01-11 Thread Marcin Orlowski
On 11 January 2011 20:04, Tommy wrote: > I know that with some providers you can't be on the phone and use > Internet at the same time. One example would be my moto droid on > verizon. Not a big deal as we can put in a broadcast receiver to > listen to the phone state. My question is is the GPS p

RE: [android-developers] Question About GPS while on the phone

2011-01-11 Thread Tommy
Very cool. That makes sense. Are you sure it's not carrier specific? The reason I ask is because I have 2 phones both with 3g service one on Verizon and one on AT&T. The AT&T android phone can surf the net and what not while on the phone, my Verizon phone and my boss's phones cannot. That part i

[android-developers] Multiple MapActivity

2011-01-11 Thread Ankur Avlani
Hi, My application has multiple MapViews, so each classes extends MapActivity. Now i read that if you have more that one MapActivity in your app, it will result in undesired output. My question is, is there a way to create MapView without MapActivity. Or does someone know any workaround for mul

Re: [android-developers] Multiple MapActivity

2011-01-11 Thread TreKing
On Tue, Jan 11, 2011 at 1:54 PM, Ankur Avlani wrote: > My question is, is there a way to create MapView without MapActivity. Nope. > Or does someone know any workaround for multiple MapActivities. Instead of having mutliple MapActivities, have multiple "MapModes" or whatever you want to cal

[android-developers] Re: App Widget

2011-01-11 Thread John Gaby
> Broadcast receivers are only guaranteed to stay around long enough for > their onReceive to complete. They can be destroyed after that, and a new > instance will be created if needed later. > Given that it creates a new instance of my AppWidgeProvider class for each call, is there a way to have

[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-11 Thread Leon Moreyn-Android Development
Dianne Thank you for your time in clearing up this matter. I now have clear understanding. Again thank you. On Jan 11, 1:11 pm, Dianne Hackborn wrote: > Your phrasing is confusing. > > The CDD *requires* that for a device to ship with Market it *must* have full > ADB support.  This is what you us

[android-developers] Re: Accessing Facebook photos from the Contacts provider

2011-01-11 Thread Biosopher
That's right, appel. I'm trying to access the FB contacts through the ContactsContract. Seems like the Facebook photos are stored with special permissions. I can get an FB photo's row _id from the Photos db but cannot retrieve the photo for some reason. -- You received this message because you

Re: [android-developers] Re: App Widget

2011-01-11 Thread Kostya Vasilyev
11.01.2011 23:10, John Gaby пишет: Broadcast receivers are only guaranteed to stay around long enough for > their onReceive to complete. They can be destroyed after that, and a new > instance will be created if needed later. > Given that it creates a new instance of my AppWidgeProvider class f

[android-developers] Re: Questions about Custom (Compound) control

2011-01-11 Thread Ale
Hi Kostya, thank you for your reply, with your hints I worked out all my problems ;) On 10 Gen, 16:12, Kostya Vasilyev wrote: > Ale, > > 1 - You can model your notification on the type of interface callback > mechanism used by Android views and widgets: > > http://developer.android.com/referenc

[android-developers] Re: Solution for P2P messaging on Wifi LAN

2011-01-11 Thread Nathan
On Jan 11, 7:50 am, Federico Paolinelli wrote: > Give qualcomm alljoyn a try:http://developer.qualcomm.com/dev/alljoyn-p2p > > I saw them presenting it at droidcon uk and it looked promising. > It does look promising, although it might be a while before its ready: "In future releases, it will b

[android-developers] Re: Solution for P2P messaging on Wifi LAN

2011-01-11 Thread Bret Foreman
This looks interesting: http://wlan-lj.net/wiki/Podrobnosti/MeshApp -- 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 andro

Re: [android-developers] Re: Custom Keyboard for an App

2011-01-11 Thread Dan Dumont
This is also something I'm interested in. It's a shame there's no other framework to take advantage of if the IME framework is indeed incorrect for this use case. On Sun, Jan 9, 2011 at 9:57 PM, Justin Glaeser wrote: > Thanks for the help. I would like to modify the keyboard for certain > UI's

Re: [android-developers] Re: What is the name of this widget?

2011-01-11 Thread Dianne Hackborn
On Tue, Jan 11, 2011 at 10:13 AM, DanH wrote: > Of course, DatePicker already contains a symbol picker, for the > month. Having implemented a "picker" widget from scratch on another > platform I can tell you that once you've got the basic picker > mechanism done adding symbols is easy. And an a

RE: [android-developers] Re: What is the name of this widget?

2011-01-11 Thread Tommy
-- Oh and I guess also because we hate you and delight in the pain we cause by denying you these things. Yes there is that. I knew it..Sitting up there on your high horse laughing at our pain. Why can' you enigeers get anything right!?!?!?!? J P.S Thanks for all your and your team

[android-developers] Re: Separate assets - multiple apks

2011-01-11 Thread Brill Pappin
Yes you can have multiple assets in multiple apks, but they will not be the same app. No you can't be that specific AFAIK about what phones an app supports (and likely don't want to... and should not be able too anyway). By the way, anyone in this forum and at least anyone answering your post is

[android-developers] Re: MediaPlayer StreamVideo question.

2011-01-11 Thread Doug
Possible solutions to this are google-able. On Jan 10, 5:27 pm, Scott Deutsch wrote: > So, I gave up on that MediaPlayer Class...too complicated to handle streams. > For now I am going to use Youtube. > > Now, is it possible to Launch the YouTube player and not having the option > to pick Browser

[android-developers] Re: MediaPlayer StreamVideo question.

2011-01-11 Thread Scott Deutsch
Hi, i did that...thats why my program launches youtube (cause i found examples of that). But, it shows a dialog asking the user to pick between Youtube player and the browser. I just want to know if you can eliminate that box and only use the youtube player. I will keep looking on google. but if

[android-developers] Slow AES Decryption

2011-01-11 Thread Lorensius W. L. T
Hello developers, I tried to decrypt a 4.2 MB .dcf file using AES 128 bit key, but it took 33 seconds to decrypt (on function cipher.doFinal(data)), is it normal ? Here is a code snippet: long start = System.currentTimeMillis()/1000L; try { SecretKeySpec skeySpec = new SecretKeySpec(key

[android-developers] Re: ACTION_DOCK_EVENT can no longer be sent in 2.2?

2011-01-11 Thread mukgup
I am having the same problem. Is there any way we can send docking event from app? -- 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, sen

  1   2   >