[android-developers] Re: Use of Service component?

2010-09-03 Thread cool.manish
Thanks Kostya, for sharing this information, I need one more information: If my service class after complition wish to update the activity class, how can we do it? I am just a beginner and haven't much knowledge of android. On Sep 1, 1:24 am, Kostya Vasilyev kmans...@gmail.com wrote:   One more

[android-developers] Re: Sim Contacts

2010-09-03 Thread William Ferguson
Oh well .. thanks for helping to box the apparently unknowable On Sep 3, 9:09 am, Mark Murphy mmur...@commonsware.com wrote: On Thu, Sep 2, 2010 at 7:01 PM, William Ferguson william.ferguson...@gmail.com wrote: Wow. For a platform mainly targetted at the mobile phone device the deafening

[android-developers] Themes and styles

2010-09-03 Thread mort
Hi, I want to enable different themes in my app. Some elements need special variations, like, for example, a headline TextView. Lets say for the example, in theme A, I want the headline yellow on black, in theme B red on white, while the default TextView uses black on white and vice versa. Now,

[android-developers] Should Activity component be starting component for Android apps

2010-09-03 Thread cool.manish
Hi, Is this necessary to have some activity as the starting component? -- 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] Gallery Audio bounce effect on seekTo

2010-09-03 Thread RockNCode
Hi. I'm currently working on one issue in Froyo. Basically, the problem is that whenever I tap the progress bar in the Gallery app to do a seek, you can hear an audio frame play two or even three times after repositioning. After some debugging, I found out that this is due to a condition located

[android-developers] Problem witth licensing server?

2010-09-03 Thread Willem
My app uses the Google Licensing system. In the last few hours, I got several reports from custumers who bought my app who have problems with the licenseing system. They said they got a license invalid. However, my test license just works fine. Anyone else has problems too? Could it be a problem

[android-developers] Temporarily change soft keyboard language

2010-09-03 Thread Sarwar Erfan
Hi, I am developing an English learning app which requires users to input some text in English. But, for Korean Samsung Galaxy S, the softkeyboard appears in Korean letters. I need to change it to English letters (for my Activity only) Regards Sarwar Erfan -- You received this message because

[android-developers] Re: Galaxy Tablet and Android Market

2010-09-03 Thread Sam
Zsolt, String I had a quick play - there may be a more official way. But this works: 1) Go into the directory: android-sdk/platforms/android-8/skins/ and make a copy of your WVGA854 directory - rename this directory to tablet 2) Alter the contents of the layout file (see below) to adjust for

[android-developers] Re: 1024x600 emulator: no access to 'menu' or other buttons

2010-09-03 Thread Sam
See http://groups.google.com/group/android-developers/browse_thread/thread/bbad1666dacb3647 I posted an answer there On Sep 3, 2:49 am, jsdf jasons...@gmail.com wrote: Hi all, We are building an app for a device that will have a 1024x600 screen at API level 7, 160dpi (which, by the way, is

[android-developers] Re: Galaxy Tablet and Android Market

2010-09-03 Thread Sam
Also for any one who doesn't know: * CTRL + F11 will switch between portrait and landscape. * Make sure you choose to scale the AVD when launched (try 7) On Sep 3, 2:50 pm, Sam samuel.law...@gmail.com wrote: Zsolt, String I had a quick play - there may be a more official way. But this works:

[android-developers] Re: Sensors with thread or not?

2010-09-03 Thread Paolo
ok, i understand. Perfect. Thanks a lot. On 2 Set, 18:27, Bret Foreman bret.fore...@gmail.com wrote: The service is started automatically when you bind to it and stopped when the last customer unbinds from it. In this way, multiple activities or applications can all use the sensor service and

RE: [android-developers] ViewFlipper Help Please

2010-09-03 Thread Tommy
flipper.setDisplayedChild(int x) works like a charm! Thanks for your help Tommy -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Brad Gies Sent: Thursday, September 02, 2010 10:02 PM To:

