Re: [android-developers] generating pdf files in android

2016-08-21 Thread sardar khan
You can use itext to generate pdf files because it is easy to use and you
should check for pdf reader app in your mobile to run your generated pdf
files.

On Mon, Aug 22, 2016 at 12:45 AM, Syeda Farheen 
wrote:

> Hi
>
> I am new to android development. I am working on a project in which I have
> to generate pdf file using data from database dynamically.User will be
> given choice either to save it on mobile or save it on google drive.I have
> checked lots of tutorials on generating pdf file using iText but none is
> working for me.I cannot see the pdf file in my mobile after I run the app,
> also I get plenty for errors while following few tutorials.Can some one
> kindly guide me to some useful toturials or project code on github which
> can help me learn how to add required functionality to my project.
>
> thanks
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/2125f147-a90e-49b0-ad57-
> deb7d8a04273%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABHzXATUq4yMYnnnRe0nabssHCsKci319hazxeeTz-1qC4TVTw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How I can get contentview of a app using a internt

2016-08-21 Thread Indika Ruwan Senavirathne
Intent i = manager.getLaunchIntentForPackage(packageName);
startActivity(i);

As I explained Im starting activity using startActivity(i); method. It
 starts properly , But I need that application full content view to display
inside a another application container. Now what is happening after
calling startActivity(i);
method its
content display come to full screen as default. but I dont need it. I need
to show that application display screen inside a another application bit
small screen. so how to get that graphic stream from my first application.

-- 
Best Regards

Indika Ruwan Senavirathne
Software Engineer  | Professional  Mobile App Developer


Email: indika.senavirat...@gmail.com
Skype: indikasenavirathne

DISCLAIMER:  This email and any attachments to it may be confidential and
are intended solely for the use of the individual to whom it is addressed.

If you are not the intended recipient of this email, you must neither take
any action based upon its contents, nor copy or show it to anyone. Please
contact the sender if you believe you have received this email in error.

P please consider the environment before printing this email

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CADq0osGfJHRudU8DnHWTs0UsjcSXOLBU92Uxmw5Vbsdi-b2KdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Windows 10 Android Studio 2.1.3 Error:Buildtools 24.0.1 requires Java 1.8 or above. Current JDK version is 1.7.

2016-08-21 Thread Terrance Law
I was having the same issue. But my JDK Location field can choose 1.6 or 
1.7.How?

On Sunday, August 21, 2016 at 3:52:08 AM UTC+8, johnso...@gmail.com wrote:
>
> I was having the same issue.  Try going to File → Project Structure and 
> make sure the *JDK Location* field is set to a JDK that is 1.8.  If not, 
> click the … next to that field to select the proper JDK.
>
> - Johnson
>
> On Saturday, August 20, 2016 at 11:38:49 AM UTC-7, Brad Hill wrote:
>>
>> Hi all,
>> This is my first post.  I installed Android Studio 2.1.3.  I've also 
>> install Java 1.8.  Studio however is still giving me this error:
>> Windows 10 Android Studio 2.1.3 Error:Buildtools 24.0.1 requires Java 1.8 
>> or above.  Current JDK version is 1.7.
>>
>> It's probably a "rookie" mistake.  I appreciate any help!  Thanks!
>>
>>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/77854a00-9bdf-4f1e-9124-c1c13136a592%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Android Studio Run problem

2016-08-21 Thread Steve Gabrilowitz
Did you click the troubleshoot link to see if that provided any help?

On Aug 21, 2016 4:58 PM, "Juboraj Sarker" 
wrote:

> I am new user of android studio,
> I have installed it properly.
> But my first time it showing this error.
> Please check this out and please give me a solution.
> Thank you
>
>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/e97d6d08-3113-4c70-b635-
> 9da89a20acf6%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABfabRicbtd4RLCwv%3DtSscP_XYW0YxNvRtOStP4d6AttvyzXog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] generating pdf files in android

2016-08-21 Thread Syeda Farheen
Hi

