[android-developers] Re: Help about understanding screen size/density

2012-03-08 Thread Alik Elzin
So if I have the same background drawable suited for a G-S - 720×1280 - what folder should it be? See my point? I don't see the guidelines for this. It's hard to make great looking apps this way. On Thursday, March 8, 2012 8:05:54 AM UTC+2, Zsolt Vasvari wrote: Put it into NODPI and let the

Re: [android-developers] Re: Help about understanding screen size/density

2012-03-08 Thread Anirudh Loya
Create another Drawable folder above drawable-hdpi and paste all your images there. It will work fine. On Thu, Mar 8, 2012 at 1:26 AM, Alik Elzin kil...@gmail.com wrote: So if I have the same background drawable suited for a G-S - 720×1280 - what folder should it be? See my point? I don't see

Re: [android-developers] Re: Help about understanding screen size/density

2012-03-08 Thread Alik Elzin
What should the folder's name be? On Thursday, March 8, 2012 11:37:42 AM UTC+2, Anirudh Loya wrote: Create another Drawable folder above drawable-hdpi and paste all your images there. It will work fine. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Help about understanding screen size/density

2012-03-08 Thread Anirudh Loya
Dude... Check this flow. [image: Inline image 1] On Thu, Mar 8, 2012 at 1:48 AM, Alik Elzin kil...@gmail.com wrote: What should the folder's name be? On Thursday, March 8, 2012 11:37:42 AM UTC+2, Anirudh Loya wrote: Create another Drawable folder above drawable-hdpi and paste all your

[android-developers] Scroll position is not the same when orientation changes.

2012-03-08 Thread Put_tiMe
I have a scroll view activity under which I have lot's of UI objects. Now let's say when the activity starts up, the view is right on top. Now if I change the orientation of the phone, I observe that my activity has automatically scrolled to a different position. I don't want the scroll

Re: [android-developers] Re: Help about understanding screen size/density

2012-03-08 Thread Alik Elzin
Thanks you Anirudh. As I asked Zsolt: So if I have the same background drawable suited for other resolution screen - 720×1280 - what folder should it be? On Thursday, March 8, 2012 12:33:00 PM UTC+2, Anirudh Loya wrote: Dude... Check this flow. [image: Inline image 1] -- You received

Re: [android-developers] Re: Help about understanding screen size/density

2012-03-08 Thread Kostya Vasilyev
1280 * 720 by itself doesn't really mean much Do you mean the Galaxy Nexus? That screen is extra high density, so its folder is drawable-xhdpi. A 8-9 tablet could conceivable have a 1280 * 720 screen, but that would be medium density, drawable-mdpi. Android running on a notebook with a 1280 *

[android-developers] Re: Re : spinner from HttpPost

2012-03-08 Thread Seshu
Hi Vivek, Open this link and see this example.. http://www.vogella.de/articles/AndroidJSON/article.html Thanks Regards, S.Seshu. On Mar 8, 10:33 am, vivek elangovan elangovan.vi...@gmail.com wrote: Hi members,                      Using HttpPost i am able to retrieve the following

Re: [android-developers] How to format a String in an email

2012-03-08 Thread Kostya Vasilyev
Line breaks in emails are represented by CR/LF, not by a single \n. http://www.ietf.org/rfc/rfc2045.txt -- Kostya 8 марта 2012 г. 9:42 пользователь ravi . ravikanth...@gmail.com написал: I'm trying to send an email in Java but when I read the body of the email in Outlook, it's gotten rid of

Re: [android-developers] Re: Re : spinner from HttpPost

2012-03-08 Thread vivek elangovan
Hi seshu, thanks for the sample but i m not familiar with JSON and also my query is i m able to retrieve the xml data from my server using HttpPost , what i need is i need set that value to my second spinner. On Thu, Mar 8, 2012 at 5:08 PM, Seshu s.seshu...@gmail.com wrote: Hi

Re: [android-developers] Re: Help about understanding screen size/density

2012-03-08 Thread Alik Elzin
The resolution means a lot. It means a stretched(/squashed) vs. non stretched image. On Thursday, March 8, 2012 1:35:50 PM UTC+2, Kostya Vasilyev wrote: 1280 * 720 by itself doesn't really mean much Do you mean the Galaxy Nexus? That screen is extra high density, so its folder is