Re: [android-developers] Re: SQLite implementation - need help!

2010-09-03 Thread Kostya Vasilyev
You have an error in the SQL for creating the table: 03.09.2010 5:54, kingh32 пишет: + shotsPerRound, INTEGER The comma should be at the end shotsPerRound INTEGER,. This misplaced comma causes the shooter column to not be created. Also, you really want to use parametrized queries

Re: [android-developers] Re: J2ME to Android

2010-09-03 Thread Kostya Vasilyev
Not familiar with J2ME-polish, sorry. You should really try to add regular Android code, at least as a test. Oh, and you do have INTERNET permission in your application, right? -- Kostya 03.09.2010 7:58, kypriakos пишет: Hey Kostya, are you referring to the apache http API included in

Re: [android-developers] Re: Use of Service component?

2010-09-03 Thread Kostya Vasilyev
Yes, it's possible for a service (or any other piece of code) to update widgets at any time: AppWidgetManager.updateAppWidget(ComponentName provider, RemoteViews views) updates *all* widgets specified by the provider. If you are using the Wikpedia sample widget, I believe that's how it's

[android-developers] I have a queston about virtual keypad.

2010-09-03 Thread debian
Hello, everyone. I suffers one issue related with virtual keypad. I want to insert typing sound to virtual keypad. But I'm audio engineer of adroid. So I suffers difficulty finding virtual keypad source. It's maybe very foolish question. But I need your help. Thanks. -- You received this

[android-developers] Bluetooth PBAP

2010-09-03 Thread Pedro Ribeiro
Hi guys! I'm gonna try to introduce briefly what I'm working on, and then present my question... any help will be very much appreciated! I've been trying to connect an Android device to other phones in order to import their phonebook info over bluetooth, using the phonebook access profile. To

[android-developers] Problem with ACTION_SEARCH Intent on Nexus since update to 2.2 ?

2010-09-03 Thread joshuau
Before updating to 2.2 on a Nexus the following code was doing what I expected - giving the user a choice of activities to search in for the query term. Since updating from 2.1 to 2.2 the same code on the Nexus launches and starts a search on Android Market directly. Weirdly, on the emulator

[android-developers] Browser Crash in Froyo

2010-09-03 Thread prafull
When i try to Browse heavy content site in all 8 tabs of Browser Application. Browser is getting crashed. If i select Browser application, it does not load all the tabs of the App. Please provide me your opinion on this issue. I am attaching logcat for the issue: - D/BrowserProvider( 2644):

[android-developers] Getting Owner and Contact Data

2010-09-03 Thread Dritan
Hello, I'm writing an app on to make use of the owner's data (first, last, email(s), phone(s)) and one or more contacts the owner can choose. The application will find common patterns and whatnot. I have given my app READ_CONTACTS, WRITE_CONTACTS, READ_OWNER_DATA, WRITE_OWNER_DATA permissions in

[android-developers] limited distribution

2010-09-03 Thread Greg
I want to build an android app and distribute it to a limited number of users, without putting the app in the Market. On how many devices can I install my app before I have to use the market for distribution? Greg -- You received this message because you are subscribed to the Google Groups

[android-developers] URLClassLoader to load an Android application components dynamically

2010-09-03 Thread Sidda Eraiah
Fellow Android Developers, To minimize the size of the application and to inject services to an Andriod Application on demand - I have parts of my application implemented as a libraries. I would like to download one or more libraries on demand from a trusted server and run them as part of the

[android-developers] best approach about database

2010-09-03 Thread Alex
Hi all, I'm creating an application and I'm wondering what should I do with the DB. The DB will contain all the information. The user will interact with the DB to make query and display information. By the action of the user, small information will be added to the DB. For example, in my DB I

[android-developers] Browser Crash in Froyo

