[android-developers] Simple XML Error

2012-03-18 Thread CaRRtel Industres
Could someone please tell me why i get this error. error: Error parsing XML: junk after document element I am attempting to include ads at the bottom of my app and I can't figure out this problem. LinearLayout android:layout_width=fill_parent android:id=@+id/ad_layout

Re: [android-developers] Please can i have source codes for tictactoe game for android?

2012-03-18 Thread Save My Life!
I just mean to say,that forum is not for asking a whole code. Absolutly,we help for algorithm not for code. On Mar 17, 2012 2:02 AM, Lew lewbl...@gmail.com wrote: Bhavin wrote: Dear Jane. Please see the rule [sic] of this forum. U [sic] can't ask for code here... Of course you can. You can

Re: [android-developers] ایران رتبه اول رشد علمی در مقالات علمی

2012-03-18 Thread Anirudh Loya
ENGLISH 2012/3/18 lbendlin l...@bendlin.us прелесть On Saturday, March 17, 2012 10:22:09 AM UTC-4, Hyunseok Lee wrote: 씹세 모야 이거 2012. 3. 17. 오전 5:29에 hosein bitaraf hobby@gmail.com님이 작성: بسم الله الرحمن الرحیم بسیاری از ما در باره ی ایران و وضعیت علمی و فرهنگی آن بسیار بدبین

Re: [android-developers] Re: How to copy files from Android to PC?

2012-03-18 Thread Save My Life!
You can use ftp. Steps 1. Install wireless file transfer from market to your phone. Its free. 2.connect your WFT to access point. It will provide you one IP From cuteftp (installed on PCS )or some other ftp access your android phone On Mar 16, 2012 8:44 PM, Ali Chousein ali.chous...@gmail.com

Re: [android-developers] Please can i have source codes for tictactoe game for android?

2012-03-18 Thread akhil raval
dear friend i want to fetch ma contact inbox with name and number as simple as possible it's urgent i m going threw below code but i can able to find only name not number plz it's urgent to get help u frnds public void onCreate(Bundle savedInstanceState) {

[android-developers] fetch contact with number

2012-03-18 Thread akhil android
i want to fetch all contacts with number it;s too urgent for me to complete it today only plz need help -- 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

[android-developers] Re: How to copy files from Android to PC?

2012-03-18 Thread RLScott
Doesn't this work only with files in the external memory (SD card)? What if you want to copy files from your app's private documents folder? On Mar 18, 3:03 am, Save My Life! alertsavemyl...@gmail.com wrote: You can use ftp. Steps 1. Install wireless file transfer from market to your phone.

Re: [android-developers] facepreview20120218.apk does not install with adb

2012-03-18 Thread karan hans
i tried with the -r switch. i got this C:\Program Files (x86)\Android\android-sdk\platform-toolsadb install -r facep eview-20120218.apk 102 KB/s (3814528 bytes in 36.336s) pkg: /data/local/tmp/facepreview-20120218.apk Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] On

Re: [android-developers] Simple XML Error

2012-03-18 Thread old new
googleads:adSize 2012/3/18 CaRRtel Industres carrtelindustr...@gmail.com Could someone please tell me why i get this error. error: Error parsing XML: junk after document element I am attempting to include ads at the bottom of my app and I can't figure out this problem. LinearLayout

Re: [android-developers] facepreview20120218.apk does not install with adb

2012-03-18 Thread Ralph Bergmann | the4thFloor.eu
Am 18.03.12 10:57, schrieb karan hans: Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] Is it really so difficult to read, understand and/or to google the error message?

Re: [android-developers] Re: How to copy files from Android to PC?

2012-03-18 Thread Italo Mendonça Rocha
The application I'm making is made for users who are not familiar with software. They do not know how to configure FTP, bluetooth and manage memory card. One idea is to provide them a super easy desktop application, in order to get the files from an Android device. What do you think? Thanks.

Re: [android-developers] Re: How to copy files from Android to PC?

2012-03-18 Thread Mark Murphy
2012/3/18 Italo Mendonça Rocha ital...@gmail.com: The application I'm making is made for users who are not familiar with software. They do not know how to configure FTP, bluetooth and manage memory card. One idea is to provide them a super easy desktop application, in order to get the files