Re: [android-developers] Re: Help me on selecting a name to a game..

2012-03-08 Thread Kostya Vasilyev
This is what I get after clicking on the link: Мы сожалеем. Таблица по указанному URL не обнаружена. Проверьте правильность URL и убедитесь в том, что владелец таблицы не удалил её. Дополнительную информацию можно найти в справочном центре Документов Google. Владелец Таблицы would be a great

[android-developers] Problem launching service from init.rc in Android 4.0

2012-03-08 Thread Aglets
I was able to launch a service from init.rc in Android 2.3.4 without a problem. Now in Android 4.0 ICS the same application does not launch. I can execute it successfully from the ADB command line but I can't get it to launch from init.rc. Any ideas? -- You received this message because you are

[android-developers] Re: Emulator for nfc in india

2012-03-08 Thread Gaara
Checkout OpenNFC. Caution: works best only if you are working on a windows environment! Else if you are a linux hacker like me, you are gonna have one hell of a difficult time! On Friday, March 2, 2012 12:50:24 AM UTC+5:30, Shantanu Jain wrote: Hi, I am a college student in India and my

[android-developers] How to turn on-off the physical keyboard programmatically?

2012-03-08 Thread eddie
Everytime I plug a keyboard or scanner, the soft keyboard no longer shows when EditText is in focus. I've already tried to force the soft keyboard to always show using the inputManager, but it only works when the physical keyboard is unplugged. inputManager = (InputMethodManager)

Re: [android-developers] Re: Android how to send the hex code out?

2012-03-08 Thread Robert Young
Serial port by definition is a string protocol, characters above 128 like ( 0xFA ) are [control codes]. Examine the difference between binary and string representation 2012/3/7 Todd Grigsby tgrigsby...@gmail.com 0x implies that the characters that follow are byte data in hex notation. The

[android-developers] Parsing this string in Android

