[android-developers]

2012-06-13 Thread Vijay Krishnan
Hi all, I could not save my image in phone.Here is my code Bitmap imageMap=BitmapFactory.decodeByteArray(data,0,data.length); File root = Environment.getExternalStorageDirectory(); File f1 = new File(root.getAbsolutePath()+/DCIM/Camera/,image.jpeg);

[android-developers] context menu title button

2012-06-13 Thread vaibs malviya
in android there a context menu. my question is that or my problem is that i want to add a button on right corner of title of context menu. and than selection operation are perform by this button not by touch on context menu. any one have knowledge about that please share with me. -- You

Re: [android-developers]

2012-06-13 Thread vaibs malviya
try this *MediaStore.Images.Media.insertImage(getContentResolver(), yourBitmap, yourTitle , yourDescription)* On Wed, Jun 13, 2012 at 11:52 AM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, I could not save my image in phone.Here is my code Bitmap

[android-developers] dhcp fails on wlan0 and ethernet with android 4.0

2012-06-13 Thread swaraj
Hi, Can anyone suggest me, why dhcp fails on ethernet and on wifi when dhcp service is started from init.rc. But its working fine when dhcpcd -B wlan0/eth0 command is given manually. Dhcp is not starting during start up and when started manually it works. D/wpa_supplicant( 1753): State:

Re: [android-developers]

2012-06-13 Thread Vijay Krishnan
no.that is for creating thumnail. On Wed, Jun 13, 2012 at 12:01 PM, vaibs malviya vaibs.malviy...@gmail.comwrote: try this *MediaStore.Images.Media.insertImage(getContentResolver(), yourBitmap, yourTitle , yourDescription)* On Wed, Jun 13, 2012 at 11:52 AM, Vijay Krishnan

Re: [android-developers] Problem with video in WebView

2012-06-13 Thread vaibs malviya
i think your solution is in this line *iframe width=\1100px\ height=\1500px\ src=\ http://www.youtube.com/embed/g6-8zkbCjl8\; frameborder=\0\ allowfullscreen* there is a *allowfullscreen* so try to remove or replace it by other. On Tue, Jun 12, 2012 at 10:03 PM, Angélica Oliveira

Re: [android-developers]

2012-06-13 Thread vaibs malviya
use the sample code from this link http://stackoverflow.com/questions/6027720/android-how-to-save-captured-image-into-phones-gallery On Wed, Jun 13, 2012 at 12:10 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: no.that is for creating thumnail. On Wed, Jun 13, 2012 at 12:01 PM, vaibs

[android-developers] How can we send data to fragment from activity?

2012-06-13 Thread tiyyagura yamini
I am using android2.3.3, I have develop one sample for horizontal paging. Where I am unable to send the data from actvity to the fragments. I have two fragment classes, these two classes are configured to the activity by using FragmentPagerAdapter class. I can send data from fragments to

Re: [android-developers] context menu title button

2012-06-13 Thread TreKing
On Wed, Jun 13, 2012 at 1:26 AM, vaibs malviya vaibs.malviy...@gmail.comwrote: my question is that or my problem is that i want to add a button on right corner of title of context menu. and than selection operation are perform by this button not by touch on context menu. Use a custom

Re: [android-developers] Using TableLayout to perform like expandable listview.

2012-06-13 Thread TreKing
On Tue, Jun 12, 2012 at 7:59 AM, Raneez rane...@gmail.com wrote: Is it possible to use TableLayout to get the same function of ExpandableListView by dynamically adding the rows(when expanding) and removing the rows ( when hiding) ? Yes, it's probably possible, but why do this when you have

[android-developers] Re: how to connect ms sql server management studio in android code

2012-06-13 Thread Giuseppe
you must use a webservice or a WCF service from server side and use respectively KSOAP for webservice client side or ODATA4J for Odata client side. GIuseppe -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-13 Thread Lars
Okay, I will post the code when I get home. What do you need to see, Java or xml? -- 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] Landscape Portrait and more... advanced question