[android-developers] ListFragment fails on setContentView

2012-03-18 Thread Jim Andresakis
Ive been trying to get a listview working within a fragment all day. I dont know why but for some reason the way Im trying to do it, it just never wants to inflate the view. Im using actionbarsherlock if that makes a difference but I dont think so. Heres the class where my layout fails:

Re: [android-developers] ListFragment fails on setContentView

2012-03-18 Thread Mark Murphy
ListFragment is not a valid element. That says hey, go find android.view.ListFragment and use it here, and there is no such class. You add fragments to a layout via fragment: http://developer.android.com/guide/topics/fundamentals/fragments.html#Adding On Sun, Mar 18, 2012 at 7:29 AM, Jim

Re: [android-developers] ListFragment fails on setContentView

2012-03-18 Thread Ralph Bergmann | the4thFloor.eu
Am 18.03.12 12:29, schrieb Jim Andresakis: and heres the layout were I call my fragment. ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=match_parent android:layout_height=match_parent

Re: [android-developers] facepreview20120218.apk does not install with adb

2012-03-18 Thread Zsolt Vasvari
Since you did it for him, it was worth it. I'd just ignore such a question. On Sunday, March 18, 2012 6:27:56 PM UTC+8, Ralph Bergmann wrote: Am 18.03.12 10:57, schrieb karan hans: Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] Is it really so difficult to read, understand and/or

Re: [android-developers] Please can i have source codes for tictactoe game for android?

2012-03-18 Thread Jim Graham
On Sun, Mar 18, 2012 at 12:37:18PM +0530, akhil raval wrote: i want to fetch ma contact inbox with name and number as simple as possible it's urgent i m going threw below code but i can able to find only name not number plz it's urgent to get help u frnds First, what have YOU done to debug

Re: [android-developers] javax.crypto.BadPaddingException: pad block corrupted

2012-03-18 Thread Nikolay Elenkov
2012/3/18 Italo Mendonça Rocha ital...@gmail.com: I'm trying to encrypt and decrypt a file using a key that the user typed. All these operations are done in Android. At the moment I decrypt I get a javax.crypto.BadPaddingException: pad block corrupted. The same code works normally on Windows

[android-developers] Re: Intent.Createchooser Does Not Work

2012-03-18 Thread JFS
Does anyone have further thoughts on this? After update to 2.3.6, createChooser does not work at all and mail intent works only when program stops, not immediately in response to button press. On Mar 13, 11:28 am, JFS j...@sheagermain.com wrote: Sorry, I used the wrong language.  The mail

Re: [android-developers] What is the best API to start with in the SDK

2012-03-18 Thread Kostya Vasilyev
That was in 1.6, iirc based on an official blog post. 17.03.2012 9:27 пользователь Zsolt Vasvari zvasv...@gmail.com написал: When was forward declaration of rules added? API Level 4 or 7? On Friday, March 16, 2012 9:54:11 PM UTC+8, Mark Murphy (a Commons Guy) wrote: RelativeLayout has

[android-developers] Re: Market device-filtering question

2012-03-18 Thread Keith Wiley
Thanks for responding. Here's my permission list: uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.ACCESS_FINE_LOCATION / uses-permission android:name=android.permission.WAKE_LOCK / uses-permission

Re: [android-developers] Re: Market device-filtering question

2012-03-18 Thread Mark Murphy
On Sun, Mar 18, 2012 at 11:27 AM, Keith Wiley kbwi...@gmail.com wrote: Thanks for responding.  Here's my permission list:        uses-permission android:name=android.permission.INTERNET /        uses-permission android:name=android.permission.ACCESS_FINE_LOCATION /        uses-permission

[android-developers] Re: Market device-filtering question

2012-03-18 Thread Keith Wiley
On Mar 18, 8:48 am, Mark Murphy mmur...@commonsware.com wrote: On Sun, Mar 18, 2012 at 11:27 AM, Keith Wiley kbwi...@gmail.com wrote: Thanks for responding.  Here's my permission list:        uses-permission android:name=android.permission.INTERNET /        uses-permission

[android-developers] Re: Market device-filtering question