2010-09-03 Thread prafull
Browser is getting crashed when i try to access heavy html pages in all all 8 tabs of Browser application. Logs: - D/BrowserProvider( 2644): [query] tablename=bookmarks, whereClause=((url == ? OR url == ? OR url LIKE ? || '%' OR url LIKE ? || '%') AND bookmark == 1) I/#LGIME ( 1497): ###

[android-developers] Efficient way of using TranslateAnimation to move something across the screen over and over

2010-09-03 Thread Marvin P.
Hello everyone, I've had trouble finding good documentation about animations in Android, but I managed to get my animation working. What I'm worried about the way I did it is efficiency/performance. My goal was to have a cloud image move across the screen over and over and repeat forever. To do

[android-developers] List Item (a view) order changes unexpextedly while (fast) scrolling in a ListView

2010-09-03 Thread rious.delie
I am new to android, and ended up (have to) ask a question here, Let's make it simple, I simply want to make my own TextView-like (MyView extends View), this is my code: public class MyView extends View { private Paint mPaint; private String mText; private Bitmap mBitmap1;

[android-developers] Japanese Contacts Sort Support (Yomigana and AKASATANA)

2010-09-03 Thread dthomas
Can anyone tell me about the japanese phonebook sorting status in android contacts? Does froyo support AKASATANA and Yomigana? Thanks in Advance!!! -- 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] Remove mobile metatag

2010-09-03 Thread egfx
I'm testing the adding and removal of the viewport metatags through javascript. I noticed that I can associate new metatags on a button click but when I remove the tag on a button click, Android does not respect its removal. Check this post for more information:

[android-developers] Need project idea

2010-09-03 Thread analyst
Can any tell me a project related to automative industries using 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] seekbar

2010-09-03 Thread sudeep sr
how to set circular thum to seekbar -- 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] /to Gold

2010-09-03 Thread sudeep sr
You can stat a new activity by using intent i=intent(current class,new class) i.startactivity(current class); //check spelling -- 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] Job opening at RNT Labs Chandigarh

2010-09-03 Thread Piyush Gupta
Hi , Urgent job opening for IPhone ,Android, RIM developers www.rntlabs.com . Please apply at h...@rntlabs.com with your expected CTC and resume . For more details feel free to contact me . Thanks Piyush Gupta -- You received this message because you are subscribed to the Google Groups

[android-developers] Guidance

2010-09-03 Thread dhrumil
Hello, I am Dhrumil Shah. I am new in Android World. I wanted to learn different things related to Android specially Android Games. And I tried to develope one simple and sweet game. But this is not working. Can anyone please help me to solve it out? Thanks/Regards, Dhrumil Shah. -- You

[android-developers] connecting android with mysql

2010-09-03 Thread Chetan Singh Bisht
hey guys i am developing a final year location-based project(gps) in android.I have to create a server using php and mysql which contains name and location(in latitude and longitude) of important hospitals in Mumbai.The android client should be able to retrieve the the latitude and longitude of

[android-developers] Need Help

2010-09-03 Thread dhrumil
Hello, I am Dhrumil Shah. I am new in Android World. I tried to develop one simple game application but it has one minor error and I am not getting what is the error. Can anyone here help me to solve it out? ~Dhrumil Shah. -- You received this message because you are subscribed to the Google

[android-developers] IM server behind NAT router

2010-09-03 Thread Android Programmer
Hi. I am making an IM application for Android. The application consists of a server and client, both residing on the android. At startup, the applications register with a webserver. If a client wants to send an IM to a server behind a NAT router, how this be done? I heard of stun4j and jstun but

[android-developers] button and circle

2010-09-03 Thread dhrumil
Hello, I have a question that I wanted to put button and circle on the same canvas. How can I do this? Please give reply as soon as possible. ~Dhrumil -- 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] How to get contacts detail on android 2.2 ?

2010-09-03 Thread 娃儿她爸
Hi all : I want to read caontacts's Notes,Nickname,Organization,IM,Postal address,Email,etc, to send to PC. I only know use follow code to get ID, dislpay_name, photoID. But don't konw how to get the other's info. who can help me? thanks.. Cursor cur =