I am new to android development. I am working on a project in which I have 
to generate pdf file using data from database dynamically.User will be 
given choice either to save it on mobile or save it on google drive.I have 
checked lots of tutorials on generating pdf file using iText but none is 
working for me.I cannot see the pdf file in my mobile after I run the app, 
also I get plenty for errors while following few tutorials.Can some one 
kindly guide me to some useful toturials or project code on github which 
can help me learn how to add required functionality to my project.

thanks

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/2125f147-a90e-49b0-ad57-deb7d8a04273%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Running Gradlelw takes forever

2016-08-21 Thread Jigal sanders


Hello,


I am trying to run ./gradlew :app:assembleDebug or $ ./gradlew assembleDebug 
but 
my system seems to be busy for hours to download Gradle as you can see in 
the screenshot. However when I build my project from within Android-studio 
Gradle seems to run without any problems. Also I can download the zip file 
Through the browser without any problems.


I am running Android Studio on Ubuntu 16.04


Any suggestions are very welcome.

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/4dca325b-8bd6-4aac-95ea-98f893b930fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: WebView for HTML5 video and overriding onHideCustomView/onBackPressed in fragments

2016-08-21 Thread AndroidUser253
Mb there is no need to override onBackPressed in fragment 
because onHideCustomView is being called when I press back button anyway, 
but I as said the app crashes and I don't really understand why

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/f4741a4a-de98-4e9d-8414-eb1ad7615e19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: WebView for HTML5 video and overriding onHideCustomView/onBackPressed in fragments

2016-08-21 Thread AndroidUser253
Mb there is no need to override onBackPressed in fragment 
because onHideCustomView is being called when I press back button anyway, 
but I as said the crashes and I don't really understand why

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3473f344-27ab-477b-9cf8-677cb2c12bdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: WebView for HTML5 video and overriding onHideCustomView/onBackPressed in fragments

2016-08-21 Thread AndroidUser253


On Sunday, August 21, 2016 at 10:02:11 PM UTC+3, AndroidUser253 wrote:
>
> I have an example code that creates WebView for HTML5 video and it allows 
> to enable fullscreen (actually there is also a problem with hiding status 
> bar, but it's not the main problem now).
>
> public class MainActivity extends AppCompatActivity {
>
> private MyWebChromeClient mWebChromeClient = null;
> private View mCustomView;
> private LinearLayout mContentView;
> private FrameLayout mCustomViewContainer;
> private WebChromeClient.CustomViewCallback mCustomViewCallback;
> private Bundle webViewBundle;
> private WebView mWebView;
> private int viewWidth;
> private int viewHeight;
> private LinearLayout.LayoutParams layoutParams;
> private View decorView;
>
> @Override
> protected void onCreate(Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> setContentView(R.layout.activity_main);
> decorView = getWindow().getDecorView();
>
> mWebView = (WebView) findViewById(R.id.webView);
> mWebChromeClient = new MyWebChromeClient();
> mWebView.setWebChromeClient(mWebChromeClient);
> mWebView.setWebViewClient(new WebViewClient(){
> @Override
> public boolean shouldOverrideUrlLoading(WebView view, String url) 
> {
> return false;
> }
> });
> WebSettings webSettings = mWebView.getSettings();
> webSettings.setJavaScriptEnabled(true);
>
> viewWidth = 480;
> viewHeight = (int) (((double) viewWidth) * 0.5625); // video aspect 
> 16:9
> layoutParams = new LinearLayout.LayoutParams(viewWidth, viewHeight);
> mWebView.setLayoutParams(layoutParams);
>
> if (webViewBundle != null) {
> mWebView.restoreState(webViewBundle);
> } else {
> mWebView.loadUrl(%VIDEO_URL%); // e.g, page with iframe video
> }
>
> }
>
> @Override
> public void onPause() {
> super.onPause();
> webViewBundle = new Bundle();
> mWebView.saveState(webViewBundle);
> mWebView.onPause();
> }
>
> @Override
> public void onResume() {
> super.onResume();
> mWebView.onResume();
> }
>
> @Override
> public void onDestroy() {
> super.onDestroy();
> mWebView.destroy();
> }
>
> public class MyWebChromeClient extends WebChromeClient {
>
> FrameLayout.LayoutParams LayoutParameters = new 
> FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, 
> FrameLayout.LayoutParams.MATCH_PARENT);
>
> @Override
> public void onShowCustomView(View view, CustomViewCallback callback) {
> // if a view already exists then immediately terminate the new one
> if (mCustomView != null) {
> callback.onCustomViewHidden();
> return;
> }
> mContentView = (LinearLayout) findViewById(R.id.activity_main);
> mContentView.setVisibility(View.GONE);
> mCustomViewContainer = new FrameLayout(MainActivity.this);
> mCustomViewContainer.setLayoutParams(LayoutParameters);
> mCustomViewContainer.setBackgroundResource(android.R.color.black);
> view.setLayoutParams(LayoutParameters);
> mCustomViewContainer.addView(view);
> mCustomView = view;
> mCustomViewCallback = callback;
> getSupportActionBar().hide();
> int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
> decorView.setSystemUiVisibility(uiOptions);
> mCustomViewContainer.setVisibility(View.VISIBLE);
> setContentView(mCustomViewContainer);
> }
>
> @Override
> public void onHideCustomView() {
> if (mCustomView == null) {
> return;
> } else {
> // Hide the custom view.
> mCustomView.setVisibility(View.GONE);
> // Remove the custom view from its container.
> mCustomViewContainer.removeView(mCustomView);
> mCustomView = null;
> mCustomViewContainer.setVisibility(View.GONE);
> mCustomViewCallback.onCustomViewHidden();
> // Show the content view.
> int uiOptions = View.SYSTEM_UI_FLAG_VISIBLE;
> decorView.setSystemUiVisibility(uiOptions);
> getSupportActionBar().show();
> mContentView.setVisibility(View.VISIBLE);
> setContentView(mContentView);
> }
> }
> }
> @Override
> public void onBackPressed() {
> if (mCustomViewContainer != null)
> mWebChromeClient.onHideCustomView();
> else if (mWebView.canGoBack())
> mWebView.goBack();
> else
> super.onBackPressed();
> }}
>
> This code for 

