[android-developers] Re: Video rotate function

2009-12-14 Thread vyceris
Anyone? ;) Thank you On Dec 8, 5:06 pm, vyceris kvytau...@gmail.com wrote: Hi, How can implement video rotation during playback (or before starting playing)? I tried: private SurfaceView video  = null; - video = new SurfaceView();

[android-developers] Re: DB location

2009-12-14 Thread Jags
does that mean i wont be able to locate the db file ? I saw a data folder in android sdk /platforms /1.5/ but it does not follow structure after that like data/pkg name/databases and there is no data folder generated in bin folder of my workspace. the curious situation is, i create records

[android-developers] How to add a third-party jar into apk?

2009-12-14 Thread bear tung
for example, xml-security project. I used add xmlsec-1.4.3.jar( http://santuario.apache.org/dist/java-library/) in asset dir, then I add library. But when I run my Activity, it was force closed with error: E/dalvikvm( 1427): Could not find method

Re: [android-developers] Observing User inactivity time and broadcasting intent after timeout

2009-12-14 Thread Dianne Hackborn
Intent.ACTION_SCREEN_OFF is broadcast at the time where the user has been inactive and the screen is about to turn off. On Sun, Dec 13, 2009 at 9:28 PM, swapnil kamble swap.kam...@gmail.comwrote: Hi, As in android, after inactvity of screen off timeout, android screen goes off. So here

Re: [android-developers] Re: DB location

2009-12-14 Thread Mark Murphy
Jags wrote: does that mean i wont be able to locate the db file ? On the emulator, you should have no problems. On a device, though, security restrictions will prevent you from finding it. I saw a data folder in android sdk /platforms /1.5/ but it does not follow structure after that like

[android-developers] Re: DB location

2009-12-14 Thread Perty
A really nice feature is that the SQLite db is binary compatible on all different platforms so you can copy the database.db file to your computer and use any SLQLite tools to look and test the db. So you could then connect to the db thru jdbc and use for example eclipse with the sql tools and

[android-developers] Re: Invoking apps in background when phone starts

2009-12-14 Thread veradis
Hi Mark Murphy, thanks for help. In my app, the user wont be clicking on the menu icon for loading the application. The app SERVICE should be loaded along with android OS. So, can it be done. I am not sure whether it is good practice or not, but for time being it is my requirement. Thanks

Re: [android-developers] Re: Invoking apps in background when phone starts

2009-12-14 Thread Mark Murphy
veradis wrote: The app SERVICE should be loaded along with android OS. So, can it be done. Use a BOOT_COMPLETED broadcast Intent listener to start the service. I am not sure whether it is good practice or not My thoughts:

[android-developers] Re: MediaPlayer - Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported

2009-12-14 Thread akitto
Solve by me using the following code. I am not happy with this as a solution but it works //so if I have an existing mediaplayer, which for note could be playing something else //I stop the existing playback, run the gc for good measure then recreate the media player with the sound //I want it to

[android-developers] Re: DB location

2009-12-14 Thread Jags
Thanks you seem to know everything. i have named it differently, i just wrote it MyID not to publish too many info in a public forum, copywright you know. :) i observed, the pk value is all blank... while putting in COntentValues, I am putting nothing for MyId, as I expect it to be auto

[android-developers] Re: DB location

2009-12-14 Thread Jags
and you dont have an answer for last part ? pk value in alarm intent ? How can it be ? regards On Dec 14, 3:02 pm, Mark Murphy mmur...@commonsware.com wrote: Jags wrote: does that mean i wont be able to locate the db file ? On the emulator, you should have no problems. On a device, though,