[android-developers] limit size of input field for a Searchable

2010-09-03 Thread dhr
Is there a way to limit the input size of the input field for a searchable / ? The user then would not be able to type more than, say, 5 chars as search input. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Using socket in a service communicating with more activities...

2010-09-03 Thread kukukk
Thank you! I have successfully implemented a background service communicating with more activities using BroadcasReceiver. In this service I start a new thread for soket communication. Now my question is: what is the best way to communicate between the newly created thread and the service (I want

[android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-03 Thread Steve Hugg
Our app has a problem with AudioRecord where the recorded audio is very slw (sound like it's 2x slower). We use AudioRecord.getMinBufferSize to try 16000 Hz first and then back down to 8000 Hz if that function returns an error. So my guess is that the audio is reported as 8000 Hz even though

[android-developers] How to port a M3G app to Android?

2010-09-03 Thread MobileVisuals
Our company has released a Java app which uses M3G. We want to port it to Android, but M3G is not supported there. What is the best approach? Should we port it to OpenGLES? Or should we port it to Android Java? If so, is there any 3d Java library available for Android? You can find info about our

[android-developers] Getprop doesn't return anything

2010-09-03 Thread BlaY0
Hi, I'm writing a little dhcpcd hook (script) and was wondering how could I get some properties into it. Getprop doesn't work in dhcpcd's environment. I can see some hooks are setting properties with setprop (that works) but getprop just doesn't return anything. What am I missing? Regards,

[android-developers] Save Images from Web and display in Grid View.

2010-09-03 Thread necromancer
Hi everybody. I made the Grid View Tutorial (http://developer.android.com/resources/ tutorials/views/hello-gridview.html). And it works! I'd like to show a Image from the Internet in this Grid View. Is it possible to do this directly, or have i to download the Image first, and put it in the

[android-developers] Android Database Example Error

2010-09-03 Thread ngreenwood6
I am not sure where to send this but I was hoping someone in this group could help me. I was looking at this example http://developer.android.com/guide/topics/data/data-storage.html#db. If you look at the constructor it is named different than the class. I assume this is a bug unless I am missing

[android-developers] Lowpass noise filtering in android

2010-09-03 Thread srikanth.j
I am trying to implement a lowpass noise filter in android.do we have any algorithms which could help me develop a better lowpass noise filter in android. Please help me out with this. Thank you Srikanth -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] 1024x600 emulator: no access to 'menu' or other buttons

2010-09-03 Thread Matthew Bafford
On Thu, Sep 2, 2010 at 14:49, jsdf jasons...@gmail.com wrote: When we start the emulator, the touch surface takes up the entire window, and we no longer see the emulator keyboard, hard buttons, or (most importantly) the menu button on the right. The emulator's window does not scale, so it is

[android-developers] Re: Confusion in onItemClick and onListItemClick

2010-09-03 Thread herry
On Sep 2, 10:54 pm, Sohan badaya sohan.bad...@gmail.com wrote: Hi All, I am confused with two below method 1.)   onItemClick(AdapterView? arg0, View view, int position,long id) 2.)   onListItemClick(ListView l, View v, int position, long id) Please let me know about these two methods.

[android-developers] i want to do very simple android application

2010-09-03 Thread bharani
Hi , i want to do very simple android program, Refer some good tutorial , -- Regards -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Re: Failed to upload .apk on device

2010-09-03 Thread Phil
I had this same error come up after successfully uploading to my android device many times. My solution was to use a different USB cable. I've read a different USB port might also solve the issue. On Aug 17, 10:36 pm, Lukas Adamec luk.ada...@gmail.com wrote: Phone has debugging allowed and I've

[android-developers] Re: Confusion in onItemClick and onListItemClick

2010-09-03 Thread herry
well, onListItemClick() is a convenient method of ListView(just for listview) as we know,ListView is a subclass of AdaperView ,so onItemClick() is also apply for ListView. you can call like this : getListView().setOnItemClickListener(){... implement its callback here}. it just the same result of

[android-developers] WPA2-PEAPv0-MSCHAPv2 support in android.net.wifi package

2010-09-03 Thread John_Spectross
Hi, I am planning to write a Wi-Fi connection manager for Android 2.1 2.2. It appears that the APIs available in android.net.wifi package doesn't provide an option to make WPA2-PEAPv0-MSCHAPv2 work. Is Android planning to release a patch to make WPA2-EAPs available in android.net.wifi? if so,

[android-developers] Detecting Forwarded Calls

2010-09-03 Thread CT
Is there an API in the Android SDK that allows one to detect when a call is being forwarded from another cell phone? For example, I have 2 cell phones. During the day I leave one at home and forward all calls to the cell phone that I bring to work with me.. I would like to write an app that is

[android-developers] Fog of war? is it possible?

2010-09-03 Thread John Paul Bernal
we're making a maze game and we've been thinking if we added fog of war in our game so it would be more challenging but we're stunned on how we can implement it or is it even possible? Help would be really appreciated. ~JP -- You received this message because you are subscribed to the Google

[android-developers] gallery initial selection

2010-09-03 Thread Sunil S
Hi, This is newbie question, But I have created a gallery view with an imageswitcher above it. It loads the images and corresponding thumbnails from the image files. When I first start the activity and display the screen, I would like to set the displayed/selected image in the the gallery and

[android-developers] The first application

2010-09-03 Thread Lidoval
Hi All, this is my first contact in the forum. Well, here is the question: when I run the simple code below, instead the result be a string Hello Android, I see a scream of a phone and a text: A N D R O I D _. And doesn't matter the code I do, the result is the same. What's wrong? package

[android-developers] Eclipse Debugger On Device for Galaxy S Phones?

2010-09-03 Thread btaller
Very strange things are happening for me. I just got a Samsung Epic4G Galaxy S device and I can build applications in eclipse just fine, but when I try to debug the debugger does not attach. It just runs normally. It never stops at any breakpoints, and I can't figure out whats wrong. I

[android-developers] Problems in use UTF-8 in the HTTP

2010-09-03 Thread João Sauer
Hi, I'm having problems in get some UTF-8 characters, like 'ç','á' and etc... To be sure that the problem is in the http, I made few tests: - Using a textView, I'm able to use these characters; - If I open the link via Browser(firefox), I'm also able to see the special characters; - In the debug

[android-developers] Android with Flash cs5: I have a problem about permissions

2010-09-03 Thread Italian-android
Hi to all. I'm using flash cs5 to make an Android game. The problem that I have is that in the moment of publish, flash give me an error, that is about the permission. Into the property of the flash program, there are 4 tabs. One of this is permissions. But into the list there isn't anything to

Re: [android-developers] Confusion in onItemClick and onListItemClick

2010-09-03 Thread Ramaraju naga
There is difference. When click on List Item(onListItemClick), The parameter of that handler has information about list item that clicked.When click on List view control( onItemClick), The parameter of that handler has information about list view control that clicked.Please check following syntax.

[android-developers] submitting app from Egypt

2010-09-03 Thread mms
hi, i heard that Android Market is restricted in Egypt is that is right ?? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] How to printf in android development