[android-developers] WebView for HTML5 video and overriding onHideCustomView/onBackPressed in fragments

2016-08-21 Thread AndroidUser253


I have an example code that creates WebView for HTML5 video and it allows 
to enable fullscreen (actually there is also a problem with hiding status 
bar, but it's not the main problem now).

public class MainActivity extends AppCompatActivity {

private MyWebChromeClient mWebChromeClient = null;
private View mCustomView;
private LinearLayout mContentView;
private FrameLayout mCustomViewContainer;
private WebChromeClient.CustomViewCallback mCustomViewCallback;
private Bundle webViewBundle;
private WebView mWebView;
private int viewWidth;
private int viewHeight;
private LinearLayout.LayoutParams layoutParams;
private View decorView;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
decorView = getWindow().getDecorView();

mWebView = (WebView) findViewById(R.id.webView);
mWebChromeClient = new MyWebChromeClient();
mWebView.setWebChromeClient(mWebChromeClient);
mWebView.setWebViewClient(new WebViewClient(){
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
return false;
}
});
WebSettings webSettings = mWebView.getSettings();
webSettings.setJavaScriptEnabled(true);

viewWidth = 480;
viewHeight = (int) (((double) viewWidth) * 0.5625); // video aspect 16:9
layoutParams = new LinearLayout.LayoutParams(viewWidth, viewHeight);
mWebView.setLayoutParams(layoutParams);

if (webViewBundle != null) {
mWebView.restoreState(webViewBundle);
} else {
mWebView.loadUrl(%VIDEO_URL%); // e.g, page with iframe video
}

}

@Override
public void onPause() {
super.onPause();
webViewBundle = new Bundle();
mWebView.saveState(webViewBundle);
mWebView.onPause();
}

@Override
public void onResume() {
super.onResume();
mWebView.onResume();
}

@Override
public void onDestroy() {
super.onDestroy();
mWebView.destroy();
}

public class MyWebChromeClient extends WebChromeClient {

FrameLayout.LayoutParams LayoutParameters = new 
FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, 
FrameLayout.LayoutParams.MATCH_PARENT);