[android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
Hi All, Struggling and struggling, but can't find the thing i'm doin wrong in my listview implementation. No exceptions, just no listview. I have a customized adapter with an overridden getView method, but the Log.d won't show, so i guess my adapter is just wrong? Could somebody have a look at

Re: [android-developers] Re: DB location

2009-12-14 Thread Mark Murphy
Jags wrote: i have named it differently, i just wrote it MyID not to publish too many info in a public forum, copywright you know. :) It is more that _ID will work better if you use CursorAdapter. CursorAdapter needs a unique key named _ID. You can always rename the column in your query (SELECT

Re: [android-developers] Re: DB location

2009-12-14 Thread Mark Murphy
Jags wrote: and you dont have an answer for last part ? pk value in alarm intent ? How can it be ? Use an int extra (e.g., putIntExtra()). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in Germany, 18-22 January 2010:

[android-developers] How to submit device driver into Android kernel source code?

2009-12-14 Thread bluestar
Does anyone submit source code into Android code? Is there limitation to someone that sumbit? How to do this procedure? Hope to tell more in detail about submitting source. (I would like to submit device driver into Android kernel source code) Thanks for your BIG BIG BIG help!!! -- You

Re: [android-developers] How to submit device driver into Android kernel source code?

2009-12-14 Thread Mark Murphy
bluestar wrote: Does anyone submit source code into Android code? Is there limitation to someone that sumbit? How to do this procedure? Hope to tell more in detail about submitting source. (I would like to submit device driver into Android kernel source code) Thanks for your BIG BIG BIG

Re: [android-developers] Listview problems

2009-12-14 Thread Mark Murphy
Patrick Plaatje wrote: Hi All, Struggling and struggling, but can't find the thing i'm doin wrong in my listview implementation. No exceptions, just no listview. I have a customized adapter with an overridden getView method, but the Log.d won't show, so i guess my adapter is just wrong?

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
Hi Mark, thanx for your amazing fast reply. All your remarks are very valid, but i might have oversimplified my code: - SplashScreen remark: i'm actually doin this with a timertask and a handler, is tested and working; - Feed is indeed retrieved in a seperate thread (as are the images for each

Re: [android-developers] How to add a third-party jar into apk?

2009-12-14 Thread Le Tuan Anh
Nah, it seems you have a confliction with jar lib. I also included a big jar in my project and it works well. Le Tuan Anh 2009/12/14 bear tung beart...@gmail.com for example, xml-security project. I used add xmlsec-1.4.3.jar( http://santuario.apache.org/dist/java-library/) in asset dir,

[android-developers] Re: DB location

2009-12-14 Thread Jags
Thanks a ton, brilliant answer and to the point. MyId INTEGER PRIMARY KEY AUTOINCREMENT is the way to go. I am amused how auto_increment did not give any error and created the table for me earlier ! regards On Dec 14, 3:25 pm, Mark Murphy mmur...@commonsware.com wrote: Jags wrote: and you

Re: [android-developers] Listview problems

2009-12-14 Thread Mark Murphy
Patrick Plaatje wrote: thanx for your amazing fast reply. All your remarks are very valid, but i might have oversimplified my code: Sorry, I took the code listings at face value. Your last remark is interesting though, how can i use the hierarchy viewer? Because when i use lv.getVisibility()

Re: [android-developers] Video rotate function

2009-12-14 Thread Suchand Ghosh
Please use SurfaceHolder.SURFACE_TYPE_NORMAL instead of SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS in your code. Because SURFACE_TYPE_PUSH_BUFFERS creates a push surface, that is a surface that doesn't owns its buffers. With such a surface lockCanvas will fail. Cheers. :) Chand On Tue, Dec 8, 2009 at

[android-developers] customlistadapter simple question

2009-12-14 Thread Jags
I am displaying some data in a ListActivity. my Layout contains a ListView. Now I need to group these data into 3 groups in a single list. these 3 groups of data will come from 3 different queries. now the question is can I use 3 listviews in them and set separate arryAdapters for each ? If yes,

[android-developers] Re: MediaPlayer - Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported

2009-12-14 Thread jarkman
For what it is worth, we've had trouble with the media player since 1.6, where we would get failures if we used the media player rapidly twice in succession to get ringtone titles. Here's a post with more details:

Re: [android-developers] customlistadapter simple question

2009-12-14 Thread Mark Murphy
Jags wrote: the question is can I use 3 listviews in them and set separate arryAdapters for each ? Sure, if that is what you want. If yes, how will setListAdapter call look like ? it takes a ListActivity instance, isn't it ? You will need to use setAdapter() on the ListView widgets

[android-developers] Re: SSL handshake failure when client certificate is requested

2009-12-14 Thread droidsan
I used keytool to generate my keystore. A basic overview on keytool usage can be found here: http://docs.sun.com/app/docs/doc/820-7692/ablqz?l=en_USa=view Sun's KeyStore API description contains a small example how to add a private key to a keystore programmatically. (http://java.sun.com/

[android-developers] Re: Custom Key-/Truststore in WebView

2009-12-14 Thread droidsan
Just an addition to the original post: Web pages loaded via WebView.loadData will not load further content (e.g. scripts or images) from the network. Thus, my mechanism is not helpful if the loaded web pages needs to load scripts or images. Droidsan On Dec 10, 12:13 pm, droidsan

[android-developers] input method

2009-12-14 Thread kabir
Hi there, I want to implement a custom input method for certain EditTexts within my app. I understand I need to extend the InputMethodService class, but how do I then add this to certain views? I've tried just using the class name in the android:inputMethod XML property, but this seems not to

[android-developers] Re: clicks to MapView to firing onClick

2009-12-14 Thread Chris
Thanks I will give that a go and see how I get on. On Dec 11, 5:08 pm, TreKing treking...@gmail.com wrote: In that case, what I would probably do is derive a class from MyLocationOverlay, as you already mentioned, and override the onTap function (not dispatchTap). I believe this is called

[android-developers] WebView remove entry from History

2009-12-14 Thread Aracos
Hi all, I would like to know if there is a way to remove a specific entry – currently the url displayed – from the WebView history. I need this to do the following – maybe you know a workaround. I have a content provider that shows some HTML text within a webview. The Text can contain some

[android-developers] Re: Inconsistent results from date additions loop

2009-12-14 Thread andrew android
I seem to have resolved it b y replacing the call to the method after with a comparison. Thanks everyone! On Dec 12, 12:13 pm, andrew android andygoldm...@gmail.com wrote: the code is something like this... public void getWorkDays(final int mm,  final int dd,final int ccyy,                  

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
Hi Mark, the hierarchy viewer helped me in identifying the ListView and it's 10 children. I can see the children here, but they just do not display in the emulator. Are there any settings i can check? I checked getVisibility already, are there other properties i can check (viewport, parent

Re: [android-developers] Listview problems

2009-12-14 Thread Mark Murphy
Patrick Plaatje wrote: Hi Mark, the hierarchy viewer helped me in identifying the ListView and it's 10 children. I can see the children here, but they just do not display in the emulator. Are there any settings i can check? I checked getVisibility already, are there other properties i can

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
Hi Mark, thanx for the response. Using the wireframe diagram and the visualized views, i found out that the listviews were added, but are laying on top of eachother. I'm not sure why this is happening though or how to correct this. But i'll continue my quest :-) Thanks so much for all the help!

[android-developers] sorry cannot play this video!?

2009-12-14 Thread Valentino XM
Hi! I have been trying to code this for 6 days. Playing from a File or Stream MediaPlayer mp = new MediaPlayer(); mp.setDataSource(PATH_TO_FILE); mp.prepare(); mp.start(); my code... package info.shouraig.com; import android.app.Activity; import android.net.Uri; import

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
Hi Mark, i've set the minHeight for the view attached to the listview and it seems to be fine now so much trouble for something so small.. What i'm currently experiencing though is that the getView method in my custom adapter is only executed for the items drawn on the screen and other views

[android-developers] 討論 localizing-android-apps- draft

2009-12-14 Thread Kit
Sorry, i just realized that i have to restart the emulator after changing the locale. the localization works now. Thanks. -- 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] Re: Localization for simplified and traditional chinese

2009-12-14 Thread Kit
Sorry, i just realized that i have to restart the emulator after changing the locale. the localization works now. Thanks. On 12月14日, 上午10時11分, Kit yingkity...@gmail.com wrote: Hi HeHe, Thanks for your reply and sorry for the misleading. let me clarify my question. i didn't make any coding

Re: [android-developers] Listview problems

2009-12-14 Thread Mark Murphy
Patrick Plaatje wrote: What i'm currently experiencing though is that the getView method in my custom adapter is only executed for the items drawn on the screen Correct. This is a good thing (imagine 1,000 rows). and other views are loaded when they are within the view port. Likewise

[android-developers] can cursor block

2009-12-14 Thread manigault
Hi all, I have the following issue. I get a cursor in some background thread and pass it to the gui thread. In the gui thread i use the cursor to create cursorAdapter and fill some ListView. So far if the database access blocked there will be no problem because it's made in other thread. So the

Re: [android-developers] Listview problems

2009-12-14 Thread Patrick Plaatje
Hi Mark, thanks a lot. I am indeed using the Holder pattern, and it looks like the Holder object is set to null when the initial listview is loaded. btw. the excerpt helped a lot! Regs, Patrick 2009/12/14 Mark Murphy mmur...@commonsware.com Patrick Plaatje wrote: What i'm currently

[android-developers] Embed a database in the apk

2009-12-14 Thread Alessandro Pellizzari
Hi all, I am writing an app in which I must embed a (read-only) database. It is quite simple (category-subcategory-description), but big (3-4 MB). I saw other softwares putting the SQL in the assets folder, and then populate a SQLite DB, but this way I would fill double the space (6-8 MB) on the

[android-developers] Problem with Android Framebuffer

2009-12-14 Thread Niraj
Hi, I am trying to take screenshot of the android screen. I written the screen-capture application. It is working fine with android emulator. After that I downloaded the complete source of android (x86 platform) and tried the same application on that; but it is not showing the proper screen

[android-developers] AudioTrack

2009-12-14 Thread Business Talk
Is the AudioTrack fundamentally designed to be a singleton? Methods on the OnPlaybackPositionUpdateListener receive just one argument, which is the AudioTrack itself. And since the AudioTrack does not have getTag/setTag methods I don't see any way to distinguish among multiple AudioTracks in the

[android-developers] littele sqlite help

2009-12-14 Thread Jags
Apologies, if it is not the right forum. But I think as I came across this query problem while working on android, I thought I would gt some help on this I have a field datetime data type. i need something like select * from mytable where strftime('%d', mydate) = 14; i need all the records

[android-developers] Re: JDBC Driver for SQLiteDatabase

2009-12-14 Thread kristianlm
Hi jotobject, I don't understant why this wouldn't be part of the public API. if Android is shipped with a JDBC driver, why not let people use it? It's certainly useful for many of us! Kris On Dec 12, 10:42 pm, jotobjects jotobje...@gmail.com wrote: On Dec 8, 10:41 pm, Joerg Pleumann

[android-developers] Menu items on child PreferenceScreen

2009-12-14 Thread freezy
Hello, I'm trying to add a menu to a PreferenceScreen. I have extended PreferenceActivity which loads my settings tree from preferences.xml. My activity overloads onCreateOptionsMenu and onMenuItemSelected. However, the resulting menus are only visible at the root node, but not on any other child

[android-developers] allowTaskReparenting and FLAG_ACTIVITY_CLEAR_TOP conflict

2009-12-14 Thread Felipe Henriques da Silva
Hi all, I am using Android 2.0 and have the following situation: Activity A - has the attributes android:finishOnTaskLaunch=true and android:allowTaskReparenting=true This activity belongs to a task that has a service running and is usually not killed, so even when I am in the home screen I see

Re: [android-developers] longtitude/latitude problem in the mapview

2009-12-14 Thread TreKing
See this thread: http://groups.google.com/group/android-developers/browse_thread/thread/4c6fbbd951c28a6c/5b1cd6e40ecffb34 - TreKing - Chicago transit tracking app for Android-powered devices

[android-developers] Re: littele sqlite help

2009-12-14 Thread Aracos
Hi Jags, I am not sure if this is quite what you need but you could try this. 1.Do not use the DateTime Data Type within SQLite, since in my experience this tends to be very slow. Store the System Time codeSystem.currentTimeMillis()/code instead. 2.Use the Calendar to define the Date you want

[android-developers] How to do Both horizontal and vertical scrolling on a screen

2009-12-14 Thread Nithin
Hi, Is it possible to put a scrollView(vertical scroll view) inside HorizontalScrollview, so that, I want my screen to scroll both horizontally and vertically Thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How to natively (C++) receive notifications when there is an Internet Connection ( 3G or Wifi ) ?

2009-12-14 Thread Banderas
Hello All, I'm developing a C++ application for the android that needs to talk with a server whenever there is an internet connection available. If the internet connection is cut-off the application needs to sleep in order to reduce the battery consumption. If the internet connection is back the

[android-developers] Immediate Need for Multiple Requirements

2009-12-14 Thread krishna murthy
Hi, This is Krishna with iMCS, we have an urgent requirement for the Following position appreciate if you could respond with your Updated profile, Availability, and Visa Status and Expected rate ASAP. Please let me know Comfortable level ASAP *Requirement NO:1* Position:SAP MM Business Analyst

Re: [android-developers] Immediate Need for Multiple Requirements

2009-12-14 Thread Zied Hamdi
Hi Krishna, Can you please explain why you are using the android developers group to search for completely unrelated skills? Could you please respect the fact that this is a sharing knowledge place, not a recruting one. Or at least you could post positions related to the tecnology. Best regards,

[android-developers] playing short audio clip has tick sound

2009-12-14 Thread JacobGladish
I'm using the SoundPool to play a series of small audio clips and am having issues with the audio when it starts. I have the audio attached to a button press. When I press the button mulitple times the tick persists. I was wondering if this was the audio file itself or is there something I need to

[android-developers] Re: playing short audio clip has tick sound

2009-12-14 Thread Business Talk
I have the same problem with the AudioTrack at the beginning of every play in a static mode. I assumed that it might be due to my pcm wave creating but maybe not. Any thoughts? On Dec 14, 9:44 am, JacobGladish jacobglad...@yahoo.com wrote: I'm using the SoundPool to play a series of small audio

[android-developers] Re: Ping always failed. Need help.

2009-12-14 Thread Lewis Z.
Any hint? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more

[android-developers] ListView context Menu not working.

2009-12-14 Thread Jose Gomez
Hello All, On create I have the following code ListView lv=(ListView)findViewById(R.id.lvItems); registerForContextMenu(lv); adapter= new ShoppingListAdapter(this, R.layout.shippinglistitem, items); lv.setAdapter(adapter); I Override the onCreateContexxtMenu (outside of onCreate ofcourse)

[android-developers] Re: Immediate Need for Multiple Requirements

2009-12-14 Thread Business Talk
Visa Status? you iHop. do you really think this forum is off-shoring placement agency. On Dec 14, 9:43 am, Zied Hamdi zha...@into-i.fr wrote: Hi Krishna, Can you please explain why you are using the android developers group to search for completely unrelated skills? Could you please respect

Re: [android-developers] Help

2009-12-14 Thread Jose Gomez
Do you know anything about android? I would start by learning the framework a bit Sincerely Jose C Gomez http://www.josecgomez.com Sent from Jacksonville, Florida, United States On Sat, Dec 12, 2009 at 7:08 PM, faithfullghost faithfullgh...@gmail.comwrote: hi heelp i am trying

[android-developers] Contacts SyncAdapter issues

2009-12-14 Thread sazilla
Hi everyone, I've implemented a SyncAdapter correctly registered through the application manifest which allows to sync contacts with our backend. The sync requests are correctly sent to the SyncAdapter but actually I have a couple of dubts: 1) How a client (the object which calls requestSync of

[android-developers] IllegalStateException: not connected to MediaScannerService?

2009-12-14 Thread blindfold
After http://groups.google.com/group/android-developers/browse_frm/thread/1369e4a1dc495cd7/ I am using mScanner = new MediaScannerConnection(this, new MediaScannerConnection.MediaScannerConnectionClient() { public void onMediaScannerConnected() { mScanner.scanFile(fileName,

[android-developers] Sorry Cant play this video.. trying to play video from youtube

2009-12-14 Thread Valentino XM
Emulator wont play video from youtube. can someone tell me if this code is ok package info.shouraig.com; import java.io.IOException; import android.app.Activity; import android.media.MediaPlayer; import android.net.Uri; import android.os.Bundle; import android.util.Log; import

Re: [android-developers] How to natively (C++) receive notifications when there is an Internet Connection ( 3G or Wifi ) ?

2009-12-14 Thread Olivier Guilyardi
On 12/14/2009 03:29 PM, Banderas wrote: I'm developing a C++ application for the android that needs to talk with a server whenever there is an internet connection available. If the internet connection is cut-off the application needs to sleep in order to reduce the battery consumption. If the

[android-developers] Re: How to natively (C++) receive notifications when there is an Internet Connection ( 3G or Wifi ) ?

2009-12-14 Thread Banderas
Dear Olivier, Thanks for the answer but I'm not using the NDK . Instead, I'm developing using the entire source code ( AOSP) , so it should be possible. Any indications in how I can implement this feature? I would be very appreciated. I also understand very clearly the risky of not using the

[android-developers] Re: Overlay images in layout

2009-12-14 Thread Albert
Thanks Mark for your fast replay, I will give it a try... Alberto On Dec 10, 11:50 am, Mark Murphy mmur...@commonsware.com wrote: Hello there! Im making an app that displays some text at the top, an image then a couple of buttons. I got the design in a linear layout, and I need to place

[android-developers] Rotate TextView to x degrees

2009-12-14 Thread Albert
Hello there! Is there an easy way to rotate a text to some degree as with bitmaps?? Matrix matrix = new Matrix(); matrix.postRotate(15); Bitmap rotated = Bitmap.createBitmap(originalBitmap, 0, 0, width, height, matrix, true); If there is not, can you

[android-developers] Same code phone models - inconsistent results

2009-12-14 Thread justinh
I recently added a feature to my app that allows the user to send a report via a message chooser (all have chosen gmail) that helps mitigate the fact that I don't have all the physical phones to test on. Execution worked as expected on my G1 and the emulator, however, to my horror as users began

[android-developers] Re: Sorry Cant play this video.. trying to play video from youtube

2009-12-14 Thread dadical
I've had limited succes with the YouTube RTSP route. I've written a view that demonstrates one way to watch YouTube to a VideoView using an mp4 stream. I use this in my own products, and it works quite well. You can find information on that approach here:

[android-developers] Immediate Need for Multiple Requirements

2009-12-14 Thread krishna murthy
Hi, This is Krishna with iMCS, we have an urgent requirement for the Following position appreciate if you could respond with your Updated profile, Availability, and Visa Status and Expected rate ASAP. Please let me know Comfortable level ASAP *Requirement No:1* Position: SAP Systems Analyst

Re: [android-developers] Immediate Need for Multiple Requirements

2009-12-14 Thread Jose Gomez
Can someone please mark this person as spam get them off the list. UGH! Sincerely Jose C Gomez http://www.josecgomez.com On Mon, Dec 14, 2009 at 11:06 AM, krishna murthy pkrishna...@gmail.comwrote: Hi, This is Krishna with iMCS, we have an urgent requirement for the Following position

[android-developers] Re: Immediate Need for Multiple Requirements

2009-12-14 Thread Business Talk
I just did On Dec 14, 11:11 am, Jose Gomez j...@josecgomez.com wrote: Can someone please mark this person as spam get them off the list. UGH! Sincerely Jose C Gomez http://www.josecgomez.com On Mon, Dec 14, 2009 at 11:06 AM, krishna murthy pkrishna...@gmail.comwrote: Hi, This is

[android-developers] how to detect device model?

2009-12-14 Thread Georgios Galyfos
Hi, Is there a way to detect the device model of a user through Java code on Android? To return htc-magic or htc-dream or something like that, somehow? I have been trying to detect this through the user agent when the client is accessing an web page, however this is always Java0 through Android.

Re: [android-developers] how to detect device model?

2009-12-14 Thread Mark Murphy
Georgios Galyfos wrote: Is there a way to detect the device model of a user through Java code on Android? Look at android.os.Build. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- You received this

Re: [android-developers] Re: How to natively (C++) receive notifications when there is an Internet Connection ( 3G or Wifi ) ?

2009-12-14 Thread Olivier Guilyardi
On 12/14/2009 04:34 PM, Banderas wrote: Thanks for the answer but I'm not using the NDK . Instead, I'm developing using the entire source code ( AOSP) , so it should be possible. Any indications in how I can implement this feature? I would be very appreciated. I also understand very

Re: [android-developers] Re: Immediate Need for Multiple Requirements

2009-12-14 Thread Jose Gomez
Thanks! Sincerely Jose C Gomez http://www.josecgomez.com Sent from Jacksonville, Florida, United States On Mon, Dec 14, 2009 at 11:13 AM, Business Talk roman.businesst...@gmail.com wrote: I just did On Dec 14, 11:11 am, Jose Gomez j...@josecgomez.com wrote: Can someone please mark this

[android-developers] Re: How to natively (C++) receive notifications when there is an Internet Connection ( 3G or Wifi ) ?

2009-12-14 Thread Banderas
Ok , thanks. I will post there. On 14 Dez, 17:21, Olivier Guilyardi l...@samalyse.com wrote: On 12/14/2009 04:34 PM, Banderas wrote:  Thanks for the answer but I'm not using the NDK . Instead, I'm developing using the entire source code ( AOSP) , so it should be possible. Any

[android-developers] Android Developers

2009-12-14 Thread MIMMITHA
http://careofhair.webs.com/index.htm Discuss developing Android applications using the Android framework. Get help with troubleshooting apps, advice on implementation, and strategies for improving your app's speed and user experience. Language: English 26512 members, Messages per month: 4544 --

[android-developers] Zooming Image without smoothing

2009-12-14 Thread EIE
Hi When you scale Image in ImageView, the image is smoothened, not just nearest-neighbored. it seems that there's no related option in ImageView view. I'm trying to find a way to show the very pixels (like many image editors) when enlarged. - for a few days.. if you know some, plz help me... --

[android-developers] Re: Call Recording in Andriod ?

2009-12-14 Thread tuku
hi i also want same thing if u get any idea then plz help me out bye takecare On Dec 9, 4:50 pm, Y2U usman@gmail.com wrote: Hello Guys i want to know can we record phone calls in android and if yes then can anybody provide me with some sample code or any other info

[android-developers] Good android book

2009-12-14 Thread hafez ahmad
Dears, can someone recommended a good android development book. Regards, HD -- 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

Re: [android-developers] sorry cannot play this video!?

2009-12-14 Thread Ranjeet
Hi Valentino I belive you are able to play the vedio from the SD Card. Now to play the vedio through streaming, you need to get the RAW VEDIO data and buffer it programatically, then you need to give the path of the buffer to play it back, and simultaneously in back ground it should buffer with

[android-developers] Facebook login fail

2009-12-14 Thread Krishna Shetty
Hi, I am creating a Facebook application on Android I trying to use Facebook client library called 'FBRocket' in my app mentioned in below link. http://wiki.developers.facebook.com/index.php/User:Android But, Facebook login itself is failing. When I test, it takes very long time to display the

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2009-12-14 Thread YaushiIizuka
Hi. String url = http://your.url;; MediaPlayer mp = new MediaPlayer(); mp.setDataSource(url); mp.setAudioStreamType(AudioManager.STREAM_MUSIC); mp.prepare(); mp.start(); On 10月23日, 午後3:28, dede dede830...@126.com wrote: Hi, In 1.6,I also try to play stream through setDataSource(http://

[android-developers] hi how i can record the phone call

2009-12-14 Thread tuku
actually i want to record the in coming and out going phone calls can i do that if yes can u provide me some sample code bye takecare -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] How to send a motionEvent through a transparent activity

