How to Solve Now

Main menu

Skip to primary content Skip to secondary content
  • Home
  • PHP
  • Laravel
  • Javascript
  • Internet
    • Telephone
      • Android
    • Website Design
  • Computer
    • Installation
  • Contact Us

Category Archives: Internet

How to Solve Now > Home > Internet

How do I pass data between activities in Android?

Posted on January 26, 2013 by Janaki in Android / 0 Comment(s)

Add the following code in your current activity

1
2
3
4
5
6
<strong><code>Intent i = new Intent(getApplicationContext(), NewActivity.class);
i.putExtra("new_variable_name","value");
startActivity(i);</code></strong>
 
 
Then in the new Activity, retrieve those values:

1
2
3
4
5
6
<strong><code>Bundle extras = getIntent().getExtras();
if (extras != null) {
    String value = extras.getString("new_variable_name");
}
 
</code></strong>

How to make notification intent resume rather than making a new intent?

Posted on January 26, 2013 by Janaki in Android / 0 Comment(s)

Add the following code in your activity class

1
2
3
4
5
Intent intent= new Intent(context, YourActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_SINGLE_TOP);
 
Change your Manifest by
 

1
2
3
4
5
6
7
&lt;activity
    android:name=".ResultActivity"
...
   <strong> android:launchMode="singleTask"</strong>
    .....
&gt;
&lt;/activity&gt;

1
 

Add SdCard in android emulator / Setup SDCard

Posted on January 25, 2013 by Janaki in Android / 0 Comment(s)

1. Go to C:\[SDK dir]\android-sdk-windows\tools 2. Type mksdcard 512M mysdcard.iso and press enter. 3. your sdcard is succeesfully created. You may check with dir/w to see if the *.iso is created. 4.  Now you have […]

Excel worksheet functions by category

Posted on December 12, 2012 by Janaki in Excel / 0 Comment(s)

Information functions: FUNCTION DESCRIPTION CELL Returns information about the formatting, location, or contents of a cell ERROR.TYPE Returns a number corresponding to an error type INFO Returns information about the […]

  1. Pages:
  2. «
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. 8
  11. ...
  12. 13
  13. »

Categories

  • Android (12)
  • API (2)
  • ASP.Net (2)
  • Blackberry (3)
  • C# (4)
  • Cassandra (1)
  • CCIR Service (1)
  • Computer (5)
  • Content Management (1)
  • DBMS (1)
  • E-Mail (4)
  • Excel (2)
  • Explorer (2)
  • Installation (17)
  • Internet (12)
  • iPhone (1)
  • JAVA (4)
  • Javascript (6)
  • JSP (1)
  • Language (2)
  • Laravel (17)
  • Linux (8)
  • More (13)
  • MySQL (5)
  • Oracle (1)
  • PHP (35)
  • Question Set (1)
  • Reference (4)
  • Salesforce (7)
  • Shoretel (1)
  • SQL (1)
  • Sugar (6)
  • Telephone (7)
  • Web Programming (1)
  • Web Service (3)
  • Website Design (6)
  • Website Hosting (2)
  • Zend (2)

Most recommended posts

  • DID you see wpupdatestream user in your wp_users table
  • Invalid icon file located in Application Folder of Setup Project
  • Install Php MyCrypt on centOS

Popular

Install MySQL as window service0 comment(s)
Getting weeks between two dates in MySql0 comment(s)
Back Up MySQL Databases From The Command Line0 comment(s)

want to twitt

  • Connectivity Issues with .IN Registry • Namecheap Status https://t.co/F0b2vWwTL7 via @Namecheap 04:03:49 AM March 27, 2017 from Twitter Web Client ReplyRetweetFavorite
  • CentOs Vagrant Configuration file https://t.co/Ay8ZGxexTU 06:13:44 PM December 27, 2016 from Twitter Web Client ReplyRetweetFavorite
  • Laravel Artisan commands are added to website. check now https://t.co/jOO35sbnwv 12:09:03 AM February 26, 2016 from Twitter Web Client ReplyRetweetFavorite
  • Just setting up my Twitter. #myfirstTweet 12:07:12 AM February 26, 2016 from Twitter Web Client ReplyRetweetFavorite
@xenatasolutions

  • Home
  • PHP
  • Laravel
  • Javascript
  • Internet
  • Contact Us
© 2015 How to solve now, powered by Xenata Solutions