2012-03-08 Thread andyjohnson
I have made a simple web service which I return a list of values, this is the code: [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string HelloWorld() { string[][] JaggedArray = new string[5][]; int i = 0; for (int r = 0; r 5; r++)

[android-developers] TextView,Button and List view in the same screen

2012-03-08 Thread Rakesh Boyapally
I want Textview , List view and Button on the same screen.I'm using customer list view adapter ... please help me ASAP !! -- 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] Save Last Coordinates Map

2012-03-08 Thread concave
Hi all, im a newbie here I already try to search this solution but doesn't found any answer. What i want to ask is, it's possible to save last coordinates ?if so, can anybody here tell me how to do it's Thanks, and sory for my bad english -- You received this message because you are subscribed

[android-developers] SQLite and SQL injection

2012-03-08 Thread Red Planet
Hi! How can I protect my queries if I like to use rawQuery method? For example, I wrote a query String query = SELECT + DbHelper.TABLE_WORDS + . + DbHelper.WORDS_WORD + , + DbHelper.TABLE_TRANS + . + DbHelper.TRANS_WORD + FROM + DbHelper.TABLE_WORDS + INNER JOIN +

[android-developers] Re: [Android - developers] Saving Latitude and Longitude value

2012-03-08 Thread agung wiguna johan
Update : I found the solution,but still getting error. Use 2 location variable to get the previous position before changed : public void onLocationChanged(Location newLocation) { prevLocation = currentPosition; currentPosition = new Location (newLocation); int lat1 = (int)

[android-developers] SharedPreferences

2012-03-08 Thread Alejandro Alves
Hello, I want to have some preferences stored forever by my application, for example username, remember me, etc...and other preferences to be stored only until the application is closed, or the user logs out. So basically my question is how do I delcare which preferences must be stored for ever,

[android-developers] [Android-developers]

2012-03-08 Thread agung wiguna johan
Hi all I have an problem here. I was developing an map application, and it have feature to rotate the map when user changed direction. I know the easiest way to rotate it is, with the Orientation sensor. But for know, i need to rotate it without sensor. IMHO it's possible to rotating map with the

[android-developers] Adding PushLink jar to my app to make it self-updating

2012-03-08 Thread Defozo
Welcome! At first, I want to say that I'm beginner in Android programming. I was trying to add the jar file from http://push-link.com/ to make my application self-updating. I've added the jar (this one) to the classpath (copied jar file - right click - Build Path - Add to build path...), I've

[android-developers] file categorizer

2012-03-08 Thread ANKIT GUPTA
how can we develop file categorizer in android so that it can perform follows 1.The application should be stored on the memory card. 2.Categorization of file types specified by the user should only be done. 3.The application should be available to work in minimised mode. 4.The performance of

[android-developers] Re: Multi-choice alert dialog

2012-03-08 Thread Emanuel
Hi!!! I try to write in English because my English isn't great. I only hope that isn't late. Well you try to show the dialog but you don't put the show() method and I don't know why you put a return. The code is the following: case PEOPLE_CHOSING_DIALOG:                        

[android-developers] Draw icons depending of zoom

2012-03-08 Thread Grontag
Hi all. I am developing an application that draws icons on a map. But i need to draw them dynamically: if the user does zoom in the map, if zoomLevel is 10, draw this icon, in other case draw that other icon. I've been the whole morning reading and searching the web, and found nothing that

[android-developers] call receiver

2012-03-08 Thread deepu
hi dude i need src for local host call receiver to 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] destroy every activity as soon as the user leaves it

2012-03-08 Thread roger
Hi In android 4.0,click the 'developer options',there is a checkbox named ' don't keep activities'. When it was checked, my app didn't work! When I launch another activity from my main activity,the app will be closed! so...anyone know how solve this problem? -- You received this message because

[android-developers] i get an error when i try and launch my apk file saying there is a problem passing the package

2012-03-08 Thread alexb
I built an application in eclipse for testing purposes it works in the emulator without any problems. I then copied the project named listviews from my workspace to a dropbox folder. I then went onto my phone went to the drop-box went to the bin directory and found the listviews.apk file. I then

[android-developers] Advanced Features of ActionBar with ActionBarSherlock, v4 support library

2012-03-08 Thread David Ozersky
Hi, I'm a newbie Android programmer and I've been assigned a task to develop an App with Fragments and an ActionBar. I'd like to develop an ActionBar with Tabs that lead to another dropdown. My app will be an advanced RSS feed reader for tablets. The top level of tabs will hold

Re: [android-developers] Re: Help about understanding screen size/density

2012-03-08 Thread Anirudh Loya
It should be in a single folder until i used in my app ! It works fine. Check my structure above... On Thu, Mar 8, 2012 at 3:47 AM, Alik Elzin kil...@gmail.com wrote: The resolution means a lot. It means a stretched(/squashed) vs. non stretched image. On Thursday, March 8, 2012 1:35:50 PM

[android-developers] Does Android Beam work nicely with Google Wallet

2012-03-08 Thread miranosys1
Android Beam (SNEP) and Google Wallet (Card Emulation) are using 2 different NFC technology and I was wondering if they work nicely together on phone with 4.0.3. I can't test this on 4.0.3 since Google wallet will not run on my region/carrier (Canada). My experience has been with 2.3.6 and

[android-developers] about: favorites

2012-03-08 Thread Teddy
Hello sir, actually in our project there is an option of favorites. what i want to do is i want all those applications that has been visited several times to be in favorites. for this im going to use shared preferences. i have thought having a counter i will increment that counter everytime a

[android-developers] Re: Google Play

2012-03-08 Thread EhyehAsherEhyeh
As someone recently said in an article I don't care enough about to track down to link to (sorry, whoever wrote it); it's not the best name, but it's not the worst name either. It's a fair point that no name would be objectively best, as is proven by the plethora of discussions about what would

[android-developers] AWOL: ArchWikiOffline - Code Review

2012-03-08 Thread exiquio
Perhaps this is the wrong venue to make this request. If so, pardon me and ignore. I am not a decent Java developer and I am new to Android development, but I want to learn and I learn best by doing: ArchWiki Offline: https://github.com/tetractysproductions/ArchWikiOffline Alphas of the software

Re: [android-developers] Re: sqlite database on phone creash

2012-03-08 Thread harshita agrawal
check Your database that it has data what u have entered.if it has entered value than check the value of cursor which are coming from query for fetching the value from database. On Tue, Mar 6, 2012 at 10:49 AM, Jagruti Sangani jagruti.sang...@inextrix.com wrote: hello below is my code of

[android-developers] android virtual device how to choose web camera?

2012-03-08 Thread boy on9
when i open the web carmera app of the avd, it seems automatically choose my TVcard device for the camera, how do i correct it to choose the right device? -- 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] Database Problem

2012-03-08 Thread harshita agrawal
have u closed database .if not ,close your database On Tue, Mar 6, 2012 at 12:15 PM, abhijeet tomar abhijeet...@gmail.comwrote: Hello Developers, I got exception 'close() was never explicitly called on database / pkg/ db ' and i am not closed the database...where is the problem if u know

[android-developers] GALAXY TAB + ACR 122U RFID READER (HELP DRIVER)

2012-03-08 Thread andrea.vita...@gmail.com
Hi, I'm developping android application for sansung galaxy tab 10.1 and NFC reader (ACR 122U) usb WHen I plug-in the usb (qith the usb adapter kit sansung) and run dmesg in root mode I give this error: usb usb2: New usb device found, idVendor 1d6b idProduct=0002 usb usb2: New Usb device

[android-developers] Re: NFC Secure Element

2012-03-08 Thread Janhouse
Anyone tried it on ICS yet? And are there new patches or something? On Friday, February 10, 2012 9:47:18 PM UTC+2, malls wrote: When the card emulation is detected, the call is routed to nfc_jni_transaction_callback() of SecureElement. From here the event is posted to NfcService for example

[android-developers] SERVICE_NOT_AVAILABLE from C2DM when the sender id is invalid.

2012-03-08 Thread abruzzo
I'm currently implementing the registration of a device for C2DM notifications and so far I'm able to get a notification id back when I send a valid gmail account as the sender id so I think that the process is working correctly. My question is does anybody understand why I would get a

[android-developers] Android, 3.0+ spinner dialog style

2012-03-08 Thread Alexandros
I am trying to change the drawable used as background in the spinner dialog. Prior 3.0 it works fine, I just change the AlertDialog style to use my images, but that does not work when the activity is inheriting from a Holo theme. I am trying to find which style I have to override but I simply

[android-developers] Android 2.2 + SQLite + Defining Enforcing referential integrity constraints

2012-03-08 Thread Jay Khimani
I'm developing an Android 2.2+ app with SQLite db support. I'm trying to define referential integrity constraints while creating the tables. I've also enabled the foreign key support by executing db.execSQL( PRAGMA foreign_keys=ON; ); in onCreate and onOpen methods of SQLiteOpenHelper.

[android-developers] Android Cashing Internet Data

2012-03-08 Thread Filip Lukic
Does anyone know what is the best way of cashing and displaying data from internet (web service)? concepts, tutorials, examples are very welcome. -- 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] Sharing private data between apps of differing permissions