2012-06-13 Thread Mark Cz
Hi all, I am writing an SDK that shows a EULA dialog in portrait mode upon starting the user application. My EULA is an activity with the following manifest activity android:name=.EulaActivity android:screenOrientation=portrait

[android-developers] Landscape/Portrait and more... an advanced question

2012-06-13 Thread Mark Cz
Hi all, I am writing an SDK that shows a EULA dialog in portrait mode upon starting the user application. My EULA is an activity with the following manifest activity android:name=.EulaActivity android:screenOrientation=portrait

[android-developers]

2012-06-13 Thread Vijay Krishnan
Hi all, I am getting the following runtime exception while using camera intent java.lang.RuntimeException: failure delivering result resultinfo {who=null request=0 result=-1 data=null} Thanks, vijay.k -- You received this message because you are subscribed to the Google

Re: [android-developers] Landscape/Portrait and more... an advanced question

2012-06-13 Thread Mark Murphy
On Wed, Jun 13, 2012 at 5:18 AM, Mark Cz ome...@gmail.com wrote: My EULA is an activity with the following manifest activity             android:name=.EulaActivity             android:screenOrientation=portrait             android:theme=@android:style/Theme.Translucent            

[android-developers] hello

2012-06-13 Thread iconapp 2010
Hello android people, I want to write a program in andriod for unlock the phone with out touching it, how can i do it.. can u please send me some idea and if some sample code means it ll quite helping to me.. -- You received this message because you are subscribed to the Google Groups

[android-developers] page curl

2012-06-13 Thread iconapp 2010
hello android gurus... I want the code to do page curl effect for my pdf book which is in webview, is it possible to do like that if it is so can u please send me some sample code -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] hello

2012-06-13 Thread Madhur Gupta
hello you can do it via shaking phone .finger sacnning. On Wed, Jun 13, 2012 at 4:32 PM, iconapp 2010 iconapp2...@gmail.com wrote: Hello android people,    I want to write a program in andriod for unlock the phone with out touching it, how can i do it.. can u please send me

[android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
plz Suggest me any one i wrote all code for mapview but it does not appeair on emulator it shows only blocks on emulator my code is below pls check is there any correction plz tell me .there is no any error in this code plz suggest me. thank you public class mapDemo extends

[android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
plz Suggest me any one i wrote all code for mapview but it does not appeair on emulator it shows only blocks on emulator my code is below pls check is there any correction plz tell me .there is no any error in this code plz suggest me. thank you public class mapDemo extends

Re: [android-developers] page curl

2012-06-13 Thread Raghavendra Rao
Hi, As far as i know you have to create your own jar and make use of that jar in your pdf book program. Its like creating your own library and adding that in your app to give the page flipping effect. Regards, Raghu On Jun 13, 2012 4:35 PM, iconapp 2010 iconapp2...@gmail.com wrote: hello

Re: [android-developers] mapviewError

2012-06-13 Thread Amey Bapat
check your logcat if u r getting dis line in red color couldn't get connection factory client den check your map apikey ..der is smething wrong there.. are u creating the fingerprint using md5 or sha1..(command prompt creation of map key) all da best On Wed, Jun 13, 2012 at 4:59 PM, deepak

Re: [android-developers] mapviewError

2012-06-13 Thread Narendra Singh Rathore
On Wed, Jun 13, 2012 at 4:57 PM, deepak mamdapure developer.it.a...@gmail.com wrote: plz Suggest me any one i wrote all code for mapview but it does not appeair on emulator it shows only blocks on emulator my code is below pls check is there any correction plz tell me .there is no any

Re: [android-developers] mapviewError

2012-06-13 Thread Amey Bapat
exactly..thats what ws trying to suggest..!! On Wed, Jun 13, 2012 at 5:27 PM, Narendra Singh Rathore nsr.curi...@gmail.com wrote: On Wed, Jun 13, 2012 at 4:57 PM, deepak mamdapure developer.it.a...@gmail.com wrote: plz Suggest me any one i wrote all code for mapview but it does not

[android-developers] Re: how to connect ms sql server management studio in android code

2012-06-13 Thread lbendlin
This request makes no sense. SQL Server Management Studio is just that, a management suite. You probably meant that you need to connect to a SQL Server database. On Wednesday, June 13, 2012 1:12:07 AM UTC-4, yogeshkumar tiwari wrote: Hi freinds, i am developing an android apps in that i

[android-developers] App Security

2012-06-13 Thread sujit dubey
Hi, Is there a way to prevent reverse engineering on .apk file generated for app? -- 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

Re: [android-developers] App Security

2012-06-13 Thread Mark Murphy
On Wed, Jun 13, 2012 at 8:04 AM, sujit dubey sujit...@gmail.com wrote:   Is there a way to prevent reverse engineering on .apk file generated for app? Not really. Obfuscation with ProGuard helps a little. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] App Security

2012-06-13 Thread Amey Bapat
apk signing ...read fr obfuscation of the code also On Wed, Jun 13, 2012 at 5:34 PM, sujit dubey sujit...@gmail.com wrote: Hi, Is there a way to prevent reverse engineering on .apk file generated for app? -- You received this message because you are subscribed to the Google

[android-developers] Learning to design in Android development

2012-06-13 Thread Parth Amin
Hello, Can anyone suggest me how to master android layouts, views and graphics ? How to start with it and gain the maximum advance ? Please guide me -- Parth Amin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers]

