[android-developers] Re: Home Button

2011-10-07 Thread Zsolt Vasvari
> Yes you'll have to reboot your phone.  This isn't a serious security issue > (no access to private data or otherwise elevated permissions), but is > definitely something we don't want applications to be able to do. Well, it can be a Denial of Service attack, basically preventing the user from us

[android-developers] Update my Application

2011-10-07 Thread Ubiracy Santos
I have a web application that uses the SQLite database. And I have an application running on the tablet with the mirror of the SQLite database. What better way to update the data in the tablet? tks!! -- You received this message because you are subscribed to the Google Groups "Android Develope

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Studio LFP
Ok, I played with it and got it to work. On the Xperia Play (which has a hardware game pad not a hardware keyboard), the problem is it starts with all the text selected so you can't touch anywhere to move the cursor. You need to move the selection handles to unselect part of the text and then t

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
I really cannot understand what's going on :S The XPeria is the only phone with the hard keyword, isn't it? But if I try in the emulator (which also emulates a hardware keyboard) everything goes fine. I mean, when you long click a View all text is selected (intended, so one can easily erase everyth

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Studio LFP
That worked for all but the Xperia Play. It still selects everything and doesn't let me place a cursor where I want it. You will need to clear that at some point because it prevents clicking on the same view again. This could be bad if the phone goes to sleep or another activity comes up and t

Re: [android-developers] bringing back the activity to foreground

2011-10-07 Thread TreKing
On Thu, Oct 6, 2011 at 4:52 AM, kabilan thennarasu wrote: > can someone tell me how to bring back the activity to the foreground; startActivity() with the right intent and flags. - TreKing

Re: [android-developers] Launch popup window from service

2011-10-07 Thread TreKing
On Thu, Oct 6, 2011 at 12:50 PM, emiusa wrote: > Inside onCreate() Of your service? Does anybody know how to fix this? Launch an activity with a dialog theme? - TreKing

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
Please, try adding this little patch at line 23 if (mLastTapped == arg0) return; This should be enough 2011/10/7 Studio LFP > Exactly. When I try to touch to move the cursor in an already focused box, > the keyboard dismisses on everything but the HTC Hero on 2.1-update 1. The > Xperia Play

Re: [android-developers] opengl es sphere tutorial

2011-10-07 Thread TreKing
On Wed, Oct 5, 2011 at 4:30 PM, grebwerd wrote: > Could anyone point me to a really good tutorial on how to create a > 3D sphere from scratch using triangle strips or triangle fan using > opengl es? > Try a group or forum dedicated to OpenGL es. -

Re: [android-developers] Re: Cannot resolve com.google.android.maps.GeoPoint

2011-10-07 Thread Sunghun Park
Hi ibendlin. Thank you so much. I change project properties to Google APIs as you said, I solved it. Cheers, Sunghun. On Sat, Oct 8, 2011 at 3:22 AM, lbendlin wrote: > Use the Google API Level 4, not Android API Level 4 > > -- > You received this message because you are subscribed to the Goo

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Studio LFP
Exactly. When I try to touch to move the cursor in an already focused box, the keyboard dismisses on everything but the HTC Hero on 2.1-update 1. The Xperia Play goes into some kind of select text mode the others don't. You may have to check if the view that is clicked on is the one the user is

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
Oh my god, it's a mess!!! But still I don't understand exactly what happens. I think you do something like 1. Long tap on a view: this shows the soft keyboard and you can type anything 2. Click on the same view: this triggers the mess Is this right? Is the problem when you click in the c

Re: [android-developers] Re: overlapped nodes in graph

2011-10-07 Thread TreKing
On Fri, Oct 7, 2011 at 12:26 PM, bhumi kania wrote: > http://www.mindmeister.com/23290325?title=western-philosophy > > I want to draw this kind of graph. OK. Do you have a question related to Android development? -

Re: [android-developers] Re: Home Button

2011-10-07 Thread TreKing
On Fri, Oct 7, 2011 at 4:06 PM, Sami Pardhan wrote: > Is that currently supported in the API? How would one go about implementing > it? I know the home button key event works independently of other keys, is > there a way to override the functionality so that it brings the user back to > my app?

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Studio LFP
I tested it on the following: Xperia Play - Android 2.3.2 Samsung Galaxy Tab (7 in) - Android 2.2 Motorola Droid (Original) - Android 2.2.2 Droid Bionic - Android 2.3.4 HTC Hero - Androi 2.1-update 1 My Xoom is out for the LTE upgrade so I can't test it on that at the moment. It only worked corr

RE: [android-developers] Re: How to detect nearby devices

2011-10-07 Thread Tommy Hartz
I think you are going to have to go with Studio LFP. Checking an update say ever 5 or 10 minutes with GPS won't kill the battery that fast. Atleast with my application it doesn't just don't leave the GPS listener open. I set an alarm to go off every X minutes, first I try a course location (off 3g

Re: [android-developers] Re: Home Button

2011-10-07 Thread Sami Pardhan
Is that currently supported in the API? How would one go about implementing it? I know the home button key event works independently of other keys, is there a way to override the functionality so that it brings the user back to my app? Thanks, On Fri, Oct 7, 2011 at 1:42 PM, Dianne Hackborn wrot

[android-developers] Re: Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-07 Thread Studio LFP
I just tested this on an application I had in front of me and it worked well. Which version of Android are you testing on (and what hardware)? Are there any other settings on the view that might be causing a conflict? Or maybe there is another view overlapping that is causing an issue? Steven

[android-developers] Re: textView Clears on Rotation

2011-10-07 Thread Studio LFP
Add this to your activity tag in the AndroidManifest.xml android:configChanges="orientation|keyboardHidden" That will fix you up unless you have some other specifics set like different XML layouts for portrait and landscape. If you do, you may want to use the bundle or just change the view dyna

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
Unfortunately I can't give you my actual app's code, but #1 and #2 are not issues since they are intended :) #3 seems a bug instead. Can you please describe carefully what are the steps to reproduce it? Also the Android runtime version could matter. I can't reproduce that behavior. Thanks for your

[android-developers] Re: How to detect nearby devices

2011-10-07 Thread Studio LFP
He is referring to if you were all on the same wifi network (and on the same subnet on that network), you could broadcast, catch that broadcast on a listening device and then ping back with coordinates pulled from GPS. You still need GPS and now you need to be on the same Wifi network. That ide

[android-developers] textView Clears on Rotation

2011-10-07 Thread King Salamon
Please can anyone give me a full coding example for getting data to persist after the device is rotated. All of my textView fields go back to zero when the device is rotated. I understand that the activity is destroyed and then recreated due to configuration change, and I think that using onSav

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Studio LFP
I'm not hurt by you choosing to go a different path. Just seems like you are leaving a lot on the table that's already written for you by trying to put a square peg into a round hole. I checked out that project and I think you are cutting yourself short here because of the following: 1. Now you

Re: [android-developers] Re: Home Button

2011-10-07 Thread Dianne Hackborn
On Fri, Oct 7, 2011 at 1:25 PM, TreKing wrote: > On Thu, Oct 6, 2011 at 10:13 PM, Ubiracy Santos wrote: > >> the users cannot exit. the application in other words will be a embedded >> software >> > Then build your own version of the platform. Then you will have full > control. > Or implement it

Re: [android-developers] Re: Home Button

2011-10-07 Thread Dianne Hackborn
On Fri, Oct 7, 2011 at 4:13 AM, Zsolt Vasvari wrote: > Wow, that's a serious bug. So what happens if a rogue app does this? > You are forced to hard reboot the phone by holding the down the power > button? > Yes you'll have to reboot your phone. This isn't a serious security issue (no access t

[android-developers] Graphical anomaly with hints disappearing. Can anyone explain?

2011-10-07 Thread darrinps
I am having an issue with hints in an EditText. Everything works just fine in the preview in design mode, but whenI execute the thing if I set the gravity on the EditText to right: android:gravity="right", the hint becomes invisible. If I set it to the left: android:gravity="left", then the hint s

[android-developers] Re: App closes when the dialog is closed

2011-10-07 Thread Appaholics
Thanks Kostya. I realized the same thing. Thanks On Sat, Oct 8, 2011 at 1:34 AM, Appaholics wrote: > Solved it. had to call dialog.cancel(); instead of finish(); > > > Thanks > > On Sat, Oct 8, 2011 at 1:14 AM, Appaholics wrote: > >> HI, >> >> I am showing a help dialog in my app. The dialog op

[android-developers] Re: App closes when the dialog is closed

2011-10-07 Thread Appaholics
Solved it. had to call dialog.cancel(); instead of finish(); Thanks On Sat, Oct 8, 2011 at 1:14 AM, Appaholics wrote: > HI, > > I am showing a help dialog in my app. The dialog opens up fine but when I > clock the cancel button the entire app closes. Line 62 is in red. > > Logcat: > > 10-08 01:

Re: [android-developers] App closes when the dialog is closed

2011-10-07 Thread Kostya Vasilyev
That's not a crash. Read the message more carefully: it says your activity leaked (created and didn't dismiss) a dialog, and shows the stack trace where it was originally created. If by "click the cancel button" you mean closing the activity (the call to finish() in your click handler), then