2012-03-08 Thread Iain King
In order to minimise the required security for my apps I would like to split them into 2: the core app which has effectively no required permissions, and a manager app which will have internet access/write to SD/etc permissions. That way users can happily install the base app without having

Re: [android-developers]

2012-03-08 Thread harshita agrawal
use the IsPressed(),IsFocused() method.if it is true ,change the button images On Mon, Mar 5, 2012 at 4:12 PM, teja divya loud.te...@gmail.com wrote: how to change the button images according to the state of the button that is button pressed,button focussed ??? -- ..divyateja -- You

[android-developers] updating Fragments in a ViewPager

2012-03-08 Thread Jane Wayne
i am having problems trying to update/replace Fragments in a ViewPager. the problem is that the old fragments simply won't get replaced by the new ones. i have read a couple of solutions on stackoverflow, and tried them, but it still doesn't work. anyone have any ideas why? i will explain what i

[android-developers] Cursor Subclass onChange() notifications

2012-03-08 Thread Deepwinter
I have written a custom subclass of MatrixCursor which handles some behind the scenes data updates (from the network) asynchronously. When new data has been added to the data store (not sqlite), the MatrixCursor subclass calls onChange(true). I have a dataSetObserver registered as

Re: [android-developers] HOw to extract only number

2012-03-08 Thread harshita agrawal
if you enter only 5002 the it gets null value in space1 so it's crashed.To solve these problem you can do like this: str=txt.getText().toString(); int space1=str.indexOf( ); if(space!=null){ s=str.substring(0, space1); } else { s=str; } On Tue, Mar 6, 2012 at 11:06 AM,

