Re: [android-developers] How implement LBS in Android

2010-12-30 Thread Faheem Khatri
Google is not providing its place api's to all users, its currently for developers only, you should have google adsense account + you have to convence google in order to use google places api. On Thu, Dec 30, 2010 at 12:51 AM, Frank Weiss wrote: > Agreed, creating and keeping a POI database up t

Re: [android-developers] How implement LBS in Android

2010-12-30 Thread Faheem Khatri
and convencing google is a big job, because i did apply for places api but no response from google yet. :( On Thu, Dec 30, 2010 at 1:01 PM, Faheem Khatri wrote: > Google is not providing its place api's to all users, its currently for > developers only, you should have google adsense account + yo

[android-developers] HTTP Live Streaming

2010-12-30 Thread Samuh
We have a back end infrastructure set up to enable us do streaming over HTTP of live video content on iPhone and iPad(the Apple HTTP Live Streaming Standard). The stream audio is encoded using AAC format and video in H.264 bundled together in an MPEG 2 stream which is cut into segments (.ts) files

[android-developers] SMS sending through HTC Desire

2010-12-30 Thread Jawwad Farooq
Hi All, I am facing a very weird situation while sending SMS. The problem is: "I am going to send SMS to multiple receipients(about 10) through built-in application, and just after pressing the 'Send' message button, I make a call to my number and got the busy tone". >From this I got that whenev

Re: [android-developers] Set Android WIFI Ip address from my own application

2010-12-30 Thread Kostya Vasilyev
You can change these settings from an application - just need right the permission ("write_system_settings" or some such). -- Kostya 30.12.2010 10:59, Faheem Khatri пишет: *public static final String WIFI_STATIC_DNS1* as you see these are the properties in which we can only get the value, w

[android-developers] Is it possible to monitor the web traffic of each application?

2010-12-30 Thread 陈彧堃
-- 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 For more options, visit

[android-developers] Market "related application" functionality - "feature"?

2010-12-30 Thread EvgenyV
Hi all, I have 2 applications: free and paid. Both belongs to the "Travel" category. Actually the paid app is extended version of the free one. "related applications" list of my paid application contains my free version as expected. But for some reason not vice versa. >From the free application "r

Re: [android-developers] Is it possible to monitor the web traffic of each application?

2010-12-30 Thread Dianne Hackborn
Sorry, no it is not. On Thu, Dec 30, 2010 at 12:25 AM, 陈彧堃 wrote: > > -- > 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 em

[android-developers] Re: Multiple resources for application

2010-12-30 Thread Siu Man Yu
Thanks a lot for your advice. I try to looking more information on this direction first. Thank you so much. On 12月13日, 下午4時28分, Brill Pappin wrote: > If its just the aesthetic elements changing (text, images, etc) then > the obvious answer is to try and use a Theme. You should be able to > apply

[android-developers] Re: example on asynctask class..

2010-12-30 Thread maccoy
Yes the code in the above link should get you started ...i have tried for myself...with little change On Dec 30, 12:55 am, Frank Weiss wrote: > I'm assuming you've studied this article very > carefully:http://developer.android.com/resources/articles/painless-threading.html > > Please ask a quest

Re: [android-developers] Re: example on asynctask class..

2010-12-30 Thread Abhilash baddam
is it working for u?.. On Thu, Dec 30, 2010 at 2:54 PM, maccoy wrote: > Yes the code in the above link should get you started ...i have tried > for myself...with little change > > On Dec 30, 12:55 am, Frank Weiss wrote: > > I'm assuming you've studied this article very carefully: > http://devel

RE: [android-developers] Re: Passing objects to new intents

2010-12-30 Thread maomaostevencao
hi treking, What you have said is the common way to pass arguments to an activity. But my question is about how to pass an object of user defined class to an activity. One guy said that it could be done by implementing some common functions for this activity and calling those functions to pass obje

[android-developers] This is test mail from my android

2010-12-30 Thread Nency Rob
Test mail from android -- 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 Fo

[android-developers] Android 2.3 Cannot load library

2010-12-30 Thread Joe Yuan
hi,everyone, My app with a ".so" can't run on android 2.3 witch runs nomarlly on 1.6,2.1 and 2.2.When it starts up to System.loadLibrary the "so" file,the system throws a exception "java.lang.ExceptionInInitializerError",the detail below: ERROR/AndroidRuntime(333): FATAL EXCEPTION: main ERROR/And

[android-developers] Re: CPU cost of a semi-infinite loop

2010-12-30 Thread Slash4
Thanks Kostya, Streaming seems to be a great solution. And it is very interesting because this way I can mix sounds... Let's do this :) Rgds, Alex On 29 déc, 21:23, Kostya Vasilyev wrote: > To elaborate a bit: > > http://developer.android.com/reference/android/media/AudioTrack.html > > AudioTra

[android-developers] Re: SMS Receipt Notification

2010-12-30 Thread Ian
No takers for this yet. I see that we used to be able to send PDU data directly - which may have given me a route to achieve this, but this has been removed. Is there a security issue here? What I am trying to achieve is to get my application to send an 'important' email for which my application

Re: [android-developers] Re: Converting Touch Inputs to Vectors

2010-12-30 Thread Daniel Drozdzewski
On Wed, Dec 29, 2010 at 10:18 PM, Paul wrote: > Bumping hoping someone can point me in the right direction! > > Paul > > On Dec 29, 1:18 am, Paul wrote: >> Hi all.  I am writing an app that will convert touchscreen user inputs >> (such as the user 'handwriting' on the screen) into vectors that ca

[android-developers] Join as associate of Karvy

2010-12-30 Thread kum
Karvy Fortune, alternate sales channel of the Karvy Stock Broking Ltd, Karvy is one of the largest broking houses in India, it ranks among top 5 Depositary Participants in India, with the huge net work of over 500 branches in 375 locations across India and overseas at Dubai, executes 150,000+ trade

[android-developers] Re: Detect Intent Broadcast Receivers

2010-12-30 Thread higonnet
It's good you specify that queryBroadcastReceivers will not include receivers registered with Context.registerReceiver() because the documentation says "Retrieve all receivers that can handle a broadcast of the given intent." on page http://developer.android.com/reference/android/content/pm/Package

[android-developers] Re: How to add labels above this table layout

2010-12-30 Thread pramod.deore
I had still facing this problem. Can anyone please solve this one? On Dec 29, 8:09 am, "pramod.deore" wrote: > Any Idea? > > On Dec 28, 5:15 pm, "pramod.deore" wrote: > > > After changing xml file as > > > > > http://schemas.android.com/apk/res/ > > android" > >  android:orientation="vertical"

[android-developers] How to handel Listview click events

2010-12-30 Thread Vaibhav Singh
Hi All Any one know how to handel listview click handeling...I create my list by extending baseadapter Vaibhav Singh -- 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.co

[android-developers] Re: How to handel Listview click events

2010-12-30 Thread pramod.deore
override onListItemClick (ListView l, View v, int position, long id) { } On Dec 30, 3:39 pm, Vaibhav Singh wrote: > Hi All > > Any one know how to handel listview click  handeling...I create my > list by extending baseadapter > > Vaibhav Singh -- You received this message because you are subscr

[android-developers] Re: Send email via ACTION SEND intent

2010-12-30 Thread nishu
private void sendMail(String mailID) { Intent emailIntent = new Intent(android.content.Intent.ACTION_SENDTO, Uri.fromParts("mailto", mailID, null)); startActivity(Intent.createChooser(emailIntent, "Send mail...")); } This will help u, http://nishantvnair.wordpress.com :)

[android-developers] Android 2.3 emulator crashed after a requestLocationUpdates call

2010-12-30 Thread Ians
On older versions (<2.3) there was no problem with this app. When I start the application on an Android 2.3 emulator it starts with a 'home screen' then I send the GPS coordinates. After sending the coordinates the emulator stops all his processes and tries to do a restart, but then it hangs. If I

Re: [android-developers] HTTP Live Streaming

2010-12-30 Thread Kostya Vasilyev
30.12.2010 11:12, Samuh пишет: 2. If we choose the second approach, what sort of security can be provided apart from standard authentication on the Web Server? RTSP "the protocol" has authorization features, closely resembling those of HTTP. Darwin Streaming Server (and the commercial versio

[android-developers] How to pass date object from one activity to other?

2010-12-30 Thread pramod.deore
we can pass String as Intent returnIntent = new Intent(); returnIntent.putExtra("SelectedRadio", selectedRadio); But if I want to pass Date object then how to pas it from one activity to another? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "A

Re: [android-developers] MMS messages

2010-12-30 Thread Kapil Lokhande
Hi Same to you XiaoXiong Weng. -- Thanks & Regards, Kapil Lokhande | Dexter Advisory Pvt. Ltd. | Android Developer [image: dexterlogo.jpg] On Tue, Dec 28, 2010 at 10:53 PM, XiaoXiong Weng wrote: > Ohh thanks, I always thought it’s mms://content > > Happy new year J > > >

Re: [android-developers] How to pass date object from one activity to other?

2010-12-30 Thread Kostya Vasilyev
Get the long timestamp from Date, then use putExtra and getLong (on the receiving side). -- Kostya 30.12.2010 14:31, pramod.deore пишет: we can pass String as Intent returnIntent = new Intent(); returnIntent.putExtra("SelectedRadio", selectedRadio); But if I want to pass Date object then ho

[android-developers] Access database (in static method?) in non-Activity class

2010-12-30 Thread svebee
I have some class (SomeClass.class). I want to have some static methods in it like getAllDatabaseItems, getTableItems, insertNewRecord and so on. If I do it this way SQLiteDatabase db = openOrCreateDatabase(DATABASE_NAME, MODE_PRIVATE, null); I need to extend Activity (but still can't us

Re: [android-developers] Access database (in static method?) in non-Activity class

2010-12-30 Thread Kostya Vasilyev
1. Add a static method in SomeClass that tells it what Context to use: 2. In this method, call context.getApplicationContext() and keep the result. Do not keep a reference to the context that's passed it (so you are not referencing an Activity after it's been destroyed by Android). public sta

[android-developers] Re: example on asynctask class..

2010-12-30 Thread maccoy
yes.. Try with the sample code in in the site, i would suggest not to change anything..so that you can check it is working (including String... ) --the dots. You may have to try this inside your activity. On Dec 30, 2:26 pm, Abhilash baddam wrote: > is it working for u?.. > > On Thu, Dec 30, 2010

[android-developers] Re: Access database (in static method?) in non-Activity class

2010-12-30 Thread svebee
So I have DatabaseOptions.java class public class DatabaseOptions extends Activity { private static Context gContext; private static SQLiteDatabase db; public DatabaseOptions(Context context) { gContext = context.getApplicationContext(); db

Re: [android-developers] Re: Passing objects to new intents

2010-12-30 Thread TreKing
On Thu, Dec 30, 2010 at 3:36 AM, maomaostevencao < maomaosteven...@hotmail.com> wrote: > What you have said is the common way to pass arguments to an activity. > Right. > But my question is about how to pass an object of user defined class to an > activity. > Passing a user defined object to a

Re: [android-developers] Market "related application" functionality - "feature"?

2010-12-30 Thread TreKing
On Thu, Dec 30, 2010 at 2:33 AM, EvgenyV wrote: > Need I change something in paid or free manifests or this is the market > "feature"? > There's nothing you can do, manifest wise, to change this, AFAIK. One thing to try is make sure you have a similar if not near-identical description for both a

[android-developers] Re: Ant not building app properly

2010-12-30 Thread Brian Olsen
Hello, Thank you very much and sorry for the late reply. I am going to give this a try today. Based on what you said, aidl and aapt weren't running. Brian On Dec 22, 4:30 am, Bob Kerns wrote: > I should also point out that you can get the 'android' command to set > up ant build files for you, a

Re: [android-developers] Simple Database not so simple

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 4:18 AM, Abhishek Talwar < r.o.b.i.n.abhis...@gmail.com> wrote: > Error > Tue Dec 28 10:40:55 IST 2010 > Unable to read /home/robin/android-sdk-linux_x86/AndroidManifest.xml: > java.io.FileNotFoundException: > /home/robin/android-sdk-linux_x86/AndroidManifest.xml (No such f

[android-developers] Re: Ant not building app properly

2010-12-30 Thread Brian Olsen
Hello, I just did a quick glance at the build procedure and it seems that everything is working correctly. I made the ant build file using 'android update project ...' originally. For sanity sake, I deleted the generated R.java file, and recompiled it and installed my app to an emulator. The R.jav

Re: [android-developers] make an engine

2010-12-30 Thread Mark Murphy
Use the jar command. In Ant, there is a jar task for this purpose. If your classes need access to resources, though, you probably want to create an Android library project. On Thu, Dec 30, 2010 at 1:39 AM, Kevin R. Octavian wrote: > how to make some classes in android to be .jar? > i want to mak

Re: [android-developers] Android 2.3 Cannot load library

2010-12-30 Thread Mark Murphy
You may have better luck on the [android-ndk] Google Group. On Thu, Dec 30, 2010 at 4:43 AM, Joe Yuan wrote: > hi,everyone, > My app with a ".so" can't run on android 2.3 witch runs nomarlly on 1.6,2.1 > and 2.2.When it starts up to System.loadLibrary the "so" file,the system > throws a exception

Re: [android-developers] Changes doesn't reflect in Launcher

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 5:20 AM, nubh bhargava wrote: > I am trying to make some changes in the Launcher app. As much changes I > make changes doesn't affect the workspace, please let me know more > information on this as I need to know more about this app as I want to make > some changes in the m

Re: [android-developers] Market "related application" functionality - "feature"?

2010-12-30 Thread Evgeny V
Actualy I have the same! Thanks! Will change it. On Dec 30, 2010 2:25 PM, "TreKing" wrote: On Thu, Dec 30, 2010 at 2:33 AM, EvgenyV wrote: > > Need I change something in ... There's nothing you can do, manifest wise, to change this, AFAIK. One thing to try is make sure you have a similar if not

Re: [android-developers] facebook android app

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 6:43 AM, yanamala siddaiah < siddaiahforj...@gmail.com> wrote: > how to maintain cookie for the user name and password until logged out from > facebook. > You probably can't. -

Re: [android-developers] Can't get Scrollbar Fastscroll to work. Need help.

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 8:06 AM, Dominik Erbsland wrote: > So here is my code, maybe you can see the error? What is fastScrollEnabled a property of? Where are you actually using it? -

Re: [android-developers] Re: Access database (in static method?) in non-Activity class

2010-12-30 Thread Kostya Vasilyev
As far as I can see, your DatabaseOptions is not a real Activity, but rather your helper class. If so, don't derive it from Activity. The line that's failing to compile should be: db = gContext.openOrCreateDatabase(DATABASE_NAME, Context.MODE_PRIVATE, null); You have gContext, which you can ke

[android-developers] Change Texture

2010-12-30 Thread pedr0
Hi at all, I am developing an application which use some OPENGLES feature, I have some problem when I want change textures of a object which I had created before, this is my code: public OpenGLRenderer(Context context,Bitmap first,Bitmap second,Sphere sphere) { [.creation a sphere with ve

[android-developers] Re: Does Android's GPS location provider do a built-in optimization?

2010-12-30 Thread t
thank you for the quick response. could you please explain to me the following: 1. i see that keeping the GPS provider activated drains the battery. do you have suggestions to why is that? is there a main loop that checks for location updates every once in awhile and notifies LocationManager on ch

Re: [android-developers] How to view the logs when USB dubug is disabled?

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 10:04 AM, bharath wrote: > How to view the logs when USB dubug is disabled? Please let me know. > Download a log-reading app. - TreKing

Re: [android-developers] Re: Does Android's GPS location provider do a built-in optimization?

2010-12-30 Thread Mark Murphy
On Thu, Dec 30, 2010 at 8:55 AM, t wrote: > 1. i see that keeping the GPS provider activated drains the battery. > do you have suggestions to why is that? Because it keeps the GPS radio on. The GPS radio draws power. Drawing power drains the battery. > 2. continuing to my first question, how doe

Re: [android-developers] How to creating Launcher "home screen" behavior on my app?

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 10:47 AM, Moto wrote: > Any ideas how I could approach at creating such feature? First recommendation would be to look at the source for the home screen, if that's what you want to emulate. Second idea: I've not used Animations, but I assume you can control them dynamic

[android-developers] Re: Denisity dependent resource resolution bug?

2010-12-30 Thread Zsolt Vasvari
Well, this whole thing is part of work I have to do to fix up my widgets. I have a widget that lists a number of items. On HDPI, I can fit 5 items, while on MDPI, only 4. I thought that I'd put the number of rows as an "integer" resource. Since I don't know what the correct values should be for

Re: [android-developers] Re: Licensing an Application : Android Library Projects cannot be Launched.

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 12:27 PM, cuil yahoo wrote: > I again had a look at both the AndroidManifest.xml files. They both seem to > be in order. Post the relevant sections, if you can. You might be missing something. -

Re: [android-developers] Running two Activities in Android Project

2010-12-30 Thread Marcin Orlowski
> i am storing both classes in a single package. i am not able to run > application. Because of what? Also mind you have all activities listed in Manifest or your app won't work. > I think this is because i have two Activities in single package and it > is bit confusing. You can have as many Act

Re: [android-developers] Android proximity messaging

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 2:10 PM, Stuart wrote: > How do I send messages from one android to another android phone within > close proximity? > Try this: http://code.google.com/android/c2dm/index.html

[android-developers] Re: How to store date and time in database

2010-12-30 Thread Bob Kerns
Knowing the policy is not an adequate solution, because the information about leap seconds just isn't there. You can add "external" knowledge of historical leap seconds, but you still can't tell the difference between a leap second, and one second prior to that leap second (or after, depending on y

[android-developers] Re: Access database (in static method?) in non-Activity class

2010-12-30 Thread svebee
"gContext." - ofcourse, I was calling it on Partner activity (context) not the one I passed into it (actually applicationContext). Now I get it ;) I understand that reference to the context that I pass in will go away if activity is destroyed (and because of that I use application context which wi

[android-developers] Re: Converting Touch Inputs to Vectors

2010-12-30 Thread MrChaz
You might want to look at the GestureDetector ( http://developer.android.com/reference/android/view/GestureDetector.html) as it's designed to do pretty much this exact task iirc. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to t

Re: [android-developers] Re: Access database (in static method?) in non-Activity class

2010-12-30 Thread Kostya Vasilyev
30.12.2010 17:52, svebee пишет: I understand that reference to the context that I pass in will go away if activity is destroyed (and because of that I use application context which will stay until whole application is destroyed), but when I should use it (activity context) any why? Some example w

[android-developers] Re: Does Android's GPS location provider do a built-in optimization?

2010-12-30 Thread MrChaz
1) You're using the GPS and the CPU so it's going to drain the battery like any other task. The system deals with talking GPS etc all you're doing is registering a *listener *which receives the information when updates happen. -- You received this message because you are subscribed to the Goog

[android-developers] Re: How can I achieve this menu in android?

2010-12-30 Thread Sergio Luceno
Thanks both of you! Today I'm starting to implement it. Thanks a lot! On 30 dic, 08:25, Muhammad Hakim wrote: > you can user > framelayouthttp://developer.android.com/resources/articles/layout-tricks-merge.html > > On Thu, Dec 30, 2010 at 12:27 PM, Sarwar Erfan wrote: > > > > > > > > > > > Its

[android-developers] Re: Change Texture

2010-12-30 Thread MrChaz
onDrawFrame() will be called repeatedly and in there should be a piece of code like glBindTexture(GL10.GL_TEXTURE_2D, textures_ids.get(0)); that's the bit that is selecting the texture to be drawn, all you'll need is an if statement or something to make it use the other one. -- You received t

[android-developers] Handango licensing models

2010-12-30 Thread bagelboy
Hello Devs, I'm considering whether to put my apps on Handango, if only for the marketing benefits. On the android market I have a demo and a paid version of my app but on Handango there is a possibility of having a shareware setup where a user downloads the full version after the trial runs out.

[android-developers] Augmented Reality

2010-12-30 Thread bgkarthikeyan
Hello, I am developing an application using the WikitudeAPI (Wikitude AR Browser). But, I am having problem with defining the layout and orientation of the Cam-view. I have attached screenshot of the application. If I select the Cam-View Tab - it starts the WikitudeAR Intent (Which is another ac

[android-developers] Re: Change Texture

2010-12-30 Thread pedr0
Thanks so much, I thought this solution and it worked but isn't too much elegant, any suggestion? Thanks anyway MrChaz! On 30 Dic, 16:51, MrChaz wrote: > onDrawFrame() will be called repeatedly and in there should be a piece of > code like > glBindTexture(GL10.GL_TEXTURE_2D, textures_ids.get(

[android-developers] Re: Converting Touch Inputs to Vectors

2010-12-30 Thread Paul
Yes, have looked at those, in fact, I've gone ahead and created a custom gesture detector that I make use of to recognize the concept of a 'stroke', reporting back to the view when a stroke starts, is in progress and ends. Again though, this is feeding me back point data via the MotionEvent, but I

[android-developers] Re: Converting Touch Inputs to Vectors

2010-12-30 Thread Paul
On Dec 30, 5:09 am, Daniel Drozdzewski wrote: > > On Dec 29, 1:18 am, Paul wrote: > >> Hi all.  I am writing an app that will convert touchscreen user inputs > >> (such as the user 'handwriting' on the screen) into vectors that can > >> then be saved and recalled later.  I need to get the vectors

Re: [android-developers] Android Contacts

2010-12-30 Thread TreKing
On Fri, Dec 24, 2010 at 2:55 AM, maddy wrote: > Can anyone help me with any pointers regarding this query? You should probably post a bit more information on what you're doing and what you want to achieve.

[android-developers] Bluetooth SCO... start/stop versus setOn(bool)

2010-12-30 Thread DulcetTone
I do not understand the model of AudioManager.startBluetoothSco() AudioManager.stopBluetoothSco() and AudioManager.setBluetoothScoOn(boolean) The description in the documentation is not clear. is start/stopness an underlying state for on/offness? Is SCO started/stopped for the whole device, o

Re: [android-developers] Youtube Upload

2010-12-30 Thread TreKing
On Thu, Dec 23, 2010 at 11:33 PM, ashu wrote: > Plz provide information about youtube APIs for uploading video in android > platform. > http://tinyurl.com/2a6fvwk > Is Google Data APIs are helpful?? > That makes no sense. > Plz share some references. > Plz take the time to spell "please" -

Re: [android-developers] Using google

2010-12-30 Thread TreKing
On Fri, Dec 24, 2010 at 1:54 AM, 진홍 김 wrote: > Is it permitted to use google voice recognition API within android SDK for > commercial purpose? > It is permitted to use any API within Android SDK for commercial purpose. That's kind of the point. -

Re: [android-developers] eula with asynctask ?

2010-12-30 Thread TreKing
On Fri, Dec 24, 2010 at 8:36 AM, dan wrote: > Am I missing something programmatic? The fact that all the code in your onCreate executes sequentially. You show your EULA dialog then you start your Task. No where are you specifying that that execution of said task is dependent on the acceptance o

Re: [android-developers] problem in graphics

2010-12-30 Thread TreKing
On Sat, Dec 25, 2010 at 5:56 AM, kiran choudhary wrote: > not getting any sucess so plz help me Your post is very unclear. You need to better explain the issue you're having, perhaps including your layout file and a picture that demonstrates the issue. --

Re: [android-developers] making Toast like notification?

2010-12-30 Thread TreKing
On Sat, Dec 25, 2010 at 9:17 PM, Karim B wrote: > I'm trying to create a custom version of the Toast notification > while keeping a similar functionality but customizing it > http://developer.android.com/guide/topics/ui/notifiers/toasts.html#CustomToastView

[android-developers] Re: Export Problem with Eclipse Helios

2010-12-30 Thread Bob Kerns
I am rather baffled as to why you would be exporting a project, and then importing again??? Could you be more specific about the sequence of operations you are performing? Are you using a revision control system, such as Subversion? If not, you really, really should be. If you are, are what files

[android-developers] Re: Converting Touch Inputs to Vectors

2010-12-30 Thread Robert Green
Define a minimum distance, say 10 dips. Make or use a Vector2D class. (just x and y) Allocate an array for your Vector2Ds. pseudocode: onPointerMoved() { if (points.size() == 0) { points.add(new Vector2d(pointerx, pointery)); } else { Vector2D lastpoint = points.get(points.size() - 1);

Re: [android-developers] How to use a homescreen widget button to shutdown a service?

2010-12-30 Thread TreKing
On Sun, Dec 26, 2010 at 7:37 PM, Tim wrote: > How do I similarly attach an event handler to the button so that when it is > pressed a second time, it shuts the service down? Is there an appropriate > pattern to follow for something like this? > Start the service again with the same PendingIntent

Re: [android-developers] Re: Denisity dependent resource resolution bug?

2010-12-30 Thread Dianne Hackborn
You really shouldn't make widgets that are so sensitive to size. Note that app widgets are not well defined about the size they will get -- they are a very general mechanism, and all kinds of things can host them. Today the built-in launcher does, and most third party launchers support them as we

Re: [android-developers] List of Android tablets

2010-12-30 Thread TreKing
On Mon, Dec 27, 2010 at 12:11 AM, Nandlal Viranni wrote: > Is there any site from which i can know no of android tablets > device avilable today and its profile & configuration also. > There are many. -

Re: [android-developers] Help, is there any programming way to set a bimtap image to contact when creating a new one

2010-12-30 Thread TreKing
On Sun, Dec 26, 2010 at 9:33 PM, Droid.Lee wrote: > Is there any way to achieve that? Use the contacts API to create the contact first, using the bitmap. Then launch the edit activity (NOTE: I have no idea of this is actually possible). -

Re: [android-developers] Image show problem

2010-12-30 Thread TreKing
On Sun, Dec 26, 2010 at 7:32 PM, 小浣熊 wrote: > These tutorials have the same proplem on displaying images on 2.0 device. > 2.0 is obsolete, AFAIK. Forget about it. - TreKing

Re: [android-developers] eula with asynctask ?

2010-12-30 Thread Frank Weiss
I suppose the main problem is you are expecting the Eula.show() method to block. Looking at the referenced code, it is evident that the object you pass to the show() method should implement the Eula.OnEulaAgreedTo interface (line 69). That interface declares the callback for the acceptance of the

[android-developers] PreferenceActivity interface question

2010-12-30 Thread dashman
i've got a PreferenceActivity subclass. in the PreferenceActivities, one makes the changes and then press he back-key to return to the app. what's the proper-way to intercept this back-key within the activity or the parent activity so that the changes can be reflected. also, what's the interfac

Re: [android-developers] Re: Converting Touch Inputs to Vectors

2010-12-30 Thread Frank Weiss
I suppose this is primarily an issue of a smoothing algorithm. That is, transforming a dense list of 2D vectors into a shorter list of lines and/or arcs that approximate the input to a desired level of accuracy/quality. This would probably be a bulk algorithm (at least in concept) but perhaps there

Re: [android-developers] PreferenceActivity interface question

2010-12-30 Thread Mark Murphy
On Thu, Dec 30, 2010 at 1:50 PM, dashman wrote: > i've got a PreferenceActivity subclass. > > in the PreferenceActivities, one makes the changes and then > press he back-key to return to the app. > > what's the proper-way  to intercept this back-key within > the activity or the parent activity so

Re: [android-developers] Issue with wikitude API cam-view orientation and layout

2010-12-30 Thread TreKing
On Mon, Dec 27, 2010 at 7:25 AM, bgkarthikeyan wrote: > If I select the Cam-View Tab - it starts the WikitudeAR Intent (Which is > another activity). To clarify, this "Cam-View" is some external app that you launch? Because if so you can't put that in your tab. -

Re: [android-developers] Android Twitter client Storing in shared preference

2010-12-30 Thread TreKing
On Mon, Dec 27, 2010 at 8:11 AM, jayavenkat wrote: > But once after getting Access token I have to change orientation of > emulator or some other changes to be done to store the access tokens . here > i use shared preference to store values .I don't know where i do mistakes > pls can anyone help

Re: [android-developers] CursorAdapter performance

2010-12-30 Thread TreKing
On Mon, Dec 27, 2010 at 9:32 PM, Steven Nieh wrote: > Everything works well except when I try to scroll 1000 lines, the > application freezes and stop responding. Everything backs to normal after 3 > seconds. What's going on there? > Based on this little information: you're doing too much work i

Re: [android-developers] Augmented Reality - AR

2010-12-30 Thread TreKing
On Mon, Dec 27, 2010 at 5:43 PM, Danilo Veras wrote: > I want someone to discuss and share ideas. Try a group or forum dedicated to this topic. This group is for Android development. - TreKing

[android-developers] app security

2010-12-30 Thread jacek
Apps that integrate with various web services and APIs, such as Twitter, need to use service provisioned API keys and shared secrets which are Java Strings. Such Strings should be retrievable by anyone who decompiles an .apk (I must try this myself against my own apk) In the next step the malicio

[android-developers] Re: PreferenceActivity interface question

2010-12-30 Thread dashman
i tried to implement registerOnSharedPrefereneChangeListener() - is it correct that it works only from the PreferenceActivity sub-class. because registering from my main activities onCreate() method - works intermittently only. if i do have to do it from the PrefActivity() sub-class, how can i

Re: [android-developers] Re: PreferenceActivity interface question

2010-12-30 Thread Mark Murphy
On Thu, Dec 30, 2010 at 4:25 PM, dashman wrote: > i tried to implement > registerOnSharedPrefereneChangeListener() > > - is it correct that it works only from the PreferenceActivity > sub-class. No. You call that method on a SharedPreferences object. For a PreferenceActivity, you specifically cal

Re: [android-developers] app security

2010-12-30 Thread Mark Murphy
Who is "we"? This problem exists for all software ever written, where the software is distributed. Desktop applications and mobile applications are equally susceptible. Even Web apps, where this data is distributed via Javascript (versus being run on the Web server) can have this problem. On Thu,

[android-developers] Re: Listview using ArrayAdapter trouble

2010-12-30 Thread jotobjects
On Dec 29, 11:00 pm, Mystique wrote: > Good day, > I do not understand the outer LinearLayout you was pointing out. > Don't we need to declare a Layout so we can put component such as > listview, textview etc? No - this is an unnecessary layer that is quite expensive in memory and CPU resources.

Re: [android-developers] Leveraging google account credentials to send emails in the background

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 6:41 AM, zemariamm wrote: > Hello everyone, I would like to leverage the goggle account credentials > belonging to the synced user on android to send emails in the background, it > is possible to achieve that ? > Don't think so. > If not, is it possible to ask the user

[android-developers] Running adb logcat and dmesg commands from within my app.

2010-12-30 Thread Jay
Hello, Here's what I'm trying to accomplish: I want to be able to show dmesg logs and logcat output in an app I'm writing. I know that I'm supposed to use Runtime.getRuntime().exec(), however other than that, I'm pretty lost. I tried to find some examples, but couldn't. Can someone here give me s

Re: [android-developers] Relace Style.xml or Strings.xml

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 8:30 AM, maccoy wrote: > How can i replace the style.xml or strings.xml in the res/ directory from > the web, after the application is compiled and deployed. > You can't. > Can i use a webservice, load this file from a URL and replace these files, > and still use."R...

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2010-12-30 Thread Jay
I also want to be able to run commands like 'ls' and 'cat' On Dec 30, 5:09 pm, Jay wrote: > Hello, > > Here's what I'm trying to accomplish: I want to be able to show dmesg > logs and logcat output in an app I'm writing. I know that I'm supposed > to use Runtime.getRuntime().exec(), however other

Re: [android-developers] regarding facebook and twitter api integration

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 7:53 AM, newbee wrote: > Can anyone help me on integrating facebook api & twitter api in my app. > Questions regarding facebook and / or twitter are never answered here. Try a group or forum dedicated to these APIs. ---

Re: [android-developers] need the meta data of the music library

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 5:56 PM, Kyle wrote: > How can I get the genre with the most songs. Assuming each song has a genre associated with it, it should be a simple matter of iterating the list of songs and counting, no? Besides, is there a possible way to get the top played music playlist?

Re: [android-developers] PhoneStateListener in widget

2010-12-30 Thread TreKing
On Tue, Dec 28, 2010 at 3:02 PM, b_t wrote: > But I don't know how to use it in a widget. > What limitations does using the widget impose? A cursory look at the doc for PhoneStateListener does not show any requirement of or dependency on an Activity.

Re: [android-developers] PhoneStateListener in widget

2010-12-30 Thread Mark Murphy
No, but an app widget (which is what I'm assuming the OP is referring to) should not be keeping a service around 24x7 solely to watch for phone state changes. On Thu, Dec 30, 2010 at 6:28 PM, TreKing wrote: > On Tue, Dec 28, 2010 at 3:02 PM, b_t wrote: >> >> But I don't know how to use it in a w

  1   2   >