2009-12-14 Thread sheng wang
Hi All, I made an activity with the transparent theme. When it starts up, the background home screen or other activity can be seen. what I'm going to do is let my transparent activity handle the touch event if there is something drawn by the transparent activity, and let the other application

[android-developers] email content provider / view email message intents?

2009-12-14 Thread Tim
Hi Folks, Still getting my head around Android so sorry if this is a dumb question. I am building an app that basically mixes your incoming email with RSS feeds etc so I have a one stop list for all this and I'd like to hook into the email content provider, pull the list of email, display this

[android-developers] Android = 1.6: Invalid View object passed to onListItemClick()?

2009-12-14 Thread Eus
HiHo! This subject originates here: http://groups.google.com/group/android-beginners/browse_thread/thread/772ff8b97facfab2/9a470dd0b71dbef3 To sum up: When I click on an item in the ListView, the background color that gets changed is not that of the clicked item but instead of the other item in

[android-developers] frame buffer data in android

2009-12-14 Thread yog
Hi all, Iam working on Android frame buffer, I want to collect the frame buffer data and dispaly it. can any one tell me, from where i can collect the data, Is it from surface flinger? Is there any way that i can collect it from HAL (Hardware abstraction layer) too. Thanks in advance yog --

[android-developers] Re: Segmented Controls?