2012-03-18 Thread Keith Wiley
Looks like this is the trick: uses-feature android:name=android.hardware.telephony android:required=false / ...plus a few related entries for location access, etc. Thanks again. Cheers! -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Is it possible to open an Audio Recorder by more than one app using OpenSL?

2012-03-18 Thread smichak
Hi, I am writing an application that runs as a background service recording and analyzing audio samples. I have noticed that it is impossible to use the SDK's AudioRecord class for accessing the microphone simultaneously by more than one application. I was wondering whether it would be possible

Re: [android-developers] Simple XML Error

2012-03-18 Thread CaRRtel Industres
what's wrong with the ads size? My current code still has the same error LinearLayout android:layout_width=fill_parent android:id=@+id/ad_layout android:layout_height=wrap_content android:gravity=bottom android:layout_alightParentBottom=true com.google.ads.AdView

[android-developers] Re: CalendarContract on Samsung's ICS update

2012-03-18 Thread roee88
Thanks for the answer. I created a sample APK with the code taken directly from Google's documentation (copy-paste). Result was the same as before. How can I send it to Samsung? All I could find is customer support. On Mar 17, 8:04 am, Zsolt Vasvari zvasv...@gmail.com wrote: Here's the

[android-developers] Problem using Ksoap2

2012-03-18 Thread g...@deanblakely.com
I'm trying to see if it is feasible to access .Net WCF SOAP services from an android client. I found a post at http://naveenbalani.com/index.php/2011/01/invoke-webservices-from-android/comment-page-1/#comment-13485 That shows how to accomplish this using a library named Ksoap2. I'm pretty sure

[android-developers] Re: Eclipse packages and package explorer

2012-03-18 Thread g...@deanblakely.com
I don't have any problem Java - I read a comparison doc and it's on a par with C#. I'm not looking forward to JavaScript being the new world standard language though. Gary On Mar 16, 1:34 pm, Lew lewbl...@gmail.com wrote: ga...@deanblakely.com wrote: Lew, thanks for responding.  after

Re: [android-developers] Re: Eclipse packages and package explorer

2012-03-18 Thread Bob Plantz
On 3/18/2012 11:17 AM, g...@deanblakely.com wrote: I don't have any problem Java - I read a comparison doc and it's on a par with C#. I'm not looking forward to JavaScript being the new world standard language though. Gary We survived Y2K in a world of COBOL. I'm sure we can get along with

Re: [android-developers] Simple XML Error

2012-03-18 Thread TreKing
On Sun, Mar 18, 2012 at 1:44 AM, CaRRtel Industres carrtelindustr...@gmail.com wrote: Could someone please tell me why i get this error. error: Error parsing XML: junk after document element I am attempting to include ads at the bottom of my app and I can't figure out this problem. adSize

[android-developers] facebook

2012-03-18 Thread Amanda Croxton
I cannot recieve messages on facebbok or do anything.I keep getting this link...HELP,please!! -- 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: Icons - Recommended size, format, etc?

2012-03-18 Thread pungggi
see official reccomandations here http://developer.android.com/guide/practices/ui_guidelines/icon_design_menu.html Am Freitag, 7. November 2008 15:23:52 UTC+1 schrieb g1bb: Hello, Is there a recommended size or format for an application's icon? I've been using .PNG at 190x141 px, but I

[android-developers] Bluetooth (BT) Hardware keyboard custom layout and special keys service

2012-03-18 Thread Никита Траторов
https://lh3.googleusercontent.com/-junDMI1xOCI/T2XUzN_5f5I/AqE/y1_FhThZjh8/s1600/IMG_3119.JPG *Good day to all developers!* I have a Bluetooth (BT) Hardware keyboard RAPOO E6300, working on my SGSII with Android 2.3.5. It is working fine, but some special keys is not mapped as

[android-developers] ENABLED ON LOAD CHECKBOX IN EXPANDABLELIST

2012-03-18 Thread Antonio Diaz
I'm doing an expandable list in android with checkbox, I did correctly this, but now I'd like that some checkbox appear checked (on true). I did something, but it isn't right becouse the findviewbyid return null. I follow this example

[android-developers] serverSocket.accept();