2012-06-13 Thread Raghav Sood
What have you tried so far? What is the error/exception you are getting. Also, you should generally wait at least 48 hours before bumping your post. On Wed, Jun 13, 2012 at 6:19 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: Hi all, I could not save the image taken from my app in

[android-developers] Re: Learning to design in Android development

2012-06-13 Thread G. Blake Meike
Well, since you asked... The second edition of Programming Android is now on-line: http://shop.oreilly.com/product/0636920023005.do G. Blake Meike Marakana On Wednesday, June 13, 2012 5:27:52 AM UTC-7, Parth Amin wrote: Hello, Can anyone suggest me how to master android layouts, views and

Re: [android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
in the logcat below msg will displayed then what i do 06-13 18:34:13.114: ERROR/MapActivity(388): Couldn't get connection factory client On 13 June 2012 17:32, Amey Bapat amey.n.ba...@gmail.com wrote: exactly..thats what ws trying to suggest..!! On Wed, Jun 13, 2012 at 5:27 PM, Narendra

Re: [android-developers]

2012-06-13 Thread Vijay Krishnan
hi raghav, Here is my code File root = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); File f1 = new File(root.getPath()+File.separator+image.jpeg); FileOutputStream fos=new

Re: [android-developers] mapviewError

2012-06-13 Thread Narendra Singh Rathore
On Wed, Jun 13, 2012 at 6:44 PM, deepak mamdapure developer.it.a...@gmail.com wrote: in the logcat below msg will displayed then what i do 06-13 18:34:13.114: ERROR/MapActivity(388): Couldn't get connection factory client Amey has clarified you what to do in that case. Check your map api

Re: [android-developers]

2012-06-13 Thread Raghav Sood
Do you have permission to write to the SD Card? On Wed, Jun 13, 2012 at 6:50 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: hi raghav, Here is my code File root =

Re: [android-developers]

2012-06-13 Thread Vijay Krishnan
raghav, i had included this line uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/ in my AndroidManifest.xml.But it doesn't work. On Wed, Jun 13, 2012 at 6:52 PM, Raghav Sood raghavs...@gmail.com wrote: Do you have permission to write to the SD Card? On Wed,

Re: [android-developers] Calendar EditEventHelper test case

