[android-developers] Re: Fragment communication and view null

2012-02-24 Thread Davide
Wondering if any of you have any suggestions...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 group, send email to

[android-developers] Re: application CPU usage

2012-02-24 Thread elham
DDMS tool helps you find out the CPU usage . You can find out the CPU used by each method of your app . On Feb 24, 12:21 pm, sahar harati saharati2...@gmail.com wrote: Hi! I wanna get application cpu usage on android from my java code but i don't know how :( Regards -- Sahar Harati BS

[android-developers] Re: Communicate with GSM modem

2012-02-24 Thread Tiago Teixeira
Thanks for your answer. But what I'm trying to do is to communicate with the modem, send text commands to it over a GSM call and receive the response data. How can I use the Android RIL? Thanks in advance! On Feb 24, 7:52 am, Tor tor.hough...@gmail.com wrote: You need to read up on the

Re: [android-developers] sip demo

2012-02-24 Thread Jagruti Sangani
Thanks, if i want to run the application on mobile and 3g or wifi is connected and i want that my application will automatically connect with whatever exist connection on mobile.Then for that any steps require ?At any where changes require On Fri, Feb 24, 2012 at 12:41 PM, Nikolay Elenkov

Re: [android-developers] sip demo

2012-02-24 Thread Nikolay Elenkov
On Fri, Feb 24, 2012 at 5:53 PM, Jagruti Sangani jagruti.sang...@inextrix.com wrote: Thanks, if i want to run the application on mobile and 3g or wifi is connected and i want that my application will automatically connect with whatever exist connection on mobile.Then for that any steps require

[android-developers] sip demo

2012-02-24 Thread Jagruti Sangani
hello, Anybody know how to send more than 1 digit in dtmf on live call like 123 or 456 instead of just 1 or 2.because i can send the just one digit at a time but not more digit at the same time.or if you know how send * and # as dtmf then also tell me. -- You received this message because you

[android-developers] How to changue the texture of a polygon efficiently?

2012-02-24 Thread saex
I have a symple square polygon (from nehe tutorials) with a texture. The polygon haves a bitmap and the method loadGLTexture(GL10 gl, Context context) is called once, when the polygon is created, to load the texture. I need to add the functionality to my app to change the texture of the square.

[android-developers] timer on sip calling

2012-02-24 Thread Jagruti Sangani
hello, I want to start the timer when the call will establish and the timer will stop when the call will end by other party.Can anybody know how to do this.same as when the call is come in our mobile and the second is display continuesly till the call will end. -- You received this message

[android-developers] Show My Application Icon On Click of Native Contact Quick Badge in Android With out Using AbstractThreadedSyncAdapter(SyncAdapter).)

2012-02-24 Thread nithin malikarjuna
I want to show My application Icon on click of native Contact Avatar. I have Add Contact code and i am able successfully add a contact, and into this contact i am added my own MIME Type called **vnd.android.cursor.item/vnd.com.nitz.ui.badge**. and my applyBatch(ArrayList operations)

[android-developers] Re: Color-Ring

2012-02-24 Thread BearTi
Thanks! That what I mean! :) On 24 Feb., 04:30, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Fri, Feb 24, 2012 at 2:49 AM, BearTi mlrti...@googlemail.com wrote: Hi, I´m creating an widget and now I want (in the config app) to have a color-selection (ring). Is there a predefined

[android-developers] Re: onStop() coming with delay

2012-02-24 Thread moktarul anam
Hi Pavel in activity life cycle when u will move one activity to another-- when foreground activity will lose focus the onPause and then new activity will be foreground and that activity will be all onStop() method and then android system will check whether that activity is last activity or not or

Re: [android-developers] Re: Color-Ring

2012-02-24 Thread Kostya Vasilyev
There is also this one: http://code.google.com/p/android-color-picker/ Scales on large screens, includes xhdpi resources, and is set up as a Android library. -- Kostya 24.02.2012 13:27, BearTi пишет: Thanks! That what I mean! :) On 24 Feb., 04:30, Nikolay Elenkovnikolay.elen...@gmail.com

[android-developers] Re: Webview inner link problem

2012-02-24 Thread moktarul anam
Hi Kalandar, In webview there s something JavaScriptInterface funda. From webview browser u can call activity method from here See this link: http://developer.android.com/guide/webapps/webview.html Enjoy Moktarul anam On Feb 24, 11:37 am, kalandar kasimk...@gmail.com wrote: hi friends,    

