@prince I have List of running application that include system running task also but i want ti only list of running application which is downloaded can you suggest me how can i do this...
@Prince hi, actually my prob is i have tablet of size 1024 * 600. and hve static 200 dp pane on left. as per remaining width would be around 800. but as i m settng image of 800*200 image. it shows me small. much of space is remaining on right. but as per calculation it should fit remaining right pane screen
xlarge screens are at least 960dp x 720dp
large screens are at least 640dp x 480dp
normal screens are at least 470dp x 320dp
small screens are at least 426dp x 320dp
@Luksprog sorry bothering you again. But when i press back,one child fragment in poped up say ProdDetailFrag and the ProdListFrag is visible. And again when i tap on button in prodListFrag to open Detail frag. It is throwing me exception java.lang.NullPointerExceptionat android.support.v4.app.BackStackRecord.runat android.support.v4.app.FragmentManagerImpl.execPendingActions could you please guide me where i m wrong. — nads2 hours ago
EDIT 2
I now managed to get rid of the error with using the trick from here https://code.google.com/p/android/issues/detail?id=42601#c10 so that's the reoson why my last edit is placed on top of my question.
But this led to the next error:
java.lang.NullPointerException
at android.support.v4.a...
I have a FragmentActivity that loads one custom ListFragment at startup, and replaces it with a new fragment after an item is clicked.
In the fragment activity subclass:
public void onCreate(Bundle savedInstanceState) {
...
FragmentTransaction ft = getSupportFragmentManager().be...
hi all, quick question, is there an Tumblr SDK? I need to share a picture on Tumblr, I found some code examples, but I didn't find the SDK on their developers page
while I am copy "contact_image":"iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAgAElEQVR4nOy9eZhc1Xnn\/zm39q27utXdUmtBrbWRQNAgYzy2M2psiO14E3iJM3ZAJE4yxnEs.."
this data into string it showing "Invalid escape sequence (valid ones are \b \t \n \f \r \" \' \\ )"
Whenever you're writing regular expressions in Java, remember to escape the \ characters used in the string that defines the regular expression. In other words, if your regular expression contains one \, then you HAVE to write two \\. For example, your code should look like this:
^(?:(?:([01]?\\...
Your code has two issues:
Your pattern is wrong, as it allows more digits - see http://regexr.com?32u3e
Java requires double escape slashes...
Use regex pattern
\\b(?=[A-Z]*\\d[A-Z]*\\b)[A-Z\\d]{4}\\b
I first get the Token and verifier from the browser like this:
CommonsHttpOAuthConsumer consumer = new CommonsHttpOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET);
CommonsHttpOAuthProvider provider = new CommonsHttpOAuthProvider(REQUEST_TOKEN_URL, ACCESS_TOKEN_URL, AUTH_URL);
...
just a temporary one, until you optimise your code, what do you want to do with the bitmap? or do you use more bitmaps?, I need to know a bit more details
i tack image via camera size 640X640 something like that. but i need to scale it small size based on screen resolution minus 50(w), 100(h) without reduce image quality.
actually i did some scheduling time and sending message using alarm manager,but for me if i select the frequency of sending sms daily,weekly like that,i want to do
i tack image via camera size 640X640 something like that. but i need to scale it small size based on screen resolution minus 50(w), 100(h) without reduce image quality. how can i achieve this.