[android-developers] App closes when the dialog is closed

2011-10-07 Thread Appaholics
HI, I am showing a help dialog in my app. The dialog opens up fine but when I clock the cancel button the entire app closes. Line 62 is in red. Logcat: 10-08 01:11:19.659: ERROR/WindowManager(28224): Activity com.raghavsood.tirerun.Menu has leaked window com.android.internal.policy.impl.PhoneWin

[android-developers] Re: Is it possible to use MonkeyRunner from java

2011-10-07 Thread Kevin
I, too, am interested in this new library. Has anyone been able to get their hands on it yet? On Sep 13, 4:00 am, suman wrote: > Is the problem related to dispose() method of MonkeyDevice class > resolved in ChimChat? If yes then where can I download the > chimpchat.jar? > > Thanks > Suman > > On

[android-developers] Re: How to detect nearby devices

2011-10-07 Thread juankar
Wifi broadcast would be ideal, since it is less power-consuming than GPS, but is it possible to send a wifi broadcast from my application and other users with the same application can detect that broadcast and get the information from the emisor? If so, problem solved! If not, as Studio LFP said,

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
Here is the whole Eclipse project After more than 6 hours working on this, I finally found a solution. It's simpler than what I thought. The key point is using setFocusable()and setFocusableInTouchMode() at the right moments, and manuall

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
Sorry Steven, I didn't mean to hurt you I appreciate your help a lot, you are the only one which actually coded something, and I believe this is very valuable. The layout approach was my first attempt, but I'm working on something cleaner and I think I have finally found a solution, which I'll post

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Kostya Vasilyev
07.10.2011 21:01, Raffaele Sgarro пишет: Hi Kostya, you must be the author of WiFi manager :) Nice to meet you I am. Just wanted a little widget for myself, then it kind of went out of control :) The problem here is not about visual appearance, it's about EditText behavior :) I agree tha

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Studio LFP
etNew.requestFocus(); InputMethodManager mgr = (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE); mgr.showSoftInput( etNew, InputMethodManager.SHOW_IMPLICIT ); There, add that to the case: TYPE_EDIT before the break and your done. And yes, there is a reason to make your