2010-09-03 Thread xi developer
I just notice that in android app. development( I use Eclipse as my IDE), if I have a statement System.out.printf(hello), it wont show anywhere, either console or LogCat, How can I see the output of printf in android app. development?? -- You received this message because you are subscribed to

[android-developers] How to start an activity from the Service

2010-09-03 Thread Prateek
i have a launcher activity which gets activated everytime i start the application and a service which complements it. Now as i press the return key from my main activity .Its Ondestroy gets called.Now i have nullify the pointer of the my launcher activity there. now i am listening through the

[android-developers] Using eclipse

2010-09-03 Thread Paul Hartie
Have been using eclipse to build my first few apps without any trouble however recently when I try to create a new project I get the following 2 problems before I change anything or add any code. Project is missing required source folder gen The project cannot be built until build path errors are

[android-developers] Re: Flickering.

2010-09-03 Thread tina lincon
Hi everyone,flickering issue is solved now..i removed the thread n d 30 degree delay logic...nw everythng wrking fine.. On Aug 31, 4:56 pm, tina lincon tina.theresalin...@wipro.com wrote: because of the delay only im getting dat curved rotation movement...if i remove d delay,wat happens

[android-developers] Re: can't select using touch after changing tabs on Froyo

2010-09-03 Thread nick
Having a separate activity for each tab fixes this. My main activity was getting pretty big and I split it into multiple activities, so I'm not running into this any more, but I'd still like to know what caused it. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] connecting android with mysql