2012-06-13 Thread Michael Chan
Thank you. I will integrate your fix into the repro. On Mon, Jun 11, 2012 at 6:48 AM, Daniel Kang doojin.k...@gmail.com wrote: Hello, I'm doing some Unit Test with Android Calendar application. In the test code in EditEventHelperTest.java, lots of testSaveEvent* encountered

Re: [android-developers]

2012-06-13 Thread Raghav Sood
Where did you put it in your manifest? On Wed, Jun 13, 2012 at 6:56 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: raghav, i had included this line uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/ in my AndroidManifest.xml.But it doesn't work. On Wed,

Re: [android-developers] mapviewError

2012-06-13 Thread deepak mamdapure
But i have generated Map Api key more than three times i have already used all these three api keys but there is nothing any output on emulator (Deepak Mamdapure) You only live once, once is enough. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] App Security

2012-06-13 Thread Kristopher Micinski
Obfuscation definitely helps, but that's pretty much all you can do, kris On Wed, Jun 13, 2012 at 8:04 AM, sujit dubey sujit...@gmail.com wrote:   Hi,   Is there a way to prevent reverse engineering on .apk file generated for app? -- You received this message because you are

Re: [android-developers]

2012-06-13 Thread Vijay Krishnan
Raghav, Inside manifest tag and above the application tag On Wed, Jun 13, 2012 at 7:01 PM, Raghav Sood raghavs...@gmail.com wrote: Where did you put it in your manifest? On Wed, Jun 13, 2012 at 6:56 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote: raghav, i had

Re: [android-developers] mapviewError

2012-06-13 Thread Narendra Singh Rathore
On Wed, Jun 13, 2012 at 7:02 PM, deepak mamdapure developer.it.a...@gmail.com wrote: But i have generated Map Api key more than three times i have already used all these three api keys but there is nothing any output on emulator Okay, may you please tell, which fingerprint have you used for

[android-developers] Java 1.7