[android-developers] Re: overlapped nodes in graph

2011-10-07 Thread bhumi kania
http://www.mindmeister.com/23290325?title=western-philosophy I want to draw this kind of graph. On Oct 7, 9:45 am, TreKing wrote: > On Fri, Oct 7, 2011 at 12:50 AM, bhumi kania wrote: > > I was asking about the sample algorithm that is removing the overlapped > > node in the hierarchical view.

[android-developers] Re: overlapped nodes in graph

2011-10-07 Thread bhumi kania
yes I mean the objects as the activity. and I want to draw graph from that objects. On Oct 7, 10:53 am, Studio LFP wrote: > So you are storing data from a server and drawing a graph on a canvas? > > Your explination is throwing me off a bit since you say you have multiple > activities, which is a

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
I already told you that I tried a similar approach with a ViewSwitcher. There is no need to extend a LinearLayout for this task if there is a pre built ViewSwitcher. The problem with this pattern is that the user click is eaten by the SwapView, so the user has to click another time in the EditText

[android-developers] Re: How can i declare this GridView programatically (Java code)?

2011-10-07 Thread Studio LFP
http://developer.android.com/reference/android/widget/GridView.html Steven Studio LFP http://www.studio-lfp.com -- 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 uns

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Studio LFP
Along with the above code you could add an "Ok" button to the side of the edit text to accept the input and revert back to a TextView. Steven Studio LFP http://www.studio-lfp.com On Friday, October 7, 2011 12:02:52 PM UTC-5, Studio LFP wrote: > > Using a simple technique, and should be usable a

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Studio LFP
Using a simple technique, and should be usable anywhere. http://schemas.android.com/apk/res/android"; android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> public class SwapView extends LinearLayout { public static final int TYPE_TEX

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Raffaele Sgarro
Hi Kostya, you must be the author of WiFi manager :) Nice to meet you The problem here is not about visual appearance, it's about EditText behavior :) I agree that UIs should be as intuitive as possible, so I can make you an example of what I want to implement. Imagine to have a 7x7 table of TextV