2010-09-03 Thread EnjoyLifeHappyEveryday--Jay Meng
Dear Chetan Singh Bisht, I'm interesting your project. Now we're doing GPS project between Server and Cell-phone. We used the latitude and longitude data got from gps dierectly, not sorted in mysql. hhee Best Regards. Jay Meng EnjoyLifeHappyEveryday CodeCore Groups You received this message

[android-developers] Re: Freelance Android Projects

2010-09-03 Thread argon gold
Please send your CV at argongold10 AT gmail DOT com. On Thu, Sep 2, 2010 at 11:07 PM, argon gold argongol...@gmail.com wrote: Hi Developers, If you are expert in 2D/3D , OpenGL on Android Platform and you are from PAKISTAN, BANGLADESH, VIETNAM OR RUSSIA. Please send me you CV for

Re: [android-developers] Detecting Forwarded Calls

2010-09-03 Thread Mark Murphy
On Thu, Sep 2, 2010 at 3:43 PM, CT corey...@gmail.com wrote: Is there an API in the Android SDK that allows one to detect when a call is being forwarded from another cell phone? Not that I am aware of, sorry. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] How to detect device support multi touch without OnTouchListener's event?

2010-09-03 Thread eric
I want to get information of how to detect device support multi touch without OnTouchListener triggers event. Somebody can help me? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Should Activity component be starting component for Android apps

2010-09-03 Thread Mark Murphy
On Fri, Sep 3, 2010 at 2:47 AM, cool.manish mannishga...@gmail.com wrote: Is this necessary to have some activity as the starting component? If you are asking do I need to have something in the launcher, the answer is technically no, but it seems that some users get confused by apps that they

[android-developers] Re: Fog of war? is it possible?

2010-09-03 Thread String
I can imagine several ways to accomplish it, but it completely depends on what graphics approach you're using in your maze game. 2D using Canvas? 3D using OpenGL? Is it first-person or overhead view? Etc. String On 2 Sep, 07:52, John Paul Bernal jpbal...@gmail.com wrote: we're making a maze

[android-developers] How to realize software auto ve rsion update?

2010-09-03 Thread EnjoyLifeHappyEveryday--Jay Meng
Dear All, Now our software need to realize auto version update? But now i have no way to do it. who can give me some idea. thanks! Best Regards. Jay Meng EnjoyLifeHappyEveryday CodeCore Groups You received this message because you are subscribed to the Google Groups CodeCore group. To post to

[android-developers] Re: How to start an activity from the Service

2010-09-03 Thread String
On 3 Sep, 00:31, Prateek finch...@gmail.com wrote: i have tried intent but doesnot seems to get though it . Then you're not using the Intent correctly, because that is the correct approach. Intents can be finicky beasts, requiring several pieces to all be correct before they'll do what you

[android-developers] Re: Galaxy Tablet and Android Market

2010-09-03 Thread String
Sam, Thanks very much! Works perfectly. Unlike my apps at that resolution... but that's my own problem. String On Sep 2, 11:50 pm, Sam samuel.law...@gmail.com wrote: Zsolt, String I had a quick play - there may be a more official way. But this works: 1) Go into the directory:

[android-developers] Lost my keystore, loads of Apps, what to do?

2010-09-03 Thread Droid
WIndows did a system restore on a crash boot-up, guess what? yes, my keystore has gone now - for ever. I should have backed it up. But The problem is I have 20 Apps that I cannot now update in the Market as it will not accept a new key signing. Can anyone think of a clever way out for me?

[android-developers] How to use D-Pad control in Android

2010-09-03 Thread dhrumil
Hello 2All, I have a problem in handling my ball using D-Pad control. Here is my code of handling a ball. public static final int DIRECTION_RIGHT = 0, DIRECTION_UP = 0, DIRECTION_DOWN = 0, DIRECTION_LEFT = 0; private int direction = 0; protected volatile boolean running = true; public boolean

[android-developers] Re: Using eclipse

2010-09-03 Thread Droid
If you create a project from existing source, Eclipse uses the folder wherever it is. ie it does NOT ship them into your workspace. Means you can easily end up with source folders scattered far and wide. I made the mistake of using dropbox which stores in the cloud to create a project from.

[android-developers] Re: Using eclipse

2010-09-03 Thread SREEHARI
Do bulid project... It will be fine. Regards, SREEHARI -- 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] Re: The first application

2010-09-03 Thread Droid
I am guessing that you forgot to set the manifest.xml activity, intent to LAUNCHER. If you do not set it, the opening activity is unknown, AND it fails silently. Here is what you (may) need: intent-filter action android:name=android.intent.action.MAIN /

[android-developers] Re: How to printf in android development

2010-09-03 Thread Droid
Use: Log.d(my tag , here we are); System.out etc does not work in Android AFAIK. Then look at it in DDMS (its a special debugger, but very good when you find it). Works in emulator and device. Droid :) On Sep 2, 5:04 pm, xi developer xidevelope...@gmail.com wrote: I just notice that in

[android-developers] Re: i want to do very simple android application

2010-09-03 Thread Droid
Get one from the Android SDK in samples folder. Then File, new, Android Project, create from sample, etc... On Sep 2, 1:43 pm, bharani bharanikumariyer...@gmail.com wrote: Hi , i want to do very simple android program, Refer some good tutorial , -- Regards -- You received this message

[android-developers] Re: Need project idea

2010-09-03 Thread Droid
There is an App called Race Ace that is auto related in that it plots a track on a race course. There are many auto related apps possible, what do you have in mind.. On Sep 2, 8:19 am, analyst kalyankumar2...@gmail.com wrote: Can any tell me a project related to automative industries using

Re: [android-developers] Re: The first application

2010-09-03 Thread Sohan badaya
Hi, I think you are running code in emulator. and your emulator has not started yet. It takes some time so when it starts it will show home screen(app launcher screen) then you try to run your application. then it should work. Thanks, Sohan Badaya On Fri, Sep 3, 2010 at 3:13 PM, Droid

[android-developers] Re: How to printf in android development

2010-09-03 Thread SREEHARI
You can use System.out.println(); OR log.d( tag , jhgjhhgk); Regards, SREEHARI -- 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

[android-developers] Re: How to get contacts detail on android 2.2 ?

2010-09-03 Thread Droid
This code gets contact names and phone numbers, but its easy to alter it to get more: package com.phone.list; import android.app.ListActivity; import android.database.Cursor; import android.os.Bundle; import android.provider.Contacts.Phones; import android.widget.ListAdapter; import

[android-developers] Re: App breaks for some users after they update from the Market

2010-09-03 Thread mot12
Thanks for posting your findings and glad you found your bug. Less happy for myself as this clearly indicates a bug in my code, too. Oh well... -- 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] Android New Platform API

2010-09-03 Thread vijaydeep gokul
Hi Can anyone tell as how to add new platform API in Android ? I tried the vendor/sample/PlatformLibrary example, I am able to build it and got the sdk add on. But when I create AVD with this AddOn, the emulator starts and shows a blank screen. Can anyone please suggest me how to rectify this

