[android-developers] tcp server binding in android-ndk

2011-08-18 Thread vigneshwaran s
hello friends, i 'm currently working in android -ndk . i 'm trying to run the tcp server socket in android but its not binding the socket if we using i p like 192.168.72.160. while i try to bind with the local i.p. address (10.0.2.15 127.0.0.1) its binding but its not communicating with other

[android-developers] Re: App Crash during HTTP Post

2011-08-18 Thread perumal316
Hi Murphy, I checked the logcat, it is showing: ERROR/AndroidRuntime(10335): FATAL EXCEPTION: main ERROR/AndroidRuntime(10335): java.lang.NullPointerException But the issue is, this crash is only occurring when I do HTTP Post of a large file (10 MB). Is it a Android limitation? Anyone

[android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-18 Thread Raziel23x
On Aug 17, 1:30 pm, lbendlin l...@bendlin.us wrote: you don't need a webview for that. Just use HTTP GET directly. Explain as my application uses webview to list files for download that when you click the links to the files they want to open a web browser before starting the downloads --

Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-18 Thread Kristopher Micinski
On Thu, Aug 18, 2011 at 2:40 AM, Raziel23x raziel...@gmail.com wrote: On Aug 17, 1:30 pm, lbendlin l...@bendlin.us wrote: you don't need a webview for that. Just use HTTP GET directly. Explain as my application uses webview to list files for download that when you click the links to the

[android-developers] Dialer consuming data

2011-08-18 Thread Vedran Rodic
Hi I've seen in About Phone - Battery - Battery use - Dialer that it has been sending/receiving data at maybe 20 kb an hour. What's funny is that it does that even when it's positively not connected to any network (GSM/3G data is disabled, wireless access is not available). Could it be that this

[android-developers] Using queueEvent for OpenGL

2011-08-18 Thread Jeffrey
Okay. In my project I am trying to have an OnTouchEvent cause a change in my Renderer thread but I can't figure out how to get this working. I was having the touch event change a boolean value to put the draw method onto the proper trail for what to draw, but there is a 3 second delay before it

[android-developers] inflating xml runtime and repeating that view?

2011-08-18 Thread Hitendrasinh Gohil
Hi, I have one view which is repeating horizontaly and vertically 3x3.I have seperate xml for this.I am inflating it runtime and trying to add within horizontal or vertical .And applying parent to horizontal or vertical linear.But as there can be only one child attached to its parent.I am getting

[android-developers] Re: Serious bug in 3.2 ResolverActivity

2011-08-18 Thread ifuller1
What does this mean? On Aug 18, 4:09 am, Gavin fjm...@gmail.com wrote: It was fixed at latest version. -- 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

Re: [android-developers] Dialer consuming data

2011-08-18 Thread Appaholics
Your question is also not SDK specific. Try android-discuss. Thanks On Thu, Aug 18, 2011 at 1:03 PM, Vedran Rodic vro...@gmail.com wrote: Hi I've seen in About Phone - Battery - Battery use - Dialer that it has been sending/receiving data at maybe 20 kb an hour. What's funny is that it

[android-developers] Re: NdefRecord(NdefMessage) extraction from the intent in a NFC design

2011-08-18 Thread Dominik
What do you mean by all three NFC intents *have* three extras? I ask, because the documentation at http://developer.android.com/reference/android/nfc/NfcAdapter.html states, that EXTRA_ID and EXTRA_NDEF_MESSAGES are optional (which is obvious for the latter) and only EXTRA_TAG is mandatory.

[android-developers] How to block the adult site in webview

2011-08-18 Thread Perumss Naren
Hi , How to *block the adult site* in webview -- Regards, Perumal.N -- 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

[android-developers] Re: How to make a mapView transparent?

2011-08-18 Thread marhol682
Good question! The reason for using the MapView is that I'm mapping my overlays to actual positions on the map. But I don't want to show the map's visual information. Using a RelativeLayout and doing the overlaying myself would force my to do all the calculations that the mapsystem now does for

[android-developers] Re: inflating xml runtime and repeating that view?

2011-08-18 Thread skink
On Aug 18, 9:55 am, Hitendrasinh Gohil hitendrasin...@gmail.com wrote: Hi, I have one view which is repeating horizontaly and vertically 3x3.I have seperate xml for this.I am inflating it runtime and trying to add within horizontal or vertical .And applying parent to horizontal or vertical

Re: [android-developers] Dialer consuming data

2011-08-18 Thread Vedran Rodic
Thanks! I thought this kind of general knowledge would be useful for developers to have too. Vedran On Thu, Aug 18, 2011 at 10:33 AM, Appaholics raghavs...@appaholics.in wrote: Your question is also not SDK specific. Try android-discuss. Thanks On Thu, Aug 18, 2011 at 1:03 PM, Vedran Rodic

Re: [android-developers] Re: How to make a mapView transparent?

2011-08-18 Thread Mark Murphy
On Thu, Aug 18, 2011 at 4:44 AM, marhol682 martin.hol...@themobilelife.com wrote: Good question! The reason for using the MapView is that I'm mapping my overlays to actual positions on the map. But I don't want to show the map's visual information. Using a RelativeLayout and doing the

Re: [android-developers] How to block the adult site in webview

2011-08-18 Thread Mark Murphy
Don't type in the Web address of the adult site. On Thu, Aug 18, 2011 at 4:42 AM, Perumss Naren peru2...@gmail.com wrote: Hi ,    How to block the adult site in webview -- Regards, Perumal.N -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: App Crash during HTTP Post

2011-08-18 Thread Mark Murphy
On Thu, Aug 18, 2011 at 2:30 AM, perumal316 perumal...@gmail.com wrote: I checked the logcat, it is showing: ERROR/AndroidRuntime(10335): FATAL EXCEPTION: main ERROR/AndroidRuntime(10335): java.lang.NullPointerException But the issue is, this crash is only occurring when I do HTTP Post of a

Re: [android-developers] Receiver for SMS SENT, EMAIL SENT and Calender EVENT

2011-08-18 Thread Mark Murphy
On Thu, Aug 18, 2011 at 1:51 AM, Ajmer Singh ajmersing...@gmail.com wrote: Basically I need a kind to automatically generated callback for SMS SENT and EMAIL SENT and Calender event.Please could any body let me know how can i do this?. You can't. There are no Intents broadcast for any of

[android-developers] Update ad view every 30 seconds

2011-08-18 Thread Appaholics
Hi, I am using the following to refresh my ad view every 30 seconds: Timer adTimer = new Timer(adUpdate); adTimer.scheduleAtFixedRate(new TimerTask() { public void run(){ myBanner.refresh(); } }, 0, 3); However, it refreshes every half second or

Re: [android-developers] How to block the adult site in webview

2011-08-18 Thread Perumss Naren
Hi Mark, Thanks for your time *! * My task is to *block the adult site*. kid *cannot* edit the URL so we don't bother about but form the given site URL they can access the side and they may have *Google search in the site* from that they can search adult site. i need to block that adult

Re: [android-developers] Update ad view every 30 seconds

2011-08-18 Thread Mark Murphy
Why not use postDelayed()? It saves you a background thread, and your Runnable gets invoked on the main application thread (which will be necessary eventually for updating the ImageView or whatever the ad banner is). I haven't used Timer/TimerTask on Android. Nothing leaps out at me as being an

[android-developers] database insertion problem

2011-08-18 Thread josh.bash
i am trying to create a user for my application. but after taking the appropriate details when i press the confirm button my program crashes. can anybody tell me what is the problem??? here is the code for that activity:- package kumar.avinash.pbi.learnoid; import android.app.Activity; import

Re: [android-developers] How to block the adult site in webview

2011-08-18 Thread Mark Murphy
On Thu, Aug 18, 2011 at 6:39 AM, Perumss Naren peru2...@gmail.com wrote: My task is to block the adult site. kid cannot edit the URL so we don't bother about but form the given site URL they can access the side and they may have Google search in the site from that they can search adult site. i

Re: [android-developers] database insertion problem

2011-08-18 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your crash. On Thu, Aug 18, 2011 at 6:44 AM, josh.bash avi410vik...@gmail.com wrote: i am trying to create a user for my application. but after taking the appropriate details

Re: [android-developers] Update ad view every 30 seconds

2011-08-18 Thread Appaholics
I am only scheduling two timers, both using different names etc. I'll look into using postDelayed(); Thanks On Thu, Aug 18, 2011 at 4:13 PM, Mark Murphy mmur...@commonsware.comwrote: Why not use postDelayed()? It saves you a background thread, and your Runnable gets invoked on the main

Re: [android-developers] Update ad view every 30 seconds

2011-08-18 Thread Appaholics
I tried using a postDelayed like this: final Runnable r = new Runnable() { public void run() { myBanner.refresh(); handler.postDelayed(this, 1); } }; handler.postDelayed(r, 1); It still

[android-developers] Setting Auto-sync ( setMasterSyncAutomatically )

2011-08-18 Thread Ash McConnell
Hi Folks, I am developing a group of widgets that allow the quick changing of various settings. I was hoping to set AutoSync, which I thought would stop background services from syncing their data, but this appears to be the Secure Setting BACKGROUND_DATA. My question is, what this function

Re: [android-developers] Update ad view every 30 seconds

2011-08-18 Thread Mark Murphy
On Thu, Aug 18, 2011 at 6:55 AM, Appaholics raghavs...@appaholics.in wrote: I tried using a postDelayed like this:         final Runnable r = new Runnable()         {             public void run()             {             myBanner.refresh();             handler.postDelayed(this,

[android-developers] Re: parsing an XML document

2011-08-18 Thread Dancing Fingers
So when do you use the Android parser, that parses stuff like manifest.xml, as opposed to JAVA parsers. Just curious. Chris -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Update ad view every 30 seconds

2011-08-18 Thread Appaholics
I am using the greystripe SDK, for which I need to call myBanner.refresh();. the same call works fine in another one of my apps when I call it at game over. However, here there is no moment at which I can call it and hence must run it every 10 seconds. I only call the runnable in onCreate as you

Re: [android-developers] Update ad view every 30 seconds

2011-08-18 Thread Mark Murphy
Nothing obvious. Create yourself a scrap project that just does the postDelayed() quasi-loop, logging to LogCat. You should see it simply show up every 10 seconds. On Thu, Aug 18, 2011 at 7:08 AM, Appaholics raghavs...@appaholics.in wrote: I am using the greystripe SDK, for which I need to call

Re: [android-developers] Re: parsing an XML document

2011-08-18 Thread Mark Murphy
On Thu, Aug 18, 2011 at 7:05 AM, Dancing Fingers batym...@gmail.com wrote: So when do you use the Android parser, that parses stuff like manifest.xml, as opposed to JAVA parsers. the Android parser is a customized implementation of the XmlPullParser interface, one that can read the binary XML

[android-developers] Re: How to finish parent activity once child activity is loaded

2011-08-18 Thread Spica
Guys, any idea about my question? On Aug 17, 11:57 pm, Spica spicaneb...@gmail.com wrote: I want to load child activity from parent activity. Once child is loaded i want to finish the parent activity. I am trying this code, which closes whole application;

[android-developers] external files to

2011-08-18 Thread Marco Bernasocchi
Hi all, I got a pretty big Qt application (QGIS.org) to start running in android [0]. Awesome work on the necessitas and the NDK side, thanks a lot! I've a question, qgis needs stuff (sqlite databases, svg files, xml config,...) that normally is in $PREFIX/share/resources what is the best

Re: [android-developers] external files to

2011-08-18 Thread Appaholics
If the apk is getting to big you could download them at runtime. Otherwise just bundle everything and copy id to the SD Card if you need to. Thanks On Thu, Aug 18, 2011 at 5:01 PM, Marco Bernasocchi ma...@bernawebdesign.chwrote: Hi all, I got a pretty big Qt application (QGIS.org) to start

Re: [android-developers] Re: How to finish parent activity once child activity is loaded

2011-08-18 Thread Mark Murphy
On Thu, Aug 18, 2011 at 7:31 AM, Spica spicaneb...@gmail.com wrote: Guys, any idea about my question? On Aug 17, 11:57 pm, Spica spicaneb...@gmail.com wrote: I want to load child activity from parent activity. Once child is loaded i want to finish the parent activity. Immediately after the

[android-developers] Camera image editing not working.

2011-08-18 Thread Honest
Helllo, I am loading image scale it to screen size and after that user can draw some text on it using his hand. After that user can save it to SD card. I need to save it to same width and height as original image has. For others sameple image it is working fine. But when i am loading the image

Re: [android-developers] external files to

2011-08-18 Thread Marco Bernasocchi
On 08/18/2011 01:39 PM, Appaholics wrote: If the apk is getting to big you could download them at runtime. Otherwise just bundle everything and copy id to the SD Card if you need to. the apk is installed on external storage, for the size problem, but how do I get the assets from the apk to

[android-developers] Launch cancelled second time

2011-08-18 Thread ANKUR GOEL
hi all, i am making one application in that i have 2 static videos . the whole application is working fine but when i logout and again launch it . it says launch cancelled check the log cat and no error is shown in log cat please somebody help. thanks Ankur goel -- You received this message

[android-developers] Support against corruption

2011-08-18 Thread Avinash Nigam
To show your support for *Anna Hazare* and *Janlokpal Bill* – employees of various organizations have decided to *Wear Black Dress* on 19th August at work. Please spread the message to your colleagues and wear black dress on 19th August when you come to work. You may also wear a black arm band if

Fwd: [android-developers] Support against corruption

2011-08-18 Thread ANKUR GOEL
Thanks and Regards:- Ankur Goel 09019040351 S/W Engg. -- Forwarded message -- From: Avinash Nigam aviundefi...@gmail.com Date: Thu, Aug 18, 2011 at 5:40 PM Subject: [android-developers] Support against corruption To: Avinash Nigam iitk.avinash.ni...@gmail.com To show your

[android-developers] Re: Google Development phones

2011-08-18 Thread ColorTheorist
Sorry, that was just a throwaway comment. Eventually Motorola will become the gold standard for Android phones due to their proximity to the software, but in the short term they're no different than any other device. If whoever it was needs a phone today any of the phones that are out there should

[android-developers] Animate ListView items

2011-08-18 Thread Mate Gulyas
I try to animate new items in my ListView. I have stable id-s, so I know exactly which element to animate. The problem - I think -comes from the recycle mechanism of ListView. I call startAnimation on the View when I know I got a recently inserted element. But then, the view got recycled, filled

[android-developers] how to convert data host to network

2011-08-18 Thread N K Shrivastva
i want to send a group of data to network server socket. i want to send request body convert host to network. i am not greeting way to handle these things plz help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] How to properly use WebViewFragment

2011-08-18 Thread Philipp
Hi, I am trying to use a WebViewFragment in order to retain an instance of WebView even when the Fragment is not displayed. My goal is to have the names of several websites in the ActionBar. When users tap on one of the names, the corresponding website is opened in a WebViewFragment. When users

[android-developers] Android based TCP/IP socket program sample code

2011-08-18 Thread Amol Narkhede
Dear All, I am trying out TCP/IP socket programming on android first time. Could you please share some source code if you have any available or some good links of the working samples. Thanks Amol -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Search Dialog below title bar

2011-08-18 Thread TonyD
Hi all, I am using the Search Dialog in my app and was wondering if it was possible to change where it renders. Right now it pops down from the notifications bar but this covers the custom title bar I am implementing. Is it possible to have the Search Dialog render directly below the title bar

[android-developers] 如何將寫好的檔案轉成.jar檔

2011-08-18 Thread Moodkiller
我想請問一下,我寫了一個類別 在類別之中用JNI調用到一些C的程式碼 當我完成後要如何把檔案打包成.jar檔呢? 那些調用的C程式碼也要打包嗎? -- 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] Andriod Ebooks

2011-08-18 Thread Moul Kakada
Hello all developer I am new in andriod, so would you mind sending me the ebook download link or web tutorial? Best Regard Kakada -- 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: about Async Task

2011-08-18 Thread Streets Of Boston
You mean you do NOT want to execute the same task twice (e.g. when the user clicks a button two or more times in quick succession)? If so, then disable the button until the AsyncTask has finished. You know when it's finished by implementing/overriding the onPostExecute method and from there

[android-developers] Help!!!

2011-08-18 Thread oliverorav
I'm making an application and I want to know how to pause Android's default music player using code? I'm using HTC Sensation, if it matters. 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] ADT - Unable to add widget to layout/Unexplainable crashes

2011-08-18 Thread bsanders1979
Hello, I'm just trying to setup a dev environment so that I can use ADT + Maven. I have 2 32-bit boxes (XP/Debian 6.0) that are failing to work properly. I've tried downloading both Helios and Indigo of the Java EE distro, and then installing m2e, followed by ADT. In XP, I open main.xml (the

[android-developers] dinamic web layout

2011-08-18 Thread talles
hi guys , im new at developping 4 android and i would like to make a aplication that loads the layout from the web , for example , a site that shows the tweets of that day , and each new tweet it adds dinamicly, not a static layout load from a .xml file -- You received this message because you

Re: [android-developers] using the uses-library to hide DLC

2011-08-18 Thread Jeremy Lakeman
If they are signed by the same key, both applications should be able to use the same user id, data folder and process space. I'm thinking of doing something similar, where the main application can download and install additional apk's directly from our web site. But I haven't got around to

Re: [android-developers] Just received Lodsys letter...

2011-08-18 Thread Neal Jansons
This is just more of the same BS that has been going on for years. Lodsys playing the same game everyone else has been playing isn't going to lead to patent reform, it's just going to lead to more small developers being intimidated and beginning programmers not even trying to create because

[android-developers] Problems with pre-installed Google Listen

2011-08-18 Thread Kevin Webb
Hi, I have two questions: First, how common is it to find Listen app (com.google.android.apps.listen) pre-installed? I have a stock T- Mobile G2 and it's installed by default for me, but I'm curious where else it's distributed? Second, I've discovered this app contains an annoying default

[android-developers] Hindi font issue

2011-08-18 Thread jyothi winit
Hi All, I have developed an application which supports multiple languages. I'm facing issue in rendering Hindi font. I'm using Mangal font. The matras are being misplaced. I have tried - overriding onDraw method Using webview instead of Textview Please let me know if any one of you have a

[android-developers] Re: inflating xml runtime and repeating that view?

2011-08-18 Thread dhruv mewada
why don't you just try using gridviewhttp://developer.android.com/resources/tutorials/views/hello-gridview.html ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

[android-developers] Re: Stream 3GP/H263/AMR via RTP. H263 Payload Header?

2011-08-18 Thread Jeremy Lakeman
This is exactly the same problem I'm trying to work on right now. If you skip the first 32 byte header, then you can split out the audio stream by looking for repeating 32 byte blocks that all start with an 0x3c byte. If you write whatever is left into a file, you can play it with ffdshow. But

[android-developers] opengl( how to move the objects )

2011-08-18 Thread rajiv
Hi friends I am trying to develop the tower of honoi by using android opengl the problem is i need to move the disc from sorce to destination how can i do that in opengl -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] What is Android Middleware?

2011-08-18 Thread ananya
Hi, Is Android middleware made of the libraries,runtime ? Application Middleware Kernal Is the concept I knew, Kindly clarify my doubt if Android middleware is made of Libraries and Runtime? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] How to use java.net and java.nio package classes in the android

2011-08-18 Thread harish123
Hi I am new to android environment I have written a program which creats the MulticastSocket ( java.net ) and listens to the packets which directed to 239.255.255.250:1900 adress. I could able to see all the packets which are addressing this multicast address when am executing this program as java

[android-developers] press the power key but see the short display of the paused activity before the ultimate display of the keyguard screen

2011-08-18 Thread dimot
I frequently encounter the following situation: firstly press the power key to leave the current application,then press the power key again to return, but see the short display of the suspended activity before the ultimate display of the keyguard screen. what is the reason for that? Thanks a lot

[android-developers] Place a custom view on a relative layout programmatically

2011-08-18 Thread Martial
Hi, I want to use a custom view (contains a bitmap) to put a bitmap where i want on the screen (i want to build a custom design for the application). I do a little project who explains the problem. I want to move the view from the corner top/left to 100px. I use a RelativeLayout in my main layout

[android-developers] Error message while running SQLite Database

2011-08-18 Thread niva k
Hello Sir i created a Android Application by using SQLiteDatabase, my project is launch Succesfully.But i got runtime Exception. va/lang/String;)V (CallStaticVoidMethodV) W/dalvikvm( 170): Pending exception is: I/dalvikvm( 170): java.lang.RuntimeException: android.os.RemoteException I/dalvikvm(

Re: [android-developers] Re: Just received Lodsys letter...

2011-08-18 Thread Richard Schilling
I'm not a patent lawyer either so this isn't advice - it's just my understanding of what your options might be. Sounds like you just got an official notice explaining why you can't write your software the way you have. It's their case. You can, of course prove Lodsys wrong if you do have

[android-developers] Hey need a help

2011-08-18 Thread Hossam Samy
Well i did add android to my system but my mobile keys are not working and mostly im using the screen so is there anyway to use the screen to go Back at least or something like or just to end apps since i've the other keys dead :S -- You received this message because you are subscribed to the

[android-developers] Android instrumentation execution report generation

2011-08-18 Thread Sunil Chandrasekharan
Hi All, Currently i have automated one application under test. i created a test application. I am using command prompt to run the application. Inside my test application , i have written code to print some logs when it enters to each test methods. e.g log.d(test1, inside first test case); Now

[android-developers] adb push error

2011-08-18 Thread androx
I am trying to put .so file in the /system/lib folder of device by using adb push, $adb push /home/sudhir/Development/newdroid/filename.so /system/lib but it faile gives me error like, Error: failed to copy '/home/sudhir/Development/newdroid/ libnfc_ndef.so' to '/system/lib/libnfc_ndef.so':

[android-developers] How to do dalvik heap deduction for each heap

2011-08-18 Thread binz
Hi all, Could you please give some info. about how to adjust each vm heap size? Through DDMS, i found that each app's vm heap free size is big, about 50% of the total vm size, this ratio doesn't change a lot even when the phone runs a large application. So i think shall we reduce the vm heap

[android-developers] adb push error- failed to copy : OUT OF MEMORY

2011-08-18 Thread yrehani
Hi all, I want to push a file using adb push at path /system/usr/keychars on the android emulator but I get an error failed to copy 'xxx.kcm.bin' to '/system/usr/keychars/xxx.kcm.bin': Out of memory How to rectify it. Thanks Yatin -- You received this message because you are subscribed to

[android-developers] Re: Webview with transparent background

2011-08-18 Thread rayworks
On Aug 18, 10:23 am, bob b...@coolgroups.com wrote: Is there any way to make a Webview have a transparent background? Thanks. RTM pls. public void setBackgroundColor (int color) Set the background color. It's white by default. Pass zero to make the view transparent. -- You received this

Re: [android-developers] Andriod Ebooks

2011-08-18 Thread Nick Risaro
On Thu, Aug 18, 2011 at 12:09 AM, Moul Kakada moul.kak...@gmail.com wrote: Hello all developer I am new in andriod, so would you mind sending me the ebook download link or web tutorial? Sure, developer.android.com Best Regard Kakada -- You received this message because you are

[android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-18 Thread Raziel23x
I do not want to hide it i want it to download inside the application itself not have it when a link is clicked launch the web browser and download the file off the browser On Aug 18, 3:05 am, Kristopher Micinski krismicin...@gmail.com wrote: On Thu, Aug 18, 2011 at 2:40 AM, Raziel23x

Re: [android-developers] dinamic web layout

2011-08-18 Thread Daniel Drozdzewski
On 18 August 2011 02:21, talles talles.d@gmail.com wrote: hi guys , im new at developping 4 android and i would like to make a aplication that loads the layout from the web , for example , a site that shows the tweets of that day , and each new tweet it adds dinamicly, not a static layout

[android-developers] Re: using the uses-library to hide DLC

2011-08-18 Thread jamesc
On Aug 18, 8:23 am, Jeremy Lakeman jer...@servalproject.org wrote: I'm thinking of doing something similar, where the main application can download and install additional apk's directly from our web site. But I haven't got around to experimenting with it yet. Won't the user device need to have

Re: [android-developers] ADT - Unable to add widget to layout/Unexplainable crashes

2011-08-18 Thread Tor Norbye
On Wed, Aug 17, 2011 at 7:11 PM, bsanders1979 briansanders1...@gmail.com wrote: Hello, I'm just trying to setup a dev environment so that I can use ADT + Maven. I have 2 32-bit boxes (XP/Debian 6.0) that are failing to work properly. I've tried downloading both Helios and Indigo of the Java EE

Re: [android-developers] Hindi font issue

2011-08-18 Thread Daniel Drozdzewski
On 18 August 2011 07:33, jyothi winit gattujyo...@gmail.com wrote: Hi All,  I have developed an application which supports multiple languages. I'm facing issue in rendering Hindi font. I'm using Mangal font. The matras are being misplaced. I have tried - overriding onDraw method Using

[android-developers] Re: trouble loading a youtube video in webview

2011-08-18 Thread doles
I found the problem and have fixed it. I had to setPluginsEnabled(true) and setJavascriptEnabled(true) on the webview instance. Now it plays just fine on the emulator as well as on the nexus one! -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Image is saved twice

2011-08-18 Thread perumal316
Hi All, I am using the following intent: Intent i = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); i.putExtra(android.provider.MediaStore.EXTRA_OUTPUT, uri); Basically i am using ACTION_IMAGE_CAPTURE intent to invoke the camera and save the taken image into the specified uri. It

[android-developers] Re: Place a custom view on a relative layout programmatically

2011-08-18 Thread rayworks
        MyCustomView customView = new MyCustomView(this);         // Settings here the margin : Doesn't works!         MarginLayoutParams mLayoutParams = new MarginLayoutParams(338, 338);         mLayoutParams.setMargins(100, 100, 0, 0);         customView.setLayoutParams(mLayoutParams);  

Re: [android-developers] Help!!!

2011-08-18 Thread Andrew Pittman
Are you trying to pause a media player that you have created, or are you trying to pause any media player that may be running or started by another application? On Thu, Aug 18, 2011 at 8:27 AM, oliverorav olivero...@gmail.com wrote: I'm making an application and I want to know how to pause

Re: [android-developers] Hey need a help

2011-08-18 Thread Andrew Pittman
To end an app without the use of the back button you could try to go into your app drawer and select settings-applications-manage applications and from there you can chose to see what apps are running and then select them and make them force close or even uninstall. On Thu, Aug 18, 2011 at 1:41

Re: [android-developers] Re: about Async Task

2011-08-18 Thread Andrew Pittman
Yes, usually AsyncTask is only able to be run once. Restarting the same task may give you a little trouble though due to this. If you have something that needs to run over and over again I would suggest that you look into starting a service and loop the task you need to keep running in its own

[android-developers] date parsing

2011-08-18 Thread bob
I'm using this code to try to parse a date: Date myDate = DateFormat.getDateInstance().parse(s); However, I get this: java.text.ParseException: Unparseable date: Sun, 19 Jun 2011 02:28:34 -0500 Any ideas how I can easily parse a date in that format? -- You received this message

[android-developers] Re: Serious bug in 3.2 ResolverActivity

2011-08-18 Thread webmonkey
Is the Android team aware of this bug, I see there is a bug report at: http://code.google.com/p/android/issues/detail?id=18638 from July 18 but the status is still New. Some say that it has been fixed but for what release and what device, and is it indeed a fix because the bug will not show up

Re: [android-developers] date parsing

2011-08-18 Thread Daniel Drozdzewski
On 18 August 2011 16:45, bob b...@coolgroups.com wrote: I'm using this code to try to parse a date:        Date myDate = DateFormat.getDateInstance().parse(s); However, I get this: java.text.ParseException: Unparseable date: Sun, 19 Jun 2011 02:28:34 -0500 Any ideas how I can easily

[android-developers] Animation + Touch + Rotate bitmap

2011-08-18 Thread fala70
Hi, I need to make an animation to rotate a bitmap, using touch. The user can do only the rotation of bitmap, when the touch is pressed and moved the bitmap image go rotate animation, follow the finger. How can I do it ? thanks -- You received this message because you are subscribed to the

[android-developers] Activity test fails on getActivity()

2011-08-18 Thread Ab Caballero
I am unit testing the activities in an application. The first activity test runs fine and everything passes. The second test fails at getActivity() returning a NPE. I am assuming that since this is unit testing that getActivity() should launch the activity even if this activity is reliant on a

[android-developers] Re: adb push error

2011-08-18 Thread Chris Stratton
On Thursday, August 18, 2011 5:28:31 AM UTC-4, androx wrote: I am trying to put .so file in the /system/lib folder of device by using adb push, $adb push /home/sudhir/Development/newdroid/filename.so /system/lib As far as this forum (which is about developing 3rd party applications) is

[android-developers] Re: adb push error

2011-08-18 Thread Chris Stratton
On Thursday, August 18, 2011 5:28:31 AM UTC-4, androx wrote: I am trying to put .so file in the /system/lib folder of device by using adb push, $adb push /home/sudhir/Development/newdroid/filename.so /system/lib As far as this forum (which is about developing SDK applications) is

Re: [android-developers] Re: Google Development phones

2011-08-18 Thread Mark Ayers
The Nexus phones will always get updates quickest, though I'd be willing to bet that after the Nexus Prime, they will all be made by Motoogle. On Aug 18, 2011 6:06 AM, ColorTheorist colortheorydevelo...@gmail.com wrote: Sorry, that was just a throwaway comment. Eventually Motorola will become

[android-developers] DexClassLoader and DexFile Leaking File Handles

2011-08-18 Thread Matt
I have an application that uses a DexClassLoader to load some dynamically updateable plugin code. I created a stress test essentially looks like this: while (true) { Copy plugin jar from assets to temp directory Create a DexClassLoader using plugin jar as the classpath Load plugin

[android-developers] Re: Android PDF Rendering

2011-08-18 Thread LackeySoft
Writing your own parser/renderer is not a trivial task, particularly when it gets to putting images into a pdf. I just discovered PDFJet... I'm playing with it now, it's simple and has a lot of functionality. I don't think annotations are in there yet though. Their open-source version doesn't

Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-18 Thread Kristopher Micinski
On Thu, Aug 18, 2011 at 9:53 AM, Raziel23x raziel...@gmail.com wrote: I do not want to hide it i want it to download inside the application itself not have it when a link is clicked launch the web browser and download the file off the browser Ah, so your problem is that you need access to the

Re: [android-developers] Re: Android PDF Rendering

2011-08-18 Thread Mark Murphy
On Thu, Aug 18, 2011 at 2:11 PM, LackeySoft g...@lackeysoft.com wrote: Writing your own parser/renderer is not a trivial task, particularly when it gets to putting images into a pdf. I just discovered PDFJet... I'm playing with it now, it's simple and has a lot of functionality.  I don't

[android-developers] Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible

2011-08-18 Thread Appaholics
Hi, I have an app. I recently asked someone to install the app on their Asus Eee Pad. However he told me that his device wasn't supported. I looked at the dev console and found out that it is being excluded due to my manifest settings. However everything my manifest asks for is available. Another

[android-developers] Re: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible

2011-08-18 Thread Peter Sinnott
It would be helpful if you mentioned the app in question. I checked all your apps and they are all compatible with my Transformer. None of them are compatible with my phone (HTC Desire). The apps apk tab has info used for filtering (api level,supported screens,features,opengl) so maybe something

[android-developers] Android Dynamic Linking - DETAILS NEEDED

2011-08-18 Thread Dr Feelgood
Hello: I am new to Android and I've jumped right into developing a native service. This effort involves a lot of GNU C software and is going well, but dynamic linking/libraries have been giving me FITS. I need SPECIFIC DETAILS for how to link a JNI shared library so that it has other .so

[android-developers] Who fires OnCreate event?

2011-08-18 Thread Pavan Kulkarni
I was trying to understand how the Activity lifecycle is being managed! Is there someone who is firing all the events of the lifecycle? maybe ActivityManagerService? What if I want to customize the activity lifecycle and add a new event to it? Any guidance on what kind of changes needs to be

  1   2   >