Re: [android-developers] Re: sqlite database on phone creash

2012-03-08 Thread harshita agrawal
I think emulator is getting old database whatever u have used before. so uninstall the application, run the new application.it'll be also crash.. There is problem in your code not in phone.can you tell me what's error coming. On Mon, Mar 5, 2012 at 9:23 PM, Chris Stratton cs07...@gmail.com

Re: [android-developers] Re: Looking for LocationManager use for cycling app

2012-03-08 Thread Ifor
I have been gathering quite a lot of personal battery usage stats with my biking app while testing mostly with a SE Xperia Active but there is quite a lot of variation with differenrt devices. I have a number of options to vary what is on. With these options the runtime varies from a worst of

Re: [android-developers] Advanced Features of ActionBar with ActionBarSherlock, v4 support library

2012-03-08 Thread Mark Murphy
On Wed, Mar 7, 2012 at 12:13 PM, David Ozersky da...@mobicartel.com wrote: The top level of tabs will hold categories of Feeds, or types, and the second level will hold the feeds themselves.  (If possible, I would like lo to learn how to add more levels).  Is this possible? The action bar

Re: [android-developers] Android 2.2 + SQLite + Defining Enforcing referential integrity constraints

2012-03-08 Thread Chalavadi Sagar
I think foreign key in Quens_Ans table must be a primary key. Kind Regards, Ch.B.Sagar On Mon, Mar 5, 2012 at 4:04 PM, Jay Khimani jay.khim...@gmail.com wrote: I'm developing an Android 2.2+ app with SQLite db support. I'm trying to define referential integrity constraints while creating the

Re: [android-developers] SharedPreferences

2012-03-08 Thread Mark Murphy
The stuff that should be cleared when the application is closed by the OS are not preferences, so do not implement them as such. Use static data members or something along those lines, so they will go away automatically when Android terminates the process. On Tue, Mar 6, 2012 at 10:00 AM,

[android-developers] Re: Scroll position is not the same when orientation changes.

2012-03-08 Thread Put_tiMe
I think I have a hint as to what is going on. Basically my first focussable item is not right on top. So when the layout changes, the current focussable item is brought into view. During this calculation, the scroll is set. That is why my top portion of the layout is scrolled out. How do I

Re: [android-developers] Problem launching service from init.rc in Android 4.0

2012-03-08 Thread Mark Murphy
Firmware questions belong on http://source.android.com. On Mon, Mar 5, 2012 at 11:16 AM, Aglets singerisl...@gmx.com wrote: I was able to launch a service from init.rc in Android 2.3.4 without a problem. Now in Android 4.0 ICS the same application does not launch. I can execute it successfully

Re: [android-developers] Exception coming while shutting down android device

2012-03-08 Thread Mark Murphy
On Thu, Mar 8, 2012 at 5:25 AM, Abhishek Sharma abhitec...@gmail.com wrote: I want to shutdown android device from application on pressing key. This is not possible from an ordinary SDK application. Code snippet: public void poweroff() {   ShutdownThread.shutdown(context, true); } There

Re: [android-developers] Re: UI design

2012-03-08 Thread Ricardo Santos
A table view with three rows would do the job too... On Wed, Mar 7, 2012 at 6:00 AM, moktarul anam mokta...@gmail.com wrote: Hi this will be simple listview and use custom adapter Moktarul anam On Wednesday, 7 March 2012 11:37:06 UTC+5:30, megha agrawal wrote: Hello All, I want to

Re: [android-developers] destroy every activity as soon as the user leaves it

2012-03-08 Thread Mark Murphy
Don't check the checkbox. Or, fix the bugs in your application, by using adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and looking at the stack trace generated by your error. On Thu, Mar 8, 2012 at 3:49 AM, roger chenmeng0...@gmail.com wrote: Hi In android 4.0,click the

Re: [android-developers] destroy every activity as soon as the user leaves it

