See, i've been not active here since few months. But, in between i was active here. But, i didn't post anything or didn't make any conversation with anyone here. But, i used to removing longer lines code and etc., You can check it out dude!
hi i want to log the incoming number to the database. i am using broadcast receiver to listen for phone calls and using phone state listener.
here is my code
ThePhoneStateListener.java
package com.example.netlogger.Receiver;
import android.content.Context;
import android.telephony.PhoneStateList...
I have an app the display list of files and its content on iOS and Android. Currently I use PDF files to show this content on iOS using iOS-WebView which worked fine. and now as I'm getting finished with Android application, I have realised that It's hard to get support for pdf files on android s...
then do one thing as of because you can only have one object of the camera that also will work for the seprate class check that camera is open or not
and then inside the state listner you can close it, according to me it can work as a serprate class alsso but you have to register the broadcast receiver that how it is
@Segi that is why i said previously if you are not good in handling the objects, create the sub class of receiver where you intialize the objects as per my knowledge you are creating the camera and surface view object in activity so create a receiver there
@PiyushMishra Am i correctly doing the format such that I need to make sure that I need to initialize first the or make sure that is is not null? can you help me see it not sure
actually i am using sliding drawer i want to slide from both (right to left and left to right ) and i have already done this thing but some prob is coming now its not working in 2.2 and 4.2
@PiyushMishra in onAttach() - selId is null, is it null coz it is inside a fragment coz onAttach() has Activity para-onAttach(Activity a). Pretty confused this time sorry.
I have an app the display list of files and its content on iOS and Android. Currently I use PDF files to show this content on iOS using iOS-WebView which worked fine. and now as I'm getting finished with Android application, I have realised that It's hard to get support for pdf files on android s...
i have a problem m developing an android project in which i have to store all messages on a url nut now my intension is to store it in a file(database) can u help me
Can someone help me a bit? I am having some troubles creating a new file in /sdcard/ http://stackoverflow.com/questions/17850608/android-sdcard-doesnt-create-copy-a-file
I want to change language base on drop down menu list.But this code does not working properly. It is showing this problem Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@41141af0.
Where is the problem I can't figure out it. Please any one h...
@PiyushMishra what I learned doing interfaces in nested fragments is that, it's hard, and very confusing. And I just used bundles instead, which is more convenient and easy in communicating with fragments. 0_o just saying...:) I'm happy with bundles now. what can you say?
I want to use multiple fragments inside single tab. my tab activity extends SherlockFragmentActivity.
Now i add first fragment for first tab in onTabChanged() method. and i replace another fragment from within first fragment in first tab. But no when i go to second tab and then again re-open fir...
INFO : Added ActionBar to allow implementation of the action bar user interface design pattern back to Android 2.1 (API level 7) and higher. Use of this class requires that you implement your activity by extending the new ActionBarActivity class.
I have used progress bar for displaying downloading progress.But User press back key and going to that screen again then it doesn't display progress bar
I am using progress bar for displaying status of data download from server using AsynkTask.
I have written a callback method from which I update the progress
@Override
public void onBookDownloadProgressUpdated(int value)
{
if(_bookProgressBar == null)
{
LinearLayout linearLayo...
@droiddev In my app i opened a page in the middle and then exited the app..then again when i click on the app icon it is opening the last page which i opened...but is should again open the first page..how can i do that?
I have three Fragments and they are arranged as shown below:
Fragment A ---> Fragment B ---> Fragment C
Fragment A(main.xml)
Fragment B(R.id.contentFragment)
Fragment C(R.id.contentFragmentTtems)
I can display Fragment A and Fragment B and is okay, but if I call Fragment C from BI got ...
It run successfully,but I dnt know In my class i.e WifiReceiver which extends Broadcast receiver in this onReceive() call multiple time like 4 to 5 times