@Override
public void onShowCustomView(View view, CustomViewCallback callback) {
// if a view already exists then immediately terminate the new one
if (mCustomView != null) {
callback.onCustomViewHidden();
return;
}
mContentView = (LinearLayout) findViewById(R.id.activity_main);
mContentView.setVisibility(View.GONE);
mCustomViewContainer = new FrameLayout(MainActivity.this);
mCustomViewContainer.setLayoutParams(LayoutParameters);
mCustomViewContainer.setBackgroundResource(android.R.color.black);
view.setLayoutParams(LayoutParameters);
mCustomViewContainer.addView(view);
mCustomView = view;
mCustomViewCallback = callback;
getSupportActionBar().hide();
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
mCustomViewContainer.setVisibility(View.VISIBLE);
setContentView(mCustomViewContainer);
}

@Override
public void onHideCustomView() {
if (mCustomView == null) {
return;
} else {
// Hide the custom view.
mCustomView.setVisibility(View.GONE);
// Remove the custom view from its container.
mCustomViewContainer.removeView(mCustomView);
mCustomView = null;
mCustomViewContainer.setVisibility(View.GONE);
mCustomViewCallback.onCustomViewHidden();
// Show the content view.
int uiOptions = View.SYSTEM_UI_FLAG_VISIBLE;
decorView.setSystemUiVisibility(uiOptions);
getSupportActionBar().show();
mContentView.setVisibility(View.VISIBLE);
setContentView(mContentView);
}
}
}
@Override
public void onBackPressed() {
if (mCustomViewContainer != null)
mWebChromeClient.onHideCustomView();
else if (mWebView.canGoBack())
mWebView.goBack();
else
super.onBackPressed();
}}