2012-03-08 Thread 陈孟
thanks Mark,I tried in debug mode.But there is no information in the LogCat...so what should I do if I wanna fix this bug in my app? 2012/3/8 Mark Murphy mmur...@commonsware.com Don't check the checkbox. Or, fix the bugs in your application, by using adb logcat, DDMS, or the DDMS perspective

[android-developers] Difficulty rendering an octahedron (2 pyramids attached at the bottom to each other)

2012-03-08 Thread geoklee
I am having difficulty with my homework project rendering an octahedron by modifying an existing project that renders a pyramid. The hint given is to change the vertices, colors, and indices objects. I did that but the best I could generate is the existing pyramid with 1 or 2 faces of the inverted

[android-developers] What is the cause of the RemoteException sending setActive(false) notification?

2012-03-08 Thread Aramaki
Hello, I have in my application, a custom View that draws a calendar. Everything is working fine except that, when I am flipping right or left the calendar, I often get the message bellow from logcat: 03-07 12:27:45.843: W/InputManagerService(1652): Got RemoteException sending

[android-developers] album art

2012-03-08 Thread masood shaik
Hi All, How to fetch album art from media provider database. please provide some sample code Thanks Regards Masood -- 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

[android-developers] if condition not working in intent activity

2012-03-08 Thread ~JAI~
hi friends, i'm new to android. i'm using the code below to create a new intent activity based on if condition validation.. but it doesn't work... pls help me.. CODE package com.example.helloandroid; public class Main extends Activity { /** Called when the activity is first created. */

[android-developers] about caller uid xxxxx is different than the authenticator's uid message

2012-03-08 Thread yons
Hi, I need to solve Android AccountManager's issue. These days, I have made a login system using AccountManager. I'd made an app which uses Android AccountManager. (I will call it A app) After, I made another app which use A app's AccountManager's account data. (I will call it B app) But

[android-developers] Android app connect with SQLServer, Solve problem

2012-03-08 Thread Mohit kumawat
Hello to all, I have a project for connect a sqlserver with my app, i search related this but dont find a satisfaction post or article for this. I have problem that how can i connect a remote SQL database table with android, and want to show in a activity same as, and also a synchronization with a

[android-developers] HTTPS Post not working with the device but working in emulator

2012-03-08 Thread mahesh
Hi , Below is the code snippet which I am using to post data to HTTPS url. It is working fine with the emulator. But it is not working in Device. Even it is not throwing any error/exception in the device I have check by degugging. Can someone please help me out , As I am trying this from so many

[android-developers] How to check if wallpaper is actually visible?

2012-03-08 Thread James
I know there is the onVisibilityChanged() method in WallpaperService, however this does not get triggered when, for example, the applications menu is opened and the wallpaper is hidden behind the list of installed applications. My wallpaper responds to touch and move events, and these are getting

[android-developers] Canvas in SurfaceView - hardware acceleration

2012-03-08 Thread NazguL
Hi, I'm developing on ICS and trying to understand why a Canvas.isHardwareAccelerated() will always return FALSE when using a Canvas inside a SurfaceView. I've tried a very basic example like this: http://android-coding.blogspot.com/2011/05/drawing-on-surfaceview.html Or this one:

[android-developers] Call blocking

2012-03-08 Thread Mai
Hi, I am new to Android and was wondering if there was a way (API call, etc..) to write a program that checks the incoming number against a list and hangs up the phone if there is a match before letting the call go to voice mail. These telemarketers are really annoying and there doesn't seem to be

Re: [android-developers] Re: Google Play

2012-03-08 Thread monica michelle villegas arias
Hi, i wanted to know if there is any problem with Google Play on Android ICS, i haven't been able to make it work, i installed it and when i try to run it, it stops and gets closed, i don't know what the problem could be. thanks. -- You received this message because you are subscribed to the

[android-developers] Re: testing ACTION_CANCEL

2012-03-08 Thread matt
// create an event -- this will probably work MotionEvent eventCancelAction = MotionEvent.obtain(3, System.currentTimeMillis(), MotionEvent.ACTION_CANCEL, 0, 0, 0); // then inject or force it into the system view.dispatchGenericMotionEvent(eventCancelAction ); // might do the trick, but the

[android-developers] Turn Screen Off/on