2009-12-14 Thread Claes Buckwalter
I would like an Android widget that corresponds to the iPhone's segmented control too. Did you go ahead and implement one yourself? I am considering it. I am thinking that the best solution would be to customize a RadioGroup. Cheers, Claes On Oct 29, 10:44 pm, Daniel Lew danle...@gmail.com

[android-developers] Urgent Position for Android Developer | Telecommute

2009-12-14 Thread Navneet Chalana
Hello Friends, Hope you are doing great, I am currently in search of an experienced Android Developer who could doan Android port. If you are available and looking for new projects. Please send resumes to navn...@okayainfo.com or call me at 631-685-1134 X 260 for further discussions. Project

[android-developers] AICOM CPD - Content Processing Development Solutions

2009-12-14 Thread The AllSetter
AICOM CPD offers high quality back-office solutions to help clients focus on the core areas of their business. From Creative Development to Financial Administration (transaction-based functions), we make sure that our clients will gain the following benefits: increased efficiency, flexibility, and

[android-developers] ProgressDialog for download progress

2009-12-14 Thread Yves Glodt
Hi, could someone provide or point to an example on how to download a file by http get, save it to the sd card, and show the download progress in a ProgressDialog? Best regards, yglodt -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] continuous update of a texture

2009-12-14 Thread space
Hi! In an application I would like to update the contents of a texture in each frame. In short, in each frame I need to render to a Bitmap and then use that Bitmap as a texture in a 3D context. I tried to use the GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, image, 0) call, but it seems that it