2012-03-18 Thread Sumit
Why, in my android code ServerSocket ss=new ServerSocket(8085); //works till here Socket s=ss.accept(); // block here why my code get blocked here at accept() call, can any one gave me a solution, When i make my android device as client my Java code as Server it works, but does not work

[android-developers] ExpandableListView and hiding the indicator on empty groups

2012-03-18 Thread Brandon Peters
I struggled with this as I see others have done. I ended up getting around it by doing this: Defining a custom drawable for setGroupIndicator(): ?xml version=1.0 encoding=utf-8? selector xmlns:android=http://schemas.android.com/apk/res/android; item

[android-developers] Re: Zoom Gallery Element

2012-03-18 Thread Damir Mailybayev
I was catching Events based on the Action (for example: getAction() == MotionEvent.ACTION_DOWN) and passing event to gallery by return super.onTouchEvent(event); or passing event to the ImageView by just getting selected item and pass the specific event like ACTION_UP On Saturday, July 23,

[android-developers] Internal Memory unmounted every time the device starts problem

2012-03-18 Thread MistrJohn
I've recently bought a JXD S601 device. It worked properly for a few days while I was adding some games and apps for it. CPU HARDWARE: AMLOGIC MESON3 8726M SKT SH AML8726-M3 REF F 02 (specific board in use) CPU MODEL: ARM v7 (VFPv3, NEON) CPU FREQUENCY 300.0 ~ 600.0 MHz Display: 480-272px GPU

[android-developers] extracting wifi frames