2012-03-08 Thread Levi Ribeiro
Hi, I'm trying to do a simple test, where the screen turn off and on several times. something like that: new CountDownTimer(2000, 1000) { // boolean change = true; public void onTick(long millisUntilFinished) { if(change){

[android-developers] Problem with Google Play on Android ICS

2012-03-08 Thread monimi
Hi, i downloaded Google Play and installed it on Android ICS (running on Pandaboard) but it didn't work, when i try to run it, it just gets closed and never works, i don't know what could be the problem with it, the same behavior was with the Android Market App, neither of both have worked, if

[android-developers] Re: How to progressively make invisible a polygon?

2012-03-08 Thread Nicolas Embleton
I suppose that you could use 2 technics. I haven't tested them so it's just my straight guesses: 1. Draw a gradient with 1 of the 2 sides having alpha = 0.0 and move the gradient so that the invisible alpha grows inside the polygon. It will make your polygon disappear. I'm not too sure about

[android-developers] My app not showing in the launcher

2012-03-08 Thread Joey Selah
Hi, I am just learning android development and I'm encountering an issue where my application is showing up under settings-applications- manager applications but it's not showing up under the launcher (where I'd like it to appear). My suspicion is that my manifest file is set up wrong in some

[android-developers] Re: Android Beam demo on PC

2012-03-08 Thread lbendlin
byzantine means antiquated. It is like referring to the modern Istanbul by its ancient name Byzantion. On Wednesday, March 7, 2012 2:53:04 PM UTC-5, goodline wrote: Hi Chris, I just copied the solution for the java problem from

[android-developers] Background and foreground image views

2012-03-08 Thread Put_tiMe
I need to have a background and a foreground image views in a LinearLayout. Obviously the background has to be drawn before the foreground. How can I do it? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] Problem with Google Play on Android ICS

2012-03-08 Thread Mark Murphy
On Wed, Mar 7, 2012 at 8:29 PM, monimi m.michelle.villega...@gmail.com wrote: Hi, i downloaded Google Play and installed it on Android ICS (running on Pandaboard) but it didn't work, when i try to run it, it just gets closed and never works, i don't know what could be the problem with it, the

Re: [android-developers] destroy every activity as soon as the user leaves it

2012-03-08 Thread Mark Murphy
On Thu, Mar 8, 2012 at 7:34 AM, 陈孟 chenmeng0...@gmail.com wrote: thanks Mark,I tried in debug mode.But there is no information in the LogCat...so what should I do if I wanna fix this bug in my app? Use a debugger. Or, sprinkle in Log statements. See what happens. In other words, you debug it

Re: [android-developers] Background and foreground image views

2012-03-08 Thread sha m
FrameLayout helps to draw one view above another On Thu, Mar 8, 2012 at 6:10 PM, Put_tiMe putt...@gmail.com wrote: I need to have a background and a foreground image views in a LinearLayout. Obviously the background has to be drawn before the foreground. How can I do it? -- You

Re: [android-developers] My app not showing in the launcher

2012-03-08 Thread Mark Murphy
To have an icon appear in the launcher, you need to have an activity element in the AndroidManifest.xml file with the following intent-filter: intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter

Re: [android-developers] if condition not working in intent activity

2012-03-08 Thread Mark Murphy
Newcomers to Java should spend time learning Java before starting in on Android development. You appear to be attempting to compare an EditText to the value 0 in your if() statement. This will not work. On Mon, Mar 5, 2012 at 2:15 PM, ~JAI~ jayakarthik2...@gmail.com wrote: hi friends, i'm new

Re: [android-developers] if condition not working in intent activity

2012-03-08 Thread sha m
pin is the edittext object. compare the value of the pin pin.getText().toString() to compare the value that u expect On Tue, Mar 6, 2012 at 12:45 AM, ~JAI~ jayakarthik2...@gmail.com wrote: hi friends, i'm new to android. i'm using the code below to create a new intent activity based on if

[android-developers] Re: if condition not working in intent activity