2012-06-13 Thread bob
I'm trying to use this notation in my code: int x = 5_000_000; So, I need Java 1.7. However, I get this error: [2012-06-13 09:01:43 - wall] Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools Fix Project Properties. Any thoughts on this?

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread kadmos
Can some one at least verify for me that Google Play being launched as a separate process is NOT the correct behavior of an in-app billing activity? And can anyone verify that if Google Play is already running (i.e. if the itself app has just been purchased/downloaded, installed, and was

Re: [android-developers] Java 1.7

2012-06-13 Thread Daniel Drozdzewski
It probably won't be supported soon for multitude of reasons. Simply set compiler compliance to 1.6 in Eclipse and live without funky Java 7 features. I know, it is not, what you asked for, but features of Java 7 are a bit more than the nice way of representing numerals. Have a look here:

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread Kristopher Micinski
And can anyone verify that if Google Play is already running (i.e. if the itself app has just been purchased/downloaded, installed, and was started before the Google Play app was closed) that Google Play does NOT take over focus after an attempt at an in-app purchase? It looks like Dianne

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-13 Thread Lars
Here's my activity.java: package lars.browser; import lars.browser.dagensbilde; import android.app.Activity; import android.os.Bundle; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; public class BrowserActivity extends Activity { /**

Re: [android-developers] ImageView with progress spinner

2012-06-13 Thread Jonathan Koren
Why not stick your custom imageview and spinner inside a ViewSwitcher? While your imageview is loading show the spinner... When it finished loading show the imageview. Because of the custom background (or I guess you could think of it as a photo frame), I want the spinner to appear

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread kadmos
Respectfully, I don't read works well in other applications as yes this very same scenario has been tested with at least one other published application and it is absolutely NOT suppose to happen. Our app works well so long as Google Play has been closed after the app has been downloaded and

[android-developers] Recover Certificate from APK

2012-06-13 Thread Saurav
Hi all, I am in a bit of a soup. I have lost my keystore file for my signed apk, which is in market. Is there any way I can extract the certificate from the backup apks that I have? Any hack? Please. Mercy. I really need to push an update to the application in the market. Thanks in advance!

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread Kristopher Micinski
Great, produce some code, then. On Wed, Jun 13, 2012 at 11:47 AM, kadmos kadmo...@gmail.com wrote: Respectfully, I don't read works well in other applications as yes this very same scenario has been tested with at least one other published application and it is absolutely NOT suppose to

[android-developers] Good application ever i see - I Missed My phone at home

2012-06-13 Thread Rocky
Hi Everyone, Check this application, its really awesome, *I Missed My phone at home* lets enjoy with this apps http://imissedmyphoneathome.blogspot.in/ -- Thanks Regards Rakesh Kumar Jha Android Developer, Trainer and Mentor Bangalore Skype - rkjhaw (O) +918050753516 (R) +919886336619 --

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread kadmos
i did. if all youre going to do is troll dude go somewhere else. On Wednesday, June 13, 2012 12:09:43 PM UTC-4, Kristopher Micinski wrote: Great, produce some code, then. On Wed, Jun 13, 2012 at 11:47 AM, kadmos kadmo...@gmail.com wrote: Respectfully, I don't read works well in other

Re: [android-developers] Recover Certificate from APK

2012-06-13 Thread Mark Murphy
On Wed, Jun 13, 2012 at 12:00 PM, Saurav to.saurav.mukher...@gmail.com wrote: I have lost my keystore file for my signed apk, which is in market. Is there any way I can extract the certificate from the backup apks that I have? No. It is mathematically impossible to recover a keystore from

[android-developers] Google Checkout settings for paid Android apps

2012-06-13 Thread Paresh Joshi
Hi, I recently set up the Google checkout account to sell paid android apps and got notification from Google Checkout team that my account was put on hold because it was set up as tax exempt. Can anyone please let me know how it should be set up. Documentation says to use Using Tax Data Systems

Re: [android-developers] Recover Certificate from APK

2012-06-13 Thread Raghav Sood
No. It is mathematically impossible to recover a keystore from something signed with that keystore. I know this isn't related to the list, but I've always wondered about that part. Could anybody explain how it is mathematically impossible, or point me to a good link? Thanks -- Raghav Sood

[android-developers] Re: Using TableLayout to perform like expandable listview.

2012-06-13 Thread Raneez
because , i need different table layouts for different groups in the expandable listview, and i find it difficult to implement. Can you please help me, i'l be happy if i could do it with expandable listview itself. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread Kristopher Micinski
Quite to the contrary, I don't see any short compilable code to reproduce your claim, just a snippet. You gave a good description, which is a start, but filing a bug report on something that seems to be working in hundreds of other apps seems misguided, and if you're going to blame the system,

Re: [android-developers] Recover Certificate from APK

2012-06-13 Thread Mark Murphy
On Wed, Jun 13, 2012 at 12:53 PM, Raghav Sood raghavs...@gmail.com wrote: I know this isn't related to the list, but I've always wondered about that part. Could anybody explain how it is mathematically impossible Digital signatures are based upon public-key cryptography. You cannot recover a

Re: [android-developers] Recover Certificate from APK

2012-06-13 Thread Kristopher Micinski
That's right, this should be covered in any basic crypto text.. kris On Wed, Jun 13, 2012 at 12:53 PM, Raghav Sood raghavs...@gmail.com wrote: No. It is mathematically impossible to recover a keystore from something signed with that keystore. I know this isn't related to the list, but I've

Re: [android-developers] Recover Certificate from APK

2012-06-13 Thread Raghav Sood
Digital signatures are based upon public-key cryptography. You cannot recover a private key given a public key -- that's the whole point of public-key crypto. Such algorithms are based on one-way functions: things that are easy to do but hard to reverse. This is enough. I know what public

[android-developers] AppWidget disappears after updating app and moving code into a library

2012-06-13 Thread Bryan
Hi, I've 2 versions of an app, for which I just merged the code into a single library that I reference from both apps. In testing, I found that if an appwidget existed on the homescreen for this app and I updated to the new version using the library, the LauncherModel.java would delete the

[android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-13 Thread Bryan
I should add that I can create new appwidgets on the homescreen with the newest version, but existing widgets don't appear even though the onUpdate is called in the AppWidgetProvider. On Wednesday, June 13, 2012 1:23:31 PM UTC-4, Bryan wrote: Hi, I've 2 versions of an app, for which I just

[android-developers] email attachment

2012-06-13 Thread Jags
i am creating some files in my /data/data/com.mypackage.org/files/ using openFileForOutput method. I am able to read that file using 3rd party activity from my app, now when i send this file as attachment i see the attachment being attached in the mail and sent, but when the email reaches,

Re: [android-developers] email attachment

2012-06-13 Thread Mark Murphy
Third party apps cannot read the contents of your internal storage, by default. Either: - put the file on external storage, or - create the file with MODE_WORLD_READABLE, or - create a ContentProvider to serve up the file(s) and use content:// for your attachments On Wed, Jun 13, 2012 at 1:41

[android-developers] Re: email attachment

2012-06-13 Thread Jags
ok read about this http://stackoverflow.com/questions/6058245/email-attachment-not-successful-in-android is it still an issue ? if i dont have an sdcard what should i do ? even my file is also world_readable is there a temp folder which can be used to send attachment ? or may be read the

Re: [android-developers] email attachment

2012-06-13 Thread Jags
Thanks mark, i do have my file created with mode_world_readable. Hence I am able to read it using pdf reader ! but email attachment is a problem ! On Wednesday, June 13, 2012 11:14:13 PM UTC+5:30, Mark Murphy (a Commons Guy) wrote: Third party apps cannot read the contents of your internal

Re: [android-developers] email attachment

2012-06-13 Thread Jags
and do you hv an example how to send private file content through contentprovider ? On Wednesday, June 13, 2012 11:46:23 PM UTC+5:30, Jags wrote: Thanks mark, i do have my file created with mode_world_readable. Hence I am able to read it using pdf reader ! but email attachment is a problem !

[android-developers] listenUsingInsecureRfcommWithServiceRecord

2012-06-13 Thread bob
Can someone help me understand the benefits of using listenUsingInsecureRfcommWithServiceRecord instead of listenUsingRfcommWithServiceRecord? Can you get lower latency? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

Re: [android-developers] Re: How apply a theme in a fragment?

2012-06-13 Thread Jonathan Koren
I am also having this issue and would like some help. My activity uses a light theme, but for one if its fragments I need to use a dark theme. I've tried the following with no success: public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-13 Thread Chris Ruskai
If that's your entire Activity, I don't see an onCreate function or anything that calls setContentView to tell the app which xml file to use for the activity's layout. For example: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] Re: ImageView with progress spinner

2012-06-13 Thread Paul Turchenko
Try implementing your own Drawable. This way you could draw spinner while actual image loads. As soon as you have image to display, your drawable could handle that as well. Use setImageDrawable() call to apply. On Tuesday, June 12, 2012 2:04:28 AM UTC-5, Karakuri Dev wrote: *Short version*:

[android-developers] Re: AppWidget disappears after updating app and moving code into a library

2012-06-13 Thread Bryan
OK, I found a solution, but I feel sick for what it is... After reading about how classes declared in the manifest should never change, I went and creating each class in the manifest as a class in the app, extending the corresponding class in the library. Then, I had to change every Intent to

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-13 Thread Lars
Thank you very much =). It worked=) But of some reason when i press the dagens_button on my phone it does'nt open the attached(dagensbilde.java) activity(which is a webview activity). Did i do something wrong in the code i already posted. Thank you in advance. Lars. Den onsdag den 13.