2012-03-18 Thread edu mas
hello everybody. I need to extract some fields from wifi frames. I`m using wifimanager class and it only supplies SSID, BSSID and RSSI. Is there any class to obtain a raw frame from a Wifi access point? Thanks. -- You received this message because you are subscribed to the Google Groups

[android-developers] source of Runkeeper api

2012-03-18 Thread putzz12
well im interesed on know the source of that api. i may pay something for that -- 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

Re: [android-developers] Simple XML Error

2012-03-18 Thread Peter Iannarelli
Not sure why but below is my layout to get ads at the bottom of my mapview via positionview. It took a bit of fiddling to get it to work and I moved the zoom buttons to the top. ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] MultiThreadSQLiteOpenHelper

2012-03-18 Thread d4rxh4wx
Hello, I have written MultiThreadSQLiteOpenHelper which is an enhanced SQLiteOpenHelper for Android applications where several threads might open and close the same sqlite database. Instead of calling close method, threads ask for closing the database, thus preventing a thread from performing a

[android-developers] How can we get the width and height of a android.graphics.Path object

2012-03-18 Thread nmgzhangrl
How can we get the width and height of a android.graphics.Path object -- 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: Recording High Frequencies

2012-03-18 Thread bluepuma
Hi Aledis, I assume that data path of your use-case is like following: MediaRecoder = AMR_WB encoder = AudioFlinger = Codec on plarform = Mic; Now, I get some question for you: 1). Does AMR_WB support samplerate above 34kHz (17 x 2 kHz)? 2). Does AudioFlinger apply the samplerate above 34kHz

[android-developers] Re: Problem using Ksoap2

2012-03-18 Thread hoeggi
looks like you forgot to add Internet permission in the manifest On Sunday, March 18, 2012 7:03:08 PM UTC+1, ga...@deanblakely.com wrote: I'm trying to see if it is feasible to access .Net WCF SOAP services from an android client. I found a post at

[android-developers] onTouchEvent never called within a thread

2012-03-18 Thread Sheeft
Hello everyone ! I'm experiencing some issue with a game I'm working on. I'm using a SurfaceView linked with a thread to draw on it but when using a thread as follows, my view onTouchEvent method never gets called. public void run() { Canvas c; while(_run) { c =

[android-developers] Want to pick it from ListPreference but cant

2012-03-18 Thread Busby
i want to pick an item into an intent ive tried. i.putExtra(Intent.EXTRA_TEXT, (settings).getStringArray(Problem,getStringArray(R.array.situations))); but that does not work. any ideas/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Null exception: No authentication header information - even setting .setUserToken(auth_token)

2012-03-18 Thread Bogdan Petran
I have the below method: public String tryGoogleAuthentication(String auth_token){ ContactsService contactsService = new ContactsService(.); contactsService.setUserToken(auth_token); IFeed feed = null; try { feed = contactsService.getFeed(new

[android-developers] OnTouchListener with multiple views problem

2012-03-18 Thread metro
Hi, I have a problem I can't solve. I've dynamically configured multiple views with the same OnTouchListener After I finish moving one view (ACTION_UP and return false), and trying to touch and move other view, the OnTouch method is called with the same first view as parameter, and that view is

[android-developers] Fragment not resumed when reappearing on top of a back stack

2012-03-18 Thread Alex Suzuki
Hi, I have an issue with fragment lifecycle and the fragment back stack. I'm pushing two fragments A and B onto the stack, both display a view of the underlying data model. Fragment B will alter the model, and will then be popped from the stack, causing A to reappear. What I expected is that at

[android-developers] Thread started inside Service is killed?

2012-03-18 Thread svl
Hi, I created a service to read information from the serial port. I start a thread that actually does all the reading from the serial port. It runs for about 10 minutes and then it just stops. No exceptions thrown, no errors on logcat. The question is - how i can make sure that the thread keeps

[android-developers] documentBuilder.parse fails under android 4.0.3

2012-03-18 Thread toki
Hello, I'm new to android but not to java and now facing an odd problem. Parsing of the same xml document works fine on jdk but fails on android. I need to find a solution to build a Document object, any workaround is appreciated. BR toki - This throws a

[android-developers] spinner

2012-03-18 Thread sri kanth
Dear All, Let me know how to change the spinner list color when i click the spinner list. -- 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] What's the pros for using webview instead of native client UI?

2012-03-18 Thread Sean Wang
Hi, I'm quite confused with the usage of webview. You could implement the same UI either by just a webview or xml + native client UI widgets. So what's the pros and cons for web view? When to use it? The only benefit I could see about webview is that you can save some time when doing

[android-developers] hello for all

2012-03-18 Thread Yasser Mossa
i thank android for all thing in android but i'm looking for android with arabic language ,i mean i can read and write arabic ,becouse i see all language in android but ARABIC i dont fond it. WHY i hope you answer me thank you -- You received this message because you are subscribed

[android-developers] Multiple views in a tab - how?

2012-03-18 Thread Scummtomte
Hello! I´m making a web browser application for Android and I´m having some serious problems with the views. My aim is to have 3 tabs with identical content but independant from each other (so that you can visit three different web sites at the same time, one per tab). Screenshot: imgur: the

[android-developers] Re: Global touch events listener

2012-03-18 Thread McGragger
Did you ever find a way to do this? On Friday, March 27, 2009 5:16:34 PM UTC-4, el Nino wrote: What I want to achieve is either to register a system-wide touch listener service or draw a window to capture touch events , handle them and dispatch to the underlying windows. Is there a way to

[android-developers] Same permission defined in multiple applications

2012-03-18 Thread Ryan Reeves
I am developing two applications that will share functionality via their activities. I would like to only allow applications signed with the same certificate to start these activities. My plan is to create a custom permission with protection level of signature and apply that permission to

[android-developers] Handlers and Timers never works for 24 hours task

2012-03-18 Thread Tarak
I have a requirement to run a task periodically after 24 hours and made use of *postDelayed **(Runnablehttp://developer.android.com/reference/java/lang/Runnable.html r, long delayMillis) *. But this seems to fail since it never worked even for 4 hours. Now I have made use of Timer and

[android-developers] Accessing computer filesystem from Android application

2012-03-18 Thread urbanboy92
Is there any way in which I can write a file on my PC filesystem from an Android application when the Android mobile device is connected to the PC by USB connection . ie : My mobile device is connected to the PC via a USB cable . I run my application on my mobile and it creates a file on my PC

[android-developers] Requsition

2012-03-18 Thread Simbhu
How to get the international maritime boundary line between India and Srilanka.I have gotten the google map in my project. How I measure the distance from Tamilnadu to its maritime cross line. Kindly give the instructions!.. -- You received this message because you are subscribed to the

[android-developers] How to repeat the control

2012-03-18 Thread sangeeth kannan
Hi fellas, im new to android developing . im using app inventor... in that blocks editor is it possible to repeat the control block or any action for certain period of time.. for example if i want alert the user for every five minutes? if there is a way plz explain it...! -- You

Re: [android-developers] Same permission defined in multiple applications

2012-03-18 Thread Mark Murphy
On Sun, Mar 18, 2012 at 5:50 PM, Ryan Reeves rreeves...@gmail.com wrote: I am developing two applications that will share functionality via their activities. I would like to only allow applications signed with the same certificate to start these activities. My plan is to create a custom

Re: [android-developers] Handlers and Timers never works for 24 hours task

2012-03-18 Thread Mark Murphy
On Sun, Mar 18, 2012 at 3:07 PM, Tarak tsri...@ipass.com wrote: I have a requirement to run a task periodically after 24 hours and made use of postDelayed (Runnable r, long delayMillis) . Do not do that. Use AlarmManager for periodic tasks like this. -- Mark Murphy (a Commons Guy)

Re: [android-developers] Accessing computer filesystem from Android application

2012-03-18 Thread Mark Murphy
On Sat, Mar 17, 2012 at 1:39 AM, urbanboy92 urbanbo...@gmail.com wrote: Is there any way in which I can write a file on my PC filesystem from an Android application when the Android mobile device is connected to the PC by USB connection . No, sorry. The PC is the host, not the Android device.

Re: [android-developers] Internal Memory unmounted every time the device starts problem

2012-03-18 Thread Mark Murphy
This list is for developing applications with the Android SDK. Please contact your device manufacturer for technical support with their device. On Sun, Mar 18, 2012 at 1:22 PM, MistrJohn ivdo...@gmail.com wrote: I've recently bought a JXD S601 device. It worked properly for a few days while I

[android-developers] what will happen when android (application layer) is crushed and modem (firmware ) layer is still alive

2012-03-18 Thread droigons
Dear Experts: When android framework is not response to user and it hangs. does this considered it is crashing on android and modem part is alive ( there are two layers- modem which is called firmware and android - application layer ). Thanks you in advance -- You received this message

Re: [android-developers] Application Recycling

2012-03-18 Thread Trey
Thank you all for your replies. I have tested each of my activities and their state saving using the rotate approach. But what I'm trying to test is the state of my entire application, not my activities. For example: If in activity 1 I initialize a static field to a value. Then lock the

[android-developers] Re: Simple XML Error

2012-03-18 Thread CaRRtel Industres
Special thanks too Peter and TreKing. I got mine fixed. On Sunday, March 18, 2012 1:44:30 AM UTC-5, CaRRtel Industres wrote: Could someone please tell me why i get this error. error: Error parsing XML: junk after document element I am attempting to include ads at the bottom of my app and I

[android-developers] Google Maps are very old on Android

2012-03-18 Thread g...@deanblakely.com
I'm going through some of the tutorials and just finished HelloGoogleMaps tutorial. It works alright but I notice that the map is very old - much older than on Google.com. Looking where I live it's at least 7 years old. On Google.com it's no more than 2 years old. Why would this be? the

Re: [android-developers] ListFragment fails on setContentView

2012-03-18 Thread Jim Andresakis
Hey thanks for jumping in Mark. So no matter what subclass of fragment Im using I always call it from xml using just fragment ? I switched my code up using that but now I get an error in my logcat complaining about a resource exception resource not found on my listview. On Sunday, March 18,

[android-developers] Window, WindowManager, PolicyManager classes - or - implementing a custom overlay

2012-03-18 Thread momo
I'm creating a component that needs to appear above (and separate from) the existing UI, similar to the Dialog, PopupWindow and ContextMenu widgets. I'd like it to be modular and portable (again like those widgets I just mentioned), so pre-supposing a particular type of layout for the

[android-developers] Re: CalendarContract on Samsung's ICS update

2012-03-18 Thread Zsolt Vasvari
Perhaps one of these? http://innovator.samsungmobile.com/bbs/discussion/forum.list.do?platformId=1parentCategoryId=4categoryId=800nacode=uk On Monday, March 19, 2012 1:41:45 AM UTC+8, roee88 wrote: Thanks for the answer. I created a sample APK with the code taken directly from Google's

[android-developers] Re: Bluetooth (BT) Hardware keyboard custom layout and special keys service

2012-03-18 Thread Solution 9420
Hi There, The CNTL key is not existed in Android 2.x series. You'll have to dig into the OS keymap, like what you mentioned, to open these to the underlined applications. My app, 9420 Tablet keyboard (and 9420 Thai Keyboard), handls the key inputs from the HW keyboard as well beside the on-screen

[android-developers] Re: Google Maps are very old on Android

2012-03-18 Thread Zsolt Vasvari
You didn't specify: android:giveMeLatestMaps=true On Monday, March 19, 2012 8:07:06 AM UTC+8, ga...@deanblakely.com wrote: I'm going through some of the tutorials and just finished HelloGoogleMaps tutorial. It works alright but I notice that the map is very old - much older than on

[android-developers] webview transitions using viewflipper

2012-03-18 Thread Josh Starrett
So I have been working on using transitions with my webapp using viewfipper. I am using two webview called mWebView and mWebView2. I also have a viewFipper called flip. I have mWebView loading the first webpage. My code looks like this: mWebView.setWebViewClient(new FWebViewClient());

[android-developers] Re: documentBuilder.parse fails under android 4.0.3

2012-03-18 Thread Zsolt Vasvari
You may not be new to Java, but you sure don't know how to ask a proper question. How is anyone supposed to be able to help you based on what you wrote? On Monday, March 19, 2012 2:56:47 AM UTC+8, toki wrote: Hello, I'm new to android but not to java and now facing an odd problem.

[android-developers] Re: CalendarContract on Samsung's ICS update

2012-03-18 Thread Zsolt Vasvari
This forum seems to have lots of generic topics: http://innovator.samsungmobile.com/bbs/discussion/thread.list.do?boardId=1132boardName=AndroidBoardmessageCategoryId=1categoryId=800parentCategoryId=4platformId=1nacode=uk On Monday, March 19, 2012 9:47:13 AM UTC+8, Zsolt Vasvari wrote:

Re: [android-developers] Handlers and Timers never works for 24 hours task

2012-03-18 Thread Tarak
Thanks Mark. Why can't timers or handlers be used ?. There is nothing in the documentation of why timers or handlers cant be used to run tasks after 24 hours. AlarmManager is more heavy weight on the OS. The documentation says that you must acquire a WAKE lock when processing the alarm,

Re: [android-developers] Handlers and Timers never works for 24 hours task

2012-03-18 Thread Zsolt Vasvari
You might want to read up on the lifecycle of an Android app and how the system can kill it any time for any reason. On Monday, March 19, 2012 10:58:16 AM UTC+8, Tarak wrote: Thanks Mark. Why can't timers or handlers be used ?. There is nothing in the documentation of why timers or

Re: [android-developers] Handlers and Timers never works for 24 hours task

2012-03-18 Thread Kristopher Micinski
On Sun, Mar 18, 2012 at 10:58 PM, Tarak tsri...@ipass.com wrote: Thanks Mark. Why can't timers or handlers be used ?. There is nothing in the documentation  of why  timers or handlers cant be used to run tasks after 24 hours. AlarmManager  is more heavy weight on the OS. The documentation says

Re: [android-developers] extracting wifi frames

2012-03-18 Thread Kristopher Micinski
There is nothing in the SDK to do this, iirc. kris On Sun, Mar 18, 2012 at 3:18 PM, edu mas edu@gmail.com wrote: hello everybody. I need to extract some fields from wifi frames. I`m using wifimanager class and it only supplies SSID, BSSID and RSSI. Is there any class to obtain a raw