Re: [android-developers] Re: EditText with custom behavior

2011-10-07 Thread Kostya Vasilyev
Some of the things can be done with drawable state list(s) and stuff. The standard EditText uses a state-list drawable for its background, it can be found under: android-sdk\platforms\platform-X\data\drawable. The name can be found by looking in the platform's styles.xml: Re: [android-developers] Re: EditText with custom behavior
I can't use your code because your technique is only suitable for a RelativeLayout. In a LinearLayout there is no way to stack views and playing with their visibility. Of course, I could take your approach and find a way to have a floating EditText which is exactly over the TextView (ie an overlay)

[android-developers] Re: Picture.writeToStream/createFromStream loses Bitmaps

One trick that seems to work is to convert the bitmap to an int array containing raw pixel values, and then draw it using the version of drawBitmap that takes an int[] instead of a Bitmap. The pixel data appears to be saved in the serialized Picture using 'SkMallocPixelRef' with raw pixel values;

Re: [android-developers] Re: EditText with custom behavior

You could still use my code but instead of using it straight, you could just wrap it in a custom view. So instead of just a TextView or EditView, use the above code wrapped in a custom View and have the TextView/EditView inside it. Use the swap code there and it would actually a bit more simpl

[android-developers] Re: How to detect nearby devices

Hi, And what about sending a broadcast request on the current wifi network? The answer could be the GPS location of the responder? Just saying because I was wondering if it could work. If my idea was stupid just say nothing :) Best, On Oct 7, 10:40 am, Studio LFP wrote: > The only way I know p

[android-developers] Re: Cannot resolve com.google.android.maps.GeoPoint

Use the Google API Level 4, not Android API Level 4 -- 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+un

Re: [android-developers] Re: Json - 2 Emulators

(Obviously this should have been "tcp/ip," though I realize somebody has mentioned that :-) On Fri, Oct 7, 2011 at 12:18 PM, Kristopher Micinski wrote: > Internet??? > > Kris > > On Fri, Oct 7, 2011 at 12:02 PM, Diogo Salaberri wrote: >> It's just for tests. I want to communicate 2 emulators cau

Re: [android-developers] Re: Json - 2 Emulators

Internet??? Kris On Fri, Oct 7, 2011 at 12:02 PM, Diogo Salaberri wrote: > It's just for tests. I want to communicate 2 emulators cause bluetooth isn't > avaiable. > Another way to do ? > > On Fri, Oct 7, 2011 at 12:49 PM, Christopher Van Kirk > wrote: >> >> Sounds like an excellent way to bank

Re: [android-developers] Re: EditText with custom behavior

Thanks for your reply, but in my real application I have two nested LinearLayout which make up a table. This table is comprised of CustomEditText, so your solution isn't appliable here. I appreciate your effort, but I need a solution based on the above pattern. I also tried to use a ViewSwitcher to

[android-developers] Re: my left side not working

I'm not really sure what you are trying to do, but the screen coordinates are usually from the top left. You can always get the size and find the mid point and just move your stuff there if you are drawing on canvas or OpenGL. If you are using views, you can easily center views and objects insi

[android-developers] Re: EditText with custom behavior

Here is something I came up. I haven't worked out all the details, but maybe this will get you started. It works by using a RelativeLayout and when you tap on a TextView, it just sets the bounds of an EditText to match the TextView. It then hides the TextView and layers the EditText on the invi

[android-developers] Re: my left side not working

On Oct 6, 6:54 pm, remon ramses wrote: > my ideos x5 left sie of the screen not working.can an body helping me > because ever thing needs tge left side ..like yes or start buttons in > games..can i change the direction of the screen If your left side isn't working, you'll be all right... -- Yo

Re: [android-developers] Re: Json - 2 Emulators

It's just for tests. I want to communicate 2 emulators cause bluetooth isn't avaiable. Another way to do ? On Fri, Oct 7, 2011 at 12:49 PM, Christopher Van Kirk < christopher.vank...@gmail.com> wrote: > Sounds like an excellent way to bankrupt your customer. > > > On 10/7/2011 12:06 PM, Zsolt Va