Re: [android-developers] Help, eclipse does'nt show any errors, but app does'nt work on phone.

2012-06-13 Thread Justin Anderson
According to your code, you are not setting the click listener on your button until you click on the button... Adding the click listener should also go in your onCreate() method... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 13, 2012 at

Re: [android-developers] Re: bubble message like iphone messages ??

2012-06-13 Thread Justin Anderson
Well, you would have to write your own app to use those images, for one. Then for each message you would use a TextView and set the background of the TextView to the image... TextView android:layout_width=wrap_content android:layout_height=wrap_content

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread kadmos
That's cool but i never said this doesn't work. In fact, for all we knew it was working just fine until we went live and started messing with it and saw that this was happening when the app was downloaded from the Play Store and the Play Store was left running. Now my app has been pulled and we

Re: [android-developers] code for opening mobile version of a website

2012-06-13 Thread Justin Anderson
Ummm... a mobile site is nothing more than a normal website that is optimized for mobile devices... So you would do it the same way you load a normal website. An example would be yahoo.com... The mobile version of yahoo's website is m.yahoo.com. Thanks, Justin Anderson MagouyaWare Developer

Re: [android-developers] TabHost Problem

2012-06-13 Thread Justin Anderson
So, when you debug, the values you see are the correct ones, but it is displaying the old values? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jun 8, 2012 at 2:05 AM, naseem Rafique naseem.ra...@gmail.comwrote: Yes, I did check, On Wed, Jun

