[android-developers] Re: Run custom android without rooting device

2014-11-01 Thread Sheharyar Naseer
Hi @pedr0,

Yes, this isn't possible without root. You need to unlock your bootloader 
to be able to install custom ROMs.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Android Studio Editor feature

2014-11-01 Thread Sheharyar Naseer
Hi @Doug,

This is an awesome feature and I don't know why you would want to disable 
that, but if you would still want to, you can do this:

   1. Open Android Studio
   2. Navigate to *Settings *>* Editor *>* Code Folding*
   3. Uncheck the *Android String References *option

If you would like to enable it again in the future, simply check the option 
again.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Is it possible to make an Android device appear as a Bluetooth speaker?

2014-11-01 Thread Sheharyar Naseer
Here are some links that you might find useful:

   - Bluetooth audio streaming between Android devices 
   

   - How to stream audio from PC to Android device over Bluetooth 
   

   - Use Android Phone or Tablet as a PC Speaker over Bluetooth 
   


Here are some apps that already do what you're asking (and tutorials on how 
to use them):

   - Sound Seeder 
   

   - Soundwire 
   



Do let us know if it worked out for you!

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Android Wear: Disable wakeup gesture?

2014-11-01 Thread Sheharyar Naseer
Bump for potential

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: How to develop openvpn.

2014-11-01 Thread Sheharyar Naseer
Hey @sree,
Have you tried taking a look at ICS-OpenVPN 
? Maybe that's what you're looking 
for.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: how to add URL button

2014-11-01 Thread Sheharyar Naseer
>From what I understand, you want to add a Button that when tapped, would 
open a specific URL in the browser, right?

Place a button in your Layout, give it an ID and in your Java Code, use 
this:

Button button = (Button) findViewById(R.id.button_id);

button.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent();
intent.setAction(Intent.ACTION_VIEW);
intent.addCategory(Intent.CATEGORY_BROWSABLE);
intent.setData(Uri.parse("http://www.yourURL.com";));
startActivity(intent);
}
});


Replace `button_id` with your button's id and the url, with the one you 
want.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Buttons Not Displayed on Copy/Paste Action Bar Associated With A TextView in Dialog

2014-09-06 Thread Sheharyar Naseer
Are you using ActionbarSherlock by any chance? 
It seems to be a bug in the framework, the workaround for which is to 
manually set the theme again, preferably in the onCreateDialog method.

See Solution on Stackoverflow 


Sample code (uses DialogFragments):

@Override
public Dialog onCreateDialog(Bundle savedInstanceState) {
//get the parent activity context and set it's theme again.
Context ctx = getActivity();
ctx.setTheme(android.R.style.Theme_Holo_Light);
AlertDialog.Builder builder = new AlertDialog.Builder(ctx);
LayoutInflater inflater = (LayoutInflater) 
ctx.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View view = inflater.inflate(R.layout.your_dialog_layout, null, false);
builder.setView(view);

//your other code for the dialog

//

return builder.create();




 



-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Emnulator window issue

2014-09-06 Thread Sheharyar Naseer
I'm not sure I understand your problem, can you post screenshots?

On Monday, September 1, 2014 10:20:47 PM UTC+5, dashman wrote:
>
> I created a new emulator.
>
> Defined it as a standard phone - nexus 4.
>
> When the Window is displayed - it's in portrait orientation (i.e. the 
> frame)
>
> But the contents of the window (i.e. the emulated screen is landscape - 
> rotated 90 deg. to the right.
>
> i..e if I turn my head right 90 deg - then that would be a standard 
> landscape display - i.e. the Window frame + content.
>
>
> If I press Ctrl+F12 to switch orientation - the frame + contents is 
> landscape - that's normal and expected.
>
> Cntrl+F12 again - frame portrait (correct) but the contents are rotated 90 
> (i.e. the title bar is vertical on the right side of the frame)
>
>
> Any help?
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Screen rotation and ProgressDialog

2012-08-27 Thread Sheharyar Naseer
I'm still unable to do it. I'm fairly new to Android Dev. Could you please 
write me a snippet on how to do this in AsyncTasks. Thankyou for your help.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en