[android-developers] Layouts and Animation

2012-03-18 Thread John Lussmyer
I need to setup an Activity that when a certain button is pressed, a widget will be animated (slide in from bottom) onto the screen. I haven't been able to find an example of how you setup a layout to have the widget off-screen before the animation, and stay on-screen after the animation. Anyone

[android-developers] Re: Layouts and Animation

2012-03-18 Thread Zsolt Vasvari
You don't have it physically off-screen before the animation. You make it invisible when it's off screen, then make it visible when you want it to slide-in AND start the slide-in animation at the SAME TIME. Animation inAnimation = AnimationUtils.loadAnimation(this, R.anim.slide_in);

[android-developers] Re: Problem using Ksoap2

2012-03-18 Thread Ed
FWIW I've tried using ksoap2 with wcf and it works until you get to complex classes and then it falls over on the namespaces. The best bet (if you can) is enable JSON on WCF and use GSON. Cheers, Ed On Mar 19, 4:03 am, g...@deanblakely.com g...@deanblakely.com wrote: I'm trying to see if it is

[android-developers] Re: documentBuilder.parse fails under android 4.0.3

2012-03-18 Thread kalandar
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = factory.newDocumentBuilder(); Document doc = builder.parse(new File(fileName)); doc.getDocumentElement().normalize(); try this and use NodeList to extract data. this will works