Re: [android-developers] how to set the size of tab in tabHost?

2012-06-13 Thread Justin Anderson
I don't see how this changes the size of individual tabs. * *This code should get you the first tab in the TabHost... If you passed an argument of 1 that would get you the secont tab. Then you are setting the width and height on that tab with the call to setLayoutParams():

Re: [android-developers] soft keyboard not showing

2012-06-13 Thread Justin Anderson
I'm not entirely sure, but I don't think so... For devices with a trackball or a non-touch screen it would get very annoying if the keyboard popped up every time an EditText received focus. I used to have a phone with a TrackBall (T-Mobile MyTouch) and I don't remember the keyboard popping up if

Re: [android-developers] Re: bubble message like iphone messages ??

2012-06-13 Thread Kristopher Micinski
I would suspect that you'd also want to use something like a nine patch for this, ? kris On Wed, Jun 13, 2012 at 3:44 PM, Justin Anderson magouyaw...@gmail.com wrote: Well, you would have to write your own app to use those images, for one. Then for each message you would use a TextView and set

Re: [android-developers] Re: How apply a theme in a fragment?

2012-06-13 Thread jc
This includes the key steps and should work to do what you want: @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // create ContextThemeWrapper from the original Activity Context with the custom theme Context context = new

Re: [android-developers] listenUsingInsecureRfcommWithServiceRecord

2012-06-13 Thread Kristopher Micinski
Some devices are insecured. For example, some mice and other input devices, etc..., and you simply *can't* authenticate them. On Wed, Jun 13, 2012 at 2:29 PM, bob b...@coolfone.comze.com wrote: Can someone help me understand the benefits of using listenUsingInsecureRfcommWithServiceRecord

Re: [android-developers] Re: bubble message like iphone messages ??

2012-06-13 Thread Justin Anderson
I would suspect that you'd also want to use something like a nine patch for this, ? Yep... Didn't think of that until after I had replied already. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Jun 13, 2012 at 2:18 PM, Kristopher Micinski

Re: [android-developers] Re: bubble message like iphone messages ??