[android-developers] Socket - Network connect drops after 15 minutes

2009-12-14 Thread Ron
I am able to connect to a Socket on my PC from my HTC 1 phone, via IP and successfully transfer data in a thread that gets rescheduled every few seconds. The problem is that after 15 minutes or so, the connection drops and my debug traces give me the Network unreachable. A further clue is that

[android-developers] Re: How to communication with PC client.

2009-12-14 Thread Ron
You say no other connections are available so I don't know who useful this answer would be, but I was able to do this through WiFi and a cheap router. The address of the PC socket is the IP address of the wireless PC port, found through ipconfig. I have a further posting pending about difficulty

[android-developers] WebView losing onTouchListener when BuiltinZoomControls are used?

2009-12-14 Thread Patrick
I have a WebView widget that I'm using to display stuff. I have a touch listener set up to get taps from it. I also use the builtin zoom controls (for zooming, of course). If you don't scroll the view, you can tap and the app acts as expected. If you scroll at all, and let the controls go away,

[android-developers] Re: How to handle simultaneous key press

2009-12-14 Thread Nightwolf
You should try it. At least combinations like w+a+space work. I haven't try with special keys though. My app that needs to handle multiple key presses has boolean array for each action (turn left or right, fire etc.). Corresponding array elements are set in onKeyDown and onKeyUp event handlers.

[android-developers] Re: please help me with opengl exception.

2009-12-14 Thread Nightwolf
It should be allocateDirect instead of allocate. On 14 дек, 02:22, billconan billco...@gmail.com wrote: hello guys, i'm trying to draw a very simple 2D triangle with opengl. but i have exception illegal parameters the problematic line is         gl.glVertexPointer(3, GL11.GL_FLOAT, 0,

[android-developers] map sdcard to drive letter or directory on windows

2009-12-14 Thread sdphil
is there a way to map the sdcard (/sdcard) to a drive letter or directory on a windows box? i can always do adb pull /sdcard sdcard but that can take a while if you've got a lot of stuff on there... tia. -- You received this message because you are subscribed to the Google Groups Android

  1   2   >