[android-developers] Re: Add to recent application list

2012-02-24 Thread moktarul anam
R u working on launcher application ( adwLauncher)? Moktarul On Feb 24, 11:24 am, elham elhamna...@gmail.com wrote: Dear All, I have a requirement to add a activity into the recent app list. Is it anyway possible to add new RunningTaskInfo obj into the list .   I know there are no api's to

[android-developers] Re: Custom Listview in android?

2012-02-24 Thread moktarul anam
Hi Duygu, better u use custom adapter for listview. In getview() method create ur view Moktarul anam On Feb 23, 9:18 pm, Duygu Kahraman duygu.kahram...@gmail.com wrote: I have some problem about customlistview.How can i do this screen? First seem like all of them button but all line must be

[android-developers] automatic take internet connection whatever exist

2012-02-24 Thread Jagruti Sangani
hello, I want to know that if i run my application on mobile and any internet connection is there like wifi,3g,etc.Then i want to automaticaly take that connection with that application.for that any changes or ant steps require? -- You received this message because you are subscribed to the

Re: [android-developers] Re: How to get the DB File from real android device

2012-02-24 Thread suram sridhar
Hi.. Only in emulator we can able to access the db files, but it is not possible on Real devices? How to access the db file on real device? On Fri, Feb 24, 2012 at 12:15 PM, moktarul anam mokta...@gmail.com wrote: execute these command 1. cd sdk package-tools folder 2. adb shell (adb shell to

[android-developers] Re: Does a device have Wi-Fi or not?

2012-02-24 Thread RLScott
Can anyone tell me how to determine if a device has WiFi even if that WiFi is turned off? -- 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: How to get the DB File from real android device

2012-02-24 Thread moktarul anam
see first u hav to connect ur device to ur pc( through LAN) if ur device ip is ... 192.168.1.100 then use following command 1. cd sdk package-tools folder 2. adb connect 192.168.1.100 3. adb device then let me know mokta...@gmail.com Moktarul Anam On Feb 24, 3:52 pm, suram sridhar

Re: [android-developers] timer on sip calling

2012-02-24 Thread Uberall, Android
Dear Jagruti madam, You can do it by using the PhoneStateListener call and start timer when call receives and call end. Now u can use it by overriding the onCallStateChanged() method for your purpose. I hope it will be sufficient for you. Thanks Regards Prashant B Lal. On 24-02-2012

[android-developers] Re: automatic take internet connection whatever exist

2012-02-24 Thread tofeeq ahmad
Its by default take what ever connection exist if we do not filter it.But you have to mention all permission for using all connection. http://androidtrainningcenter.blogspot.in/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Cursor Blinking Management (TabHost/ActivityGroup)

2012-02-24 Thread Jan Burse
Dear All, Got a little progress in the blinking issue. Made the following observation. The method: tabHost.clearAllTabs(); Does not clear the selected status of the tabs in the tab widget. As a result one can provoke multiple selected tabs: +--+--+--+--+ | Tab1 | Tab2 |

[android-developers] getView called many times when the count is 1

2012-02-24 Thread vani reddy
Hi friends, In my lazyadapter of listview in the getView() i am calling a webservice to fetch a name, when the count is 1 , it is calling the webservice multiple times from getview. Why it is happening like that? How to resolve that Please reply ., -- Regards, Vani Reddy -- You received

[android-developers] Re: Custom Listview in android?

2012-02-24 Thread tofeeq ahmad
See this link..you will get idea http://androidtrainningcenter.blogspot.in/view/sidebar#!http://androidtrainningcenter.blogspot.com/2012/01/creating-listview-using-baseadapter.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: getView called many times when the count is 1

2012-02-24 Thread tofeeq ahmad
Show your code please and see this may you get some idea http://androidtrainningcenter.blogspot.in/view/sidebar#!http://androidtrainningcenter.blogspot.com/2012/01/creating-listview-using-baseadapter.html On Feb 24, 1:14 pm, vani reddy vani.reddy.bl...@gmail.com wrote: Hi  friends, In my

[android-developers] Re: getView called many times when the count is 1

2012-02-24 Thread tofeeq ahmad
Paste your code for idea and go to this link for more info about list adapter http://androidtrainningcenter.blogspot.in/view/sidebar#!http://androidtrainningcenter.blogspot.com/2012/01/creating-listview-using-baseadapter.html -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: getView called many times when the count is 1

2012-02-24 Thread vani reddy
Hey Check, @Override public View getView(final int position, View convertView, ViewGroup parent) { ViewHolder holder; if (convertView == null) { convertView = mInflater.inflate(R.layout.commentitem, null); holder = new ViewHolder();

Re: [android-developers] Re: Does a device have Wi-Fi or not?

2012-02-24 Thread Kostya Vasilyev
I don't have the answer to your original question, but... If you've come across devices where you can't get the mac address, perhaps you'd consider not using it at all? There are several fairly reliable data pieces even without the mac, and you could combine them into one, mix in the current

Re: [android-developers] Add to recent application list

2012-02-24 Thread Mark Murphy
On Fri, Feb 24, 2012 at 1:24 AM, elham elhamna...@gmail.com wrote: I have a requirement to add a activity into the recent app list. Is it anyway possible to add new RunningTaskInfo obj into the list . Only if the user starts up a task. I know there are no api's to do it directly but could

[android-developers] Re: Increase icon size

2012-02-24 Thread Matthew Jacobs
Before this argument, you had a question. And I'm not quite sure we answered it. So say you want to increase the size of the icons? Do you mean just the icon for your app? Or for all the apps? The application icons are all the same size for a reason. Otherwise it'd be an arms race of you chose

[android-developers] Re: How To Update database remotely ??

2012-02-24 Thread Android Lover
where is the answer ? On Feb 23, 1:07 pm, TreKing treking...@gmail.com wrote: On Wed, Feb 22, 2012 at 6:16 AM, Android Lover 3la2.7am...@gmail.comwrote: Hello all , i want to ask how i can update my database remotely using server http://www.catb.org/~esr/faqs/smart-questions.html

[android-developers] configuration qualifiers xhdpi vs xlarge

2012-02-24 Thread technodHr
hello there, i am working on a app that need to support tablets and for that i am keeping image resource under drawable-xhdpi it shows small images but if i rename the folder to drawable-xlarge it shows me big images can anybody explain this behavior? -- You received this message because you are

Re: [android-developers] Re: Increase icon size

2012-02-24 Thread Dhaval Varia
Thanks sir for your answer. I am trying to increase icon of my app. Reason is 1, my app should fire in emergency. 2,i had asked question,that if i can put my icon on locked screen then it would be better.but reply was,that its not possible. So i have only one way.which is increase size of my

Re: [android-developers] configuration qualifiers xhdpi vs xlarge

2012-02-24 Thread Kostya Vasilyev
Those are two distinct things: screen size bucket (small/normal/large/xlarge) vs. screen pixels per inch density (ldpi/mdpi/hdpi/xhdpi). drawable-xhdpi is for images at 320dpi. If your tablet has 160dpi (a typical 1280x800, 10 tablet), Android will take the xhdpi images (lacking others) and

Re: [android-developers] Re: Increase icon size

2012-02-24 Thread Mark Murphy
On Fri, Feb 24, 2012 at 7:45 AM, Dhaval Varia dhavalkva...@gmail.com wrote: I am trying to increase icon of my app. Reason is 1, my app should fire in emergency. 2,i had asked question,that if i can put my icon on locked screen then it would be better.but reply was,that its not possible.

Re: [android-developers] Re: getView called many times when the count is 1

2012-02-24 Thread luciofm
First of all, you should never do I/O (disk, networking) operations on getView() or your scrolling will be very sluggish, since they will run on the UI Thread an will block the scrolling until the request is fulfilled. Lúcio Maciel luci...@gmail.com On Fri, Feb 24, 2012 at 10:19, vani reddy

Re: [android-developers] Re: getView called many times when the count is 1

2012-02-24 Thread vani reddy
hi, ok but for a count of 1 the getview is called almost 10 times.How to avoid this?? On Fri, Feb 24, 2012 at 6:42 PM, luciofm luci...@gmail.com wrote: First of all, you should never do I/O (disk, networking) operations on getView() or your scrolling will be very sluggish, since they will run

[android-developers] getView called multiple times for a count of 1

2012-02-24 Thread vani reddy
Hi, This is the layout file LinearLayout android:layout_width=fill_parent android:layout_height=fill_parent android:background=@android:color/transparent android:orientation=vertical ListView

Re: [android-developers] Re: How To Update database remotely ??

2012-02-24 Thread TreKing
On Fri, Feb 24, 2012 at 6:32 AM, Android Lover 3la2.7am...@gmail.comwrote: where is the answer ? Somewhere on the internets. =) You want an answer to how i can update my database remotely using server??? when you have not added information like: - What database are you using? - Where this

Re: [android-developers] Increase icon size

2012-02-24 Thread TreKing
On Thu, Feb 23, 2012 at 11:50 PM, Dhaval Varia dhavalkva...@gmail.comwrote: look i always write from my cell...and its not AT ALL PLEASANT TO SPELL EVERYTHING IN FULL... OK, fair enough, but I (we) have no way of knowing that. And even phones have auto-complete and spell check. Your posts

[android-developers] Re: Increase icon size

2012-02-24 Thread Oli Wright
I think whether or not you're a professional developer is irrelevant, same with your personal time constraints. Treking can come across as a bit short with people occasionally, but I'm likely not the only one who appreciates that he puts in time here encouraging people to ask questions the

[android-developers] sqlite database storage data

2012-02-24 Thread Jagruti Sangani
hello, can anybody know the sqlite database at which place store the data like in project or inpc at any where.because i have use the sqlite database store the data on my pc its work perfect.but when this project run on other pc then no data found from table.so can anybody give me reply at where

[android-developers] Re: Does a device have Wi-Fi or not?

2012-02-24 Thread RLScott
Persistent storage is the problem. Sure, I could come up with randomly-generated unique ID. But anywhere I could store that ID is subject to erasure if my app is accidentally uninstalled. And if I make that ID user-accessible, then it could be spoofed and my copy protection scheme would be

Re: [android-developers] Increase icon size

2012-02-24 Thread Dhaval Varia
i always consider your answer valuable On Feb 24, 2012 7:22 PM, TreKing treking...@gmail.com wrote: On Thu, Feb 23, 2012 at 11:50 PM, Dhaval Varia dhavalkva...@gmail.comwrote: look i always write from my cell...and its not AT ALL PLEASANT TO SPELL EVERYTHING IN FULL... OK, fair enough,

[android-developers] Maintaining sorted state of a ListView

2012-02-24 Thread Kookamonga
I have what seems like a very basic question: how can I maintain the sorted state of a ListView as new items are added to the list? I have a ListView that is populated from a database. Specifically, I query my database, create an ArrayList of items, and use a custom ArrayAdapterMyType as the

[android-developers] Re: I would need some help with regard to sample projects in Eclipse

2012-02-24 Thread GABRIEL
HEEELP! On Feb 19, 5:29 pm, GABRIEL feyerv...@gmail.com wrote: Hello everyone, This is my first post, I usually find everything on the web but this one is just impossible to find (for me at least) I am trying to open the Sample Project (or sample code) : NewsReader into Eclipse. First,

[android-developers] Re: Maintaining sorted state of a ListView

2012-02-24 Thread skink
Kookamonga wrote: I have what seems like a very basic question: how can I maintain the sorted state of a ListView as new items are added to the list? I have a ListView that is populated from a database. Specifically, I query my database, create an ArrayList of items, and use a custom

[android-developers] Re: start at boot app gives instantiationException:

2012-02-24 Thread Thomas
Thanks to everyone for contributing to this longish discussion. Changing the line in the manifest fixed the problem. As far as debug is concerned I set it in the manifest as Eclipse didn't seem to set it by default. The overall project is to use an Android tablet as an embedded application which

[android-developers] Re: Maintaining sorted state of a ListView

2012-02-24 Thread Kookamonga
Thanks for your answer. I'll change over to a CursorAdapter and see how things go. On Feb 24, 10:30 am, skink psk...@gmail.com wrote: Kookamonga wrote: I have what seems like a very basic question: how can I maintain the sorted state of a ListView as new items are added to the list? I

[android-developers] Emulator networking problem

2012-02-24 Thread Robokop
Hi guys, I need to create the data connection between two android emulators running one on machine. I am not sure, but it probably should look like this: //server start adb devices adb -s emulator-5554 kill-server adb -s emulator-5554 start-server 10.0.2.15:5580 //redirection telnet

[android-developers] How to read EXIF Data from Image File on Android?

2012-02-24 Thread Jaison Brooks
So I'm trying to develop a application of my own that can take any image and read its EXIF data and use it to do something. Display it or using a intent send data to another application that can read its data. I've searched and I've searched and I just can't find a way to write this code. Any

[android-developers] Re: Application settings lost when updating to new version?

2012-02-24 Thread Ab
Well, there are quite a few changes between this version and the previous, so I was hoping for some general ideas/suggestions of what could cause this issue, as a starting point. In the manifest, I added a new permission, some new activities, and changed the application theme. Anything in

[android-developers] Re: Maintaining sorted state of a ListView

2012-02-24 Thread Kookamonga
I've hit a problem in changing over to a CursorAdapter. The custom items in my ListView contained a Checkbox. After reading online, I had successfully implemented maintaining the state of the Checkbox such that it worked with view recycling: I was storing the state of the Checkbox in the same

Re: [android-developers] Re: Is NFC card emulation possible on Galaxy Nexus and OS 4?

2012-02-24 Thread tarun sablok
It will not support UICc as it alredy has secure element as a NXP chip called SmartMx On Fri, Feb 24, 2012 at 12:16 PM, Roman K. roman.kochanek.andr...@googlemail.com wrote: Hey Michael, I have another question regarding card emulation. Do you know whether the UICC is physically connected

Re: [android-developers] Re : Phone Gap

2012-02-24 Thread TreKing
On Thu, Feb 23, 2012 at 11:36 PM, vivek elangovan elangovan.vi...@gmail.com wrote: Is there any sample application available other than Hello World android application with Phone Gap Have you tried a Google Search? Have you tried PhoneGap groups or forums?

[android-developers] Re: Maintaining sorted state of a ListView

2012-02-24 Thread Kookamonga
Looks like once again, it was all about Googling for the right thing: https://www.google.com/search?q=listview+cursoradapter+checkbox My bad. On Feb 24, 11:37 am, Kookamonga site...@yahoo.ca wrote: I've hit a problem in changing over to a CursorAdapter. The custom items in my ListView

Re: [android-developers] Re: Communicate with GSM modem

2012-02-24 Thread Kristopher Micinski
From the Android SDK this ins't remotely possible.. If you want to do this you'd have to modify the RIL at system level. If you want to do this, this is the wrong list to ask, as this list is for developing applications with the Android SDK. kris On Fri, Feb 24, 2012 at 3:37 AM, Tiago Teixeira

[android-developers] Re: How to attain Browser Activity handle from webkit code in Frameworks/base?

2012-02-24 Thread JoeyZee
Thanks for the clarification on both parts. Regarding the latter - I did see the capability to override the functions in Tab.java, however, that implementation path is specific to the browser only (tab.java). The functionality that I want to provide would be intended for ANY activity that

[android-developers] how to Start development using Addengine

2012-02-24 Thread Jay Trivedi
Any one please guide me how to add AddEngine classes into my Ecllipse... Please provide me the perfect steps.. i had gone through addengine google posts but found examples.. thanks 'Jay' -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Maintaining sorted state of a ListView

2012-02-24 Thread Kookamonga
I have another problem. I was scheduling an alarm for each item in my ListView. Users were able to edit the time for the alarm by editing the item in the ListView. Per the docs, I had to cancel the previously set alarm myself and set a new alarm for the updated time as specified by the user during

[android-developers] sd card

2012-02-24 Thread bob
I just installed a 2GB sd card into my VIZIO tablet. However, it shows the Total Space as Unavailable: http://i1190.photobucket.com/albums/z449/m75214/sdcard.png Any idea why it won't show me the space? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Alternative to show ActionBar in 2.x

2012-02-24 Thread Javier Hdez
Hello, I use Api Level 15 and I have a actionbar I need to display on devices with Eclair, Froyo y Gingerbread (below Api Level 11) but can not add Actionbar package (only to Fragments, as it says here http://developer.android.com/sdk/compatibility-library.html: import android.app.ActionBar;

[android-developers] Re: Alternative to show ActionBar in 2.x

2012-02-24 Thread Javier Hdez
Ok, with ActionBarCompat http://developer.android.com/resources/samples/ActionBarCompat/index.html On 24 feb, 19:42, Javier Hdez droin...@gmail.com wrote: Hello, I use Api Level 15 and I have a actionbar I need to display on devices with Eclair, Froyo y Gingerbread (below Api Level 11) but

Re: [android-developers] configuration qualifiers xhdpi vs xlarge

2012-02-24 Thread Dianne Hackborn
On Fri, Feb 24, 2012 at 4:46 AM, Kostya Vasilyev kmans...@gmail.com wrote: drawable-xlarge is for images at 160dpi, targeting xlarge screens. Running on a typical 1280x80 10 tablet, those don't need any resizing and are used as is. Just to be clear, it may be transiently typical that a

Re: [android-developers] How to get the DB File from real android device

2012-02-24 Thread Dianne Hackborn
On Thu, Feb 23, 2012 at 6:58 AM, Mark Murphy mmur...@commonsware.comwrote: You cannot access files on internal storage on un-rooted production hardware. On newer versions of the platform, if you mark your app as debuggable (ADT should do this automatically when you do debug builds I believe),

[android-developers] Access installed security certificates?

2012-02-24 Thread Ab
Users can install p12 security certificates on their android devices. Is there a way that I can list the installed certificates problematically, and obtain references to them (presumably as a java.security.KeyStore object)? -- You received this message because you are subscribed to the Google

Re: [android-developers] how to Start development using Addengine

2012-02-24 Thread TreKing
On Fri, Feb 24, 2012 at 12:59 PM, Jay Trivedi jayhtrived...@gmail.comwrote: Any one please guide me how to add AddEngine classes into my Ecllipse... This has nothing to do with this list. Use Google and find a group or forum dedicated to this AddEngine. If it is worth its salt, this engine

Re: [android-developers] Re: Mismatch in runtime layout selection based upon size/density

2012-02-24 Thread Dianne Hackborn
I'm not sure I am totally following you, but if you have two different layouts, one for smaller screens, and one for larger screens, then yes you probably want to have two resources, one with no qualifiers (for the smaller screens), and one with the appropriate screen size qualifier for the larger

[android-developers] Re: getView called many times when the count is 1

2012-02-24 Thread Pavel Dudka
I don't think you can avoid this since getView will be called multiple times no matter how much items in your list. It will be called every time your list needs to be redrawn. So in your case I wouldn't rely on idea that getView() is called only once. What you can do in your situation is to

Re: [android-developers] Re: getView called many times when the count is 1

2012-02-24 Thread Romain Guy
This behavior usually indicates that your ListView uses a height of wrap_content. It's a bad idea in general as it's pretty expensive. On Fri, Feb 24, 2012 at 1:03 PM, Pavel Dudka dudka.pa...@gmail.com wrote: I don't think you can avoid this since getView will be called multiple times no matter

[android-developers] TalkBack interactions with Android widgets

2012-02-24 Thread kalgik
Dear all, I have installed TalkBack application in Samsung Galaxy S II in order to see the interaction with a sample application of mine. I added contentDescritpion to any of the widget of my application. As I saw, it does not make any difference for Button, ImageView and Spinner widgets if you

[android-developers] Re: Access installed security certificates?

2012-02-24 Thread Ab
To clarify, in java this can be accomplished with: public static void main (String [] args) { try { KeyStore ks = KeyStore.getInstance(Windows-MY); ks.load(null, null); Enumeration aliases = ks.aliases(); while

[android-developers] Working with AsynchTask - need help badly.

2012-02-24 Thread IS SOA
below is my code i am trying to working on i am not sure whats going wrong here and i get this error (paste after this code) any help please? private Runnable viewOrders; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

Re: [android-developers] Working with AsynchTask - need help badly.

2012-02-24 Thread Kostya Vasilyev
There is a null pointer exception somewhere in your async tasks's doInBackground. I'm guessing it's the in - input stream. And you don't need those runnables and a thread - AsyncTask handles all of that for you. -- K On 02/25/2012 02:08 AM, IS SOA wrote: 02-24 17:01:00.641:

[android-developers] WebView + MediaPlayer Error but what mean this error

2012-02-24 Thread sen
Hi, I try to develop an very Simpel app. Just open some html files over a WebView the files are located in the asset folder. I want to play videos via HTML5. I have implemented with the following code: video id=my_video_1 class=video-js vjs-default-skin width=480 height=320 poster=img/p.jpg

[android-developers] ATTACH DATABASE

2012-02-24 Thread Fillipp Cabral
Hi guys! When i execute this: database.execSQL(String.format(ATTACH DATABASE '%s' as %s, basicDataDb.getAbsolutePath(), BasicDataDbUtils.BASIC_DATA_DATABASE_ALIAS)); i don´t know if the database was attached before...how can i verify this? because if i try to execute ATTACH DATABASE

[android-developers] contacts api and motorols atrix 4g

2012-02-24 Thread winphonedev1
i am facing a unique issue with motorola atrix .. while i found this is not an issue with some other phone i use following code to pick a contact Intent intent = new Intent(Intent.ACTION_PICK); intent.setType(ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE); startActivityForResult(intent,

[android-developers] Regarding Implementation in Message To field.

2012-02-24 Thread jacob443
Goto Message-To Field-Enter alphabets-We can see that all the alphabets is mapped with a number and it will show in the quick search down of an alphabet-If we select it get enters-bWhat is the use for that particular feature\b -- You received this message because you are subscribed to the Google

[android-developers] About SQLite

2012-02-24 Thread nunna narendra android developer
when i am trying to fetch the data from local database it is not working how can i solve this problem plz 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 android-developers@googlegroups.com To

[android-developers] Android Framework - add new package in /base/packages/

2012-02-24 Thread BHAUMIK SHUKLA
i m adding a new package in android framework in /base/packages/, while compiling and building i m getting an error that package com.xx.xx not exist do i need to register this new package somewhere in framework? -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re : Phone Gap

2012-02-24 Thread MOHANAKRISHNAN
follow this link, http://wiki.phonegap.com/w/page/35501397/Tutorials On Fri, Feb 24, 2012 at 11:06 AM, vivek elangovan elangovan.vi...@gmail.com wrote: Hi members,                        Is there any sample application available other than Hello World android application with Phone Gap? --

[android-developers] finishActivity on the YouTube app in ICS

2012-02-24 Thread Fredrik H
I'm starting the YouTube app with a request code (1) and try to finish it after 30 seconds. However, in ICS 4.0.3 the finishActivity call does not finish the YouTube app. Logcat output shows nothing related to the finishActivity call and onActivityResult in my activity is not called. This worked

Re: Re: [android-developers] requestLocationUpdates ignore minTime parameter?

2012-02-24 Thread StarTraX
But doesn't that beg the question what the parameter is there for at all? My testing indicates that the value is entirely ignored and always uses around 1000 ms on a Samsung Galaxy S11, Android 2.3.3. Why would the Android SDK provide something that looks very useful but actually delivers nothing?

[android-developers] Implementing SharedUserId

2012-02-24 Thread Michael .
I'm really not understanding how to implement shareduserid My understanding is that: *By default, Android assigns each application its own unique user ID. However, if this attribute is set to the same value for two or more applications, they will all share the same ID — provided that they are

[android-developers] Drawable set on an ImageView ignores setBounds and reverts to original bounds on orientation change.

2012-02-24 Thread Kiran Rao
I've been struggling with this strange problem for quite some time. A brief summary of the issue is this: An ImageView's Drawable in portrait orientation with a certain bounds set on it, on changing orientation and returning to portrait, does not retain the set bounds. Instead it reverts to its

[android-developers] Home automation using Android

2012-02-24 Thread Yash Ganthe
Hi, We would like to build an application that lets the user control his home appliances using an Android tablet. 1. It should not involve another PC that runs an application/service for controlling devices. 2. The conventional devices such as bulbs, ceiling fans, etc should work with the

[android-developers] ViewPager and android.text.GlyphItem.getWidth ArrayIndexOutOfBoundsException

2012-02-24 Thread Dang Sananikone
Hi, Recently I updated my app to use ViewPager and changed my activities to use fragments using the Compatibility Package (v4, r6). This has worked well, however I have just received a bug report form the Android Market Developer Console (see stack trace below). I am somewhat at a loss as to how

[android-developers] Android

2012-02-24 Thread Siga
Android application package file (APK) is the file format used to distribute and install application software and middleware onto Google's Android operating system. To make an APK file, a program for Android is first compiled, and then all of its parts are packaged into one file. This holds all of

[android-developers] Tracking email composition

2012-02-24 Thread a.frisk
I think I know the answer but I have to ask anyway. We are writing an app that needs to be able to detect when an email is started, saved, sent or deleted in a separate app. I also need to know the email address of the intended recipient. Ideally we'd like to track this for all email clients, but

[android-developers] Re: sqlite database storage data

2012-02-24 Thread abdullah mohamed mohamed abdelrhim
i think the answer is in this link http://stackoverflow.com/questions/513084/how-to-ship-an-android-application-with-a-database On Feb 24, 3:57 pm, Jagruti Sangani jagruti.sang...@inextrix.com wrote: hello, can anybody know the sqlite database at which place store the data like in project or

[android-developers] Problem with R class, ids and layouts not resolved

2012-02-24 Thread Luigi Caradonna
The problem of my app is that in the onCreate() method I have some cannot be resolved or is not a field errors. Lines where I have the problem are: setContentView(R.layout.main); //problem on main AutoCompleteTextView textStationFrom = (AutoCompleteTextView) findViewById(R.id.stationfrom);//

Re: [android-developers] Re: I would need some help with regard to sample projects in Eclipse

2012-02-24 Thread MeKa
http://androidcommunity.com/forums/f4/how-to-import-sample-android-projects-to-eclipse-109/ 2012/2/24 GABRIEL feyerv...@gmail.com: HEEELP! On Feb 19, 5:29 pm, GABRIEL feyerv...@gmail.com wrote: Hello everyone, This is my first post, I usually find everything on the web but this one is just

[android-developers] Game developed

2012-02-24 Thread Fred
Hi, I published a new version of my game Memory Game that i developed, its free to download https://market.android.com/details?id=com.fredrischter.jogodamemoria.free I'll star to post other games (demos) and skins to this one, now i'm going to develo an online highscores system to the paid

[android-developers] Re: application CPU usage

2012-02-24 Thread BaLa
On Feb 24, 9:25 am, elham elhamna...@gmail.com wrote: DDMS tool helps you find out the CPU usage . You can find out the CPU used by each method of your app . On Feb 24, 12:21 pm, sahar harati saharati2...@gmail.com wrote: Hi! I wanna get application cpu usage on android from my

[android-developers] Preventing an activity from quitting / ADK

2012-02-24 Thread Pete
Hi all, I'm running a tablet (either Toshiba, Asus Eee Transformer or Motorola Xoom) for a kiosk application. My problem is that if the user exits the app, it loses association with the ADK board, and to regain a connection, the ADK itself needs to be reset. Does anyone know of a way of

[android-developers] Re: application CPU usage

2012-02-24 Thread BaLa
Hi you can parse /proc/stat maybe i'm wrong but as far as i know there is no api for this kind of things. a other way will be to reference the project DevTools to your project to get this kind of information, greeting BaLa -- You received this message because you are subscribed to the Google

Re: [android-developers] check box states

2012-02-24 Thread chanakyaraichur
Instead of checkbox.ispressed() Use !checkbox.ischecked On Feb 23, 2012 8:32 PM, TreKing treking...@gmail.com wrote: On Tue, Feb 21, 2012 at 9:39 PM, minnie me mgm...@gmail.com wrote: Am trying to get the count of how many check boxes are selected and if you de-select one, it's suppose to

[android-developers] attach database

2012-02-24 Thread Fillipp Cabral
Hello guys! I´m trying to verify if the database was attached. When I use: database.execSQL(String.format(ATTACH DATABASE '%s' as %s, basicDataDb.getAbsolutePath(), BasicDataDbUtils.BASIC_DATA_DATABASE_ALIAS)); and if I execute this again, returns an exception saying: database in

[android-developers] StackOverflowError in ViewGroup.resetResolvedTextDirection when adding ListView to LinearLayout

2012-02-24 Thread Aleks G
I have looked high and low and asked on StackOverflow site, but still can't find any solution to this problem. When I'm starting my activity, I have an `AsyncTask`, which pulls the necessary data from my server and creates all views. Inside the `run()` method of the AsyncTask, I'm creating a

[android-developers] camera app FC/no FC dep. on startup method

2012-02-24 Thread Jim Graham
Ok, not the greatest subject line, but I wasn't sure how to get a good description and keep it short enough to see (before the majority of it falls off the edge of peoples' screens). I've been trying to figure out this strange error for at least a week, probably more like two weeks (not sure

  1   2   >