[android-developers] Re: limited distribution

2010-09-03 Thread Droid
I dont think there is a limit if you just email Apps to people and they have ticked install any App button. Not sure exactly what you want to do though On Sep 1, 8:53 pm, Greg greg.olmst...@gmail.com wrote: I want to build an android app and distribute it to a limited number of users,

[android-developers] Re: How to start an activity from the Service

2010-09-03 Thread Pent
Use an intent with a set component. You need flag LAUNCHED_FROM_BACKGROUND or whatever it is and NEW_TASK if I remember right. Look in the log and see what the problem is. Pent On Sep 3, 8:31 am, Prateek finch...@gmail.com wrote: i have a launcher activity which gets activated everytime i

[android-developers] Re: Automatic way to change versionCode (and/or versionName) in manifest

2010-09-03 Thread Droid
I doubt it, I would do like you - write a script to do it . On Sep 2, 10:55 pm, Adal arpi...@gmail.com wrote: Hi everybody! I feel like this one it's going to be a silly question but after asking google and the list, I have no answer so... there I go: Is there any way using just eclipse to

[android-developers] Re: Voice Recognition for Voice Control?

2010-09-03 Thread Droid
I write code to analyse voice recognition results. It works well, but is quite a lot of stuff to do to make it workable. See my free (free at present anyway) App called Spelling in the market. On Sep 2, 5:16 pm, moa mich...@jixel.com wrote: Hi, Is it possible to use the voice recognition api

[android-developers] Re: Application not running..!

2010-09-03 Thread Droid
it does not like upper case L so login.xml should work OK. :) On Sep 2, 4:43 pm, Gold thangadura...@gmail.com wrote: Hi..All,                  I create new Project . In that I move to res - layout - create one xml file.!                  I gave name Login.xml but it show error (only [a-z]

[android-developers] Re: Need Help

2010-09-03 Thread SREEHARI
Hi DHRUMIL, Wat exception u r getting Can u post the log details??? Regards, SREEHARI -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: Tower Location Information

2010-09-03 Thread SREEHARI
Pls help on 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-developers@googlegroups.com To unsubscribe from this group, send email to

Re: [android-developers] Re: i want to do very simple android application

2010-09-03 Thread EnjoyLifeHappyEveryday--Jay Meng
hey Droid if you set up eclipse and android developing surrounding, you can use these android samples. and ease to import them. Best Regards. Jay Meng EnjoyLifeHappyEveryday CodeCore Groups You received this message because you are subscribed to the Google Groups CodeCore group. To post to

[android-developers] Re: Android Market Licensing: Now Available!

2010-09-03 Thread Droid
The sample App (android-sdk-windows\market_licensing\sample) red lines on : import com.android.vending.licensing.AESObfuscator; import com.android.vending.licensing.LicenseChecker; import com.android.vending.licensing.LicenseCheckerCallback; import

[android-developers] Re: Android Market Licensing: Now Available!

2010-09-03 Thread Droid
Oh, OK, found it now. I have to reference the library project to get rid of import red squiggles. On Sep 3, 11:15 am, Droid rod...@gmail.com wrote: The sample App (android-sdk-windows\market_licensing\sample) red lines on : import com.android.vending.licensing.AESObfuscator; import

[android-developers] Re: how to create login screen

2010-09-03 Thread SREEHARI
Hi Gold, 1. For not showing the login page on click of back button, U just do finish() that login activity just after calling the other activity(Home screen). 2. For dialog u can use ProgressDialog progressDialog = ProgressDialog.show(YourActivity.this, STRING,

[android-developers] Re: SQLite implementation - need help!

2010-09-03 Thread kingh32
Thanks for spotting the comma. I've removed it but it still cites this query as an error. In fact, no matter what I try to do the same error is displayed. Even if I change the intent pointing to this class, to completely different non database related class I still get this error and it crashes.

  1   2   3   >