This code for the activity. But I want to use it in fragments (because they 
have a power and I can use them for ViewPager). I could not find any 
example with overriding `onShowCustomView, onHideCustomView, onBackPressed' 
in fragments.

Here what I did for a fragment

public class TestFragment extends Fragment {

private static 

[android-developers] Android Beacon Transmitter stops automatically why?

2016-08-21 Thread AsifJavaid Chughtai
Hi all,

I am developing an Android application which has functionality to interact 
with ibeacons and also to act as ibeacon using altbeacon android beacon 
library ( 
https://altbeacon.github.io/android-beacon-library/battery_manager.html ).

I have got success in beacon detection and advertisement but my app 
suddenly stops beacon advertising and  didRangeBeaconsInRegion() event stop 
detecting beacons nearby unless I stopped the bluetooth and restart the 
bluetooth again.

Please let me know, how I can correct my problem, and also any good 
guideline for working with beacons in android will great.

I am using Moto X 2gen 5.1.

Any help will be highly appreciated.


Thank you.

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/30da8a06-b40a-4246-af29-d965ca683ade%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: How I can get contentview of a app using a internt

2016-08-21 Thread Steve Gabrilowitz
what sort of content are you looking to display?

On Aug 21, 2016 1:31 PM, "Indika Ruwan Senavirathne" <
indika.senavirat...@gmail.com> wrote:

> How I can get display from intent according to above scenario.
>
> On Saturday, August 20, 2016 at 12:51:52 PM UTC+5:30, Indika Ruwan
> Senavirathne wrote:
>>
>>
>> Hi All,
>>
>> Im getting package name from PackageManager and Starting activity. But
>> after I want to get display content from that.
>> Intent i = manager.getLaunchIntentForPackage(appName);
>> startActivity(i);
>>
>>
>> Mean I want to get app contectview and display it on the another frame.
>>
>>
>>
>> Any help please ?
>>
> --
> 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.
> To post to this group, send email to android-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/5124109d-b60f-40b2-9f48-
> 0f4660fcbd2d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABfabRjJ3kJxz-7dpv%3DAQy8WkeQ1201FymWLpSs9ukRNquULRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: How I can get contentview of a app using a internt

2016-08-21 Thread Indika Ruwan Senavirathne
How I can get display from intent according to above scenario.

On Saturday, August 20, 2016 at 12:51:52 PM UTC+5:30, Indika Ruwan 
Senavirathne wrote:
>
>
> Hi All,
>
> Im getting package name from PackageManager and Starting activity. But 
> after I want to get display content from that. 
> Intent i = manager.getLaunchIntentForPackage(appName);
> startActivity(i);
>
>
> Mean I want to get app contectview and display it on the another frame.
>
>  
>
> Any help please ?
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/5124109d-b60f-40b2-9f48-0f4660fcbd2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android Studio help

2016-08-21 Thread melody laker
Hi Everyone, 

I'm really new to developing and using Android Studio.

I wanted to ask for advice on something that has been bugging me. When I 
press the green play button to send the app to my phone, it doesnt work if 
Module settings/project structure/Build Tools Version/ is set to 24.0.1 (as 
it was by default).

Instead, I have to change it to 23.0.3.

Can anyone shed any light on why this might be? I dont really understand 
what these settings even are so stand very little chance of figuring this 
out!

All help much appreciated

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/08a24df0-9616-4259-ab24-b76f2a280d29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Home Screen Widget: Start Programmatically

2016-08-21 Thread kaushal shukla
A app called CM Flashlight does the same thing , the widget is added to the 
home screen as soon as the app is installed 


On Tuesday, July 19, 2011 at 8:36:46 PM UTC+5:30, Glen Cook wrote:
>
> Hiya, 
>
> My understanding is that it is not possible to auto start a home 
> screen widget. (There are many posts saying it cannot be done) 
>
> However, we've found that the majority of our users don't know how to 
> start Android widgets. So we've provided a step by step dialogue to 
> explain it. 
>
> However, the boss claims that there is an application auto starting 
> their home screen widget: 
> "The OpenTable app (download from Android Market) prompts you when you 
> first launch to install a home screen widget. You click yes, and the 
> widget is automatically installed on the home screen with no 
> additional prompts." 
>
> I believe he's on the new Acer tablet running honeycomb. How are they 
> doing this? 
>
> Thanks, 
> Glen 
>
>

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8465885f-7bac-4fca-8f2a-8f622e882093%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Secodary reminder not firing

2016-08-21 Thread Danny Burgans
I have an app that is being developed.
The apple ios is done and works great.
Hiwevere my android developers,
Cannot seem to get the secondary remiderto fire on time, they have been working 
on it 8 months.
Design,, set location, set geofence area, it fires first notification,
Secondary, toggles, 1min 2min 3min etc.
Secondary, never fires consistenly
1min may be from 2min to 5 min  to fire. 

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ef4677a7-3245-49a7-b58d-147b306508df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] JDK version Error OSX El Capitan

2016-08-21 Thread Chiranjeev Das
 

Installed JDK as instructed in the User Guide.

javac -version command in terminal returns javac 1.8.0_102
Still I'm getting this error: A problem occurred configuring project 
':app'. > Buildtools 24.0.1 requires Java 1.8 or above.  Current JDK 
version is 1.6.

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/9c875880-bef9-4566-ba6a-39a7d9216006%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to make androd libfbclient.so.3.0.0 64-bit , x86-64 ?

2016-08-21 Thread USB, d.o.o Miran
http://www.pilotlogic.com/sitejoom/index.php/forum/android/3648-why-libfbclient-so-3-0-0-32-bit-not-work-on-android-64-bit
http://www.pilotlogic.com/sitejoom/index.php/forum/android/3647-how-to-make-androd-libfbclient-so-3-0-0-64-bit-x86-64

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/511ce932-f91b-4293-b52d-f48470345d08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Reducing Android power usage

2016-08-21 Thread Marcos Bontempo


Hello,


I have an Android app that accesses the camera and sends SMS messages. My 
problem is that the phone will be charged by a battery, so the power usage 
has to be the minimum.


I realized that the screen consumes most part of the battery. Is there a 
way to open the camera with the screen blanked?


I also thought to remove the display, but I read that Android performs a 
hardware test in the boot. The system will boot without the display?


What other ways to reduce power usage in Android do you recommend me?


Any tip will be very helpful,


Thanks

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/d7c01dd2-4e4a-4cd3-b9a0-45fc4d79e3ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.