[android-developers] Re: hello for all

2012-03-18 Thread kalandar
android 4.0 is supporting arabic... try 4.0 devices -- 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] Handlers and Timers never works for 24 hours task

2012-03-18 Thread Tarak
Yes, the system kills the app at any time. But i have this condition being handled by rescheduling the timer after being restarted. The app was killed after 8 hours and then restarted. A timer was scheduled for the remaining 16 hours which didn't go off. The process id was the same. On

Re: [android-developers] Handlers and Timers never works for 24 hours task

2012-03-18 Thread Kristopher Micinski
That doesn't change things, this is exactly the use case for an alarm manager. kris On Mon, Mar 19, 2012 at 1:02 AM, Tarak tsri...@ipass.com wrote: Yes, the system kills the app at any time. But i have this condition being handled by rescheduling the timer after being restarted. The app was

Re: [android-developers] Google Maps are very old on Android

2012-03-18 Thread TreKing
On Sun, Mar 18, 2012 at 7:07 PM, g...@deanblakely.com g...@deanblakely.comwrote: Why would this be? The Google Maps add-on has essentially been abandoned. It has not received an update of any sort in several years now. I would think that the tiles would be updated server-side, but apparently

Re: [android-developers] spinner

2012-03-18 Thread TreKing
On Sun, Mar 18, 2012 at 12:29 PM, sri kanth sritullimi...@gmail.com wrote: Let me know how to change the spinner list color when i click the spinner list. Set your custom adapter for the Spinner, override getView to give you the View you desire with your custom color.