Re: [android-developers] Re: Json - 2 Emulators

Sounds like an excellent way to bankrupt your customer. On 10/7/2011 12:06 PM, Zsolt Vasvari wrote: Are you using SMS as a transport layer for JSON? Doesn't sound like a good idea. On Oct 7, 2:35 am, Diogo Salaberri wrote: Hello guys, I want to transfer data from a emulator to another emulat

[android-developers] Fwd: Framework Sensor Support

Thanks you for the reply, Can you post example, or point to the code where i have to change in order to support to configure sensor support. Where can find additional information to "switch sensor" functionality Here is a link i found http://processors.wiki.ti.com/index.php/Android_Sensor_Portin

[android-developers] How can i declare this GridView programatically (Java code)?

I need to declare this gridView programaticalle, all with java code: http://schemas.android.com/apk/res/android"; android:id="@+id/gridview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:columnWidth="90dp" android:numColumns="auto_fit" android:verticalSpacing="10dp

[android-developers] Re: EditText with custom behavior

Link to pastebin I hope someone can help me. It seemed a trivial task when I designed my project, but know I really can't go on. I pasted a self contained Android activity with my custom widget. You only need to create a new Android project with the following sett

[android-developers] Re: EditText with custom behavior

package com.example.custom.edit.text; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.widget.EditText; import android.widget.LinearLayout; public class CustomEditTextActivity extends Act

Re: [android-developers] SDK problem

Use zipped SDK, not .exe (with installer). Known issue. Regards, Marcin Orlowski *Tray Agenda * - keep you daily schedule handy... *Date In Tray* - current date at glance... WebnetMobile on *Facebook * and *Twitt

[android-developers] Re: EditText with custom behavior