2012-06-13 Thread Kristopher Micinski
I know nothing about the UI side of Android, which is why I only suggested it speculatively :-) On Wed, Jun 13, 2012 at 5:04 PM, Justin Anderson magouyaw...@gmail.com wrote: I would suspect that you'd also want to use something like a nine patch for this, ? Yep... Didn't think of that until

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread Jim Graham
On Wed, Jun 13, 2012 at 12:47:50PM -0700, kadmos wrote: I dont expect my problems to be solved for me - I've been working on the Android platform for two years now - alone. This is the first time I have been this stuck. I believe the point was, if you don't post the relevant portion of

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread kadmos
I never said Google's code was wrong. I never said my code was *not* wrong. I *did* post relevant portions of my code - everything up to the actual point of initiating a purchase. if no one here can even follow that and relate it to the behavior described, or ask me for something specific, why

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread Kristopher Micinski
On Wed, Jun 13, 2012 at 7:13 PM, kadmos kadmo...@gmail.com wrote: I never said Google's code was wrong. I never said my code was not wrong. I did post relevant portions of my code - everything up to the actual point of initiating a purchase. if no one here can even follow that and relate it to

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread Mark Murphy
On Wed, Jun 13, 2012 at 7:13 PM, kadmos kadmo...@gmail.com wrote: I never said Google's code was wrong. I never said my code was not wrong. I did post relevant portions of my code - everything up to the actual point of initiating a purchase. if no one here can even follow that and relate it to

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread kadmos
*...you filed a bug report, the title of the report was Play Store hijacking focus after in-app purchase dialog. I'm sorry, I just didn't understand that that statement wasn't meant to imply the system was wrong. * I believed it was a concise and accurate enough observation of what was

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread Jim Graham
On Wed, Jun 13, 2012 at 04:13:41PM -0700, kadmos wrote: I never said Google's code was wrong. I never said my code was *not* wrong. 1) Look at your subject line, if nothing else: Play Store hijacking ... That is not exactly implying good behavior on the part of the market. 2) You filed a

Re: [android-developers] Problems with Linkify in Android 4

2012-06-13 Thread Jim Anderson
After playing around with this on the emulator, it looks like it's HTC-specific. Plain Android 4 does Linkify just fine, while my HTC One S doesn't fire intents from Linkify. Odd, but I can work around that. Cheers, Jim Fear is the dark room where the Devil develops his negatives. - Gary

Re: [android-developers] Problems with Linkify in Android 4

2012-06-13 Thread Mark Murphy
On Wed, Jun 13, 2012 at 8:48 PM, Jim Anderson jbheml...@gmail.com wrote: After playing around with this on the emulator, it looks like it's HTC-specific. Plain Android 4 does Linkify just fine, while my HTC One S doesn't fire intents from Linkify. Odd, but I can work around that. If you can

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread kadmos
1. When you tested your app on a handful of different devices, did the behavior you dislike persist across all of them? yes. 3 different ones. 2. When you tested a bunch of other apps' in-app purchases on a device that is giving you grief, did they exhibit the same behavior? i

Re: [android-developers] listenUsingInsecureRfcommWithServiceRecord

2012-06-13 Thread Raunaque Quaiser
listenUsingInsecureRfcommWithServiceRecord allows you to connect to another SPP/RFCOM BT profile devices without entering the pass key . while for the other you need to enter the pass key, Check the chat example on android , it is for both secure and insecure communication . If you are more

[android-developers] Re: Android VPN L2TP

2012-06-13 Thread Nicolas Embleton
Hi ( still cannot know your name :) ) , Ok, a good point for being able to connect already. By File not found exception, can you give some more details? Like a few piece of code where you configure and how you setup the key and all? Nicolas. On Wednesday, June 13, 2012 11:57:14 AM UTC+7,

Re: [android-developers] Play Store hijacking focus after in-app purchase dialog

2012-06-13 Thread kadmos
*I thought the problem was either during or after the in-app purchase If it's before the in-app purchase, then why does your subject line specify AFTER in-app purchase? Code prior to that is not the relevant code people are asking for*. Because the only relevant(?) feedback i've gotten

Re: [android-developers] Re: Using TableLayout to perform like expandable listview.

2012-06-13 Thread TreKing
On Wed, Jun 13, 2012 at 11:54 AM, Raneez rane...@gmail.com wrote: because , i need different table layouts for different groups in the expandable listview, OK ... so then use different table layouts for different groups. This does not mean you have to re-invent the wheel of the expandable

  1   2   >