Re: [android-developers] What's the pros for using webview instead of native client UI?

2012-03-18 Thread TreKing
On Sat, Mar 17, 2012 at 4:40 PM, Sean Wang seanwan...@gmail.com wrote: So what's the pros and cons for web view? When to use it? I just did a Google search for native vs web app and found lots of information. Try that.

Re: [android-developers] Thread started inside Service is killed?

2012-03-18 Thread TreKing
On Sun, Mar 18, 2012 at 3:44 PM, svl s.i.vladimi...@googlemail.com wrote: The question is - how i can make sure that the thread keeps running? You can't, not without any guarantee. Another solution was to do it with a handler and run the read from serial port every second. Unfortunately

Re: [android-developers] Handlers and Timers never works for 24 hours task

2012-03-18 Thread Zsolt Vasvari
Restarted? If the system kills your app, it doesn't restart it until a) User starts it b) an Intent comes in to start it c) an Alarm goes off It won't just get magically restarted for you. On Monday, March 19, 2012 1:02:54 PM UTC+8, Tarak wrote: Yes, the system kills the app at any time.

Re: [android-developers] facebook

2012-03-18 Thread TreKing
On Sat, Mar 17, 2012 at 4:27 PM, Amanda Croxton amandacroxto...@live.comwrote: I cannot recieve messages on facebbok or do anything.I keep getting this link...HELP,please!! What exactly does this have to do with Android development?

Re: [android-developers] On Reciving SMS Calling Web Service.

2012-03-18 Thread ravindra bhavsar
Hello Marcin Orlowski, Thanks for reply. This is my following code that sends sms and that sms receive the destination mobile.it works well. It display the msg on destination mobile.But I dont understand where do i write code that read

[android-developers] Re : Spinner calling in OnItemSelect

2012-03-18 Thread vivek elangovan
Hi members, I want to display the second spinner if i only select some values in my first spinner and also i want to create the spinner in my class directly without declaring in my main.xml is it possible? -- You received this message because you are subscribed to the