public class CustomEditText extends EditText { //code here } -- 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-deve

[android-developers] Re: Compilation error on my if else statement

You are really going at that the hard way. When using a ListView, checking for a string on a view is really inefficient. You could use the "position" or the "id" as a trigger point and use a case statement to make it faster and easier. list.setOnItemClickListener(new OnItemClickListener() { @O

[android-developers] EditText with custom behavior

I want my custom EditText to behave like this - When app starts it seems a TextView (ie normal text on solid color background, cursor not shown) - When users taps, it changes its appearance to look "selected" (ie a different background, still cursor not displayed) - When user long

Re: [android-developers] Re: HTC and LG haven't implemented Android in the right way

Looking at the "dull" screenshot, I can see that your sprites are wrong - they don't have transparency around the "point" itself. The black square quads are clearly visible, and they shouldn't be. The brightness level is what you put in the textures, you should be able to make them as bright a

[android-developers] Re: overlapped nodes in graph

So you are storing data from a server and drawing a graph on a canvas? Your explination is throwing me off a bit since you say you have multiple activities, which is an object in Android, but could be something like a playtime activity also. If you are just getting data from a server, you could

[android-developers] Re: How to detect nearby devices

The only way I know people have done this is a simple GPS location update to a server. The server then checks for others that have reported back and returns those that are under a specified range. I think that may be your only option. Steven Studio LFP http://www.studio-lfp.com -- You receiv

Re: [android-developers] Compilation error on my if else statement

First learn java, then remove the ; at the end of the lines inside the if condition On Thu, Oct 6, 2011 at 12:28 AM, Isaac Ng wrote: > if (item.equalsIgnoreCase("I. The Global Business Environment")); > Should be if (item.equalsIgnoreCase("I. The Global Business Environment")) -- You received

[android-developers] Re: activity running in background problem

What exactly are you trying to accomplish? You want activity B to not be killed? Or a set of code to help you remember where B was and recreate it? Steven Studio LFP http://www.studio-lfp.com On Wednesday, October 5, 2011 6:58:36 AM UTC-5, Rafa Maas wrote: > > I have a IM client and this is my

Re: [android-developers] Re: Units of measurement

Kostya, I'll have to keep this in mind. I guess the hardware manufacturers decide if they want to follow the rules fully or not in a lot of cases. You would think that this would be one of the things that manufacturers would do correctly since it's so easy to get right from their perspective.

[android-developers] Re: HTC and LG haven't implemented Android in the right way

The default Galaxy doesn't use Point sprites with size attenuation. It looks like it is just using plain points with spinning textures in the background. It looks like all the points have the same size. Galactic Core doesn't use Point sprites either. It looks like it is just using spinning textur

Re: [android-developers] Reduce Application Heap size

Thank you very much TreKing for your very useful immediate reply. On Fri, Oct 7, 2011 at 7:19 PM, TreKing wrote: > On Fri, Oct 7, 2011 at 1:28 AM, Karthik A wrote: > >> Is there any other way to reduce like using command prompt, or API? > > > Um ... no. > > You allocate stuff. The heap grows pr

Re: [android-developers] Reduce Application Heap size

On Fri, Oct 7, 2011 at 1:28 AM, Karthik A wrote: > Is there any other way to reduce like using command prompt, or API? Um ... no. You allocate stuff. The heap grows proportional to how much you allocate. If you don't want it to grow that much, don't allocate that much. You can't magically redu

[android-developers] Re: Building my own Android OS for S3C6410

Thank you On Oct 7, 9:47 am, Appaholics wrote: > You should ask this on the android-building and android-porting lists. This > list deals with the SDK. The people there would know this kind of stuff > better than us. > > Thanks > > On Fri, Oct 7, 2011 at 7:14 PM, Mike L. wrote: > > I need to be

Re: [android-developers] Building my own Android OS for S3C6410

You should ask this on the android-building and android-porting lists. This list deals with the SDK. The people there would know this kind of stuff better than us. Thanks On Fri, Oct 7, 2011 at 7:14 PM, Mike L. wrote: > I need to be able to access the different ports on my S3C6410 board. > Most

[android-developers] Re: Framework Sensor Support

Hi Dani, Android assumes (and rightly so far) that ONLY one sensor of each "type" is present on the device. Mulitiple sensors of same "type" are not supported in the framework. If ur device has multiple sensors of same type onboard and you *really* want to enable both, then 1. Enable the kernel

Re: [android-developers] Re: overlapped nodes in graph

On Fri, Oct 7, 2011 at 12:50 AM, bhumi kania wrote: > I was asking about the sample algorithm that is removing the overlapped > node in the hierarchical view. > "Sample algorithm"? > Now I have to draw this hierarchy. > The graph is ready but some nodes are overlapped somewhere. > So I need to

[android-developers] Building my own Android OS for S3C6410

I need to be able to access the different ports on my S3C6410 board. Most importantly the Analog to digital converter. I am wondering how big of a project it is to compile my own Android OS and if anyone can give me some time saving pointers. -- You received this message because you are subscribe

[android-developers] Re: HTC and LG haven't implemented Android in the right way

I have implemented this according to your approach now. I replaced attenuated points with texture mapped quads. I implemented bilinear filtering and alpha test. It works, but the visual quality is not good. It doesn't look at all as good as with Point sprites and size attenuation. It looked shiny

[android-developers] Scenario where initLoader() does not call onLoadFinished()

I have a simple activity with one fragment. The fragment uses a CursorLoader to load some data from a ContentProvider. I just call initLoader() inside onActivityCreated() and I populate the UI in onLoadFinished(). If I switch orientations, everything works as expected (onLoadFinished() is called

Re: [android-developers] Re: Home Button

On Thu, Oct 6, 2011 at 10:13 PM, Ubiracy Santos wrote: > the users cannot exit. the application in other words will be a embedded > software > Then build your own version of the platform. Then you will have full control. ---

Re: [android-developers] Re: Units of measurement

The quantized density value (160/240 etc) is used by resource loading code, and so can be expected to be there. Some devices deliberately use a value that is not the closest match to the actual physical density, but it's the same for all applications on the device. The xdpi and ydpi can sometimes

[android-developers] activity launches with wrong layout orientation

Hi, I have an activity that I have two layouts defined for: one for landscape and one for portrait. So in my layout folder I have activity.xml and activity_landscape.xml. When I am switching around orientation on my device the proper layout is loading on orientation change. However, if I am in

[android-developers] activity launches with wrong layout orientation

Hi, I have an activity that I have two layouts defined for: one for landscape and one for portrait. So in my layout folder I have activity.xml and activity_landscape.xml. When I am switching around orientation on my device the proper layout is loading on orientation change. However, if I am in

[android-developers] Re: Units of measurement

Thanks for the info. As result of another discussion I already had a look at the DisplayMetrics class. They clearly state there, that I can't rely on dip because it's just based on the default density (160dpi, 240dpi, 320dpi, etc.) which is nearest to the device's real density. So this (official) d

Re: [android-developers] SU Request

You can't do this in the API. It's impossible... On Thu, Oct 6, 2011 at 8:55 AM, JD wrote: > Can someone please give me a clear, simple, short, and most > importantly, working example of how to edit a database that another > app created? After days and days of searching, it's amazing that > nobo

[android-developers] Re: Avoiding POT rule for Opengl Textures: Overlapp a transparent POT bitmap with non POT bitmap?

What is this for, perhaps that will give a better understanding? In your other thread I suggested packing the textures into a POT sized image. This can be done non-programmatically, in photoshop or GIMP for example. You may also want to turn inScaling off if you're loading bitmaps using the B

[android-developers] Re: Garbage collector running every second... Normal?

No Kris, I just did not think about it, and apparently it does (trigger ANR). I have transformed my service in IntentService and I have not had the problem since. I think it is solved, but it was a bit touch and go I am not 100% suree yet. Thanks JM -- You received this message because you are

Re: [android-developers] Re: Json - 2 Emulators

Any tutorial for port forward ? On Fri, Oct 7, 2011 at 8:46 AM, Paul Turchenko wrote: > Why not use tcpip to do that? Just setup port forwarding in adb > > On Oct 6, 9:35 pm, Diogo Salaberri wrote: > > Hello guys, I want to transfer data from a emulator to another emulator, > > running on the sa

[android-developers] Re: Json - 2 Emulators

Why not use tcpip to do that? Just setup port forwarding in adb On Oct 6, 9:35 pm, Diogo Salaberri wrote: > Hello guys, I want to transfer data from a emulator to another emulator, > running on the same machine. But when the SMS was received, the message > isn't like the message was send. Looks l

Re: [android-developers] In AutoCompleteVeiw calling setAdapter() and setThreshod() gives error

Thanks Kostya... 2011/10/7 Kostya Vasilyev > The compiler is right - your curly braces are not matching up. > > The code you highlighted should be inside onCreate, not like it is now. > > -- > Kostya Vasilyev > 07.10.2011 9:04 пользователь "KK" написал: > > > Hi All, > > I'm trying a sample co

[android-developers] debugging using a device on MAC OS Lion

I have a little problem on connecting HeroTab M10 HT-PAD 1051 Tianfeng tablet (its chinese and it doesn't have any vendor ids) to my mac os lion OS...Can anybody help? Note: I have already tried EasyTether soft but couldn't get how it works...I couldn't even connect to a device not talking about d

[android-developers] how to disable setting tools of default camera.

Hi, Please tell me how to disable setting tools of default camera. Regards. Mani. -- 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] USB Bluetooth

Hi, I am enabling USB Bluetooth on Set top box.I am able to send the files to various phones but not able to reveive any.below erros it shows while connecting: 1.Authorization Rejected.Also the UUDI is not of OPP 2.mBtClass is NULL. 3.GetServiceAttribute Failed What does these errors mean? below i

[android-developers] ADB bringup on Android Kernel 3.0

Hi, I am new to USB device drivers, I have to bringup USB ADB with Android Kernel 3.0, When I try to enable ADB using echo 1 > /sys/class/android_usb/android0/enable, Kernel Crashes Occurs. Can some one help me how do I debug this and what could be the reason for a Kernel Crash [ 118.03] Unab

[android-developers] Can not get referrer string correctly

I'm using com.android.vending.INSTALL_REFERRER to track some information about installation. My application was working perfectly but suddenly does not works. I can still catch the intent of INSTALL_REFERRER, but the contents of extras has changed. The download link url is something like that. htt

[android-developers] Re: when will the source code be back?

Same here, Awaiting for android sources to be back. Arvind. -- 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-dev

[android-developers] How to start activity without creating new one?

I tried to set attribute android:launchMode="singleTask" for calling Activity, but it still does not works as I expect I need that method onCreate(Bundle bundle) to be called only once, but it still calls each time when I start Activity. I want ensure that activity is not created each time when it

[android-developers] Add the widgets in my application

hi guys, I ma working on a launcher. I want to add the widgets of installed application in my app. can anyone tell that what would be the steps that i add the appwidgst and launch it. Thanks in advancce -- Zeeshan Abid -- You received this message because you are subscribed to the Google Grou

  1   2   >