2012-03-08 Thread Seshu
Hi Jai, Below this sample it ll work f9 now. go though once.. u ll understand. package com.self; import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.EditText; public class DummyActivity extends Activity {

Re: [android-developers] Re: if condition not working in intent activity

2012-03-08 Thread Kristopher Micinski
f9 means ... fine? that's a new one.. On Thu, Mar 8, 2012 at 7:54 AM, Seshu s.seshu...@gmail.com wrote: Hi Jai,      Below this sample it ll work f9 now. go though once.. u ll understand. package com.self; import android.app.Activity; import android.os.Bundle; import android.util.Log;

[android-developers] Newbie Woes with PhoneGap and Android Emulator

2012-03-08 Thread Bob
I am trying to run a simple PhoneGap demo program in the Android simulator on a Mac. The code builds fine but when the emulator is running I get a message in the console window of Eclipse saying: ...Failed to install HelloPhoneGap.apk on device 'emulator-5556! ...(null) ...Failed to install

[android-developers] sending email to varify email address.

2012-03-08 Thread ravindra bhavsar
Hello sir /Madam, I m new in android development i want send email for verifying that email address.how to i do that.if any on know please tell me procedure and tutorial . Thanks in advanced... -- You received this message because you are subscribed to the

[android-developers] Magento - Android integration

2012-03-08 Thread Parth Amin
Hello, I want to integrate Magento with my Android App. Can anyone guide me to start with it ? -- 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

[android-developers] Javascript in Android

2012-03-08 Thread Tunarock
Hello, i explain my situation: I have an application that connects a web page to collect html information. Part of this information is generate via Javascript, particularly i need to get a map with all of his overlay. That map is create dinamically after a research direction. I think about

[android-developers] Which Android Device should I buy for Testing Apps...???

2012-03-08 Thread RR
Hello, I want to develop some apps on Android and I need to buy an Android Phone or Tablet for testing my apps. Which model should I buy? Do you think it is better to buy a tablet directly? Just like iPad, I can test both HD and Normal apps on one device easily. Thanks. Raymond -- You

[android-developers] App installed on Motorola RAZR Android (version 2.3.6) device in not going thru proxy

2012-03-08 Thread pp_newbie
I'm looking for the solution/thoughts about this question posted on stack overflow: http://stackoverflow.com/questions/9594056/app-installed-on-motorola-razr-android-version-2-3-6-device-in-not-going-thru Copying here to ease reading: I'm seeing a weird issue with setting up a wifi proxy in

[android-developers] Rounded Rectangle Image

2012-03-08 Thread Pricillia
Hello guys, actually I am a newbie here I am not too really understand about android programming but I am trying to make a rounded rectangle image overview I try to googling but somehow it's show about shape, but I need to make rounded rectangle image from rectangle image. Can you guys help me?

[android-developers] Problems refreashing CustomViewGroup

2012-03-08 Thread Renaud FAVIER
Hello ! First i'm a very new developper, I do android sinse a month and had very little experience in programation before that. So i'm learning while coding, don't expect to see beautiful code there :( :). In my app, i'm asked to have a different formed menu : it scroll from the right of the

[android-developers] How do I change the SDK version used in an application?

2012-03-08 Thread R Keith Beal
How do I change the SDK version used in an application? -- 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] Android Application

2012-03-08 Thread ru
Hello people, I wanted to ask if you'll can suggest me a tutorial for connectivity between web server and android application. My application is about ordering food from android mobile. So when the user enters the restaurant name, he should get the details about the restaurant. On further the

[android-developers] Trying to reduce BOOT TIME

2012-03-08 Thread Ratul Roy
Hi all, I am very new to this android development, in order to reduce boot time on OMAP 3 , I have taken care of kernel which is taking 7 sec to come up, but from android side it is taking 25 sec Total 32 sec it takes to show boot complete in android logcat later on I found boot animation

Re: [android-developers] Database Problem

2012-03-08 Thread R Keith Beal
TreKing, Your message was flagged as Important. This results in a priority notification in my e-mail. Do you really believe this message is Important to ANYONE? On Tue, Mar 6, 2012 at 7:42 AM, TreKing treking...@gmail.com wrote: http://www.catb.org/~esr/faqs/smart-questions.html

[android-developers] SSO in android app

2012-03-08 Thread Sanjit Mohanty
Hi, Currently, I've a web-based application which is communicating with an existing IdP (Identity Provider on the server side) that does the authentication authorization through SAML. These are implemented in Java. Now i want to extend this solution and have a native android app which should

  1   2   3   >